From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yan Seiner Date: Tue, 27 Feb 2007 17:11:19 +0000 Subject: Re: SYMLINK+="xxx" can only be used once Message-Id: <45E46637.90902@seiner.com> List-Id: References: <45E45ECF.7070103@seiner.com> In-Reply-To: <45E45ECF.7070103@seiner.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Alexander E. Patrakov wrote: > Yan Seiner wrote: >> SYSFS{device}=3D"0x000d", SYSFS{vendor}=3D"0x1073", MODE=3D"0660",=20 >> NAME=3D"snd/%k", SYMLINK+=3D"soundcard/Yamaha_YMF_724F", SYMLINK+=3D"dsp= 01" >> >> What happens is that only the last SYMLINK is created. > > The documented udev rule syntax would be: > > SYSFS{device}=3D"0x000d", SYSFS{vendor}=3D"0x1073", MODE=3D"0660", > NAME=3D"snd/%k", SYMLINK+=3D"soundcard/Yamaha_YMF_724F dsp01" Thanks! (Where is this documented? I thought I went through all of the docs... =20 I must have missed something.) > > (i.e., separate the names of the wanted symlinks by spaces). But, due=20 > to the nature of ALSA, the symlinks are not really usable because ALSA=20 > 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,=20 etc. and I need to make sure the soundcard device names don't move=20 around so the sound comes from the right set of speakers.... The=20 soundcard/ symlinks are just mnemonics for me so I know what hardware I=20 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=20 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=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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