Skip to contentSkip to conversation

kernel-2.5.72: /proc/asound/dev missing

DISCUSSION Maarten de Boer 2 participants 4 messages Jun 20, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I just upgraded to kernel 2.5.72 (I want to do some LL testing), with the alsa driver as included in the kernel. The modules load, but I don't get /proc/asound/dev (to which, as I understand, /dev/snd should link). I don't use devfs.

Any suggestions?

Maarten

-----------------------------------------------------------------------------

$ grep SND /usr/src/linux-2.5.72/.config  | grep -v "not set"
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_VIRMIDI=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_USB_AUDIO=m
$ lsmod
Module                  Size  Used by
snd_emu10k1            60804  0
snd_rawmidi            12160  1 snd_emu10k1
snd_pcm                54528  1 snd_emu10k1
snd_timer              13056  1 snd_pcm
snd_seq_device          4100  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         34308  1 snd_emu10k1
snd_page_alloc          4484  2 snd_emu10k1,snd_pcm
snd_util_mem            1664  1 snd_emu10k1
snd_hwdep               4352  1 snd_emu10k1
snd                    27296  8 snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
$ ls -l /proc/asound/
total 0
lrwxrwxrwx    1 root     root            5 Jun 20 14:35 Live -> card0
dr-xr-xr-x    7 root     root            0 Jun 20 14:35 card0
-r--r--r--    1 root     root            0 Jun 20 14:35 cards
-r--r--r--    1 root     root            0 Jun 20 14:35 devices
-r--r--r--    1 root     root            0 Jun 20 14:35 hwdep
-r--r--r--    1 root     root            0 Jun 20 14:35 modules
dr-xr-xr-x    2 root     root            0 Jun 20 14:35 oss
-r--r--r--    1 root     root            0 Jun 20 14:35 pcm
dr-xr-xr-x    2 root     root            0 Jun 20 14:35 seq
-r--r--r--    1 root     root            0 Jun 20 14:35 timers
-r--r--r--    1 root     root            0 Jun 20 14:35 version

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#1 lore raw
Quoted 9 lines · Maarten de Boer

Hello,

I just upgraded to kernel 2.5.72 (I want to do some LL testing), with the alsa driver as included in the kernel. The modules load, but I don't get /proc/asound/dev (to which, as I understand, /dev/snd should link). I don't use devfs.

Any suggestions?

You have to rerun snddevices script available in the alsa-driver package (utils subdirectory). The dynamic proc devices were removed on request of 2.5 kernel developers.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#2 lore raw
Quoted 4 lines

You have to rerun snddevices script available in the alsa-driver package (utils subdirectory). The dynamic proc devices were removed on request of 2.5 kernel developers.

Ok. It would have been nice to find this information in the kernel 2.5.72 Documentation.

It's a bit strange though that it is necesary to download the alsa-driver package when the driver itself is already included in the kernel.. I'd say that for a 2.5.x user, it should be sufficient to download alsa-lib only in order to run alsa applicatins.. Maybe the snddevices script should be included with the kernel (I am not sure if there is a place for that..) or with the alsa library even?

Maarten

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#3 lore raw
Quoted 8 lines · Maarten De Boer
Quoted 4 lines

You have to rerun snddevices script available in the alsa-driver package (utils subdirectory). The dynamic proc devices were removed on request of 2.5 kernel developers.

Ok. It would have been nice to find this information in the kernel 2.5.72 Documentation.

Quoted 6 lines

It's a bit strange though that it is necesary to download the alsa-driver package when the driver itself is already included in the kernel.. I'd say that for a 2.5.x user, it should be sufficient to download alsa-lib only in order to run alsa applicatins.. Maybe the snddevices script should be included with the kernel (I am not sure if there is a place for that..) or with the alsa library even?

Yes, the inclusion was a bit ommited. I will include the snddevices script in my next ALSA update for 2.5 kernels as linux/scripts/MAKEDEV.alsa with an appropriate note in the documentation.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php