Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-03-03 Thread Arnaud Quette
Hey KP,

please keep the traffic on the list. other can be interested in...

2009/3/2 KP Kirchdoerfer kap...@bering-uclibc.de

 Am Sonntag, 1. März 2009 20:57:21 schrieben Sie:
 - Afficher le texte des messages précédents -
  2009/3/1 KP Kirchdoerfer kap...@bering-uclibc.de
 
   Hello;
  
   Am Sonntag, 1. März 2009 19:42:08 schrieb Arnaud Quette:
2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de
   
 Am Freitag, 27. Februar 2009 18:35:11 schrieb Arnaud Quette:
  2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de
 
   Am Donnerstag, 26. Februar 2009 20:37:56 schrieben Sie:
Citeren KP Kirchdoerfer kap...@bering-uclibc.de:
   
[...]
   
 And the upshid-ups driver ends with:
 No matching HID UPS found
 Driver failed to start (exit status=1)
   
Try this driver again, but make sure to add
   
 productid = 1f06
   
to the ups.conf entry for this device. Chances are that it is
 a
re-branded Tripplite unit (we've seen other HP units that are

 actually

this brand).
  
   Unfortunately the same result... (Driver failed to start...)
  
   any more hints?
 
  lsusb -vv -d 03f0:1f06

 see below

  also test bcmxcp or bcmxcp_usb

 Also these does not work...

 kp
   
ok, we've confirmed the exact type of device and so the driver is
really *usbhid-ups*
now, your vendor/productIDs are not yet supported, so you need to do:
usbhid-ups -DD -u root -x explore -x vendorid=3f0 -a compaq-ups
   
this should give us more info ;-)
  
   Assuming you meant vendorid 03f0 I really get a lot of information...
 see
   below.
   (sorry if that much of information is annyoing in the users list,
   hopefully it
   will be the last time).
  
we'll then see if we can easily add it...
  
   would be cool
   (...)
 
  congrats, it is!
  either checkout the latest trunk or apply the attached patch.
  thanks to confirm that the reported data looks coherent (particularly the
  battery.voltage) and that the standard tests runs (ie OB and OB LB +
  potential commands like tests...)
  an upsc + upsrw + upscmd output is welcome.
  also note that you will need an entry in the udev file.
 
  btw, it's a tripplite rebranded unit.
 
  cheers,
  Arnaud

 I guess the patch was slghtly wrong it should

/* HP T750 INTL */
{ USB_DEVICE(HP_VENDORID, 0x1f06), battery_scale_1dot0 },
 syslog now shows:
 Mar  2 17:27:56 nl-sv-xen usbhid-ups[20794]: Startup successful

 Hopefully I can now start to configure and test nut


yup, the patch was bad (copy paste)
thanks to send the requested outputs and do the requested tests.

cheers,
Arnaud
-- 
Linux / Unix Expert RD - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-03-03 Thread KP Kirchdoerfer
Gents,

Am Dienstag, 3. März 2009 11:13:00 schrieb Arnaud Quette:
 Hey KP,
[...]
 we'll then see if we can easily add it...
   
would be cool
(...)
  
   congrats, it is!
   either checkout the latest trunk or apply the attached patch.
   thanks to confirm that the reported data looks coherent (particularly
   the battery.voltage) and that the standard tests runs (ie OB and OB LB
   + potential commands like tests...)
   an upsc + upsrw + upscmd output is welcome.
   also note that you will need an entry in the udev file.
  
   btw, it's a tripplite rebranded unit.

I finally managed to install it with the patch above (typo fixed) and enhanced 
udev rules as Arnaud adviced.
The data looks reasonable, though I'm no engineer or physician and have to 
believe more or lee what I see. 
But I've successfully tested that power is reported and that at ca. 25% of 
battery charge a shutdown is initiated. So my goals are achieved.

I'll attach the patches and output of the requested commands.

Thx very much again for the fast and valuable help.
kp


