Am Samstag, 28. Februar 2009 16:36:54 schrieb Charles Lepple: > On Fri, Feb 27, 2009 at 1:37 PM, KP Kirchdoerfer > > <kap...@bering-uclibc.de> wrote: > > Am Freitag, 27. Februar 2009 19:34:11 schrieb Kjell Claesson: > >> fredag 27 februari 2009 19:09:27 skrev KP Kirchdoerfer: > >> > Am Freitag, 27. Februar 2009 18:54:00 schrieben Sie: > >> > > fredag 27 februari 2009 18:48:58 skrev KP Kirchdoerfer: > >> > >> 8<------------------------snip------------------------------- > >> > >> > If you ask me to run upsdrvctl with -D I'll don't geht more > >> > information than before: > >> > /sbin/upsdrvctl -D start compaq-ups > >> > Network UPS Tools - UPS driver controller 2.2.2 > >> > Starting UPS: compaq-ups > >> > Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) > >> > > >> > No matching HID UPS found > >> > Driver failed to start (exit status=1) > >> > >> You can rise the debug level by adding D. So try -DDD . > >> I have not worked with the usbups_hid driver but it should give > >> some more info. > > > > Yep; I tried that also, but didn't got more output.... > > There's a subtle difference here - adding '-D' to the upsdrvctl > command line increases the verbosity of upsdrvctl, not the driver that > it starts. > > For testing, you would want something like: > > /lib/nut/usbhid-ups -D -a compaq-ups > > As Kjell mentioned, the nut-upsdev list is a better place for usbsnoop > logs and whatnot, if we can't figure it out with the basic debug > output.
Ok, I tried a few drivers: /lib/nut/upscode2 -D -D -a compaq-ups Network UPS Tools - UPScode II UPS driver 0.85 (2.2.2) Copyright (C) 2001-2002 H K Lygre, <hkly...@online.no> Copyright (C) 2004-2006 Niels Baggesen <ni...@baggesen.net> Copyright (C) 2006 Niklas Edmundsson <ni...@acc.umu.se> Warning: This is an experimental driver. Some features may not function correctly. debug level is '2' upscode2 version 0.85 input_timeout = 2 Sec output_pace = 200 uSec full_update_timer = 60 Sec use_crlf = 0 use_pre_lf = 0 Missing UPCL after UPCL No contact with UPS, delaying init. Missing UPCL after UPCL No contact with UPS, delaying init. lib/nut/bcmxcp -D -D -a compaq-ups Network UPS Tools - BCMXCP UPS driver 0.14 (2.2.2) Warning: This is an experimental driver. Some features may not function correctly. debug level is '2' Attempting to autodect baudrate Receive error (PW_COMMAND_START_BYTE): -1!!! Receive error (PW_COMMAND_START_BYTE): -1!!! Receive error (PW_COMMAND_START_BYTE): -1!!! No response from UPS on /dev/ttyS1 with baudrate 1200 Receive error (PW_COMMAND_START_BYTE): -1!!! and so on... and finally usb: /lib/nut/usbhid-ups -D -D -a compaq-ups Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) debug level is '2' upsdrv_initups... Checking device (03F0/1F06) (001/002) - VendorID: 03f0 - ProductID: 1f06 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 001 Trying to match device Device does not match - skipping Checking device (1D6B/0001) (001/001) - VendorID: 1d6b - ProductID: 0001 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 001 Trying to match device Device does not match - skipping No appropriate HID device found No matching HID UPS found thx for your patience. kp _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser