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

Nick Teague nick.teague at smartfox.us
Wed Oct 12 19:28:07 UTC 2016


Alright.  Sorry to bother you guys.  Apparently after I rebooted the box, it started working now on the tripplite-usb driver.  One correct also.  I didn't have it installed from ports but from binary pkg.  (pkg install nut)

I doubt this did anything but I did create nut.conf because it wasn't there before.  I set it to standalone.

Again, sorry to bother you guys.  I'm retarded.

Nick Teague
Network Administrator
Smartfox Solutions
office: 1-877-301-9993
fax: 1-256-301-9299
www.smartfox.us

________________________________________
From: Nut-upsuser [nut-upsuser-bounces+nick=smartfox.us at lists.alioth.debian.org] on behalf of Nick Teague [nick.teague at smartfox.us]
Sent: Wednesday, October 12, 2016 9:15 AM
To: Charles Lepple
Cc: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] Unable to find driver for a supported device

# usbconfig -d ugen0.2 dump_device_desc
ugen0.2: <TRIPP LITE SMART1500RMXL2Ua TRIPP LITE> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (60mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0008
  idVendor = 0x09ae
  idProduct = 0x0001
  bcdDevice = 0x0001
  iManufacturer = 0x0001  <TRIPP LITE>
  iProduct = 0x0002  <TRIPP LITE SMART1500RMXL2Ua >
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001

I swapped over to the tripplite_usb and it's still doing the same thing.

# /etc/rc.d/devd restart
Stopping devd.
Starting devd.

# upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.29 (2.7.4)
Warning: This is an experimental driver.
Some features may not function correctly.

No matching USB/HID UPS found
Driver failed to start (exit status=1)


I installed from ports.  I do have nut-usb.conf.

# ls -la
total 32
drwxr-xr-x   2 root  wheel    512 Oct 11 11:23 .
drwxr-xr-x  22 root  wheel   1536 Oct 11 11:23 ..
-rw-r--r--   1 root  wheel  24007 Sep 27 11:35 nut-usb.conf

# pwd
/usr/local/etc/devd

Nick Teague
Network Administrator
Smartfox Solutions
office: 1-877-301-9993
fax: 1-256-301-9299
www.smartfox.us

________________________________________
From: Charles Lepple [clepple at gmail.com]
Sent: Tuesday, October 11, 2016 7:35 PM
To: Nick Teague
Cc: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] Unable to find driver for a supported device

> 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




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



More information about the Nut-upsuser mailing list