# export USB_DEBUG=5 # /usr/local/ups/bin/usbhid-ups -a CP550SLG -DDDDD Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 0.000000 debug level is '5' 0.000426 upsdrv_initups... usb_set_debug: Setting debugging level to 5 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 001 usb_os_find_busses: Found 002 usb_os_find_devices: couldn't get connect info usb_os_find_devices: Found 001 on 001 error obtaining child information: Operation not permitted usb_os_find_devices: couldn't get connect info usb_os_find_devices: Found 082 on 002 skipped 1 class/vendor specific interface descriptors usb_os_find_devices: couldn't get connect info usb_os_find_devices: Found 003 on 002 skipped 1 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors usb_os_find_devices: couldn't get connect info usb_os_find_devices: Found 001 on 002 error obtaining child information: Operation not permitted error obtaining child information: Operation not permitted error obtaining child information: Operation not permitted 0.000667 Checking device (1D6B/0002) (001/001) USB error: error sending control message: Operation not permitted USB error: error sending control message: Operation not permitted USB error: error sending control message: Operation not permitted 0.000694 - VendorID: 1d6b 0.000700 - ProductID: 0002 0.000705 - Manufacturer: unknown 0.000710 - Product: unknown 0.000714 - Serial Number: unknown 0.000720 - Bus: 001 0.000724 Trying to match device 0.000738 Device does not match - skipping 0.000745 Checking device (0764/0501) (002/082) USB error: error sending control message: Operation not permitted USB error: error sending control message: Operation not permitted 0.000765 - VendorID: 0764 0.000770 - ProductID: 0501 0.000775 - Manufacturer: unknown 0.000780 - Product: unknown 0.000784 - Serial Number: unknown 0.000789 - Bus: 002 0.000794 Trying to match device 0.000805 Device matches USB error: could not claim interface 0: Operation not permitted 0.000816 failed to claim USB device: could not claim interface 0: Operation not permitted USB error: could not detach kernel driver from interface 0: Operation not permitted 0.000827 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted USB error: could not claim interface 0: Operation not permitted 0.000837 failed to claim USB device: could not claim interface 0: Operation not permitted USB error: could not detach kernel driver from interface 0: Operation not permitted 0.000881 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted USB error: could not claim interface 0: Operation not permitted 0.000892 failed to claim USB device: could not claim interface 0: Operation not permitted USB error: could not detach kernel driver from interface 0: Operation not permitted 0.000901 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted USB error: could not claim interface 0: Operation not permitted 0.000909 failed to claim USB device: could not claim interface 0: Operation not permitted USB error: could not detach kernel driver from interface 0: Operation not permitted 0.000918 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.000925 Can't claim USB device [0764:0501]: could not detach kernel driver from interface 0: Operation not permitted # dmesg hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00030300 PESC CSC LSDA PPS hub 2-0:1.0: port 2, status 0300, change 0003, 1.5 Mb/s usb 2-2: USB disconnect, address 87 usb 2-2: unregistering device usb 2-2: usb_disable_device nuking all URBs usb 2-2: unregistering interface 2-2:1.0 hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x300 hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0004 ehci_hcd 0000:00:02.1: GetStatus port 2 status 001403 POWER sig=k CSC CONNECT hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.1: port 2 low speed --> companion ehci_hcd 0000:00:02.1: GetStatus port 2 status 003402 POWER OWNER sig=k CSC hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0004 hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00010301 CSC LSDA PPS CCS hub 2-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 2-2: new low speed USB device using ohci_hcd and address 88 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 2-2: skipped 1 descriptor after interface usb 2-2: default language 0x0409 usb 2-2: udev 88, busnum 2, minor = 215 usb 2-2: New USB device found, idVendor=0764, idProduct=0501 usb 2-2: New USB device strings: Mfr=3, Product=1, SerialNumber=0 usb 2-2: Product: CP550HG usb 2-2: Manufacturer: CPS usb 2-2: usb_probe_device usb 2-2: configuration #1 chosen from 1 choice usb 2-2: adding 2-2:1.0 (config #1, interface 0) usbhid 2-2:1.0: usb_probe_interface usbhid 2-2:1.0: usb_probe_interface - got id generic-usb 0003:0764:0501.0058: claimed by neither input, hiddev nor hidraw hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004 hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00030300 PESC CSC LSDA PPS hub 2-0:1.0: port 2, status 0300, change 0003, 1.5 Mb/s usb 2-2: USB disconnect, address 88 usb 2-2: unregistering device usb 2-2: usb_disable_device nuking all URBs usb 2-2: unregistering interface 2-2:1.0 hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x300 hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0004 ehci_hcd 0000:00:02.1: GetStatus port 2 status 001403 POWER sig=k CSC CONNECT hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.1: port 2 low speed --> companion ehci_hcd 0000:00:02.1: GetStatus port 2 status 003402 POWER OWNER sig=k CSC hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0004 hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00010301 CSC LSDA PPS CCS hub 2-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 2-2: new low speed USB device using ohci_hcd and address 89 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 2-2: skipped 1 descriptor after interface usb 2-2: default language 0x0409 usb 2-2: udev 89, busnum 2, minor = 216 usb 2-2: New USB device found, idVendor=0764, idProduct=0501 usb 2-2: New USB device strings: Mfr=3, Product=1, SerialNumber=0 usb 2-2: Product: CP550HG usb 2-2: Manufacturer: CPS usb 2-2: usb_probe_device usb 2-2: configuration #1 chosen from 1 choice usb 2-2: adding 2-2:1.0 (config #1, interface 0) usbhid 2-2:1.0: usb_probe_interface usbhid 2-2:1.0: usb_probe_interface - got id generic-usb 0003:0764:0501.0059: claimed by neither input, hiddev nor hidraw hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004