Rule file requires "touch" to set group after restart.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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",MODE=777

  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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux