View previous topic :: View next topic |
Author |
Message |
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Sat Nov 25, 2017 7:27 am Post subject: No audio after gentoo installtion |
|
|
Hi Experts, I recently installed Gentoo on my machine however there is no audio at all. Few details furnished below -
# Quote: | lspci -vv | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family High Definition Audio Controller
pcilib: sysfs_read_vpd: read failed: Input/output error
|
Quote: | localhost ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
Quote: |
localhost ~ # cat /sys/class/sound/card*/id
PCH
localhost ~ #
|
I am not very familiar with the audio part in genetoo, so appreciate all your help on this and thanks in advance |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Nov 25, 2017 12:13 pm Post subject: |
|
|
your card is just there, probably then sound is just mute.
Code: | amixer set Master unmute 100 |
|
|
Back to top |
|
|
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Sat Nov 25, 2017 3:26 pm Post subject: |
|
|
Thanks Krinn, however I still donot hear anything when I try to play music on youtube . below is the o/p when I run the command you suggested -
Quote: |
localhost /sys/class/net # amixer set Master unmute 100
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 100 [0%] [on]
Front Right: Playback 100 [0%] [on]
localhost /sys/class/net #
|
Thanks for all your help on this. |
|
Back to top |
|
|
superjaded l33t
Joined: 05 Jul 2002 Posts: 802
|
Posted: Sat Nov 25, 2017 4:03 pm Post subject: |
|
|
Unless you specifically have -acl set in your USE flag, you probably need to add your user account to the audio group.
From the ALSA wiki page. |
|
Back to top |
|
|
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Sat Nov 25, 2017 6:44 pm Post subject: |
|
|
Did that - added user to audio group, restarted the box and still no sound. I have set alsamixer to 100 as suggested in previous post.
Something very silly I am missing and it's giving me too much of anxious time
Thanks guys fot all your help and appreciate all the inputs. |
|
Back to top |
|
|
shrike Apprentice
Joined: 20 Feb 2004 Posts: 187 Location: Closer to home
|
Posted: Sun Nov 26, 2017 3:23 pm Post subject: |
|
|
manu_leo,
There are a number of settings needed for audio in linux. Most are covered in previously mentioned Gentoo wiki but occasionally I see recurring forum posts such as 'no HDMI audio' or 'no youtube audio'. These two issues are now covered in the wiki too but I wonder;
- What audio gear is connected? HDMI? Analog?
- What web browser are you using for youtube? Now, most browsers require PulseAudio.
- Have you tried the console app 'aplay'? (aplay -D default /usr/share/sounds/alsa/Front_Center.wav)
'emerge --info' might be helpful. 'grep SND /usr/src/linux/.config' might be useful too.
Best.. |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 159
|
Posted: Sun Nov 26, 2017 6:22 pm Post subject: |
|
|
manu_leo wrote: | Thanks Krinn, however I still donot hear anything when I try to play music on youtube |
Have you tried playing an audio file known to work? Firefox has some audio issues with ALSA lately... |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5940
|
Posted: Mon Nov 27, 2017 11:05 am Post subject: |
|
|
saturnalia0 wrote: | manu_leo wrote: | Thanks Krinn, however I still donot hear anything when I try to play music on youtube |
Have you tried playing an audio file known to work? Firefox has some audio issues with ALSA lately... |
firefox dropped alsa support in favour of pulseaudio. if you don't use pulseaudio you can roll back to firefox esr (version 52.x), or there are some other things you can try like apulse (which is some sort of shim). |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3477
|
Posted: Mon Nov 27, 2017 8:50 pm Post subject: |
|
|
First things first:
Quote: | - What audio gear is connected? HDMI? Analog? |
This question is _extremely_ important here.
In your case the analog device has lower index (0,0) than hdmi (0,3) and probably is preferred by the system.
Check with aplay or any other player that will let you manually set the playback device whether the device is currently dead or the audio stream goes to a dead end without speakers attached. |
|
Back to top |
|
|
|