--- scripts/udev/52-nut-usbups.rules.orig	2009-03-03 23:57:54.0 +0100
+++ scripts/udev/52-nut-usbups.rules	2009-03-03 23:58:34.0 +0100
@@ -13,6 +13,9 @@
 #  HP R/T 2200 INTL (like SMART2200RMXL2U)  - usbhid-ups
 SYSFS{idVendor}==03f0, SYSFS{idProduct}==1f0a, MODE=664, GROUP=nut
 
+#  HP T750 INTL   - usbhid-ups
+SYSFS{idVendor}==03f0, SYSFS{idProduct}==1f06, MODE=664, GROUP=nut
+
 #  MGE Office Protection Systems, prev. MGE UPS Systems 
 #  various models  - usbhid-ups
 SYSFS{idVendor}==0463, SYSFS{idProduct}==0001, MODE=664, GROUP=nut
--- drivers/tripplite-hid.c.orig	2009-03-03 23:42:29.0 +0100
+++ drivers/tripplite-hid.c	2009-03-02 17:24:49.0 +0100
@@ -85,6 +85,9 @@
 	/* HP R/T 2200 INTL (like SMART2200RMXL2U) */
 	{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
 
+	/* HP T750 INTL */
+	{ USB_DEVICE(HP_VENDORID, 0x1f06), battery_scale_1dot0 },
+	
 	/* Terminating entry */
 	{ -1, -1, NULL }
 };
Instant commands supported on UPS [ups]:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.reboot - Shut down the load briefly while rebooting the UPS
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
battery.charge: 91
battery.charge.low: 10
battery.charge.warning: 30
battery.temperature: 37.9
battery.type: PbAc
battery.voltage: 25.1
battery.voltage.nominal: 24.0
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.4.1
driver.version.data: TrippLite HID 0.4
driver.version.internal: 0.34
input.frequency: 49.9
input.transfer.high: 277.0
input.transfer.low: 158.0
input.voltage: 224.4
input.voltage.nominal: 230
output.frequency: 49.9
output.frequency.nominal: 50
output.voltage: 223.3
output.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 59
ups.mfr: Hewlett-Packard
ups.model: T750 INTL   
ups.power.nominal: 750
ups.productid: 1f06
ups.serial: 2CJ5380638
ups.status: OL CHRG
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.timer.start: -1
ups.vendorid: 03f0
[battery.charge.low]
Remaining battery level when UPS switches to LB (percent)
Type: STRING
Value: 10

[input.transfer.high]
High voltage transfer point (V)
Type: STRING
Value: 277.0

[input.transfer.low]
Low voltage transfer point (V)
Type: STRING
Value: 158.0

[ups.delay.shutdown]
Interval to wait after shutdown with delay command (seconds)
Type: STRING
Value: 20

[ups.delay.start]
Interval to wait before (re)starting the load (seconds)
Type: STRING
Value: 30

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-03-01 Thread KP Kirchdoerfer
Hello;

Am Sonntag, 1. März 2009 19:42:08 schrieb Arnaud Quette:

 2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de

  Am Freitag, 27. Februar 2009 18:35:11 schrieb Arnaud Quette:
   2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de
  
Am Donnerstag, 26. Februar 2009 20:37:56 schrieben Sie:
 Citeren KP Kirchdoerfer kap...@bering-uclibc.de:

 [...]

  And the upshid-ups driver ends with:
  No matching HID UPS found
  Driver failed to start (exit status=1)

 Try this driver again, but make sure to add

  productid = 1f06

 to the ups.conf entry for this device. Chances are that it is a
 re-branded Tripplite unit (we've seen other HP units that are
 
  actually
 
 this brand).
   
Unfortunately the same result... (Driver failed to start...)
   
any more hints?
  
   lsusb -vv -d 03f0:1f06
 
  see below
 
   also test bcmxcp or bcmxcp_usb
 
  Also these does not work...
 
  kp
 
 
 

 ok, we've confirmed the exact type of device and so the driver is really
 *usbhid-ups*
 now, your vendor/productIDs are not yet supported, so you need to do:
 usbhid-ups -DD -u root -x explore -x vendorid=3f0 -a compaq-ups

 this should give us more info ;-)

