[Nut-upsdev] newhidups... at last! (cont'd).

Patrick Agrain patrick.agrain at alcatel.fr
Thu Jan 12 17:05:07 UTC 2006


Hi all,

Enabling (again) debug mode on USB Kernel, following output araise on 
/var/log/messages at plug-in of the UPS.

Jan 12 20:08:25 xa000000 kernel: hub.c: new USB device 00:1d.1-2, assigned 
address 2
Jan 12 20:08:30 xa000000 kernel: : USB HID v1.00 Device [0463:ffff] on usb2:2.0
Jan 12 20:08:30 xa000000 default.hotplug[675]: arguments (usb) env 
(DEVFS=/proc/bus/usb OLDPWD=/ PAT
H=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 
DEVICE=/proc/bus/usb/002/
002 INTERFACE=3/0/0 PRODUCT=463/ffff/1 TYPE=0/0/0 DEBUG=kernel _=/usr/bin/env)
Jan 12 20:08:30 xa000000 default.hotplug[675]: invoke /etc/hotplug/usb.agent ()
Jan 12 20:08:33 xa000000 usb.agent[675]: Setup hid for USB product 463/ffff/1
Jan 12 20:08:33 xa000000 usb.agent[675]: Setup libhidups for USB product 
463/ffff/1
Jan 12 20:08:33 xa000000 usb.agent[675]: Module setup libhidups for USB 
product 463/ffff/1
Jan 12 20:11:01 xa000000 kernel: usbdevfs: process 751 (newhidups) did not 
claim interface 0 before use
[root at xa000000 root]#

And at unplug :
Jan 12 20:14:33 xa000000 kernel: usb.c: USB disconnect on device 00:1d.1-2 
address 2
Jan 12 20:14:34 xa000000 default.hotplug[764]: arguments (usb) env 
(DEVFS=/proc/bus/usb OLDPWD=/ PAT
H=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug HOME=/ 
SHLVL=2 DEVICE=/proc/bus/usb/0
02/002 INTERFACE=3/0/0 PRODUCT=463/ffff/1 TYPE=0/0/0 DEBUG=kernel 
_=/usr/bin/env)
Jan 12 20:14:34 xa000000 default.hotplug[764]: invoke /etc/hotplug/usb.agent ()
[root at xa000000 root]#

Of course, claiming the interface still fails ;-)

May it helps.
Regards,
Patrick Agrain




More information about the Nut-upsdev mailing list