[Nut-upsdev] NUT-2.0.5: newhidups on RedHat ES4 ( cont'd )

Charles Lepple clepple at gmail.com
Tue Apr 3 13:06:29 UTC 2007


On 4/3/07, Patrick Agrain <patrick.agrain at alcatel-lucent.fr> wrote:
> Hi,
>
> At 18:03 02/04/2007, Patrick Agrain wrote:
> >Hi all,
> >
> >I removed the udev rules and put instead the libhidups and libhid.usermap
> >in the /etc/hotplug/usb directory.
> >
> >Plug in the UPS now shows the correct user / permissions on
> >/proc/bus/usb/BBB/DDD. That's the good news.
> >--------------
> >[root at sxb ~]# ls -als /proc/bus/usb/001
> >total 0
> >0 dr-xr-xr-x  2 root root  0 avr  3  2007 .
> >0 drwxr-xr-x  3 root root  0 avr  3  2007 ..
> >0 -rw-r--r--  1 root root 43 avr  3  2007 001
> >0 -rw-rw-r--  1 root nut  52 avr  3 09:58 003
> >--------------
> >
> >Unfortunately, the test of the driver still fails and exits with a broken
> >pipe.
> >--------
> >[root at sxb ~]# /sbin/newhidups -u root -a mgeups -DDDDD
> >Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.0.5)
> >debug level is '5'
> >Checking device (0463/FFFF) (001/003)
> >- VendorID: 0463
> >- ProductID: ffff
> >- Manufacturer: MGE UPS SYSTEMS
> >- Product: EXtreme
> >- Serial Number: 885B25011
> >- Bus: 001
> >Trying to match device
> >Device matches
> >HID descriptor, method 1: (9 bytes) => 09 21 00 01 21 01 22 63 06
> >i=0, extra[i]=09, extra[i+1]=21
> >HID descriptor, method 2: (9 bytes) => 09 21 00 01 21 01 22 63 06
> >HID descriptor retrieved (Reportlen = 1635)
> >Unable to get Report descriptor (-32): Broken pipe

This error doesn't look good.

Can you retrieve the HID Report Descriptor with either Peter
Selinger's descriptor tool (mentioned in the NUT list archives; email
me back if you can't find it) or 'lsusb -vvv' run as root?

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list