[Nut-upsdev] Help with USB support for a Kebo UPS-650D

Andrew Dancy andrew at lothianproductions.co.uk
Tue Sep 27 22:17:18 UTC 2005


Peter,

Apologies - I clean forgot to add the "-u root" switch. Here's the output
with that switch added - looks more promising!

My comments continue under the below listing...

----

debug level is '5'
Checking device (0925/1234) (001/011)
- VendorID: 0925
- ProductID: 1234
- Manufacturer: unknown
- Product:    N/A    
- Serial Number: unknown
- 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 retrieved (Reportlen = 78)
Report descriptor retrieved (Reportlen = 78)
Found HID device
Report Descriptor size = 78
Report Descriptor: (200 bytes) => 06 A0 FF 09 01 A1 01 09 02 A1 00 06 A1 FF
09 03 
Detected a UPS: unknown/   N/A    
Using subdriver: KEBO HID 0.8
Looking up ffa00001
Looking up ffa00002
Looking up ffa10003
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10003
Looking up ffa10003
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(3)
Can't find object ffa00001.ffa00002.ffa10003
Path: ffa00001.ffa00002.ffa10003, Type: Input
Looking up ffa00001
Looking up ffa00002
Looking up ffa10004
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10004
Looking up ffa10004
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(4)
Can't find object ffa00001.ffa00002.ffa10004
Path: ffa00001.ffa00002.ffa10004, Type: Input
Looking up ffa00001
Looking up ffa00002
Looking up ffa10005
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10005
Looking up ffa10005
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(5)
Can't find object ffa00001.ffa00002.ffa10005
Path: ffa00001.ffa00002.ffa10005, Type: Input
Looking up ffa00001
Looking up ffa00002
Looking up ffa10006
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10006
Looking up ffa10006
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(6)
Can't find object ffa00001.ffa00002.ffa10006
Path: ffa00001.ffa00002.ffa10006, Type: Input
Looking up ffa00001
Looking up ffa00002
Looking up ffa10007
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10007
Looking up ffa10007
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(7)
Can't find object ffa00001.ffa00002.ffa10007
Path: ffa00001.ffa00002.ffa10007, Type: Input
Looking up ffa00001
Looking up ffa00002
Looking up ffa10008
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10008
Looking up ffa10008
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(8)
Can't find object ffa00001.ffa00002.ffa10008
Path: ffa00001.ffa00002.ffa10008, Type: Input
Looking up ffa00001
Looking up ffa00002
Looking up ffa10009
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa10009
Looking up ffa10009
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(9)
Can't find object ffa00001.ffa00002.ffa10009
Path: ffa00001.ffa00002.ffa10009, Type: Output
Looking up ffa00001
Looking up ffa00002
Looking up ffa1000a
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa1000a
Looking up ffa1000a
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(a)
Can't find object ffa00001.ffa00002.ffa1000a
Path: ffa00001.ffa00002.ffa1000a, Type: Output
Looking up ffa00001
Looking up ffa00002
Looking up ffa1000b
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa1000b
Looking up ffa1000b
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(b)
Can't find object ffa00001.ffa00002.ffa1000b
Path: ffa00001.ffa00002.ffa1000b, Type: Output
Looking up ffa00001
Looking up ffa00002
Looking up ffa1000c
entering string_to_path()
parsing ffa00001
Looking up ffa00001
parsing ffa00002
Looking up ffa00002
parsing ffa1000c
Looking up ffa1000c
Path depth = 3
0: UPage(ffa0), Usage(1)
1: UPage(ffa0), Usage(2)
2: UPage(ffa1), Usage(c)
Can't find object ffa00001.ffa00002.ffa1000c
Path: ffa00001.ffa00002.ffa1000c, Type: Output
entering identify_ups(0x0925, 0x1234)

entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing iModel
Looking up iModel
hid_lookup_usage: found ffff00f0
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(ffff), Usage(f0)
Can't find object UPS.PowerSummary.iModel
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing Flow
Looking up Flow
hid_lookup_usage: found 84001e
parsing [4]
Looking up [4]
parsing ConfigApparentPower
Looking up ConfigApparentPower
hid_lookup_usage: found 840043
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(1e)
2: UPage(ff), Usage(4)
3: UPage(84), Usage(43)
Can't find object UPS.Flow.[4].ConfigApparentPower
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing RemainingCapacity
Looking up RemainingCapacity
hid_lookup_usage: found 850066
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(85), Usage(66)
Can't find object UPS.PowerSummary.RemainingCapacity
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing RemainingCapacityLimitSetting
Looking up RemainingCapacityLimitSetting
hid_lookup_usage: found ffff004d
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(ffff), Usage(4d)
Can't find object UPS.PowerSummary.RemainingCapacityLimitSetting
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing RemainingCapacityLimit
Looking up RemainingCapacityLimit
hid_lookup_usage: found 850029
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(85), Usage(29)
Can't find object UPS.PowerSummary.RemainingCapacityLimit
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing RunTimeToEmpty
Looking up RunTimeToEmpty
hid_lookup_usage: found 850068
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(85), Usage(68)
Can't find object UPS.PowerSummary.RunTimeToEmpty
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing Battery
Looking up Battery
hid_lookup_usage: found 840012
parsing Temperature
Looking up Temperature
hid_lookup_usage: found 840036
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(12)
3: UPage(84), Usage(36)
Can't find object UPS.BatterySystem.Battery.Temperature
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing Voltage
Looking up Voltage
hid_lookup_usage: found 840030
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(30)
Can't find object UPS.PowerSummary.Voltage
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing ConfigVoltage
Looking up ConfigVoltage
hid_lookup_usage: found 840040
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(40)
Can't find object UPS.BatterySystem.ConfigVoltage
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PercentLoad
Looking up PercentLoad
hid_lookup_usage: found 840035
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(35)
Can't find object UPS.PowerSummary.PercentLoad
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing DelayBeforeShutdown
Looking up DelayBeforeShutdown
hid_lookup_usage: found 840057
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(57)
Can't find object UPS.PowerSummary.DelayBeforeShutdown
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing DelayBeforeReboot
Looking up DelayBeforeReboot
hid_lookup_usage: found 840055
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(55)
Can't find object UPS.PowerSummary.DelayBeforeReboot
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing DelayBeforeStartup
Looking up DelayBeforeStartup
hid_lookup_usage: found 840056
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(56)
Can't find object UPS.PowerSummary.DelayBeforeStartup
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing Battery
Looking up Battery
hid_lookup_usage: found 840012
parsing Test
Looking up Test
hid_lookup_usage: found 840058
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(12)
3: UPage(84), Usage(58)
Can't find object UPS.BatterySystem.Battery.Test
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing Battery
Looking up Battery
hid_lookup_usage: found 840012
parsing TestPeriod
Looking up TestPeriod
hid_lookup_usage: found ffff0045
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(12)
3: UPage(ffff), Usage(45)
Can't find object UPS.BatterySystem.Battery.TestPeriod
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing Temperature
Looking up Temperature
hid_lookup_usage: found 840036
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(36)
Can't find object UPS.PowerSummary.Temperature
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing Flow
Looking up Flow
hid_lookup_usage: found 84001e
parsing [4]
Looking up [4]
parsing ConfigApparentPower
Looking up ConfigApparentPower
hid_lookup_usage: found 840043
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(1e)
2: UPage(ff), Usage(4)
3: UPage(84), Usage(43)
Can't find object UPS.Flow.[4].ConfigApparentPower
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing ACPresent
Looking up ACPresent
hid_lookup_usage: found 8500d0
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(85), Usage(d0)
Can't find object UPS.PowerSummary.PresentStatus.ACPresent
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Discharging
Looking up Discharging
hid_lookup_usage: found 850045
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(85), Usage(45)
Can't find object UPS.PowerSummary.PresentStatus.Discharging
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Charging
Looking up Charging
hid_lookup_usage: found 850044
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(85), Usage(44)
Can't find object UPS.PowerSummary.PresentStatus.Charging
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing ShutdownImminent
Looking up ShutdownImminent
hid_lookup_usage: found 840069
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(84), Usage(69)
Can't find object UPS.PowerSummary.PresentStatus.ShutdownImminent
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing BelowRemainingCapacityLimit
Looking up BelowRemainingCapacityLimit
hid_lookup_usage: found 850042
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(85), Usage(42)
Can't find object UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing OverLoad
Looking up OverLoad
hid_lookup_usage: found 840065
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(84), Usage(65)
Can't find object UPS.PowerSummary.PresentStatus.OverLoad
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing NeedReplacement
Looking up NeedReplacement
hid_lookup_usage: found 85004b
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(85), Usage(4b)
Can't find object UPS.PowerSummary.PresentStatus.NeedReplacement
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Input
Looking up Input
hid_lookup_usage: found 84001a
parsing [1]
Looking up [1]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Buck
Looking up Buck
hid_lookup_usage: found 84006f
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1a)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6f)
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Buck
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Input
Looking up Input
hid_lookup_usage: found 84001a
parsing [1]
Looking up [1]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Boost
Looking up Boost
hid_lookup_usage: found 84006e
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1a)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6e)
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Boost
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Good
Looking up Good
hid_lookup_usage: found 840061
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(84), Usage(61)
Can't find object UPS.PowerSummary.PresentStatus.Good
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Input[4]
Looking up Input[4]
Input[4] wasn't found
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Input[2]
Looking up Input[2]
Input[2] wasn't found
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Input
Looking up Input
hid_lookup_usage: found 84001a
parsing [1]
Looking up [1]
parsing Voltage
Looking up Voltage
hid_lookup_usage: found 840030
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1a)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(30)
Can't find object UPS.PowerConverter.Input.[1].Voltage
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Input
Looking up Input
hid_lookup_usage: found 84001a
parsing [1]
Looking up [1]
parsing Frequency
Looking up Frequency
hid_lookup_usage: found 840032
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1a)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(32)
Can't find object UPS.PowerConverter.Input.[1].Frequency
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing LowVoltageTransfer
Looking up LowVoltageTransfer
hid_lookup_usage: found 840053
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(53)
Can't find object UPS.PowerConverter.Output.LowVoltageTransfer
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing LowVoltageBoostTransfer
Looking up LowVoltageBoostTransfer
hid_lookup_usage: found ffff0050
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(ffff), Usage(50)
Can't find object UPS.PowerConverter.Output.LowVoltageBoostTransfer
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing HighVoltageBoostTransfer
Looking up HighVoltageBoostTransfer
hid_lookup_usage: found ffff0051
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(ffff), Usage(51)
Can't find object UPS.PowerConverter.Output.HighVoltageBoostTransfer
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing LowVoltageBuckTransfer
Looking up LowVoltageBuckTransfer
hid_lookup_usage: found ffff0052
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(ffff), Usage(52)
Can't find object UPS.PowerConverter.Output.LowVoltageBuckTransfer
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing HighVoltageTransfer
Looking up HighVoltageTransfer
hid_lookup_usage: found 840054
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(54)
Can't find object UPS.PowerConverter.Output.HighVoltageTransfer
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing HighVoltageBuckTransfer
Looking up HighVoltageBuckTransfer
hid_lookup_usage: found ffff0053
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(ffff), Usage(53)
Can't find object UPS.PowerConverter.Output.HighVoltageBuckTransfer
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing Voltage
Looking up Voltage
hid_lookup_usage: found 840030
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(30)
Can't find object UPS.PowerConverter.Output.Voltage
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing Current
Looking up Current
hid_lookup_usage: found 840031
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(31)
Can't find object UPS.PowerConverter.Output.Current
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerConverter
Looking up PowerConverter
hid_lookup_usage: found 840016
parsing Output
Looking up Output
hid_lookup_usage: found 84001c
parsing Frequency
Looking up Frequency
hid_lookup_usage: found 840032
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(16)
2: UPage(84), Usage(1c)
3: UPage(84), Usage(32)
Can't find object UPS.PowerConverter.Output.Frequency
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing ConfigVoltage
Looking up ConfigVoltage
hid_lookup_usage: found 840040
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(40)
Can't find object UPS.PowerSummary.ConfigVoltage
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing ConfigVoltage
Looking up ConfigVoltage
hid_lookup_usage: found 840040
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(40)
Can't find object UPS.PowerSummary.ConfigVoltage
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [1]
Looking up [1]
parsing OutletID
Looking up OutletID
hid_lookup_usage: found 840021
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(21)
Can't find object UPS.OutletSystem.Outlet.[1].OutletID
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [1]
Looking up [1]
parsing OutletID
Looking up OutletID
hid_lookup_usage: found 840021
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(21)
Can't find object UPS.OutletSystem.Outlet.[1].OutletID
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [1]
Looking up [1]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Switchable
Looking up Switchable
hid_lookup_usage: found 84006c
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(1)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6c)
Can't find object UPS.OutletSystem.Outlet.[1].PresentStatus.Switchable
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing OutletID
Looking up OutletID
hid_lookup_usage: found 840021
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(84), Usage(21)
Can't find object UPS.OutletSystem.Outlet.[2].OutletID
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing OutletID
Looking up OutletID
hid_lookup_usage: found 840021
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(84), Usage(21)
Can't find object UPS.OutletSystem.Outlet.[2].OutletID
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Switchable
Looking up Switchable
hid_lookup_usage: found 84006c
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6c)
Can't find object UPS.OutletSystem.Outlet.[2].PresentStatus.Switchable
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing SwitchOn/Off
Looking up SwitchOn/Off
hid_lookup_usage: found 84006b
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6b)
Can't find object UPS.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing ACPresent
Looking up ACPresent
hid_lookup_usage: found 8500d0
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(2)
3: UPage(85), Usage(d0)
Can't find object UPS.PowerSummary.PresentStatus.ACPresent
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing RemainingCapacityLimit
Looking up RemainingCapacityLimit
hid_lookup_usage: found 850029
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(85), Usage(29)
Can't find object UPS.OutletSystem.Outlet.[2].RemainingCapacityLimit
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing DelayBeforeShutdown
Looking up DelayBeforeShutdown
hid_lookup_usage: found 840057
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(84), Usage(57)
Can't find object UPS.OutletSystem.Outlet.[2].DelayBeforeShutdown
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [2]
Looking up [2]
parsing DelayBeforeStartup
Looking up DelayBeforeStartup
hid_lookup_usage: found 840056
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(2)
4: UPage(84), Usage(56)
Can't find object UPS.OutletSystem.Outlet.[2].DelayBeforeStartup
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing OutletID
Looking up OutletID
hid_lookup_usage: found 840021
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(84), Usage(21)
Can't find object UPS.OutletSystem.Outlet.[3].OutletID
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing OutletID
Looking up OutletID
hid_lookup_usage: found 840021
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(84), Usage(21)
Can't find object UPS.OutletSystem.Outlet.[3].OutletID
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing Switchable
Looking up Switchable
hid_lookup_usage: found 84006c
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6c)
Can't find object UPS.OutletSystem.Outlet.[3].PresentStatus.Switchable
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing PresentStatus
Looking up PresentStatus
hid_lookup_usage: found 840002
parsing SwitchOn/Off
Looking up SwitchOn/Off
hid_lookup_usage: found 84006b
Path depth = 6
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(84), Usage(2)
5: UPage(84), Usage(6b)
Can't find object UPS.OutletSystem.Outlet.[3].PresentStatus.SwitchOn/Off
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing RemainingCapacityLimit
Looking up RemainingCapacityLimit
hid_lookup_usage: found 850029
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(85), Usage(29)
Can't find object UPS.OutletSystem.Outlet.[3].RemainingCapacityLimit
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing DelayBeforeShutdown
Looking up DelayBeforeShutdown
hid_lookup_usage: found 840057
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(84), Usage(57)
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeShutdown
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing OutletSystem
Looking up OutletSystem
hid_lookup_usage: found 840018
parsing Outlet
Looking up Outlet
hid_lookup_usage: found 840020
parsing [3]
Looking up [3]
parsing DelayBeforeStartup
Looking up DelayBeforeStartup
hid_lookup_usage: found 840056
Path depth = 5
0: UPage(84), Usage(4)
1: UPage(84), Usage(18)
2: UPage(84), Usage(20)
3: UPage(ff), Usage(3)
4: UPage(84), Usage(56)
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeStartup
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing Battery
Looking up Battery
hid_lookup_usage: found 840012
parsing Test
Looking up Test
hid_lookup_usage: found 840058
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(12)
3: UPage(84), Usage(58)
Can't find object UPS.BatterySystem.Battery.Test
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing Battery
Looking up Battery
hid_lookup_usage: found 840012
parsing Test
Looking up Test
hid_lookup_usage: found 840058
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(12)
3: UPage(84), Usage(58)
Can't find object UPS.BatterySystem.Battery.Test
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing BatterySystem
Looking up BatterySystem
hid_lookup_usage: found 840010
parsing Battery
Looking up Battery
hid_lookup_usage: found 840012
parsing Test
Looking up Test
hid_lookup_usage: found 840058
Path depth = 4
0: UPage(84), Usage(4)
1: UPage(84), Usage(10)
2: UPage(84), Usage(12)
3: UPage(84), Usage(58)
Can't find object UPS.BatterySystem.Battery.Test
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing DelayBeforeShutdown
Looking up DelayBeforeShutdown
hid_lookup_usage: found 840057
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(57)
Can't find object UPS.PowerSummary.DelayBeforeShutdown
entering string_to_path()
parsing UPS
Looking up UPS
hid_lookup_usage: found 840004
parsing PowerSummary
Looking up PowerSummary
hid_lookup_usage: found 840024
parsing DelayBeforeStartup
Looking up DelayBeforeStartup
hid_lookup_usage: found 840056
Path depth = 3
0: UPage(84), Usage(4)
1: UPage(84), Usage(24)
2: UPage(84), Usage(56)
Can't find object UPS.PowerSummary.DelayBeforeStartup
upsdrv_updateinfo...
dstate_init: sock /var/state/ups/newhidups-hiddev0 open on fd 5
upsdrv_updateinfo...
Waiting for notifications...
 none (-110)