Assuming you meant vendorid 03f0 I really get a lot of information... see 
below.
(sorry if that much of information is annyoing in the users list, hopefully it 
will be the last time).




 we'll then see if we can easily add it...

would be cool

kp

* usbhid-ups -DD -u root -x explore -x vendorid=03f0 -a compaq-ups *
- VendorID: 03f0
- ProductID: 1f06
- Manufacturer: Hewlett-Packard
- Product: T750 INTL
- Serial Number: 2CJ5380638
- Bus: 001
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
trying again to claim USB device...
HID descriptor length 900
Report Descriptor size = 900
Using subdriver: EXPLORE HID 0.1
Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, 
Size: 8, Value: 36.00
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 
0, Size: 8, Value: 50.00
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 
0, Size: 8, Value: 4.00
Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, 
Offset: 0, Size: 8, Value: 230.00
Path: UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 
0, Size: 16, Value: 226.10
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, 
Offset: 0, Size: 8, Value: 2.00
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, 
Offset: 0, Size: 8, Value: 40.00
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x62, Offset: 
0, Size: 8, Value: 4.00
Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, 
Size: 8, Value: 2.00
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 
0, Size: 8, Value: 100.00
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, 
Offset: 0, Size: 8, Value: 100.00
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x3a, 
Offset: 0, Size: 8, Value: 10.00
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, 
Offset: 0, Size: 8, Value: 100.00
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x36, Offset: 
0, Size: 8, Value: 100.00
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x38, 
Offset: 0, Size: 8, Value: 30.00
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x3b, 
Offset: 0, Size: 8, Value: 1.00
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x39, 
Offset: 0, Size: 8, Value: 1.00
Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c, Offset: 0, 
Size: 8, Value: 1.00
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 
0x32, Offset: 7, Size: 1, Value: 0.00
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 
0x32, Offset: 9, Size: 1, Value: 0.00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, 
Offset: 16, Size: 1, Value: 1.00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x32, Offset: 18, Size: 1, Value: 0.00
Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 
0x32, Offset: 19, Size: 1, Value: 1.00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, 
Offset: 20, Size: 1, Value: 0.00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, 
Offset: 21, Size: 1, Value: 0.00
Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 
0x32, Offset: 22, Size: 1, Value: 0.00
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 
0x32, Offset: 23, Size: 1, Value: 0.00

Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-03-01 Thread Arnaud Quette
2009/3/1 KP Kirchdoerfer kap...@bering-uclibc.de

 Hello;

 Am Sonntag, 1. März 2009 19:42:08 schrieb Arnaud Quette:

  2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de
 
   Am Freitag, 27. Februar 2009 18:35:11 schrieb Arnaud Quette:
2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de
   
 Am Donnerstag, 26. Februar 2009 20:37:56 schrieben Sie:
  Citeren KP Kirchdoerfer kap...@bering-uclibc.de:
 
  [...]
 
   And the upshid-ups driver ends with:
   No matching HID UPS found
   Driver failed to start (exit status=1)
 
  Try this driver again, but make sure to add
 
   productid = 1f06
 
  to the ups.conf entry for this device. Chances are that it is a
  re-branded Tripplite unit (we've seen other HP units that are
  
   actually
  
  this brand).

 Unfortunately the same result... (Driver failed to start...)

 any more hints?
   
lsusb -vv -d 03f0:1f06
  
   see below
  
also test bcmxcp or bcmxcp_usb
  
   Also these does not work...
  
   kp
  
  
  

  ok, we've confirmed the exact type of device and so the driver is really
  *usbhid-ups*
  now, your vendor/productIDs are not yet supported, so you need to do:
  usbhid-ups -DD -u root -x explore -x vendorid=3f0 -a compaq-ups
 
  this should give us more info ;-)

 Assuming you meant vendorid 03f0 I really get a lot of information... see
 below.
 (sorry if that much of information is annyoing in the users list, hopefully
 it
 will be the last time).




  we'll then see if we can easily add it...

 would be cool
 (...)


