usb & nut logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to get my USB UPS to work with nut and I suspect is more a USB problem that a nut problem.
Can anyone see anything useful?

# 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.000412     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: Found 001 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 061 on 002
skipped 1 class/vendor specific interface descriptors
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: Found 001 on 002
error obtaining child information: Operation not permitted
error obtaining child information: Inappropriate ioctl for device
   0.000636     Checking device (1D6B/0002) (001/001)
   0.000664     - VendorID: 1d6b
   0.000670     - ProductID: 0002
   0.000676     - Manufacturer: Linux 2.6.33.3 ehci_hcd
   0.000681     - Product: EHCI Host Controller
   0.000686     - Serial Number: 0000:00:02.1
   0.000691     - Bus: 001
   0.000695     Trying to match device
   0.000708     Device does not match - skipping
   0.000716     Checking device (0764/0501) (002/061)
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
   0.000736     - VendorID: 0764
   0.000742     - ProductID: 0501
   0.000746     - Manufacturer: unknown
   0.000751     - Product: unknown
   0.000756     - Serial Number: unknown
   0.000761     - Bus: 002
   0.000765     Trying to match device
   0.000778     Device matches
USB error: could not claim interface 0: Operation not permitted
0.000789 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.000799 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.000808 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.000852 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.000864 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.000873 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.000882 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.000890 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.000897 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 57
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 58
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 58, busnum 2, minor = 185
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.00B7: 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 58
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 59
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 59, busnum 2, minor = 186
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.00B8: 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 59
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 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 60
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 60, busnum 2, minor = 187
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.00B9: claimed by neither input, hiddev nor hidraw
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
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 60
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 61
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 61, busnum 2, minor = 188
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.00BA: 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 61
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 62
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 62, busnum 2, minor = 189
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.00BB: 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 62
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 63
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 63, busnum 2, minor = 190
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.00BC: claimed by neither input, hiddev nor hidraw
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0004

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux