From: Yan Seiner <yan@seiner.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: SYMLINK+="xxx" can only be used once
Date: Tue, 27 Feb 2007 17:11:19 +0000 [thread overview]
Message-ID: <45E46637.90902@seiner.com> (raw)
In-Reply-To: <45E45ECF.7070103@seiner.com>
Alexander E. Patrakov wrote:
> Yan Seiner wrote:
>> SYSFS{device}="0x000d", SYSFS{vendor}="0x1073", MODE="0660",
>> NAME="snd/%k", SYMLINK+="soundcard/Yamaha_YMF_724F", SYMLINK+="dsp01"
>>
>> What happens is that only the last SYMLINK is created.
>
> The documented udev rule syntax would be:
>
> SYSFS{device}="0x000d", SYSFS{vendor}="0x1073", MODE="0660",
> NAME="snd/%k", SYMLINK+="soundcard/Yamaha_YMF_724F dsp01"
Thanks!
(Where is this documented? I thought I went through all of the docs...
I must have missed something.)
>
> (i.e., separate the names of the wanted symlinks by spaces). But, due
> to the nature of ALSA, the symlinks are not really usable because ALSA
> library never looks at them.
>
The apps I need to use still use OSS emulation - will that work?
I'm struggling a bit since sound cards have all sorts of mixers, dsps,
etc. and I need to make sure the soundcard device names don't move
around so the sound comes from the right set of speakers.... The
soundcard/ symlinks are just mnemonics for me so I know what hardware I
am dealing with, but obviously the dsp stuff I need to use.
If I create a name like /dev/dsp01 which has /dev/snd/mixer2, will that
work or will things break in weird ways?
--Yan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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
next prev parent reply other threads:[~2007-02-27 17:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-27 16:39 SYMLINK+="xxx" can only be used once Yan Seiner
2007-02-27 16:50 ` Alexander E. Patrakov
2007-02-27 17:11 ` Yan Seiner [this message]
2007-02-27 17:54 ` Bryan Kadzban
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=45E46637.90902@seiner.com \
--to=yan@seiner.com \
--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).