[Nut-upsdev] [PATCH]recent change in udev rules is not complete

Michal Hlavinka mhlavink at redhat.com
Mon Mar 22 12:23:14 UTC 2010


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>


More information about the Nut-upsdev mailing list