linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* alsa sound device configuration within udev
@ 2004-05-02 12:38 Patrick Hornung
  2004-05-03 11:51 ` Arwed von Merkatz
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Hornung @ 2004-05-02 12:38 UTC (permalink / raw)
  To: linux-hotplug

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: alsa sound device configuration within udev
  2004-05-02 12:38 alsa sound device configuration within udev Patrick Hornung
@ 2004-05-03 11:51 ` Arwed von Merkatz
  0 siblings, 0 replies; 2+ messages in thread
From: Arwed von Merkatz @ 2004-05-03 11:51 UTC (permalink / raw)
  To: linux-hotplug

On Sun, May 02, 2004 at 02:38:09PM +0200, Patrick Hornung wrote:
> 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!

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.

-- 
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-03 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02 12:38 alsa sound device configuration within udev Patrick Hornung
2004-05-03 11:51 ` Arwed von Merkatz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).