upsdrv_updateinfo...
Waiting for notifications...
 none (0)
Notification: (0 bytes) =>                                                 
upsdrv_updateinfo...
Waiting for notifications...
 none (-110)
upsdrv_updateinfo...
Waiting for notifications...
 none (0)
Notification: (0 bytes) =>                                                 
upsdrv_updateinfo...
Waiting for notifications...
 none (-110)

The last four lines then repeat with either (-110) or (0) next to "none", so
I hit CTRL-C

Signal 2: exiting
Closing device

-------------

Don't give up! If Windows can connect to this device, then so can
Linux.  Please also try the program from this post:

http://lists.alioth.debian.org/pipermail/nut-upsdev/2005-September/000144.ht
ml

This is just a simple program that connects to USB devices and prints
some information about them. Nothing fancy and nothing UPS specific,
but if this works then there's no reason NUT could not connect to
it. They must be run as root. Please post the output. 

-------------

Tried to compile with gcc -I/usr/include usbtest.c and got the following
(extract)

usbtest.c:1: error: syntax error before '--' token
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from usbtest.c:7:
/usr/include/gconv.h:72: error: syntax error before "size_t"
/usr/include/gconv.h:88: error: syntax error before "size_t"
/usr/include/gconv.h:97: error: syntax error before "size_t"
/usr/include/gconv.h:174: error: syntax error before "size_t"
/usr/include/gconv.h:177: error: syntax error before '}' token
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from usbtest.c:7:
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type
In file included from /usr/include/stdio.h:72,
                 from usbtest.c:7:
