Re: [Nut-upsuser] Problems with a Tripplite Smart150LCD UPS

2013-08-20 Thread Charles Lepple
On Apr 5, 2013, at 11:08 PM, Randy Philipp wrote:

 I am currently running FreeNAS-8.3.1-RELEASE-x64 (r13452) using the packaged 
 version of NUT, 2.6.5, using the usbhid-ups (Generic HID driver 0.37).  Here 
 is the output of /usr/local/libexec/nut/usbhid-ups -D -D -D -D -D -D -a 
 tripplite:
 
 Network UPS Tools - Generic HID driver 0.37 (2.6.5)
 USB communication driver 0.31
   0.00send_to_all: SETINFO driver.parameter.port auto
   0.27send_to_all: SETINFO driver.parameter.productid 3016
   0.44debug level is '6'
   0.000510upsdrv_initups...
   0.000884Checking device (09AE/3016) (/dev/usb//dev/ugen1.3)

Randy,

were you ever able to get this working?

One thing I didn't think of at the time is checking the permissions on 
/dev/ugen*. The dev nodes should be writable by the uucp user (which is the 
default system user for NUT on *BSD).

-- 
Charles Lepple
clepple@gmail




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


[Nut-upsuser] Problems with a Tripplite Smart150LCD UPS

2013-04-05 Thread Randy Philipp
I am currently running FreeNAS-8.3.1-RELEASE-x64 (r13452) using the 
packaged version of NUT, 2.6.5, using the usbhid-ups (Generic HID driver 
0.37).  Here is the output of /usr/local/libexec/nut/usbhid-ups -D -D 
-D -D -D -D -a tripplite:


Network UPS Tools - Generic HID driver 0.37 (2.6.5)
USB communication driver 0.31
   0.00send_to_all: SETINFO driver.parameter.port auto
   0.27send_to_all: SETINFO driver.parameter.productid 3016
   0.44debug level is '6'
   0.000510upsdrv_initups...
   0.000884Checking device (09AE/3016) (/dev/usb//dev/ugen1.3)
   0.023325- VendorID: 09ae
   0.023348- ProductID: 3016
   0.023353- Manufacturer: Tripp Lite
   0.023357- Product: TRIPP LITE UPS
   0.023363- Serial Number: unknown
   0.023367- Bus: /dev/usb
   0.023371Trying to match device
   0.023398Device matches
   0.023942Unable to get HID descriptor (Unknown error)
   0.023950i=0, extra[i]=09, extra[i+1]=21
   0.023960HID descriptor, method 2: (9 bytes) = 09 21 11 01 00 01 
22 6e 03

   0.023965HID descriptor length 878
   0.024626Unable to get Report descriptor: Input/output error
   0.024646Checking device (0557/2221) (/dev/usb//dev/ugen0.3)
   9.792261- VendorID: 0557
   9.792291- ProductID: 2221
   9.792296- Manufacturer: unknown
   9.792302- Product: unknown
   9.792307- Serial Number: unknown
   9.792311- Bus: /dev/usb
   9.792316Trying to match device
   9.792325Device does not match - skipping
   9.792351Checking device (8087/0024) (/dev/usb//dev/ugen1.2)
   9.792399- VendorID: 8087
   9.792406- ProductID: 0024
   9.792411- Manufacturer: unknown
   9.792416- Product: unknown
   9.792420- Serial Number: unknown
   9.792425- Bus: /dev/usb
   9.792429Trying to match device
   9.792434Device does not match - skipping
   9.792448Checking device (8087/0024) (/dev/usb//dev/ugen0.2)
   9.792476- VendorID: 8087
   9.792483- ProductID: 0024
   9.792488- Manufacturer: unknown
   9.792492- Product: unknown
   9.792497- Serial Number: unknown
   9.792501- Bus: /dev/usb
   9.792505Trying to match device
   9.792511Device does not match - skipping
   9.792524Checking device (/) (/dev/usb//dev/ugen1.1)
   9.792565- VendorID: 
   9.792573- ProductID: 
   9.792578- Manufacturer: Intel
   9.792582- Product: EHCI root HUB
   9.792586- Serial Number: unknown
   9.792590- Bus: /dev/usb
   9.792595Trying to match device
   9.792601Device does not match - skipping
   9.792613Checking device (/) (/dev/usb//dev/ugen0.1)
   9.792652- VendorID: 
   9.792660- ProductID: 
   9.792665- Manufacturer: Intel
   9.792669- Product: EHCI root HUB
   9.792673- Serial Number: unknown
   9.792678- Bus: /dev/usb
   9.792682Trying to match device
   9.792687Device does not match - skipping
   9.792699No appropriate HID device found
   9.792711No matching HID UPS found

I have run this command a number of times, I have also received the 
following output:


Network UPS Tools - Generic HID driver 0.37 (2.6.5)
USB communication driver 0.31
   0.00send_to_all: SETINFO driver.parameter.port /dev/ugen1.3
   0.30send_to_all: SETINFO driver.parameter.productid 3016
   0.46debug level is '6'
   0.000490upsdrv_initups...
   0.000860Checking device (09AE/3016) (/dev/usb//dev/ugen1.3)
   0.035425- VendorID: 09ae
   0.035437- ProductID: 3016
   0.035444- Manufacturer: Tripp Lite
   0.035451- Product: TRIPP LITE UPS
   0.035467- Serial Number: ***FNORD***
   0.035472- Bus: /dev/usb
   0.035476Trying to match device
   0.035499Device matches
   0.038288HID descriptor, method 1: (9 bytes) = 09 21 11 01 00 01 
22 6e 03

   0.038297i=0, extra[i]=09, extra[i+1]=21
   0.038305HID descriptor, method 2: (9 bytes) = 09 21 11 01 00 01 
22 6e 03

   0.038310HID descriptor length 878
   4.97Unable to get Report descriptor: Input/output error
   4.922253Checking device (0557/2221) (/dev/usb//dev/ugen0.3)
  14.690035- VendorID: 0557
  14.690062- ProductID: 2221
  14.690067- Manufacturer: unknown
  14.690072- Product: unknown
  14.690076- Serial Number: unknown
  14.690080- Bus: /dev/usb
  14.690085Trying to match device
  14.690093Device does not match - skipping
  14.690113Checking device (8087/0024) (/dev/usb//dev/ugen1.2)
  14.690154- VendorID: 8087
  14.690162- ProductID: 0024
  14.690167- Manufacturer: unknown
  14.690171- Product: unknown
  14.690176- Serial Number: unknown
  14.690180- Bus: /dev/usb
  14.690184Trying to match device
  14.690192Device does not match - skipping
  14.690205Checking device (8087/0024) (/dev/usb//dev/ugen0.2)
  14.690840- VendorID: 8087
  14.690849- ProductID: 0024