congrats, it is!
either checkout the latest trunk or apply the attached patch.
thanks to confirm that the reported data looks coherent (particularly the
battery.voltage) and that the standard tests runs (ie OB and OB LB +
potential commands like tests...)
an upsc + upsrw + upscmd output is welcome.
also note that you will need an entry in the udev file.

btw, it's a tripplite rebranded unit.

cheers,
Arnaud
-- 
Linux / Unix Expert RD - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
Index: drivers/tripplite-hid.c
===
--- drivers/tripplite-hid.c	(révision 1797)
+++ drivers/tripplite-hid.c	(copie de travail)
@@ -84,6 +84,8 @@
 
 	/* HP R/T 2200 INTL (like SMART2200RMXL2U) */
 	{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
+	/* HP T750 INTL */
+	{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
 	
 	/* Terminating entry */
 	{ -1, -1, NULL }
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-03-01 Thread KP Kirchdoerfer
Am Sonntag, 1. März 2009 20:57:21 schrieb Arnaud Quette:
 2009/3/1 KP Kirchdoerfer kap...@bering-uclibc.de

   we'll then see if we can easily add it...
 
  would be cool
  (...)

 congrats, it is!
 either checkout the latest trunk or apply the attached patch.
 thanks to confirm that the reported data looks coherent (particularly the
 battery.voltage) and that the standard tests runs (ie OB and OB LB +
 potential commands like tests...)
 an upsc + upsrw + upscmd output is welcome.
 also note that you will need an entry in the udev file.

 btw, it's a tripplite rebranded unit.

Geez, that's really fast.

Sounds promising :) 

It may take some more days, but for shure I have to have the UPS working 
sometime, I do have a start, and therefor I'll certainly give feedback ASAP.

thx very much!
kp



___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-28 Thread 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:

  8snip---

  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.

-- 
- Charles Lepple

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-28 Thread Kjell Claesson
lördag 28 februari 2009 16:36:54 skrev  Charles Lepple:

 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.

You are right Charles, I must have been sleeping.
The only thing I was thinking that it was strange debug output :-)

So KP you should run the driver only, not through the upsdrvctl.
By running it like Charles say, you should get some more debug
info out.

/Kjell



___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-28 Thread KP Kirchdoerfer
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:
 
   8snip---
 
   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


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread KP Kirchdoerfer
Am Donnerstag, 26. Februar 2009 20:37:56 schrieben Sie:
 Citeren KP Kirchdoerfer kap...@bering-uclibc.de:

 [...]

  And the upshid-ups driver ends with:
  No matching HID UPS found
  Driver failed to start (exit status=1)

 Try this driver again, but make sure to add

  productid = 1f06

 to the ups.conf entry for this device. Chances are that it is a
 re-branded Tripplite unit (we've seen other HP units that are actually
 this brand).

Unfortunately the same result... (Driver failed to start...)

any more hints?

regards kp

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread Arnaud Quette
2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de

 Am Donnerstag, 26. Februar 2009 20:37:56 schrieben Sie:
  Citeren KP Kirchdoerfer kap...@bering-uclibc.de:
 
  [...]
 
   And the upshid-ups driver ends with:
   No matching HID UPS found
   Driver failed to start (exit status=1)
 
  Try this driver again, but make sure to add
 
   productid = 1f06
 
  to the ups.conf entry for this device. Chances are that it is a
  re-branded Tripplite unit (we've seen other HP units that are actually
  this brand).

 Unfortunately the same result... (Driver failed to start...)

 any more hints?


lsusb -vv -d 03f0:1f06

also test bcmxcp or bcmxcp_usb

