<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;">Hi, Arjen !</span></font></div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;">That is what happened:</span></font></div><div><br></div><div>iMac:~ mihailartuhov$ sudo /sw/lib/nut/usbhid-ups -DDD -u root -a CS_650</div><div>Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2)</div><div><br></div><div>debug level is '3'</div><div>upsdrv_initups...</div><div>Checking device (05AC/8005) (001/001-05ac-8005-09-00)</div><div>- VendorID: 05ac</div><div>- ProductID: 8005</div><div>- Manufacturer: unknown</div><div>- Product: unknown</div><div>- Serial Number: unknown</div><div>- Bus: 001</div><div>Trying to match device</div><div>Device does not match - skipping</div><div>Checking device (051D/0002) (001/002-051d-0002-00-00)</div><div>- VendorID: 051d</div><div>- ProductID: 0002</div><div>- Manufacturer: American Power Conversion</div><div>- Product: Back-UPS CS 650 FW:817.v4.I USB FW:v4</div><div>- Serial Number: QB0707231626 </div><div>- Bus: 001</div><div>Trying to match device</div><div>Device matches</div><div>HID descriptor, method 1: (9 bytes) => 09 21 10 01 21 01 22 c0 04</div><div>HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 c0 04</div><div>HID descriptor length 1216</div><div>Report Descriptor size = 1216</div><div>Report Descriptor: (1216 bytes) => 05 84 09 04 a1 01 09 24 a1 02 85 01 09</div><div> 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</div><div> 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</div><div><span class="Apple-style-span" style="color: rgb(64, 64, 64); font-family: 'Lucida Grande'; font-size: 10px; ">...etc.</span></div><div><br></div><div>0 00 65 00 55 00 b1 a2 85 61 09 26 75 08 16 04</div><div> 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</div><div> 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</div><div> a2 c0 c0</div><div>Using subdriver: APC HID 0.92</div><div>Report[get]: (2 bytes) => 01 01</div><div>Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1.000000</div><div>Report[get]: (2 bytes) => 02 02</div><div>Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2.000000</div><div>Report[get]: (2 bytes) => 03 03</div><div>Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3.000000</div><div>Type: Feature, ReportID: 0x1f, Offset: 0, Size: 16, Value: 12.000000</div><div>Report[get]: (3 bytes) => 1d 47 05</div><div>Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 13.510000</div><div>Report[get]: (2 bytes) => 47 ef</div><div>Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x47, Offset: 0, Size: 8, Value: 239.000000</div><div><span class="Apple-style-span" style="color: rgb(64, 64, 64); font-family: 'Lucida Grande'; font-size: 10px; ">...etc.</span></div><div>Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 149.000000</div><div>Report descriptor retrieved (Reportlen = 1216)</div><div>Found HID device</div><div>Detected a UPS: American Power Conversion/Back-UPS CS 650 FW:817.v4.I USB FW:v4</div><div>Report[buf]: (2 bytes) => 0c 64</div><div>Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100.000000</div><div>Report[buf]: (2 bytes) => 11 0a</div><div>Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10.000000</div><div><span class="Apple-style-span" style="color: rgb(64, 64, 64); font-family: 'Lucida Grande'; font-size: 10px; ">...etc.</span></div><div><font class="Apple-style-span" color="#404040" face="'Lucida Grande'" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div>Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 2.000000</div><div>Report[buf]: (2 bytes) => 14 02</div><div>Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 2.000000</div><div>upsdrv_initinfo...</div><div>upsdrv_updateinfo...</div><div>Got -1 HID objects...</div><div>Quick update...</div><div>Report[buf]: (3 bytes) => 07 0c 00</div><div>Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1.000000</div><div>Report[buf]: (3 bytes) => 07 0c 00</div><div>Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x07, Offset: 1, Size: 1, Value: 0.000000</div><div>Report[buf]: (3 bytes) => 07 0c 00</div><div>Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0.000000</div><div>Report[buf]: (3 bytes) => 07 0c 00</div><div>Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0.000000</div><div>dstate_init: sock /sw/var/run/ups/usbhid-ups-CS_650 open on fd 4</div><div>upsdrv_updateinfo...</div><div>Got -1 HID objects...</div><div>Quick update...</div><div>Report[buf]: (3 bytes) => 07 0c 00</div><div><span class="Apple-style-span" style="color: rgb(64, 64, 64); font-family: 'Lucida Grande'; font-size: 10px; ">...etc.</span></div><div><br></div><div><br></div><div><div>On 19 Aug 2008, at 16:28, Arjen de Korte wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">sudo /sw/lib/nut/usbhid-ups -DDD -u root -a CS_650</span></blockquote></div><br></body></html>