Package: nut-usb Version: 2.0.5-1 Severity: normal I have an APC Back-UPS RS 800:
Bus 001 Device 007: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000/1500 This device matches the APC rule in 025_nut-usbups.rules, but this rule was not firing -- the device was owned by root.root: SYSFS{idVendor}=="051d", SYSFS{idProduct}=="0002", MODE="664", GROUP="nut" I fixed this, and got the file owned by root.nut by commenting out this line: #SUBSYSTEM!="usb_device", GOTO="nut-usbups_rules_end" The subsystem seems to be "usb", not "usb_device", so I was also able to change it to this and have it work: SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end" Theory: It used to be usb_device, but is usb now. Looking at the libgphoto rules file, it must have had the same issue, since it does this: SUBSYSTEM=="usb_device", GOTO="libgphoto2_rules_real" SUBSYSTEM=="usb", GOTO="libgphoto2_rules_real" BUS!="usb", GOTO="libgphoto2_rules_end" LABEL="libgphoto2_rules_real" Here is udevmonitor --env output for a hotplug of my UPS: UEVENT[1170185395.316095] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2 SUBSYSTEM=usb SEQNUM=1199 PHYSDEVBUS=usb PHYSDEVDRIVER=usb UEVENT[1170185395.316201] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2/usbdev1.6_ep00 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/usbdev1.6_ep00 SUBSYSTEM=usb_endpoint SEQNUM=1200 MAJOR=442 MINOR=5 UEVENT[1170185395.319273] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0 SUBSYSTEM=usb SEQNUM=1201 PHYSDEVBUS=usb DEVICE=/proc/bus/usb/001/006 PRODUCT=51d/2/106 TYPE=0/0/0 INTERFACE=3/0/0 MODALIAS=usb:v051Dp0002d0106dc00dsc00dp00ic03isc00ip00 UDEV [1170185395.321672] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2 UDEV_LOG=3 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2 SUBSYSTEM=usb SEQNUM=1199 PHYSDEVBUS=usb PHYSDEVDRIVER=usb UDEVD_EVENT=1 DRIVER=usb UDEV [1170185395.364356] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2/usbdev1.6_ep00 UDEV_LOG=3 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/usbdev1.6_ep00 SUBSYSTEM=usb_endpoint SEQNUM=1200 MAJOR=442 MINOR=5 UDEVD_EVENT=1 DEVNAME=/dev/usbdev1.6_ep00 UDEV [1170185395.368741] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0 UDEV_LOG=3 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0 SUBSYSTEM=usb SEQNUM=1201 PHYSDEVBUS=usb DEVICE=/proc/bus/usb/001/006 PRODUCT=51d/2/106 TYPE=0/0/0 INTERFACE=3/0/0 MODALIAS=usb:v051Dp0002d0106dc00dsc00dp00ic03isc00ip00 UDEVD_EVENT=1 UEVENT[1170185395.669934] add@/class/usb/hiddev1 ACTION=add DEVPATH=/class/usb/hiddev1 SUBSYSTEM=usb SEQNUM=1202 PHYSDEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0 PHYSDEVBUS=usb PHYSDEVDRIVER=usbhid MAJOR=180 MINOR=97 UEVENT[1170185395.670048] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0/usbdev1.6_ep81 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0/usbdev1.6_ep81 SUBSYSTEM=usb_endpoint SEQNUM=1203 MAJOR=442 MINOR=5 UEVENT[1170185395.670090] add@/class/usb_device/usbdev1.6 ACTION=add DEVPATH=/class/usb_device/usbdev1.6 SUBSYSTEM=usb_device SEQNUM=1204 PHYSDEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2 PHYSDEVBUS=usb PHYSDEVDRIVER=usb MAJOR=189 MINOR=5 UDEV [1170185395.695966] add@/class/usb/hiddev1 UDEV_LOG=3 ACTION=add DEVPATH=/class/usb/hiddev1 SUBSYSTEM=usb SEQNUM=1202 PHYSDEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0 PHYSDEVBUS=usb PHYSDEVDRIVER=usbhid MAJOR=180 MINOR=97 UDEVD_EVENT=1 DEVNAME=/dev/usb/hiddev1 UDEV [1170185395.750663] add@/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0/usbdev1.6_ep81 UDEV_LOG=3 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0/usbdev1.6_ep81 SUBSYSTEM=usb_endpoint SEQNUM=1203 MAJOR=442 MINOR=5 UDEVD_EVENT=1 DEVNAME=/dev/usbdev1.6_ep81 UDEV [1170185395.810432] add@/class/usb_device/usbdev1.6 UDEV_LOG=3 ACTION=add DEVPATH=/class/usb_device/usbdev1.6 SUBSYSTEM=usb_device SEQNUM=1204 PHYSDEVPATH=/devices/pci0000:00/0000:00:02.0/usb1/1-2 PHYSDEVBUS=usb PHYSDEVDRIVER=usb MAJOR=189 MINOR=5 UDEVD_EVENT=1 DEVNAME=/dev/bus/usb/001/006 -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-xen-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages nut-usb depends on: ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries ii libusb-0.1-4 2:0.1.12-3 userspace USB programming library ii nut 2.0.5-1 The core system of the nut - Netwo ii udev 0.103-2 /dev/ and hotplug management daemo nut-usb recommends no packages. -- no debconf information -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]