[Nut-upsuser] NUT on Mac OSX 10.5

Михаил А pano.irk at gmail.com
Tue Aug 19 08:50:05 UTC 2008


Hi, Arjen !
That is what happened:

iMac:~ mihailartuhov$ sudo /sw/lib/nut/usbhid-ups -DDD -u root -a CS_650
Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2)

debug level is '3'
upsdrv_initups...
Checking device (05AC/8005) (001/001-05ac-8005-09-00)
- VendorID: 05ac
- ProductID: 8005
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (051D/0002) (001/002-051d-0002-00-00)
- VendorID: 051d
- ProductID: 0002
- Manufacturer: American Power Conversion
- Product: Back-UPS CS 650 FW:817.v4.I USB FW:v4
- Serial Number: QB0707231626
- Bus: 001
Trying to match device
Device matches
HID descriptor, method 1: (9 bytes) => 09 21 10 01 21 01 22 c0 04
HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 c0 04
HID descriptor length 1216
Report Descriptor size = 1216
Report Descriptor: (1216 bytes) => 05 84 09 04 a1 01 09 24 a1 02 85 01  
09
  fe 79 01 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 02 b1 22 85  
03 09
  fd 79 03 b1 22 05 85 85 04 09 8f 79 03 b1 22 85 05 09 89 79 04 b1 22  
85 06
...etc.

0 00 65 00 55 00 b1 a2 85 61 09 26 75 08 16 04
  00 26 0e 00 b1 a2 85 62 09 25 75 20 17 01 00 00 80 27 ff ff ff 7f b2  
a2 01
  c0 05 84 09 16 a1 00 85 51 06 86 ff 09 24 16 80 00 26 e0 00 95 01 75  
08 b1
  a2 c0 c0
Using subdriver: APC HID 0.92
Report[get]: (2 bytes) => 01 01
Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01,  
Offset: 0, Size: 8, Value: 1.000000
Report[get]: (2 bytes) => 02 02
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02,  
Offset: 0, Size: 8, Value: 2.000000
Report[get]: (2 bytes) => 03 03
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x03,  
Offset: 0, Size: 8, Value: 3.000000
Type: Feature, ReportID: 0x1f, Offset: 0, Size: 16, Value: 12.000000
Report[get]: (3 bytes) => 1d 47 05
Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0,  
Size: 16, Value: 13.510000
Report[get]: (2 bytes) => 47 ef
Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x47, Offset: 0,  
Size: 8, Value: 239.000000
...etc.
Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: 0x51,  
Offset: 0, Size: 8, Value: 149.000000
Report descriptor retrieved (Reportlen = 1216)
Found HID device
Detected a UPS: American Power Conversion/Back-UPS CS 650 FW:817.v4.I  
USB FW:v4
Report[buf]: (2 bytes) => 0c 64
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:  
0x0c, Offset: 0, Size: 8, Value: 100.000000
Report[buf]: (2 bytes) => 11 0a
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature,  
ReportID: 0x11, Offset: 0, Size: 8, Value: 10.000000
...etc.

Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x14, Offset: 0, Size: 8, Value: 2.000000
Report[buf]: (2 bytes) => 14 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x14, Offset: 0, Size: 8, Value: 2.000000
upsdrv_initinfo...
upsdrv_updateinfo...
Got -1 HID objects...
Quick update...
Report[buf]: (3 bytes) => 07 0c 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x07, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (3 bytes) => 07 0c 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x07, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (3 bytes) => 07 0c 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x07, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (3 bytes) => 07 0c 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0.000000
dstate_init: sock /sw/var/run/ups/usbhid-ups-CS_650 open on fd 4
upsdrv_updateinfo...
Got -1 HID objects...
Quick update...
Report[buf]: (3 bytes) => 07 0c 00
...etc.


On 19 Aug 2008, at 16:28, Arjen de Korte wrote:

> sudo /sw/lib/nut/usbhid-ups -DDD -u root -a CS_650

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080819/79a28852/attachment.htm 


More information about the Nut-upsuser mailing list