[Nut-upsuser] USBDEVFS_CONTROL error ?

John Darrah xyllyx at gmail.com
Sat Jan 26 18:41:26 UTC 2008


Does the following error message have a specific meaning:

usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -75


I get two of these messages every time I run the following:

/lib/nut/usbhid-ups -u root -DDD -a trippy



The following is the output from the above command:

debug level is '3'
Checking device (0000/0000) (004/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.22-3-686 ehci_hcd
- Product: EHCI Host Controller
- Serial Number: 0000:00:03.3
- Bus: 004
Trying to match device
Device does not match - skipping
Checking device (09AE/2005) (001/003)
- VendorID: 09ae
- ProductID: 2005
- Manufacturer: Tripp Lite 
- Product: TRIPP LITE UPS 
- Serial Number: 692195 B 
- Bus: 001
Trying to match device
Device matches
HID descriptor, method 1: (9 bytes) => 09 21 10 01 00 01 22 cb 01
HID descriptor, method 2: (9 bytes) => 09 21 10 01 00 01 22 6a 02
Warning: two different HID descriptors retrieved (Reportlen = 459 vs. 618)
HID descriptor retrieved (Reportlen = 618)
Report descriptor retrieved (Reportlen = 618)
Found HID device
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.2.0-)

Report Descriptor size = 618
Report Descriptor: (618 bytes) => 05 84 09 04 a1 01 09 24 a1 02 05 84 85 28
09 fe 75 08 95 01 26 ff 00 15 00 b1 03 85 29 09 ff b1 03 85 2b 09 fd b1 03
09 1a a1 02 09 40 85 30 b1 83 c0 75 08 95 01 26 ff 00 85 11 09 5a b1 82 05
85 95 01 75 08 26 ff 00 15 00 85 2a 09 89 b1 03 85 33 09 2c b1 03 25 64 85
34 09 66 81 a2 85 34 09 66 b1 a2 85 37 09 67 b1 03 05 84 09 02 a1 02 25 01
75 01 85 32 05 84 95 01 09 69 81 a2 09 d0 81 a2 95 03 09 44 09 45 09 4b 81
a2 95 03 81 01 85 32 05 84 75 01 95 01 09 69 b1 a2 05 85 09 d0 b1 a2 95 03
09 44 09 45 09 4b b1 a2 95 03 b1 01 c0 c0 05 84 09 10 a1 02 09 12 a1 02 85
04 09 40 75 10 95 01 27 ff ff 00 00 b1 02 75 08 05 84 09 02 a1 02 85 23 05
85 75 01 25 01 95 03 09 44 09 45 09 4b b1 82 95 05 b1 01 c0 c0 05 84 95 01
75 08 26 ff 00 09 58 85 10 b1 82 c0 05 84 09 1e a1 02 95 01 75 08 26 ff 00
85 01 09 40 b1 03 85 02 09 42 b1 03 05 84 85 03 09 43 75 10 95 01 27 ff ff
00 00 b1 03 c0 05 84 95 01 75 08 15 00 26 ff 00 09 18 a1 02 09 20 a1 02 75
08 15 00 25 01 95 01 75 10 27 ff ff 00 00 15 00 85 15 09 57 b1 82 75 08 15
00 26 ff 00 06 ff ff 85 51 09 91 b1 82 85 52 09 92 b1 82 85 b6 09 c7 b1 82
c0 c0 06 ff ff 09 10 a1 81 75 10 95 01 27 ff ff 00 00 85 6c 09 7d b1 03 c0
06 ff ff 09 15 a1 81 75 08 95 01 26 ff 00 15 00 85 96 09 c0 b1 02 75 20 85
b4 09 d2 b1 02 75 10 85 97 09 c1 b1 02 75 08 85 98 09 c2 b1 02 75 10 85 99
09 c3 b1 02 85 9b 09 c5 b1 02 75 20 85 9a 09 c4 b1 02 c0 05 84 09 24 a1 02
85 31 09 30 75 08 95 01 26 ff 00 15 00 b1 03 c0 09 10 a1 02 09 12 a1 02 85
20 09 30 75 10 27 ff ff 00 00 b1 02 c0 c0 09 16 a1 02 09 1a a1 02 85 18 55
0f 09 30 b1 82 85 19 09 32 b1 82 c0 55 00 85 22 09 02 a1 02 75 01 95 03 25
01 05 84 09 63 09 6f 09 6e b1 82 95 01 b1 03 09 65 b1 82 09 6d 95 01 b1 03
09 67 09 62 95 02 b1 82 95 06 b1 03 95 01 09 72 b1 82 95 01 b1 03 c0 c0 05
84 09 18 a1 02 09 20 a1 02 75 10 95 01 15 00 27 ff ff 00 00 85 17 09 55 b1
82 c0 c0 c0
Detected a UPS: Tripp Lite /TRIPP LITE UPS 
Using subdriver: TrippLite HID 0.1 (experimental)
Report[r]: (2 bytes) => 28 01
Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 1.000000
Report[r]: (2 bytes) => 29 02
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 2.000000
Report[r]: (2 bytes) => 2b 03
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 3.000000
Report[r]: (2 bytes) => 30 78
Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120.000000
Report[r]: (2 bytes) => 11 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2.000000
Report[r]: (2 bytes) => 2a 18
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 24.000000
Report[r]: (2 bytes) => 33 02
Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2.000000
Report[r]: (2 bytes) => 34 64
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100.000000
Report[r]: (2 bytes) => 37 64
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100.000000
Report[r]: (2 bytes) => 32 06
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0.000000
Can't find object UPS.PowerSummary.PresentStatus.TLACPresent
Path: UPS.PowerSummary.PresentStatus.TLACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1
Can't find object UPS.PowerSummary.PresentStatus.TLCharging
Path: UPS.PowerSummary.PresentStatus.TLCharging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1
Can't find object UPS.PowerSummary.PresentStatus.TLDischarging
Path: UPS.PowerSummary.PresentStatus.TLDischarging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1
Can't find object UPS.PowerSummary.PresentStatus.TLNeedReplacement
Path: UPS.PowerSummary.PresentStatus.TLNeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 4, Size: 1, Value: 0.000000
Report[r]: (3 bytes) => 04 0c 00
Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 12.000000
Report[r]: (2 bytes) => 23 01
Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, ReportID: 0x23, Offset: 0, Size: 1, Value: 1.000000
Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, ReportID: 0x23, Offset: 1, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0.000000
Report[r]: (2 bytes) => 10 00
Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0.000000
Report[r]: (2 bytes) => 01 78
Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120.000000
Report[r]: (2 bytes) => 02 3c
Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60.000000
Report[r]: (3 bytes) => 03 e8 03
Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1000.000000
Report[r]: (3 bytes) => 15 ff ff
Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535.000000
Report[r]: (2 bytes) => 51 00
Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 0.000000
Report[r]: (2 bytes) => 52 00
Path: UPS.OutletSystem.Outlet.ffff0092, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0.000000
Report[r]: (2 bytes) => b6 01
Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, ReportID: 0xb6, Offset: 0, Size: 8, Value: 1.000000
Report[r]: (3 bytes) => 6c 05 20
Path: UPS.ffff0010.[1].ffff007d, Type: Feature, ReportID: 0x6c, Offset: 0, Size: 16, Value: 8197.000000
Report[r]: (2 bytes) => 96 ff
Path: UPS.ffff0015.[1].ffff00c0, Type: Feature, ReportID: 0x96, Offset: 0, Size: 8, Value: 255.000000
Report[r]: (2 bytes) => b4 ff
Path: UPS.ffff0015.[1].ffff00d2, Type: Feature, ReportID: 0xb4, Offset: 0, Size: 32, Value: 255.000000
Report[r]: (3 bytes) => 97 ff ff
Path: UPS.ffff0015.[1].ffff00c1, Type: Feature, ReportID: 0x97, Offset: 0, Size: 16, Value: 255.000000
Report[r]: (2 bytes) => 98 ff
Path: UPS.ffff0015.[1].ffff00c2, Type: Feature, ReportID: 0x98, Offset: 0, Size: 8, Value: 255.000000
Report[r]: (3 bytes) => 99 ff ff
Path: UPS.ffff0015.[1].ffff00c3, Type: Feature, ReportID: 0x99, Offset: 0, Size: 16, Value: 255.000000
Report[r]: (3 bytes) => 9b 03 00
Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, ReportID: 0x9b, Offset: 0, Size: 16, Value: 3.000000
Report[r]: (3 bytes) => 9a 9a 9a
Path: UPS.ffff0015.[1].ffff00c4, Type: Feature, ReportID: 0x9a, Offset: 0, Size: 32, Value: 154.000000
Can't retrieve Report 49 (75): Value too large for defined data type
Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 8
Report[r]: (3 bytes) => 20 85 00
Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 133.000000
Report[r]: (3 bytes) => 18 b9 04
Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 120.900002
Report[r]: (3 bytes) => 19 56 02
Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 59.799999
Report[r]: (3 bytes) => 22 00 00
Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, Offset: 5, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0.000000
Report[r]: (3 bytes) => 17 ff ff
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535.000000
Can't find object UPS.PowerSummary.RemainingCapacityLimit
Can't find object UPS.PowerSummary.WarningCapacityLimit
Can't find object UPS.PowerSummary.RunTimeToEmpty
Can't find object UPS.BatterySystem.Temperature
Can't find object UPS.OutletSystem.Outlet.DelayBeforeStartup
hu_find_infoval: no matching INFO_* value for this HID value (0)

