Daniel Nilsson
2011-Aug-19 00:09 UTC
[Nut-upsuser] Debian squeeze: nut udev message at computer startup
Hi. I'm using nut with debian squeeze. When the computer boots and nut is loaded, I get the following messages: "Starting the hotplug events dispatcher: udevdudevd [451]: BUS= will be removed in a future udev version. please use SUBSYSTEM= to match the event device. or SUBSYSTEMS= to match a parent device. in /lib/udev/rules.d/52-nut-usb.rules:6 . Synthesizing the initial hotplug events...udevd [452]: BUS= will be removed in a future udev version. please use SUBSYSTEM= to match the event device. or SUBSYSTEMS= to match a parent device. in /lib/udev/rules.d/52-nut-usb.rules:6" Line 6 in "52-nut-usb.rules:6" contains the following: BUS!="usb", GOTO="nut-usbups_rules_end" I understand you're supposed to replace "BUS" with either "SUBSYSTEM" or "SUBSYSTEMS" but which one am I supposed to use in this case? I can provide more info if necessary, just let me know. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110819/18d244fd/attachment.html>
Charles Lepple
2011-Aug-19 00:13 UTC
[Nut-upsuser] Debian squeeze: nut udev message at computer startup
On Aug 18, 2011, at 8:09 PM, Daniel Nilsson wrote:> I'm using nut with debian squeeze.What version of NUT? (There are at least two possible versions - the .debs, and building the latest from source - not to mention backports.)
Charles Lepple
2011-Aug-19 11:12 UTC
[Nut-upsuser] Debian squeeze: nut udev message at computer startup
On Aug 19, 2011, at 5:02 AM, Daniel Nilsson wrote:>>> What version of NUT? (There are at least two possible versions - >>> the .debs, and building the latest from source - not to mention >>> backports.) >> >> Also, which version of udev? > > Both udev and nut is from the .debs from the default squeeze > repositories (not backports)So 2.4.3-1.1squeeze1 and 164-3 for nut and udev, respectively. In NUT 2.6.0 and later, this has been changed to the following: ACTION!="add|change", GOTO="nut-usbups_rules_end" SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real" SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real" SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end" (which works at least with udev-167).