[Nut-upsuser] Unable to find driver for a supported device

Charles Lepple clepple at gmail.com
Wed Oct 12 00:35:39 UTC 2016


> On Oct 11, 2016, at 1:35 PM, Nick Teague <nick.teague at smartfox.us> wrote:
> 
> ugen0.2: <TRIPP LITE SMART1500RMXL2Ua TRIPP LITE> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (60mA)

To determine the proper driver, would you please run the following usbconfig command as root? Here's an example from my UPS:

# usbconfig -d ugen0.2 dump_device_desc

ugen0.2: <Evolution MGE UPS SYSTEMS> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (20mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x0463 
  idProduct = 0xffff 
  bcdDevice = 0x0001 
  iManufacturer = 0x0001  <MGE UPS SYSTEMS>
  iProduct = 0x0002  <Evolution>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

Feel free to chop off the last few digits of the string after iSerialNumber, if it returns something unique.

If idProduct is 0001 (not likely these days), you need tripplite_usb, otherwise usbhid-ups is the correct driver.

The other prerequisite is configuring the permissions. I'm not sure if we ever got this integrated into the FreeBSD ports installation procedure, but do you have a "nut-usb.conf" file in /usr/local/etc/devd? If so, it should configure the appropriate /dev/usb device node to be owned (or at least group-writable) by the NUT user. A devd restart and/or pulling the USB cable might be necessary.

The exact details for the above will depend on the procedure you followed to install NUT (ports vs building from source), so let us know, and we can zero in on the problem quickly.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list