[CentOS] No sound on HP 8540w, guidance requested

Sat May 7 20:35:02 UTC 2011
Ned Slider <ned at unixmail.co.uk>

On 07/05/11 20:32, David wrote:
>
> I got two recommendations:
> a) Used 'alsamixer' to unmute all channels.  The were, as a responder
> suggested, muted.
> b) Installed kmod-alsa from elrepo.  It produced a bunch of warnings
> which I ignored.
> c) I performed lspci | grep -i audio, and got
>
> 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
> High Definition Audio (rev 06)
> 01:00.1 Audio device: nVidia Corporation High Definition Audio
> Controller (rev a1)

Hmm, any idea why you have 2 audio controllers?

> I am not sure where to go from here.

Next you need to identify the Vendor:Device ID pairing for your 
device(s) above and then search for a driver that supports them.

If I show you by example, on MY hardware, perhaps you can follow along 
for yours...

You already did:

# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 02)

so now take the PCI ID (first part above) and query it for the 
Vendor:Device ID pairing:

# lspci -n | grep '00:1b.0'
00:1b.0 0403: 8086:293e (rev 02)

and take the Vendor:Device ID pairing (8086:293e in my example) and 
search for a matching driver supporting that device:


# grep -i 8086 /lib/modules/*/modules.alias | grep -i 293e
/lib/modules/2.6.18-128.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel
/lib/modules/2.6.18-164.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel
/lib/modules/2.6.18-194.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel
/lib/modules/2.6.18-238.9.1.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel
/lib/modules/2.6.18-238.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel
/lib/modules/2.6.18-53.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel
/lib/modules/2.6.18-92.el5/modules.alias:alias 
pci:v00008086d0000293Esv*sd*bc*sc*i* snd-hda-intel

which shows me the snd-hda-intel driver present in kernel-2.6.18-53.el5 
onwards supports my hardware.

Now do the same for your hardware and show us the results.