Can't find object UPS.OutletSystem.Outlet.ActivePower
Can't find object UPS.PowerConverter.Output.ActivePower
Can't find object UPS.OutletSystem.Outlet.PercentLoad
Can't find object UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit
Can't find object UPS.PowerSummary.PresentStatus.FullyCharged
Can't find object UPS.PowerSummary.PresentStatus.TLACPresent
Can't find object UPS.PowerSummary.PresentStatus.TLDischarging
Can't find object UPS.PowerSummary.PresentStatus.TLCharging
Can't find object UPS.PowerSummary.PresentStatus.TLNeedReplacement
Can't find object UPS.PowerConverter.Output.HighVoltageTransfer
Can't find object UPS.PowerConverter.Output.LowVoltageTransfer
Can't retrieve Report 49 (75): Value too large for defined data type
Can't find object UPS.PowerConverter.Output.Voltage
Can't find object UPS.PowerConverter.Output.Current
Can't find object UPS.PowerConverter.Output.Frequency
Can't find object UPS.OutletSystem.Outlet.DelayBeforeStartup
upsdrv_updateinfo...
hu_find_infoval: no matching INFO_* value for this HID value (0)

dstate_init: sock /var/run/nut/usbhid-ups-trippy open on fd 5
upsdrv_updateinfo...
Waiting for notifications...
Notification: (2 bytes) => 34 64
Report[i]: (2 bytes) => 34 64
Object: UPS.PowerSummary.RemainingCapacity = 100

