linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* getting /dev entries for USB devices
@ 2005-04-22 16:02 Stephen Morgan
  2005-04-27 16:18 ` Stephen Morgan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen Morgan @ 2005-04-22 16:02 UTC (permalink / raw)
  To: linux-hotplug

Hello all,

I'm trying to get udev to create nodes for my USB devices.  There will be
several of the same device and I need their nodes named according to their
bus location.

I created this rule file in /etc/udev/rules.d, called it 05-aa_dev.rules

BUS="usb", PLACE="1.1", NAME="aa_dev01"
BUS="usb", PLACE="1.2", NAME="aa_dev02"
BUS="usb", PLACE="2.1", NAME="aa_dev03"
BUS="usb", PLACE="2.2", NAME="aa_dev04"
BUS="usb", PLACE="3.1", NAME="aa_dev05"
BUS="usb", PLACE="3.2", NAME="aa_dev06"
BUS="usb", PLACE="4.1", NAME="aa_dev07"
BUS="usb", PLACE="4.2", NAME="aa_dev08"

When I plug the devices in, I see a new entry show up in
/sys/bus/usb/devices, for instance "3-1". In that directory, I can find the
idProduct and idVendor that match my device - so far, so good.

But nothing ever shows up in /dev.  I should see one of my device names
appear, shouldn't I?

I've read Daniel Drake's article on writing rules, but I'm sure I could be
missing something.

Thanks for your help.

Stephen Morgan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&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] 4+ messages in thread

end of thread, other threads:[~2005-04-28 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-22 16:02 getting /dev entries for USB devices Stephen Morgan
2005-04-27 16:18 ` Stephen Morgan
2005-04-28  7:19 ` Kay Sievers
2005-04-28 20:00 ` Stephen Morgan

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