/usr/include/libio.h:354: error: syntax error before "size_t"
/usr/include/libio.h:363: error: syntax error before "size_t"
/usr/include/libio.h:479: error: syntax error before "_IO_sgetn"
/usr/include/libio.h:479: error: syntax error before "size_t"
In file included from usbtest.c:7:
/usr/include/stdio.h:304: error: syntax error before "size_t"
/usr/include/stdio.h:311: error: syntax error before "size_t"
/usr/include/stdio.h:353: error: syntax error before "size_t"
/usr/include/stdio.h:357: error: syntax error before "size_t"
/usr/include/stdio.h:605: error: syntax error before "fread"
/usr/include/stdio.h:605: error: syntax error before "size_t"
/usr/include/stdio.h:611: error: syntax error before "fwrite"
/usr/include/stdio.h:611: error: syntax error before "size_t"
/usr/include/stdio.h:633: error: syntax error before "fread_unlocked"
/usr/include/stdio.h:633: error: syntax error before "size_t"
/usr/include/stdio.h:635: error: syntax error before "fwrite_unlocked"
/usr/include/stdio.h:635: error: syntax error before "size_t"
In file included from /usr/include/usb.h:14,
                 from usbtest.c:8:
/usr/include/unistd.h:312: error: syntax error before "size_t"
/usr/include/unistd.h:318: error: syntax error before "size_t"
/usr/include/unistd.h:448: error: syntax error before "size_t"
In file included from /usr/include/usb.h:14,
                 from usbtest.c:8:
/usr/include/unistd.h:544: error: syntax error before "confstr"
/usr/include/unistd.h:544: error: syntax error before "size_t"
/usr/include/unistd.h:712: error: syntax error before "size_t"
/usr/include/unistd.h:740: error: syntax error before "size_t"
In file included from /usr/include/usb.h:14,
                 from usbtest.c:8:
/usr/include/unistd.h:791: error: syntax error before "size_t"
/usr/include/unistd.h:798: error: syntax error before "size_t"
/usr/include/unistd.h:809: error: syntax error before "size_t"
/usr/include/unistd.h:811: error: syntax error before "size_t"
/usr/include/unistd.h:829: error: syntax error before "size_t"
In file included from /usr/include/usb.h:15,
                 from usbtest.c:8:
/usr/include/stdlib.h:140: error: syntax error before
"__ctype_get_mb_cur_max"
In file included from /usr/include/sys/types.h:266,
                 from /usr/include/stdlib.h:433,
                 from /usr/include/usb.h:15,
                 from usbtest.c:8:
/usr/include/bits/pthreadtypes.h:48: error: syntax error before "size_t"
/usr/include/bits/pthreadtypes.h:51: error: syntax error before
"__stacksize"
In file included from /usr/include/usb.h:15,
                 from usbtest.c:8:
