LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Unable to install sound modules on Debian 5.0 (http://www.linuxquestions.org/questions/linux-hardware-18/unable-to-install-sound-modules-on-debian-5-0-a-762521/)

Crysm 10-17-2009 12:28 AM

Unable to install sound modules on Debian 5.0
 
I have been trying to get sound working on my new Debian install for a while now, but nothing seems to be working. When I log in, the sound icon in the top right has a red X over it. Clicking on it gives the message "The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured."
Right-clicking and selecting Open Volume Control gives a dialog with the message "No volume control GStreamer plugins and/or devices found."

After looking around a bit on google, I tried to solve this with a simple modprobe command:
Code:

root@onca:~# modprobe -v snd-hda-intel
install /sbin/modprobe --ignore-install snd-hda-intel  && /lib/alsa/modprobe-post-install snd-hda-intel
FATAL: Module snd_hda_intel not found.
FATAL: Error running install command for snd_hda_intel

...which didn't work, so I then tried alsaconf:
Code:

root@onca:~# alsaconf
modinfo: could not find module snd
modinfo: could not find module snd
modinfo: could not find module snd
Unloading ALSA sound driver modules: (none loaded).
Building card database...

Right after the line "Unloading ALSA sound driver modules: (none loaded).", alsaconf gives me a dialog which reads: "No supported PnP or PCI card found. Would you like to probe legacy ISA sound cards/chips?"

I've also noted that my system doesn't seem to have /dev/snd, /dev/audio, or /dev/dsp at all.

I can't even tell at this point whether the problem lies in the card, the drivers, or something else in the system.

The card itself is an integrated one on the motherboard (MSI P43 Neo3-F) on the southbridge (Intel ICH10):
Code:

root@onca:~# lspci -vv
(...)
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
        Subsystem: Micro-Star International Co., Ltd. Device 7519
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at fbff8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap:        MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- RBE- FLReset+
                DevCtl:        Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta:        CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap:        Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl:        ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [130] Root Complex Link <?>

If anyone has any insight or suggestions, they would be much appreciated. Thanks in advance. :)

Raum the Old 10-18-2009 05:55 AM

Looks like it works in Ubuntu: http://ubuntuforums.org/showthread.php?t=1145068

So probably the device is just too new for Debian lenny. Try an Ubuntu live CD and see if sound works there. You could also try upgrading to Debian squeeze.

Crysm 10-18-2009 07:13 PM

Sound works fine with my Xubuntu 8.04 liveUSB stick. 8.04 being released about 18 months ago says to me that the chipset can't be quite that new.

Admittedly I have very little experience with ALSA -- in the past either things have just worked or I haven't needed to use them -- but this looks like an ALSA problem to me, guessing from the results of alsaconf and modprobe.

If it helps any, while booted into Xubuntu, I did a lsmod:
Code:

Module                  Size  Used by
ipv6                  263972  14
af_packet              25728  2
bridge                56980  0
stp                    10628  1 bridge
bnep                  20480  2
sco                    18308  2
rfcomm                44432  0
l2cap                  30464  6 bnep,rfcomm
bluetooth              61924  6 bnep,sco,rfcomm,l2cap
ppdev                  15620  0
lp                    17156  0
acpi_cpufreq          15500  1
cpufreq_ondemand      14988  1
cpufreq_conservative    14600  0
cpufreq_stats          13188  0
freq_table            12672  3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_userspace      11396  0
cpufreq_powersave      9856  0
container              11520  0
ac                    12292  0
pci_slot              12552  0
video                  25104  0
output                11008  1 video
sbs                    19464  0
sbshc                  13440  1 sbs
wmi                    14504  0
iptable_filter        10752  0
ip_tables              19600  1 iptable_filter
x_tables              22916  1 ip_tables
tuner_simple          22288  1
tuner_types            21888  1 tuner_simple
tea5767                14980  0
snd_hda_intel        381488  2
snd_pcm_oss            46848  0
snd_mixer_oss          22784  1 snd_pcm_oss
tuner                  33096  0
snd_pcm                83204  2 snd_hda_intel,snd_pcm_oss
bttv                  171028  0
videodev              41344  2 tuner,bttv
v4l1_compat            22404  1 videodev
ir_common              48132  1 bttv
compat_ioctl32          9344  1 bttv
i2c_algo_bit          14340  1 bttv
v4l2_common            19840  2 tuner,bttv
videobuf_dma_sg        20612  1 bttv
videobuf_core          26628  2 bttv,videobuf_dma_sg
btcx_risc              12552  1 bttv
tveeprom              20228  1 bttv
snd_seq_dummy          10884  0
i2c_core              31892  7 tuner_simple,tea5767,tuner,bttv,i2c_algo_bit,v4l2_common,tveeprom
evdev                  17696  6
parport_pc            39204  1
parport                42604  3 ppdev,lp,parport_pc
pcspkr                10624  0
snd_seq_oss            38528  0
snd_seq_midi          14336  0
lmpcm_usb              12800  0
button                14224  0
snd_rawmidi            29824  1 snd_seq_midi
snd_seq_midi_event    15232  2 snd_seq_oss,snd_seq_midi
snd_seq                57776  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              29960  2 snd_pcm,snd_seq
snd_seq_device        15116  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    63268  13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15328  1 snd
snd_page_alloc        16136  2 snd_hda_intel,snd_pcm
intel_agp              33724  0
agpgart                42184  1 intel_agp
shpchp                37908  0
pci_hotplug            35236  1 shpchp
battery                18436  0
squashfs              46600  1
loop                  23180  4
aufs                  169892  1
exportfs              12544  1 aufs
nls_iso8859_1          12032  1
nls_cp437              13696  1
vfat                  18816  1
fat                    57376  1 vfat
ext3                  133256  1
jbd                    55444  1 ext3
mbcache                16004  1 ext3
sd_mod                42264  8
crc_t10dif              9984  1 sd_mod
sg                    39732  0
usb_storage            81728  1
libusual              27156  1 usb_storage
usbhid                35840  0
hid                    50560  1 usbhid
pata_jmicron          11136  0
ata_piix              24580  3
pata_acpi              12160  0
ata_generic            12932  0
r8169                  35972  0
libata                177312  4 pata_jmicron,ata_piix,pata_acpi,ata_generic
scsi_mod              155212  4 sd_mod,sg,usb_storage,libata
ehci_hcd              43276  0
dock                  16656  1 libata
uhci_hcd              30736  0
usbcore              148848  7 lmpcm_usb,usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
thermal                23708  0
processor              42156  2 acpi_cpufreq,thermal
fan                    12548  0
fbcon                  47648  0
tileblit              10880  1 fbcon
font                  16512  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit
fuse                  60828  1

I tried a modprobe on each of those snd- modules once I was back in Debian, but they all produced similar results:
Code:

root@onca:~# modprobe -v snd-pcm
install modprobe --ignore-install snd-pcm  && { modprobe --quiet snd-pcm-oss ; : ; }
FATAL: Module snd_pcm not found.
FATAL: Error running install command for snd_pcm
root@onca:~# modprobe -v snd-pcm-oss
FATAL: Module snd_pcm_oss not found.

etc.

It seems like if ALSA was working properly, it'd be able to find those modules. Or is this normal ALSA behavior?


All times are GMT -5. The time now is 03:54 PM.