Hi, seems there is one missing change in /trunk/scripts/udev/nut-usbups.rules.in
BUS -> SUBSYSTEMS previous change [1] missed this. Now, the latest udev started to complain: > ... udevd[31526]: BUS= will be removed in a future udev version ... 098 udev version (from 2006) is required for this [2], but this is the same version as required for previous SYSFS -> ATTR change. I've discussed this with udev maintainer and the result is BUS!="usb", GOTO="nut-usbups_rules_end" should be changed to SUBSYSTEMS!="usb", GOTO="nut-usbups_rules_end" I've tested it on my machine and it works for me. Cheers, Michal [1] http://svn.debian.org/wsvn/nut/trunk/scripts/udev/?rev=2071&sc=1 [2] http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=95776dc6ec174f47fa4dd4d8abf5d457223e5dd4
change BUS to SUBSYSTEMS in udev rules There is one missing change in nut-usbups.rules.in: BUS -> SUBSYSTEMS. Previous change (rev2071) missed this. Now, the latest udev started to complain: ... udevd[31526]: BUS= will be removed in a future udev version ... Information about udev change can be found in udev repo: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=95776dc6ec174f47fa4dd4d8abf5d457223e5dd4 Index: scripts/udev/nut-usbups.rules.in =================================================================== --- scripts/udev/nut-usbups.rules.in (revision 2405) +++ scripts/udev/nut-usbups.rules.in (working copy) @@ -3,7 +3,7 @@ ACTION!="add", GOTO="nut-usbups_rules_end" SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real" SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real" -BUS!="usb", GOTO="nut-usbups_rules_end" +SUBSYSTEMS!="usb", GOTO="nut-usbups_rules_end" LABEL="nut-usbups_rules_real" # Krauler UP-M500VA - megatec_usb
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