/usr/include/stdlib.h:450: error: syntax error before "size_t"
/usr/include/stdlib.h:480: error: syntax error before "size_t"
/usr/include/stdlib.h:584: error: syntax error before "__size"
/usr/include/stdlib.h:586: error: syntax error before "__nmemb"
/usr/include/stdlib.h:595: error: syntax error before "size_t"
In file included from /usr/include/stdlib.h:606,
                 from /usr/include/usb.h:15,
                 from usbtest.c:8:
/usr/include/alloca.h:33: error: syntax error before "__size"
In file included from /usr/include/usb.h:15,
                 from usbtest.c:8:
/usr/include/stdlib.h:611: error: syntax error before "__size"
/usr/include/stdlib.h:768: error: syntax error before "size_t"
/usr/include/stdlib.h:773: error: syntax error before "size_t"
/usr/include/stdlib.h:846: error: syntax error before "size_t"
/usr/include/stdlib.h:849: error: syntax error before "size_t"
/usr/include/stdlib.h:853: error: syntax error before "size_t"
/usr/include/stdlib.h:857: error: syntax error before "size_t"
/usr/include/stdlib.h:866: error: syntax error before "size_t"
/usr/include/stdlib.h:870: error: syntax error before "size_t"
/usr/include/stdlib.h:877: error: syntax error before "mbstowcs"
/usr/include/stdlib.h:878: error: syntax error before "size_t"
/usr/include/stdlib.h:880: error: syntax error before "wcstombs"
/usr/include/stdlib.h:881: error: syntax error before "size_t"
In file included from /usr/include/usb.h:18,
                 from usbtest.c:8:
/usr/include/dirent.h:317: error: syntax error before "size_t"
In file included from usbtest.c:8:
/usr/include/usb.h:273: error: syntax error before "size_t"
/usr/include/usb.h:275: error: syntax error before "size_t"
usbtest.c: In function `fprint_usb_device':
usbtest.c:167: error: structure has no member named `devnum'
usbtest.c:168: error: structure has no member named `num_children'
usbtest.c:170: error: structure has no member named `num_children'
usbtest.c:171: error: structure has no member named `children'
usbtest.c: In function `fprint_usb_bus':
usbtest.c:190: error: structure has no member named `root_dev'
usbtest.c: At top level:
/usr/include/gconv.h:176: warning: array '__data' assumed to have one
element

I can confirm I do have both the libusb and libusb-devel packages installed
(Fedora Core 3)

Thanks for your help with this,

Regards,

Andrew




More information about the Nut-upsdev mailing list