[Nut-upsuser] Ablerex 625L USB version

Lau Kim Ping pinglau at tm.net.my
Sat Sep 23 06:57:46 UTC 2006


***********************
Your mail has been scanned by InterScan MSS.
***********************


Peter,

I played with option -DDDD & newhidups revealed more info:

==== there are more output but it scrolled off the screen ====
Can't find object 00860004.PowerConverter.Output.FlowID
Path: 00860004.PowerConverter.Output.FlowID, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing Voltage
hid_lookup_usage: found 840030
Path depth = 4
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(30)
Can't find object 00860004.PowerConverter.Output.Voltage
Path: 00860004.PowerConverter.Output.Voltage, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing Frequency
hid_lookup_usage: found 840032
Path depth = 4
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(32)
Can't find object 00860004.PowerConverter.Output.Frequency
Path: 00860004.PowerConverter.Output.Frequency, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing PercentLoad
hid_lookup_usage: found 840035
Path depth = 4
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(35)
Can't find object 00860004.PowerConverter.Output.PercentLoad
Path: 00860004.PowerConverter.Output.PercentLoad, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing PresentStatus
hid_lookup_usage: found 840002
parsing Overload
hid_lookup_usage: found 840065
Path depth = 5
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(2)
4: UPage(84), Usage(65)
Can't find object 00860004.PowerConverter.Output.PresentStatus.Overload
Path: 00860004.PowerConverter.Output.PresentStatus.Overload, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing PresentStatus
hid_lookup_usage: found 840002
parsing Boost
hid_lookup_usage: found 84006e
Path depth = 5
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(2)
4: UPage(84), Usage(6e)
Can't find object 00860004.PowerConverter.Output.PresentStatus.Boost
Path: 00860004.PowerConverter.Output.PresentStatus.Boost, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing PresentStatus
hid_lookup_usage: found 840002
parsing Buck
hid_lookup_usage: found 84006f
Path depth = 5
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(2)
4: UPage(84), Usage(6f)
Can't find object 00860004.PowerConverter.Output.PresentStatus.Buck
Path: 00860004.PowerConverter.Output.PresentStatus.Buck, Type: Input
parsing 00860004
parsing PowerConverter
hid_lookup_usage: found 840016
parsing Output
hid_lookup_usage: found 84001c
parsing PresentStatus
hid_lookup_usage: found 840002
parsing 00840039
Path depth = 5
0: UPage(86), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(2)
4: UPage(84), Usage(39)
Entering libusb_get_report
Report: (8 bytes) => 00 00 00 00 00 00 00 00
=>> Before exponent: 0, 5/0)
=>> After conversion: 0.000000 (0), 5/0)
Path: 00860004.PowerConverter.Output.PresentStatus.00840039, Type: Feature, Value: 0.000000
upsdrv_updateinfo...
dstate_init: sock /var/state/ups/newhidups-auto open on fd 5
upsdrv_updateinfo...
Waiting for notifications...
Signal 2: exiting
Closing device
===== cut ====

With the above new info, can you give some hints to get me started in writing a subdriver for it?  What info should I ask the manufacturer?


*****

>On Fri, 22 Sep 2006 22:47:40 -0300 (ADT)
>selinger at mathstat.dal.ca (Peter Selinger) wrote:

