linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rule file requires "touch" to set group after restart.
@ 2010-10-14 21:36 Hawkeye King
  2010-10-15  1:17 ` Greg KH
  2010-10-15 19:19 ` Hawkeye King
  0 siblings, 2 replies; 3+ messages in thread
From: Hawkeye King @ 2010-10-14 21:36 UTC (permalink / raw)
  To: linux-hotplug

Hello,

  I'm having a problem with a udev rule for a custom USB IO board.
    After a reboot, the group ownership will not be set, unless I
"touch /etc/udev/rules/10-BRL_USB.rules"

  Has anyone seen this before?  Can you tell me what's going wrong and
how to fix it the "right" way?

  Here is the rule, which is installed at /etc/udev/rules/10-BRL_USB.rules
             SUBSYSTEMS="usb",ATTRS{manufacturer}="UW BioRobotics
Lab",NAME="brl_usb_%s{serial}",GROUP="devgroup",MODEw7

  Here is the sequence of events I'm talking about.  Notice that the
group ownership is updated the second time the device is powered on:

               << computer restarted, device powered on >>
             [user@host usb_driver]$ ls -l /dev/brl*
             crw-rw---- 1 root root 180, 192 2010-10-14 13:31 /dev/brl_usb_6

             [user@host usb_driver]$ sudo touch
/etc/udev/rules.d/10-BRL_USB.rules
             Password:

               << device is turned off, then on again >>
             [user@host usb_driver]$ ls -l /dev/brl*
             crw-rw---- 1 root devgroup 180, 192 2010-10-14 13:48 /dev/brl_usb_6

   I think I have udev version 118, on Fedora 8.

Any help is appreciated!

Sincerely,
Hawkeye
BioRobotics Laboratory
University of Washington
Seattle
http://brl.ee.washington.edu

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

end of thread, other threads:[~2010-10-15 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-14 21:36 Rule file requires "touch" to set group after restart Hawkeye King
2010-10-15  1:17 ` Greg KH
2010-10-15 19:19 ` Hawkeye King

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