Arnaud
-- 
Linux / Unix Expert RD - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread KP Kirchdoerfer
Am Freitag, 27. Februar 2009 18:35:11 schrieb Arnaud Quette:
 2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de

  Am Donnerstag, 26. Februar 2009 20:37:56 schrieben Sie:
   Citeren KP Kirchdoerfer kap...@bering-uclibc.de:
  
   [...]
  
And the upshid-ups driver ends with:
No matching HID UPS found
Driver failed to start (exit status=1)
  
   Try this driver again, but make sure to add
  
productid = 1f06
  
   to the ups.conf entry for this device. Chances are that it is a
   re-branded Tripplite unit (we've seen other HP units that are actually
   this brand).
 
  Unfortunately the same result... (Driver failed to start...)
 
  any more hints?

 lsusb -vv -d 03f0:1f06

see below


 also test bcmxcp or bcmxcp_usb

Also these does not work...

kp



Bus 001 Device 002: ID 03f0:1f06 Hewlett-Packard
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor   0x03f0 Hewlett-Packard
  idProduct  0x1f06
  bcdDevice0.00
  iManufacturer   4 Hewlett-Packard
  iProduct   36 T750 INTL
  iSerial50 2CJ5380638
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   34
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower   50mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  0 No Subclass
  bInterfaceProtocol  0 None
  iInterface  0
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode   33 US
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength 900
 Report Descriptors:
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval 248
Device Status: 0x0003
  Self Powered
  Remote Wakeup Enabled




___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread Kjell Claesson
fredag 27 februari 2009 18:35:11 skrev  Arnaud Quette:
 2009/2/27 KP Kirchdoerfer kap...@bering-uclibc.de

8---snip--
   Try this driver again, but make sure to add
  
productid = 1f06
  
   to the ups.conf entry for this device. Chances are that it is a
   re-branded Tripplite unit (we've seen other HP units that are actually
   this brand).
 
  Unfortunately the same result... (Driver failed to start...)
 
  any more hints?

 lsusb -vv -d 03f0:1f06

 also test bcmxcp or bcmxcp_usb

This would not work as the vendor product id is hardcoded in the nut_usb.c
I can not recognise the look of the ups. So I can not say if it is a 
re-branded version.

Regards
Kjell


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread Kjell Claesson
fredag 27 februari 2009 18:48:58 skrev  KP Kirchdoerfer:
8snip---

 Bus 001 Device 002: ID 03f0:1f06 Hewlett-Packard
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   1.10
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize0 8
   idVendor   0x03f0 Hewlett-Packard
   idProduct  0x1f06
   bcdDevice0.00
   iManufacturer   4 Hewlett-Packard
   iProduct   36 T750 INTL
   iSerial50 2CJ5380638
   bNumConfigurations  1
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   34
 bNumInterfaces  1
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0xe0
   Self Powered
   Remote Wakeup
 MaxPower   50mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   1
   bInterfaceClass 3 Human Interface Device
   bInterfaceSubClass  0 No Subclass
   bInterfaceProtocol  0 None
   iInterface  0
 HID Device Descriptor:
   bLength 9
   bDescriptorType33
   bcdHID   1.11
   bCountryCode   33 US
   bNumDescriptors 1
   bDescriptorType34 Report
   wDescriptorLength 900
  Report Descriptors:
** UNAVAILABLE **
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x81  EP 1 IN
 bmAttributes3
   Transfer TypeInterrupt
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0008  1x 8 bytes
 bInterval 248
 Device Status: 0x0003
   Self Powered
   Remote Wakeup Enabled

This look like a hid device. Have you tested the usbhid_ups driver in debug 
mode.

/Kjell


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread 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:
 8snip---

 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.

/Kjell



___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-27 Thread Kjell Claesson
fredag 27 februari 2009 19:37:42 skrev  KP Kirchdoerfer:

  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

