[Nut-upsuser] CyberPower usbhid-ups continuously disconnects/reconnects
nut at johnea.net
nut at johnea.net
Thu Jun 9 01:24:42 UTC 2011
On 06/08/2011 12:35 AM, Arnaud Quette wrote:
> Hi
>
Thanks for your reply Arnaud!
I've installed a bunch of updates, including an update to nut 2.6.1, and
the symptoms have changed slightly, but I believe the root issue is
still unchanged.
I attempt to start the daemon during init, but it fails.
After boot, I see repeated disconnect/reconnect of the UPS:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jun 8 18:07:03 sensor003 kernel: [ 387.250020] usb 3-2: USB
disconnect, address 18
Jun 8 18:07:06 sensor003 kernel: [ 390.366650] usb 3-2: new low speed
USB device using uhci_hcd and address 19
Jun 8 18:07:07 sensor003 kernel: [ 390.688533] generic-usb
0003:0764:0501.0012: hiddev0,hidraw0: USB HID v1.10 Device [CPS CP425HG]
on usb-0000:00:10.1-2/input0
Jun 8 18:07:28 sensor003 kernel: [ 411.500020] usb 3-2: USB
disconnect, address 19
Jun 8 18:07:29 sensor003 kernel: [ 412.476677] usb 3-2: new low speed
USB device using uhci_hcd and address 20
Jun 8 18:07:29 sensor003 kernel: [ 412.794806] generic-usb
0003:0764:0501.0013: hiddev0,hidraw0: USB HID v1.10 Device [CPS CP425HG]
on usb-0000:00:10.1-2/input0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
However, if I manually run the rc.d script, or 'usbhid-ups -a nexups' or
'upsdrvctl start' the connection to the UPS will sometimes succeed.
On successful start, this line appears with the upsd and upsmon messages:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jun 8 17:55:34 sensor003 usbhid-ups[1066]: Startup successful
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On failed startup, the above line is missing from messages.log. but
(after boot) I do see:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jun 8 18:00:48 sensor003 kernel: [ 7.816712] usb 3-2: new low speed
USB device using uhci_hcd and address 2
Jun 8 18:00:48 sensor003 kernel: [ 8.319356] generic-usb
0003:0764:0501.0001: hiddev0,hidraw0: USB HID v1.10 Device [CPS CP425HG]
on usb-0000:00:10.1-2/input0
Jun 8 18:00:48 sensor003 kernel: [ 8.319395] usbcore: registered new
interface driver usbhid
Jun 8 18:00:48 sensor003 kernel: [ 8.319400] usbhid: USB HID core driver
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Once nut is successfully started, the cycle of disconnect/reconnect
stops. If I stop nut, the cycle starts again.
Does this seems to indicate the conflict of drivers you mentioned?
What can I do to prevent the core usbhid driver from attaching to this
device?
Thank You for All of Your Hard Work!
johnea
More information about the Nut-upsuser
mailing list