alsa and 2.6.25.4 kernel
Hi,
I can't play sound or use mixer with alsa on 2.6.25.4 kernel.
I tried all alsa-libs (1.16, 1.17rc1, hg) without success.
the file /proc/asound/cards is :
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf0100000 irq 18
strace -e open amixer :
...open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device)open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device)
ls -l /dev/snd/controlC0
crw-rwxrw- 1 root users 116, 0 Aug 23 2004 /dev/snd/controlC0
what happens ???
Regards.
Yann.
At Fri, 13 Jun 2008 19:02:40 +0200,
Quoted 19 lines · [email protected] wrote:
Hi,
I can't play sound or use mixer with alsa on 2.6.25.4 kernel.
I tried all alsa-libs (1.16, 1.17rc1, hg) without success.
the file
/proc/asound/cardsis :cat
/proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidiaHDA NVidia at 0xf0100000 irq 18strace -e open amixer :
...
open("/dev/snd/controlC0", O_RDONLY)= -1 ENODEV (No such device)open("/dev/aloadC0", O_RDONLY)= -1 ENODEV (No such device)
Quoted 5 lines
ls -l
/dev/snd/controlC0
crw-rwxrw- 1 root users 116, 0 Aug 23 2004/dev/snd/controlC0what happens ???
My wild guess is that the device file doesn't match with the kernel setting. You can build ALSA drivers with dynamic minor numbers. In this case, the minor numbers of device files are assigned dynamically, and thus the device files must be handled via udev. If you have static device files with different numbers, this won't match properly.
Takashi
Thanks for your response.
My distro (http://linuxconsole.org) doesn't use udev, to go faster.
I disabled alsa from 2.6.25.4 kernel, build alsa drivers from alsa-driver-1.0.17rc1 and now it works fine.
Best regards.
Yann.
Selon Takashi Iwai <[email protected]>:
Quoted 11 lines
My wild guess is that the device file doesn't match with the kernel setting. You can build ALSA drivers with dynamic minor numbers. In this case, the minor numbers of device files are assigned dynamically, and thus the device files must be handled via udev. If you have static device files with different numbers, this won't match properly.
Takashi