Begin forwarded message:> From: "Paul Smith" > Subject: Liebert PSA UPS problem. > Date: July 31, 2013 4:42:33 PM EDT > To: <nut-upsuser at lists.alioth.debian.org> > > Hi all, > A brief summary: > > I have a new Liebert PSA UPS which I wanted to help support my FreeNAS box (a FreeBSD 8 variant). Unfortunately the nut-ups implementation here for the usb hid device doesn?t want to communicate with my UPS. > > I have had a brief discussion with Charles outside of the list and done some digging with Windows XP, SuSE Linux on VM, SuSE linux on a Live CD, and my FreeNAS box in order to try and figure out what is wrong, but I am not expert enough to figure out what. > > On my NAS box there is no implementation of lsusb or usbdevs, which is rather annoying? > On my SuSE 12.2 running under a VM lsusb fails trying to get the descriptors. > Windows XP and usbpcap appear to happily read the UPSs device descriptors, and finally? > SuSE Live CD (i.e. not under a VM) gets the following output (again apparently reading the descriptor OK) >[moved to attachment]> ?and finally > > Trying to start /usr/local/libexec/nut/usbhid-ups ?a ups ?DDDD on the NAS box gives > > Unable to get HID descriptor (Unknown error) > i=0, extra[i]=09, extra[i+1]=21 > HID descriptor, method 2: (9 bytes) => 09 21 01 10 00 01 22 ff 01 > HID descriptor length 511 > Unable to get Report descriptor: Input/output error > Network UPS Tools ? Generic HID driver (0.37 (2.6.5) > USB communication driver 0.31 > No matching HID UPS found > >-------------- next part -------------- A non-text attachment was scrubbed... Name: Liebert_PSA_lsusb.txt.gz Type: application/x-gzip Size: 1983 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130802/91c25543/attachment-0001.bin>
Anyone have any advice what I need to do next? Regards, Paul. -----Original Message----- From: Nut-upsuser [mailto:nut-upsuser-bounces+paul=smithp.co.uk at lists.alioth.debian.org] On Behalf Of Charles Lepple Sent: 02 August 2013 11:36 To: nut-upsuser list Subject: [Nut-upsuser] Fwd: Liebert PSA UPS problem. Begin forwarded message:> From: "Paul Smith" > Subject: Liebert PSA UPS problem. > Date: July 31, 2013 4:42:33 PM EDT > To: <nut-upsuser at lists.alioth.debian.org> > > Hi all, > A brief summary: > > I have a new Liebert PSA UPS which I wanted to help support my FreeNAS box(a FreeBSD 8 variant). Unfortunately the nut-ups implementation here for the usb hid device doesn't want to communicate with my UPS.> > I have had a brief discussion with Charles outside of the list and donesome digging with Windows XP, SuSE Linux on VM, SuSE linux on a Live CD, and my FreeNAS box in order to try and figure out what is wrong, but I am not expert enough to figure out what.> > On my NAS box there is no implementation of lsusb or usbdevs, which is > rather annoying. On my SuSE 12.2 running under a VM lsusb fails trying toget the descriptors.> Windows XP and usbpcap appear to happily read the UPSs device > descriptors, and finally. SuSE Live CD (i.e. not under a VM) gets the > following output (again apparently reading the descriptor OK) >[moved to attachment]> .and finally > > Trying to start /usr/local/libexec/nut/usbhid-ups -a ups -DDDD on the > NAS box gives > > Unable to get HID descriptor (Unknown error) i=0, extra[i]=09, > extra[i+1]=21 HID descriptor, method 2: (9 bytes) => 09 21 01 10 00 01 > 22 ff 01 HID descriptor length 511 Unable to get Report descriptor: > Input/output error Network UPS Tools - Generic HID driver (0.37 > (2.6.5) USB communication driver 0.31 No matching HID UPS found > >-------------- next part -------------- A non-text attachment was scrubbed... Name: Liebert_PSA_lsusb.txt.gz Type: application/x-gzip Size: 1983 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130811/22d306c9/attachment.bin> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Untitled attachment 00275.txt URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130811/22d306c9/attachment.txt>
On Aug 11, 2013, at 12:04 PM, Paul Smith wrote:> Anyone have any advice what I need to do next?A while back, you sent me the pcap file from the Windows side, but there was an open question as to whether the USB requests were standard Windows HID driver requests, or whether the Liebert software was still running in the background. Also, the SuSE Live CD seems to be the only non-Windows system which can successfully retrieve all of the necessary descriptors for this UPS. How easy would it be for you to build NUT in that environment? Do they provide an easy way to save things off to a non-volatile directory? We have the NUT tarball generation part of our Buildbot setup working, so I suspect you will only need a compiler and libusb devel files. -- Charles Lepple clepple at gmail