Michal Hlavinka
2010-Mar-22 12:23 UTC
[Nut-upsdev] [PATCH]recent change in udev rules is not complete
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: nut-udev.patch Type: text/x-patch Size: 955 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100322/e2129c6e/attachment.bin>
Arnaud Quette
2010-Mar-27 00:55 UTC
[Nut-upsdev] [PATCH]recent change in udev rules is not complete
Hi Michal, first of all, you should use the trackers in alioth: https://alioth.debian.org/tracker/?group_id=30602 2010/3/22 Michal Hlavinka <mhlavink at redhat.com>> Hi, > > seems there is one missing change in /trunk/scripts/udev/ > nut-usbups.rules.in > > BUS -> SUBSYSTEMS > (...)thanks for this clear report, and the patch. applied to the trunk (2411) cheers, Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100327/2dc72e22/attachment.htm>