LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   /dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch (http://www.linuxquestions.org/questions/debian-26/dev-audio-dev-dsp-and-dev-mixer-missing-in-debian-etch-544920/)

1337_penguin 04-10-2007 03:32 PM

/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch
 
Hi

I recently did a clean install of Debian Etch after running Sarge for ages, and discovered whilst configuring MPD that /dev/audio, /dev/dsp and /dev/mixer all appear to be missing, however checking with lspci and lsmod shows that the sound card is detected and the modules are being loaded:

Code:

roxy:/home/ownage# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
roxy:/home/ownage#

Code:

roxy:/home/ownage# lsmod
Module                  Size  Used by
ipv6                  226016  12
button                  6672  0
ac                      5188  0
battery                9636  0
dm_snapshot            15552  0
dm_mirror              19152  0
dm_mod                50232  2 dm_snapshot,dm_mirror
loop                  15048  0
parport_pc            32132  0
parport                33256  1 parport_pc
floppy                53156  0
rtc                    12372  0
serio_raw              6660  0
snd_cs46xx            76360  0
psmouse                35016  0
gameport              14632  2 snd_cs46xx
snd_rawmidi            22560  1 snd_cs46xx
snd_seq_device          7820  1 snd_rawmidi
snd_ac97_codec        83104  1 snd_cs46xx
snd_ac97_bus            2400  1 snd_ac97_codec
i2c_piix4              8140  0
snd_pcm                68676  2 snd_cs46xx,snd_ac97_codec
i2c_core              19680  1 i2c_piix4
pcspkr                  3072  0
snd_timer              20996  1 snd_pcm
snd                    47012  6 snd_cs46xx,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore              9248  1 snd
snd_page_alloc          9640  2 snd_cs46xx,snd_pcm
intel_agp              21148  1
agpgart                29896  1 intel_agp
shpchp                33024  0
pci_hotplug            28704  1 shpchp
evdev                  9088  0
ext3                  119240  1
jbd                    52456  1 ext3
mbcache                8356  1 ext3
ide_disk              14848  3
8139cp                21920  0
generic                5476  0 [permanent]
uhci_hcd              21164  0
8139too                25120  0
mii                    5344  2 8139cp,8139too
usbcore              112644  2 uhci_hcd
piix                    9444  0 [permanent]
ide_core              110504  3 ide_disk,generic,piix
thermal                13608  0
processor              28840  1 thermal
fan                    4804  0
roxy:/home/ownage#

As far as I can tell everything else seems to be as it should (in Sarge the sound just worked), except that the files are missing.

Thanks in advance.

1337_penguin

igorc 04-10-2007 06:23 PM

Hi,

Are there any sound errors in the dmesg command output? You can also try loading this module which I think is missing:

# modprobe snd-pcm-oss

and see if there are any devices created in /dev/snd. Also try running alsamixer and amixer to see what kind of output you get. You can also run alsaconf as root and see if your card gets recognized correctly.

Another thing I can think of is if you don't have the /dev/snd/* device nodes, download the alsa-driver tarball and run the snddevices shell script.

Cheers,

1337_penguin 04-11-2007 11:33 AM

Loading the snd-pcm-oss module created /dev/audio, /dev/dsp and /dev/mixer, after which I was able to use rexima to adjust the volume and stuff. /dev/snd contained the following files anyway:

Code:

roxy:/home/ownage# ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116,  0 2007-04-10 20:43 controlC0
crw-rw---- 1 root audio 116,  8 2007-04-10 20:43 midiC0D0
crw-rw---- 1 root audio 116, 24 2007-04-10 20:43 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2007-04-10 20:43 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2007-04-10 20:43 pcmC0D1p
crw-rw---- 1 root audio 116, 18 2007-04-10 20:43 pcmC0D2p
crw-rw---- 1 root audio 116, 33 2007-04-10 20:43 timer
roxy:/home/ownage#

Despite this, there was still no sound, so I changed the permissions on /dev/audio, dsp and mixer from 660 to 666, which didn't help either. I finally installed alsa-utils to get alsaconf and, after running it, the sound's now working.

Thanks for the advice.

1337_penguin


All times are GMT -5. The time now is 12:15 AM.