[Nut-upsdev] nut + usb + udev with kernel 2.6.22
Vamp
admin at vampik.ru
Sat Sep 29 18:26:15 UTC 2007
Hello, Gilad!
You wrote to <nut-upsdev at lists.alioth.debian.org> on Fri, 28 Sep 2007
16:22:00 -0700:
> Worse, it was improperly setup
> only during udev coldplug, whereas hotplugging worked fine.
I had the same problem on my Gentoo Linux machine. SUBSYSTEM needs to be
'usb_device' at hotplug and 'usb' at coldplug. I used an easier patch
--- T:\nut\scripts\udev\nut-usbups.rules.in.orig 02.09.2007 23:00:51
+++ T:\nut\scripts\udev\nut-usbups.rules.in 02.09.2007 23:00:51
@@ -1,6 +1,6 @@
# udev rules for the NUT USB drivers
-SUBSYSTEM!="usb_device", GOTO="nut-usbups_rules_end"
+SUBSYSTEM!="usb*", GOTO="nut-usbups_rules_end"
ACTION!="add", GOTO="nut-usbups_rules_end"
# MGE UPS SYSTEMS - usbhid-ups
With best regards, Vamp. E-mail: admin at vampik.ru
More information about the Nut-upsdev
mailing list