[Nut-upsuser] usb disconnects
White Dorian
dorianwhit3 at gmail.com
Thu Apr 4 21:10:24 UTC 2013
Hi,
some more about this. Just tried with Ubuntu Live, the same happened.
This is the log in syslog, when i unplug the power:
Apr 4 14:39:27 ubuntu kernel: [ 1543.969438] usb 2-1.1: USB disconnect,
device number 7
Apr 4 14:39:27 ubuntu kernel: [ 1544.166789] usb 2-1.1: new low-speed USB
device number 8 using ehci_hcd
Apr 4 14:39:27 ubuntu kernel: [ 1544.265394] usb 2-1.1: New USB device
found, idVendor=0665, idProduct=5161
Apr 4 14:39:27 ubuntu kernel: [ 1544.265398] usb 2-1.1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr 4 14:39:27 ubuntu kernel: [ 1544.265400] usb 2-1.1: Product: USB to
Serial
Apr 4 14:39:27 ubuntu kernel: [ 1544.265403] usb 2-1.1: Manufacturer: INNO
TECH
Apr 4 14:39:27 ubuntu kernel: [ 1544.265405] usb 2-1.1: SerialNumber:
20100826
Apr 4 14:39:27 ubuntu mtp-probe: checking bus 2, device 8:
"/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Apr 4 14:39:27 ubuntu mtp-probe: bus: 2, device: 8 was not an MTP device
Apr 4 14:39:27 ubuntu kernel: [ 1544.271848] hid-generic
0003:0665:5161.000C: hiddev0,hidraw2: USB HID v1.00 Device [INNO TECH USB
to Serial] on usb-0000:00:1d.0-1.1/input0
Apr 4 14:40:07 ubuntu upsmon[5750]: UPS eaton at localhost on battery
And when i replug the power:
Apr 4 14:40:37 ubuntu kernel: [ 1613.949140] hub 1-1:1.0: port 2 disabled
by hub (EMI?), re-enabling...
Apr 4 14:40:37 ubuntu kernel: [ 1613.949240] usb 1-1.2: USB disconnect,
device number 5
Apr 4 14:40:37 ubuntu kernel: [ 1614.187210] usb 1-1.2: new low-speed USB
device number 6 using ehci_hcd
Apr 4 14:40:37 ubuntu mtp-probe: checking bus 1, device 6:
"/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Apr 4 14:40:37 ubuntu kernel: [ 1614.283719] usb 1-1.2: New USB device
found, idVendor=0b38, idProduct=0010
Apr 4 14:40:37 ubuntu kernel: [ 1614.283724] usb 1-1.2: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Apr 4 14:40:37 ubuntu kernel: [ 1614.287528] input: HID 0b38:0010 as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input8
Apr 4 14:40:37 ubuntu kernel: [ 1614.287771] hid-generic
0003:0B38:0010.000D: input,hidraw0: USB HID v1.10 Keyboard [HID 0b38:0010]
on usb-0000:00:1a.0-1.2/input0
Apr 4 14:40:37 ubuntu mtp-probe: bus: 1, device: 6 was not an MTP device
Apr 4 14:40:37 ubuntu kernel: [ 1614.292532] input: HID 0b38:0010 as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/input/input9
Apr 4 14:40:37 ubuntu kernel: [ 1614.292773] hid-generic
0003:0B38:0010.000E: input,hidraw1: USB HID v1.10 Device [HID 0b38:0010] on
usb-0000:00:1a.0-1.2/input1
Apr 4 14:40:47 ubuntu upsmon[5750]: UPS eaton at localhost on line power
This time the keyboard was reconnected... However, this time the ups-driver
found the ups, but most of the time it cannot, same like when i unplug the
usb cable, and replug it:
Apr 4 14:45:45 ubuntu kernel: [ 1922.507257] usb 2-1.1: USB disconnect,
device number 8
Apr 4 14:46:11 ubuntu kernel: [ 1948.369350] usb 2-1.1: new low-speed USB
device number 9 using ehci_hcd
Apr 4 14:46:11 ubuntu kernel: [ 1948.467700] usb 2-1.1: New USB device
found, idVendor=0665, idProduct=5161
Apr 4 14:46:11 ubuntu kernel: [ 1948.467705] usb 2-1.1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr 4 14:46:11 ubuntu kernel: [ 1948.467707] usb 2-1.1: Product: USB to
Serial
Apr 4 14:46:11 ubuntu kernel: [ 1948.467709] usb 2-1.1: Manufacturer: INNO
TECH
Apr 4 14:46:11 ubuntu kernel: [ 1948.467711] usb 2-1.1: SerialNumber:
20100826
Apr 4 14:46:11 ubuntu mtp-probe: checking bus 2, device 9:
"/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Apr 4 14:46:11 ubuntu mtp-probe: bus: 2, device: 9 was not an MTP device
Apr 4 14:46:11 ubuntu kernel: [ 1948.474107] hid-generic
0003:0665:5161.000F: hiddev0,hidraw2: USB HID v1.00 Device [INNO TECH USB
to Serial] on usb-0000:00:1d.0-1.1/input0
Apr 4 14:46:22 ubuntu blazer_usb[5744]: Communications with UPS lost:
status read failed!
Apr 4 14:46:32 ubuntu upsd[5746]: Data for UPS [eaton] is stale - check
driver
Apr 4 14:46:37 ubuntu upsmon[5750]: Poll UPS [eaton at localhost] failed -
Data stale
Apr 4 14:46:37 ubuntu upsmon[5750]: Communications with UPS eaton at localhostlost
Apr 4 14:46:42 ubuntu upsmon[5750]: Poll UPS [eaton at localhost] failed -
Data stale
Apr 4 14:47:17 upsmon[5750]: last message repeated 7 times
Apr 4 14:48:22 upsmon[5750]: last message repeated 13 times
Is it normal? I hope not.
thx
2013/4/3 Dorian White <dorianwhit3 at gmail.com>
> Hello,
>
> just joined to the list, because i have a problem. :S
> We have 2 exact same configuration: basic Fujitsu server + Eaton NV1000H
> ups. OS is Debian Squeeze. According to the driver list, the ups uses the
> blazer_usb driver. I never tried nut before, so i read some of the docs,
> and configured it manually.
> The problem pops up when i try to simulate the power-outage. I just unplug
> the ups' power, and... the usb devices reconnects, in this case it means
> the keyboard and the ups itself. I don't know ... should this happen? I
> thought that the ups should provide enough power to not interrupt
> anything....
>
> So, the udev changes/increments the ups' device number, and the blazer
> can't reconnect to it. Most of the time. Sometimes it works, but mostly the
> connection lost, and upsmon wont work anymore.
>
> I ran blazer in debug mode, like blazer_usb -DD -a eaton. The strange
> thing is, when i unplug the power, the new device appears in the blazer's
> output, but sometimes cannot match it. However i tried it with productid,
> vendorid, serial, bus, novendor etc, no match found, but it's there. I
> tried to change the pollinterval, no luck. Tried it with the default blazer
> in squeeze, from sid and the experimental, same thing.
>
> I cannot provide logs atm, but any advice should help.
> thx
>
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130404/54fc3362/attachment.html>
More information about the Nut-upsuser
mailing list