OK, then we have a bastard ;-(

The only thing I can think of is to make a snoop of the traffic.
This may be done by a windows machine running the original driver and the 
usbsnoop program.

The SnoopyPro-0.22 on SF is one sniffer.
This can be tricky sometimes to get a good log, but it can tell us if it is a 
known protocol or something HP have come up with.

/Kjell

P.S. If your up for this, take it to the nut-upsdev list.


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-26 Thread Arnaud Quette
2009/2/26 Charles Lepple clep...@gmail.com

 On Wed, Feb 25, 2009 at 1:54 PM, KP Kirchdoerfer
 kap...@bering-uclibc.de wrote:
  Hi,
 
  I own a UPS HP T750.
 
  Is there a driver for this UPS (either serial or USB)?

 As you may have already seen, we don't have an entry for this UPS in
 data/drivers.list yet.

 However, HP often repackages other vendors' equipment. Does the
 documentation mention what software is used to monitor the UPS on
 Windows? Often this is a clue as to what is inside.


knowing the OS you're running would also help...
for example, on Linux for USB, you could run lsusb to help determine the
rebrand originator and so the potential driver needed. My guess is that it's
either Powerware (so bcmxcp_* or usbhid-ups) or Apc (so apcsmart or
usbhid-ups)

Arnaud
-- 
Linux / Unix Expert RD - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-26 Thread KP Kirchdoerfer
Am Donnerstag, 26. Februar 2009 12:01:41 schrieb Arnaud Quette:
 2009/2/26 Charles Lepple clep...@gmail.com

  On Wed, Feb 25, 2009 at 1:54 PM, KP Kirchdoerfer
 
  kap...@bering-uclibc.de wrote:
   Hi,
  
   I own a UPS HP T750.
  
   Is there a driver for this UPS (either serial or USB)?
 
  As you may have already seen, we don't have an entry for this UPS in
  data/drivers.list yet.
 
  However, HP often repackages other vendors' equipment. Does the
  documentation mention what software is used to monitor the UPS on
  Windows? Often this is a clue as to what is inside.

AFAIK native HP software.

 knowing the OS you're running would also help...

yes, sorry; I'm running Debian Lenny.

 for example, on Linux for USB, you could run lsusb to help determine the

lsusb just shows Hewlett Packard...

Bus 001 Device 002: ID 03f0:1f06 Hewlett-Packard

 rebrand originator and so the potential driver needed. My guess is that
 it's either Powerware (so bcmxcp_* or usbhid-ups) or Apc (so apcsmart or
 usbhid-ups)

Unfortunately none of these worked; the errors are varying:

with apcsmart
Unable to detect an APC Smart protocol UPS on port /dev/ttyS1
Check the cabling, port name or model name and try again
similar message with the bcmxcp driver;

the upscode2 driver gives:
Missing UPCL after UPCL
No contact with UPS, delaying init.

And the upshid-ups driver ends with:
No matching HID UPS found
Driver failed to start (exit status=1)

regards
kp








___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-26 Thread Arjen de Korte
Citeren KP Kirchdoerfer kap...@bering-uclibc.de:

[...]

 And the upshid-ups driver ends with:
 No matching HID UPS found
 Driver failed to start (exit status=1)

Try this driver again, but make sure to add

 productid = 1f06

to the ups.conf entry for this device. Chances are that it is a  
re-branded Tripplite unit (we've seen other HP units that are actually  
this brand).

Best regards, Arjen
-- 
Please keep list traffic on the list


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


[Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-25 Thread KP Kirchdoerfer
Hi,

I own a UPS HP T750.

Is there a driver for this UPS (either serial or USB)?

thx kp

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] driver for HP/Compaq T750 ?

2009-02-25 Thread Charles Lepple
On Wed, Feb 25, 2009 at 1:54 PM, KP Kirchdoerfer
kap...@bering-uclibc.de wrote:
 Hi,

 I own a UPS HP T750.

 Is there a driver for this UPS (either serial or USB)?

As you may have already seen, we don't have an entry for this UPS in
data/drivers.list yet.

However, HP often repackages other vendors' equipment. Does the
documentation mention what software is used to monitor the UPS on
Windows? Often this is a clue as to what is inside.

-- 
- Charles Lepple

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser