Hello,
for me the USB works on FreeBSD 6.0 with custom kernell. Please find notes on

http://wiki.botka.homeunix.org/bin/view/Main/NetworkUpsToolsUsb

There has been a thread about this issue recently. I wonder that your USB attaches to /dev/ugen0 on FreeBSD 6.0. I had to disable uhid driver to get ugen. All these problems are solved on 6.1 with libusb 0.1.12 has been reported.


Cheers,

        -vlado

D0000000000000000000000000000000


On Mon, 22 May 2006, Daniel O'Connor wrote:

I am looking at the newhid driver for this Pulsar EXtreme here but it gives
odd results, for example there is no status variable :)

eg
debug level is '2'
Checking device (0463/FFFF) (/dev/usb0//dev/ugen0)
- VendorID: 0463
- ProductID: ffff
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: /dev/usb0
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 1535)
Report descriptor retrieved (Reportlen = 1535)
Found HID device
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

Report Descriptor size = 1535
Detected a UPS: unknown/unknown
Using subdriver: MGE HID 0.8
Path: UPS.PowerSummary.PowerSummaryID, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.FlowID, Type: Feature, Value: 4.000000
Can't retrieve Report 52 (-5/5): Input/output error
Path: UPS.PowerSummary.RemainingCapacityLimitSetting, Type: Feature
Path: UPS.PowerSummary.Rechargeable, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2.000000
...

I get quite a number of IO errors - it seems these come from libusb but I am
not sure under what circumstances it returns it.

This is a 6.0 machine running NUT 2.0.3 - has anyone been able to connect to a
USB UPS with FreeBSD?

Thanks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


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

Reply via email to