>That device is not currently supported (we have never seen it before). 
>It looks like a HID device, so it should be possible to write a
>subdriver for it, see docs/hid-subdrivers.txt. 
>
>However, the data returned by the device looks strange; all the values
>are "0". I am not sure if this will work out. 
>
>-- Peter
>
>Lau Kim Ping wrote:
>> 
>> Has anyone managed to get this UPS to work?  I am using the laster development nuts.  My /proc/bus/usb/devices content:
>> 
>> ==== cut ====
>> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
>> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>> P:  Vendor=ffff ProdID=0000 Rev= 1.00
>> S:  Manufacturer=UIS Ablerex
>> S:  Product=Ablerex USB Interface 049e
>> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
>> I:  If#= 0 Alt= 0 #EPs= 0 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
>> ==== cut ====
>> 
>> "newhidups -DD -u root -x generic -x vendorid=ffff auto" gave me this:
>> 
>> debug level is '2'
>> Checking device (FFFF/0000) (001/002)
>> - VendorID: ffff
>> - ProductID: 0000
>> - Manufacturer: UIS Ablerex
>> - Product: Ablerex USB Interface 049e
>> - Serial Number: unknown
>> - Bus: 001
>> Trying to match device
>> Device matches
>> HID descriptor retrieved (Reportlen = 632)
>> Report descriptor retrieved (Reportlen = 632)
>> Found HID device
>> Report Descriptor size = 632
>> Detected a UPS: UIS Ablerex/Ablerex USB Interface 049e
>> Using subdriver: GENERIC HID 0.1
>> Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 
>> (2.1.0)
>> 
>> Path: 00860004.Flow.FlowID, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.ConfigVoltage, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.ConfigFrequency, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.LowVoltageTransfer, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.HighVoltageTransfer, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.iManufacturer, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.iProduct, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.iSerialNumber, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.FlowID, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.ConfigVoltage, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.ConfigFrequency, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.ConfigApparentPower, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.ConfigActivePower, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.DelayBeforeStartup, Type: Feature, Value: 0.000000
>> Path: 00860004.Flow.DelayBeforeShutdown, Type: Feature, Value: 0.000000
>> Path: 00860004.BatterySystem.BatterySystemID, Type: Feature, Value: 
>> 0.000000
>> Path: 00860004.BatterySystem.PresentStatus.Used, Type: Feature, Value: 
>> 0.000000
>> Path: 00860004.BatterySystem.PresentStatus.Good, Type: Feature, Value: 
>> 0.000000
>> Path: 00860004.BatterySystem.Voltage, Type: Feature, Value: 0.000000
>> Path: 00860004.BatterySystem.Temperature, Type: Feature, Value: 0.000000
>> Path: 00860004.BatterySystem.Test, Type: Input, Value: 0.000000
>> Path: 00860004.BatterySystem.Test, Type: Feature, Value: 0.000000
>> Can't find object 00860004.PowerConverter.PowerConverterID
>> Path: 00860004.PowerConverter.PowerConverterID, Type: Input
>> Can't find object 00860004.PowerConverter.Input.InputID
>> Path: 00860004.PowerConverter.Input.InputID, Type: Input
>> Can't find object 00860004.PowerConverter.Input.FlowID
>> Path: 00860004.PowerConverter.Input.FlowID, Type: Input
>> Can't find object 00860004.PowerConverter.Input.PresentStatus.Good
>> Path: 00860004.PowerConverter.Input.PresentStatus.Good, Type: Input
>> Can't find object 00860004.PowerConverter.Input.Voltage
>> Path: 00860004.PowerConverter.Input.Voltage, Type: Input
>> Can't find object 00860004.PowerConverter.Input.Frequency
>> Path: 00860004.PowerConverter.Input.Frequency, Type: Input
>> Can't find object 00860004.PowerConverter.Output.OutputID
>> Path: 00860004.PowerConverter.Output.OutputID, Type: Input
>> Can't find object 00860004.PowerConverter.Output.FlowID
>> Path: 00860004.PowerConverter.Output.FlowID, Type: Input
>> Can't find object 00860004.PowerConverter.Output.Voltage
>> Path: 00860004.PowerConverter.Output.Voltage, Type: Input
>> Can't find object 00860004.PowerConverter.Output.Frequency
>> Path: 00860004.PowerConverter.Output.Frequency, Type: Input
>> Can't find object 00860004.PowerConverter.Output.PercentLoad
>> Path: 00860004.PowerConverter.Output.PercentLoad, Type: Input
>> Can't find object 00860004.PowerConverter.Output.PresentStatus.Overload
>> Path: 00860004.PowerConverter.Output.PresentStatus.Overload, Type: Input
>> Can't find object 00860004.PowerConverter.Output.PresentStatus.Boost
>> Path: 00860004.PowerConverter.Output.PresentStatus.Boost, Type: Input
>> Can't find object 00860004.PowerConverter.Output.PresentStatus.Buck
>> Path: 00860004.PowerConverter.Output.PresentStatus.Buck, Type: Input
>> Path: 00860004.PowerConverter.Output.PresentStatus.00840039, Type: 
>> Feature, Value: 0.000000
>> upsdrv_updateinfo...
>> dstate_init: sock /var/state/ups/newhidups-auto open on fd 5
>> upsdrv_updateinfo...
>> Waiting for notifications...
>> 
>> Signal 2: exiting
>> Closing device
>> 
>> 
>> _______________________________________________
>> Nut-upsuser mailing list
>> Nut-upsuser at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>> 
>




More information about the Nut-upsuser mailing list