[Nut-upsdev] FreeBSD + nut usbhid-ups
itetcu at FreeBSD.org
Mon Aug 13 12:02:31 UTC 2012
On Mon, 13 Aug 2012 07:21:49 -0400
Charles Lepple <clepple at gmail.com> wrote:
> On Mon, Aug 13, 2012 at 6:03 AM, Sergey Samoyloff <gonzahq at gmail.com>
> > root at hq: # /usr/local/libexec/nut/usbhid-ups
> > -DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD -a dell
> > Network UPS Tools - Generic HID driver 0.37 (2.6.4)
> > USB communication driver 0.31
> > 0.000000 send_to_all: SETINFO driver.parameter.port "auto"
> > 0.000057 debug level is '31'
> > 0.000996 upsdrv_initups...
> > 0.001306 Checking device (0424/2514) (/dev/usb//dev/ugen1.4)
> > 0.001381 - VendorID: 0424
> > 0.001392 - ProductID: 2514
> > 0.001398 - Manufacturer: unknown
> > 0.001404 - Product: unknown
> > 0.001410 - Serial Number: unknown
> > 0.001416 - Bus: /dev/usb
> > 0.001421 Trying to match device
> > 0.001435 Device does not match - skipping
> > 0.001456 No appropriate HID device found
> > 0.001465 No matching HID UPS found
> Even though you are starting the driver as root, it drops to the
> unprivileged user selected by the configure script. So ugen1.4 is
> probably the only device it can open.
> Also note that the driver can only see the devices that libusb
> enumerates. I don't know if the BSD libusb uses the USB_DEBUG
> environment variable, but that might show more detail.
Sergey, did you used the port or built from sources?
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
More information about the Nut-upsdev