=>Got 1 HID Objects...
Object: UPS.PowerSummary.RemainingCapacity = 100
battery.charge = 100
upsdrv_updateinfo...
Waiting for notifications...
Notification: (2 bytes) => 32 06
Report[i]: (2 bytes) => 32 06
Object: UPS.PowerSummary.PresentStatus.ShutdownImminent = 0
Object: UPS.PowerSummary.PresentStatus.TLACPresent = 1
Object: UPS.PowerSummary.PresentStatus.TLCharging = 1
Object: UPS.PowerSummary.PresentStatus.TLDischarging = 0
Object: UPS.PowerSummary.PresentStatus.TLNeedReplacement = 0
Object: UPS.PowerSummary.PresentStatus.00000000 = 0
Object: UPS.PowerSummary.PresentStatus.00000000 = 0
Object: UPS.PowerSummary.PresentStatus.00000000 = 0

=>Got 8 HID Objects...
Object: UPS.PowerSummary.PresentStatus.ShutdownImminent = 0
ups.status = !shutdownimm
Object: UPS.PowerSummary.PresentStatus.TLACPresent = 1
ups.status = online
Object: UPS.PowerSummary.PresentStatus.TLCharging = 1
ups.status = chrg
Object: UPS.PowerSummary.PresentStatus.TLDischarging = 0
ups.status = !dischrg
Object: UPS.PowerSummary.PresentStatus.TLNeedReplacement = 0
ups.status = !replacebatt
Object: UPS.PowerSummary.PresentStatus.00000000 = 0
find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.00000000

Object: UPS.PowerSummary.PresentStatus.00000000 = 0
find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.00000000

Object: UPS.PowerSummary.PresentStatus.00000000 = 0
find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.00000000

upsdrv_updateinfo...
Waiting for notifications...
Notification: (2 bytes) => 34 64
Report[i]: (2 bytes) => 34 64
Object: UPS.PowerSummary.RemainingCapacity = 100

=>Got 1 HID Objects...
Object: UPS.PowerSummary.RemainingCapacity = 100
battery.charge = 100

-- 
John



More information about the Nut-upsuser mailing list