Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
There is no sound for my computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
xiwang
n00b
n00b


Joined: 28 Nov 2010
Posts: 58
Location: China

PostPosted: Mon Dec 21, 2015 11:15 am    Post subject: There is no sound for my computer Reply with quote

There is no sound for my computer.
I have installed alsa
Code:
emerge --ask alsa-utils

Code:
/etc/init.d/alsasound start

shows:
restoring Mixer Levels...
and
Code:
alsamixer

Make sure all the Items of sounds are open
But there is still no sound.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1747

PostPosted: Mon Dec 21, 2015 11:27 am    Post subject: Reply with quote

there are 2 likely problems:
1) mixer levels are restored to mute
2) you have 2 audio devices (the default one, digital on your graphic card, and the one you're trying to use, analog on your mobo).

You can use aplay -l and alsamixer to find out which is the case. The easiest way of dealing with second one is assigning indices to audio devices manually in alsa.conf (somewhere in /etc) to ensure your device of choice is 0 (default)
Back to top
View user's profile Send private message
xiwang
n00b
n00b


Joined: 28 Nov 2010
Posts: 58
Location: China

PostPosted: Mon Dec 21, 2015 11:53 am    Post subject: Reply with quote

Code:
aplay -I 1.mp3
Playing raw data '1.mp3':Unsigned 8 bit,Rate 8000Hz,Mono

but no sound

where is the file names "alsa.conf"
Back to top
View user's profile Send private message
xiwang
n00b
n00b


Joined: 28 Nov 2010
Posts: 58
Location: China

PostPosted: Mon Dec 21, 2015 12:02 pm    Post subject: Reply with quote

Code:
alsamixer

Card:Intel 82801DB-ICH4
Chip:Analog devices AD1981B.....

and all the items are open
Back to top
View user's profile Send private message
xiwang
n00b
n00b


Joined: 28 Nov 2010
Posts: 58
Location: China

PostPosted: Mon Dec 21, 2015 12:38 pm    Post subject: Reply with quote

[/code]cat /sys/class/sound/card*/id
I82801DBICH4
ThinkPadEC
Code:


alsamixer[code]
I have Unmuted all the channels but there is still no sound
Back to top
View user's profile Send private message
xiwang
n00b
n00b


Joined: 28 Nov 2010
Posts: 58
Location: China

PostPosted: Mon Dec 21, 2015 12:47 pm    Post subject: Reply with quote

Haha,I see
Code:
alsamixer

pressing the M key to mute or unmute
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum