alsa sound device configuration within udev
Hello list,
i had switched from devfs to sysfs using hotplug and udev.
Ths was necessary, because i want to identify some different usb storage devices by plugging them into the computer.
But now my dsp and adsp devices doesnt exist under /dev or any subdirectory. Only some pcm*, control* and timer devices can be found within /dev/snd.
Trying to play some sound with 'mpg321 test.mp3 -a /dev/snd/pcmC0D0c' only ends up with the error message 'libao - OSS cannot set channels to 2'
On the Internet they say that alsa isn't supportet by udev yet, but I dont know how actual these frases are.
Is it possible to create some rules to get the old dsp and adsp devices back?
KERNEL="dsp*", NAME="snd/%k"
or
NUMBER, BUS="pci", ID="0000:00:11.5", NAME="dsp0"
doesn't work...
Who know how to do things right?
My Kernel Version is 2.6.5 with alsa build as modules. Thanks for your help!
Best regards.
Patrick Hornung
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 21 lines · Patrick Hornung
Hello list,
i had switched from devfs to sysfs using hotplug and udev.
Ths was necessary, because i want to identify some different usb storage devices by plugging them into the computer.But now my dsp and adsp devices doesnt exist under /dev or any subdirectory. Only some pcm*, control* and timer devices can be found within
/dev/snd.Trying to play some sound with 'mpg321 test.mp3 -a
/dev/snd/pcmC0D0c' only ends up with the error message 'libao - OSS cannot set channels to 2'On the Internet they say that alsa isn't supportet by udev yet, but I dont know how actual these frases are.
Is it possible to create some rules to get the old dsp and adsp devices back?
KERNEL="dsp*", NAME="snd/%k"
Quoted 8 lines
or
NUMBER, BUS="pci", ID="0000:00:11.5", NAME="dsp0"
doesn't work...
Who know how to do things right?
My Kernel Version is 2.6.5 with alsa build as modules. Thanks for your help!
Load the alsa oss emulation module (don't remember the name, but it's something with oss and pcm in its name), then /dev/dsp and /dev/adsp should show up automatically.
Signature · 13 lines
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel