Arnaud,
Here is what you have asked for.

Matt


•[x4linux:~] mmusgrove $ sudo service nut stop
[sudo] password for mmusgrove: 
 * Stopping Network UPS Tools                                                   
                                                                                
                                         [ OK ] 
•[x4linux:~] mmusgrove $ export USB_DEBUG=3
•[x4linux:~] mmusgrove $ sudo /lib/nut/usbhid-ups -DDDD -a cyberpower
Network UPS Tools - Generic HID driver 0.35 (2.6.0)
USB communication driver 0.31
   0.000000     debug level is '4'
   0.001247     upsdrv_initups...
   0.290879     Checking device (0764/0501) (007/004)
   0.302437     - VendorID: 0764
   0.302466     - ProductID: 0501
   0.302477     - Manufacturer: CPS
   0.302487     - Product: UPS CP1000AVRLCD
   0.302496     - Serial Number: unknown
   0.302506     - Bus: 007
   0.302515     Trying to match device
   0.302571     Device matches
   0.307441     HID descriptor, method 1: (9 bytes) => 09 21 10 01 21 01 22 83 
01
   0.307472     i=0, extra[i]=09, extra[i+1]=21
   0.307489     HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 83 
01
   0.307500     HID descriptor length 387
   0.333436     Report Descriptor size = 387
   0.333478     Report Descriptor: (387 bytes) => 05 84 09 04 a1 01 09 24 a1 00 
85 01 09 fe
   0.333504      75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff b1 22 85 03 05 85 
09 89 b1 22
   0.333528      85 04 09 8f b1 22 85 05 09 8b b1 22 85 06 09 2c b1 22 85 07 75 
08 95 06 25
   0.333551      78 09 83 09 8d 09 8e 09 8c 09 29 09 67 b1 22 85 08 75 08 95 01 
65 00 09 66
   0.333574      81 a2 09 66 b1 a2 09 68 75 10 27 ff ff 00 00 66 01 10 81 a2 09 
68 b1 a2 09
   0.333597      2a 26 58 02 81 a2 09 2a b1 a2 85 09 75 08 26 ff 00 05 84 09 40 
67 21 d1 f0
   0.333621      00 55 06 b1 22 85 0a 09 30 b1 a2 65 00 55 00 09 02 a1 02 85 0b 
75 01 95 06
   0.333644      25 01 05 85 09 d0 09 44 09 45 09 42 09 46 09 43 81 a2 09 d0 09 
44 09 45 09
   0.333668      42 09 46 09 43 b1 a2 75 02 95 01 81 01 b1 01 c0 85 0c 05 84 09 
5a 75 08 15
   0.333691      01 25 03 b1 a2 85 0d 09 fd 15 00 26 ff 00 b1 22 c0 05 84 09 1a 
a1 00 85 0e
   0.333714      05 84 09 40 75 08 67 21 d1 f0 00 55 07 b1 22 85 0f 09 30 b1 a2 
85 10 09 53
   0.333737      15 5a 25 5a b1 22 09 54 16 8c 00 26 8c 00 b1 22 c0 09 1c a1 00 
85 12 09 30
   0.333760      15 00 26 ff 00 b1 a2 65 00 55 00 85 13 09 35 b1 a2 85 14 09 58 
25 06 b1 a2
   0.333783      85 15 09 57 75 10 15 ff 26 ff 7f 35 c4 47 c4 ff 1d 00 66 01 10 
b1 a2 85 16
   0.333805      09 56 b1 a2 85 17 09 6e 75 01 15 00 25 01 35 00 45 00 65 00 b1 
a2 09 65 b1
   0.333827      a2 75 06 b1 01 85 18 75 10 09 44 26 c2 01 66 21 d1 55 07 b1 a2 
c0 c0
   0.333968     Using subdriver: CyberPower HID 0.3
   0.333986     Entering libusb_get_report
   0.336438     libusb_get_report: No error
   0.336501     Can't retrieve Report 01: Operation not permitted
   0.336529     Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, 
Offset: 0, Size: 8
   0.336541     Entering libusb_get_report
   0.339438     libusb_get_report: No error
   0.339476     Can't retrieve Report 02: Operation not permitted
   0.339496     Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 
0x02, Offset: 0, Size: 8
   0.339508     Entering libusb_get_report
   0.341434     libusb_get_report: No error
   0.341469     Can't retrieve Report 03: Operation not permitted
   0.341487     Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, 
ReportID: 0x03, Offset: 0, Size: 8
   0.341499     Entering libusb_get_report
   0.343430     libusb_get_report: No error
   0.343462     Can't retrieve Report 04: Operation not permitted
   0.343479     Path: UPS.PowerSummary.iOEMInformation, Type: Feature, 
ReportID: 0x04, Offset: 0, Size: 8
   0.343491     Entering libusb_get_report
   0.345429     libusb_get_report: No error
   0.345461     Can't retrieve Report 05: Operation not permitted
   0.345479     Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 
0x05, Offset: 0, Size: 8
   0.345490     Entering libusb_get_report
   0.347429     libusb_get_report: No error
   0.347461     Can't retrieve Report 06: Operation not permitted
   0.347478     Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8
   0.347488     Entering libusb_get_report
   0.349429     libusb_get_report: No error
   0.349461     Can't retrieve Report 07: Operation not permitted
   0.349478     Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 
0x07, Offset: 0, Size: 8
   0.349489     Entering libusb_get_report
   0.351415     libusb_get_report: No error
   0.351451     Can't retrieve Report 07: Operation not permitted
   0.351470     Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, 
ReportID: 0x07, Offset: 8, Size: 8
   0.351482     Entering libusb_get_report
   0.353429     libusb_get_report: No error
   0.353461     Can't retrieve Report 07: Operation not permitted
   0.353479     Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, 
ReportID: 0x07, Offset: 16, Size: 8
   0.353490     Entering libusb_get_report
   0.355429     libusb_get_report: No error
   0.355461     Can't retrieve Report 07: Operation not permitted
   0.355478     Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, 
ReportID: 0x07, Offset: 24, Size: 8
   0.355489     Entering libusb_get_report
   0.357428     libusb_get_report: No error
   0.357461     Can't retrieve Report 07: Operation not permitted
   0.357478     Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, 
ReportID: 0x07, Offset: 32, Size: 8
   0.357489     Entering libusb_get_report
   0.359428     libusb_get_report: No error
   0.359461     Can't retrieve Report 07: Operation not permitted
   0.359478     Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, 
ReportID: 0x07, Offset: 40, Size: 8
   0.359489     Entering libusb_get_report
   0.362431     libusb_get_report: No error
   0.362471     Can't retrieve Report 08: Operation not permitted
   0.362504     Path: UPS.PowerSummary.RemainingCapacity, Type: Input, 
ReportID: 0x08, Offset: 0, Size: 8
   0.362516     Entering libusb_get_report
   0.364420     libusb_get_report: No error
   0.364453     Can't retrieve Report 08: Operation not permitted
   0.364471     Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, 
ReportID: 0x08, Offset: 0, Size: 8
   0.364482     Entering libusb_get_report
   0.367426     libusb_get_report: No error
   0.367462     Can't retrieve Report 08: Operation not permitted
   0.367480     Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 
0x08, Offset: 8, Size: 16
   0.367491     Entering libusb_get_report
   0.369432     libusb_get_report: No error
   0.369469     Can't retrieve Report 08: Operation not permitted
   0.369489     Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 
0x08, Offset: 8, Size: 16
   0.369501     Entering libusb_get_report
   0.372409     libusb_get_report: No error
   0.372422     Can't retrieve Report 08: Operation not permitted
   0.372428     Path: UPS.PowerSummary.RemainingTimeLimit, Type: Input, 
ReportID: 0x08, Offset: 24, Size: 16
   0.372431     Entering libusb_get_report
   0.374406     libusb_get_report: No error
   0.374417     Can't retrieve Report 08: Operation not permitted
   0.374422     Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, 
ReportID: 0x08, Offset: 24, Size: 16
   0.374426     Entering libusb_get_report
   0.376407     libusb_get_report: No error
   0.376419     Can't retrieve Report 09: Operation not permitted
   0.376424     Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 
0x09, Offset: 0, Size: 8
   0.376427     Entering libusb_get_report
   0.378405     libusb_get_report: No error
   0.378416     Can't retrieve Report 0a: Operation not permitted
   0.378421     Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0a, 
Offset: 0, Size: 8
   0.378424     Entering libusb_get_report
   0.381407     libusb_get_report: No error
   0.381420     Can't retrieve Report 0b: Operation not permitted
   0.381425     Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, 
ReportID: 0x0b, Offset: 0, Size: 1
   0.381429     Entering libusb_get_report
   0.383405     libusb_get_report: No error
   0.383416     Can't retrieve Report 0b: Operation not permitted
   0.383421     Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, 
ReportID: 0x0b, Offset: 1, Size: 1
   0.383425     Entering libusb_get_report
   0.386400     libusb_get_report: No error
   0.386413     Can't retrieve Report 0b: Operation not permitted
   0.386418     Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, 
ReportID: 0x0b, Offset: 2, Size: 1
   0.386421     Entering libusb_get_report
   0.388404     libusb_get_report: No error
   0.388415     Can't retrieve Report 0b: Operation not permitted
   0.388420     Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x0b, Offset: 3, Size: 1
   0.388424     Entering libusb_get_report
   0.390404     libusb_get_report: No error
   0.390415     Can't retrieve Report 0b: Operation not permitted
   0.390420     Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, 
ReportID: 0x0b, Offset: 4, Size: 1
   0.390423     Entering libusb_get_report
   0.393437     libusb_get_report: No error
   0.393475     Can't retrieve Report 0b: Operation not permitted
   0.393493     Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, 
Type: Input, ReportID: 0x0b, Offset: 5, Size: 1
   0.393504     Entering libusb_get_report
   0.395428     libusb_get_report: No error
   0.395460     Can't retrieve Report 0b: Operation not permitted
   0.395477     Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, 
ReportID: 0x0b, Offset: 0, Size: 1
   0.395489     Entering libusb_get_report
   0.398432     libusb_get_report: No error
   0.398468     Can't retrieve Report 0b: Operation not permitted
   0.398485     Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, 
ReportID: 0x0b, Offset: 1, Size: 1
   0.398496     Entering libusb_get_report
   0.400428     libusb_get_report: No error
   0.400460     Can't retrieve Report 0b: Operation not permitted
   0.400477     Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x0b, Offset: 2, Size: 1
   0.400488     Entering libusb_get_report
   0.402427     libusb_get_report: No error
   0.402459     Can't retrieve Report 0b: Operation not permitted
   0.402477     Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, 
ReportID: 0x0b, Offset: 3, Size: 1
   0.402488     Entering libusb_get_report
   0.404434     libusb_get_report: No error
   0.404473     Can't retrieve Report 0b: Operation not permitted
   0.404492     Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: 
Feature, ReportID: 0x0b, Offset: 4, Size: 1
   0.404504     Entering libusb_get_report
   0.406427     libusb_get_report: No error
   0.406466     Can't retrieve Report 0b: Operation not permitted
   0.406485     Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, 
Type: Feature, ReportID: 0x0b, Offset: 5, Size: 1
   0.406498     Entering libusb_get_report
   0.408428     libusb_get_report: No error
   0.408460     Can't retrieve Report 0c: Operation not permitted
   0.408476     Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x0c, Offset: 0, Size: 8
   0.408488     Entering libusb_get_report
   0.410431     libusb_get_report: No error
   0.410466     Can't retrieve Report 0d: Operation not permitted
   0.410483     Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 
0x0d, Offset: 0, Size: 8
   0.410494     Entering libusb_get_report
   0.413431     libusb_get_report: No error
   0.413464     Can't retrieve Report 0e: Operation not permitted
   0.413481     Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x0e, 
Offset: 0, Size: 8
   0.413492     Entering libusb_get_report
   0.416424     libusb_get_report: No error
   0.416459     Can't retrieve Report 0f: Operation not permitted
   0.416477     Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x0f, Offset: 
0, Size: 8
   0.416488     Entering libusb_get_report
   0.419418     libusb_get_report: No error
   0.419451     Can't retrieve Report 10: Operation not permitted
   0.419468     Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 
0x10, Offset: 0, Size: 8
   0.419480     Entering libusb_get_report
   0.421424     libusb_get_report: No error
   0.421459     Can't retrieve Report 10: Operation not permitted
   0.421476     Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 
0x10, Offset: 8, Size: 8
   0.421487     Entering libusb_get_report
   0.423418     libusb_get_report: No error
   0.423450     Can't retrieve Report 12: Operation not permitted
   0.423466     Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x12, 
Offset: 0, Size: 8
   0.423477     Entering libusb_get_report
   0.425438     libusb_get_report: No error
   0.425476     Can't retrieve Report 13: Operation not permitted
   0.425495     Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x13, 
Offset: 0, Size: 8
   0.425506     Entering libusb_get_report
   0.427431     libusb_get_report: No error
   0.427467     Can't retrieve Report 14: Operation not permitted
   0.427484     Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 
0, Size: 8
   0.427495     Entering libusb_get_report
   0.430427     libusb_get_report: No error
   0.430459     Can't retrieve Report 15: Operation not permitted
   0.430476     Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 
0x15, Offset: 0, Size: 16
   0.430487     Entering libusb_get_report
   0.432431     libusb_get_report: No error
   0.432464     Can't retrieve Report 16: Operation not permitted
   0.432481     Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 
0x16, Offset: 0, Size: 16
   0.432492     Entering libusb_get_report
   0.434434     libusb_get_report: No error
   0.434471     Can't retrieve Report 17: Operation not permitted
   0.434488     Path: UPS.Output.Boost, Type: Feature, ReportID: 0x17, Offset: 
0, Size: 1
   0.434499     Entering libusb_get_report
   0.436431     libusb_get_report: No error
   0.436467     Can't retrieve Report 17: Operation not permitted
   0.436484     Path: UPS.Output.Overload, Type: Feature, ReportID: 0x17, 
Offset: 1, Size: 1
   0.436495     Entering libusb_get_report
   0.439431     libusb_get_report: No error
   0.439467     Can't retrieve Report 18: Operation not permitted
   0.439483     Path: UPS.Output.ConfigActivePower, Type: Feature, ReportID: 
0x18, Offset: 0, Size: 16
   0.439546     Report descriptor retrieved (Reportlen = 387)
   0.439557     Found HID device
   0.439569     Detected a UPS: CPS/UPS CP1000AVRLCD
   0.439603     string_to_path: depth = 3
   0.439615     Entering libusb_get_report
   0.441431     libusb_get_report: No error
   0.441465     Can't retrieve Report 03: Operation not permitted
   0.441477     Can't initialize data from HID UPS

•[x4linux:~] mmusgrove $ dpkg -l '*libusb*' 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                           Version                      
                  Description
+++-==============================================-==============================================-============================================================================================================
un  ia32-libusb-0.1-4                              <none>                       
                  (no description available)
ii  libusb-0.1-4                                   2:0.1.12-17                  
                  userspace USB programming library
ii  libusb-1.0-0                                   2:1.0.8-2                    
                  userspace USB programming library
un  libusb0                                        <none>                       
                  (no description available)
ii  libusbmuxd1                                    1.0.7-1                      
                  USB multiplexor daemon for iPhone and iPod Touch devices - 
library

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to