From: a.v.merkatz@t-online.de (Arwed von Merkatz)
To: linux-hotplug@vger.kernel.org
Subject: Re: alsa sound device configuration within udev
Date: Mon, 03 May 2004 11:51:37 +0000 [thread overview]
Message-ID: <20040503115137.GA1858@Otherland> (raw)
In-Reply-To: <20040502123809.GA2282@mic.paddy.net>
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
prev parent reply other threads:[~2004-05-03 11:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-02 12:38 alsa sound device configuration within udev Patrick Hornung
2004-05-03 11:51 ` Arwed von Merkatz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040503115137.GA1858@Otherland \
--to=a.v.merkatz@t-online.de \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).