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.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 
0, Size: 8, Value: 50.000000
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 
0, Size: 8, Value: 4.000000
Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, 
Offset: 0, Size: 8, Value: 230.000000
Path: UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 
0, Size: 16, Value: 226.100000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, 
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, 
Offset: 0, Size: 8, Value: 40.000000
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x62, Offset: 
0, Size: 8, Value: 4.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, 
Size: 8, Value: 2.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 
0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, 
Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x3a, 
Offset: 0, Size: 8, Value: 10.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, 
Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x36, Offset: 
0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x38, 
Offset: 0, Size: 8, Value: 30.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x3b, 
Offset: 0, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x39, 
Offset: 0, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c, Offset: 0, 
Size: 8, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 
0x32, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 
0x32, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, 
Offset: 16, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x32, Offset: 18, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 
0x32, Offset: 19, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, 
Offset: 20, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, 
Offset: 21, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 
0x32, Offset: 22, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 
0x32, Offset: 23, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 
0x32, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, 
ReportID: 0x32, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, 
Offset: 16, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x32, Offset: 18, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 
0x32, Offset: 19, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, 
Offset: 20, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 
0x32, Offset: 21, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 
0x32, Offset: 22, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 
0x32, Offset: 23, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, 
Offset: 0, Size: 16, Value: 24.000000
Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, 
Offset: 0, Size: 16, Value: 27.700000
Path: UPS.BatterySystem.Battery.PresentStatus.BelowRemainingCapacityLimit, 
Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.PresentStatus.FullyCharged, Type: Feature, 
ReportID: 0x23, Offset: 3, Size: 1, Value: 1.000000
Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, 
ReportID: 0x23, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, 
ReportID: 0x23, Offset: 5, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.PresentStatus.FullyDischarged, Type: Feature, 
ReportID: 0x23, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, 
ReportID: 0x23, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.BatterySystem.Battery.RemainingCapacity, Type: Feature, ReportID: 
0x21, Offset: 0, Size: 8, Value: 100.000000
Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 
8, Value: 0.000000
Path: UPS.BatterySystem.Temperature, Type: Feature, ReportID: 0x1a, Offset: 0, 
Size: 16, Value: 327.000000
Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 
8, Value: 230.000000
Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, 
Size: 8, Value: 50.000000
Path: UPS.Flow.ffff0097, Type: Feature, ReportID: 0x55, Offset: 0, Size: 8, 
Value: 0.000000
Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, 
Size: 16, Value: 750.000000
Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 
0, Size: 16, Value: 226.100000
Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, 
Offset: 0, Size: 16, Value: 50.000000
Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, 
Offset: 0, Size: 16, Value: 225.500000
Path: UPS.PowerConverter.Output.Frequency, Type: Feature, ReportID: 0x1c, 
Offset: 0, Size: 16, Value: 50.000000
Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 16, Value: 158.000000
Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, ReportID: 
0x09, Offset: 0, Size: 16, Value: 277.000000
Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, 
ReportID: 0x22, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, 
Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, 
Offset: 2, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 
0x22, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, 
Offset: 5, Size: 1, Value: 1.000000
Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, 
ReportID: 0x22, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, 
ReportID: 0x22, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 
0x22, Offset: 14, Size: 1, Value: 0.000000
Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 
0x15, Offset: 0, Size: 16, Value: -1.000000
Path: UPS.OutletSystem.Outlet.DelayBeforeStartup, Type: Feature, ReportID: 
0x61, Offset: 0, Size: 16, Value: -1.000000
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 
0x17, Offset: 0, Size: 16, Value: -1.000000
Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, 
Offset: 0, Size: 8, Value: 65.000000
Path: UPS.OutletSystem.Outlet.ffff0056, Type: Feature, ReportID: 0x16, Offset: 
0, Size: 16, Value: -1.000000
Path: UPS.OutletSystem.Outlet.ffff0081, Type: Feature, ReportID: 0x41, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.ffff0095, Type: Feature, ReportID: 0x67, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.ffff0096, Type: Feature, ReportID: 0x68, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.ffff0098, Type: Feature, ReportID: 0x69, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.ffff0099, Type: Feature, ReportID: 0x6a, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.ffff009a, Type: Feature, ReportID: 0x6b, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.ffff0010.[1].ffff0075, Type: Feature, ReportID: 0x0d, Offset: 0, 
Size: 8, Value: 38.000000
Path: UPS.ffff0010.[1].ffff0076, Type: Feature, ReportID: 0x0e, Offset: 0, 
Size: 8, Value: 0.000000
Path: UPS.ffff0010.[1].ffff007c, Type: Feature, ReportID: 0x0f, Offset: 0, 
Size: 8, Value: 178.000000
Path: UPS.ffff0010.[1].ffff007d, Type: Feature, ReportID: 0x6c, Offset: 0, 
Size: 16, Value: 12545.000000
Report descriptor retrieved (Reportlen = 900)
Found HID device
Detected a UPS: Hewlett-Packard/T750 INTL
upsdrv_initinfo...
upsdrv_updateinfo...
Got 1 HID objects...
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 
0, Size: 8, Value: 100.000000
Quick update...
dstate_init: sock /var/run/nut/usbhid-ups-compaq-ups open on fd 5
upsdrv_updateinfo...
Got 1 HID objects...
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 
0, Size: 8, Value: 100.000000
Quick update...
upsdrv_updateinfo...
Got 9 HID objects...
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 
0x32, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 
0x32, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, 
Offset: 16, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x32, Offset: 18, Size: 1, Value: 0.000000


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

Reply via email to