linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SYMLINK+="xxx" can only be used once
@ 2007-02-27 16:39 Yan Seiner
  2007-02-27 16:50 ` Alexander E. Patrakov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yan Seiner @ 2007-02-27 16:39 UTC (permalink / raw)
  To: linux-hotplug

I'd like to know if this is a bug or a feature.  I know it's driving me 
nuts.

I have a system with 3 sound cards.  I need to assign fixed device names 
to these cards.  I've tried various combinations of module parameters 
and I've found the most reliable way is to use udev to symlink the 
device names using udev.

Here's the rule I am using:

#Yamaha Corporation YMF-724F

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.  This is 
reproducilble; I can turn the order around and the soundcard link will 
be created but not the dsp one.

I can't find any examples of multiple SYMLINK creation, so I suspect 
this may be a feature, but I don't quite understand why it would be so.

Can anyone shed some light on this?

Thanks,

--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

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

end of thread, other threads:[~2007-02-27 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-02-27 17:54 ` Bryan Kadzban

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).