<div dir="ltr">Hi,<div style><br></div><div style>some more about this. Just tried with Ubuntu Live, the same happened.</div><div style>This is the log in syslog, when i unplug the power:</div><div style><br></div><div style>
<div>Apr  4 14:39:27 ubuntu kernel: [ 1543.969438] usb 2-1.1: USB disconnect, device number 7</div><div>Apr  4 14:39:27 ubuntu kernel: [ 1544.166789] usb 2-1.1: new low-speed USB device number 8 using ehci_hcd</div><div>Apr  4 14:39:27 ubuntu kernel: [ 1544.265394] usb 2-1.1: New USB device found, idVendor=0665, idProduct=5161</div>
<div>Apr  4 14:39:27 ubuntu kernel: [ 1544.265398] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3</div><div>Apr  4 14:39:27 ubuntu kernel: [ 1544.265400] usb 2-1.1: Product: USB to Serial</div><div>Apr  4 14:39:27 ubuntu kernel: [ 1544.265403] usb 2-1.1: Manufacturer: INNO TECH</div>
<div>Apr  4 14:39:27 ubuntu kernel: [ 1544.265405] usb 2-1.1: SerialNumber: 20100826</div><div>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"</div>
<div>Apr  4 14:39:27 ubuntu mtp-probe: bus: 2, device: 8 was not an MTP device</div><div>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</div>
<div>Apr  4 14:40:07 ubuntu upsmon[5750]: UPS eaton@localhost on battery</div><div><br></div><div><br></div><div style>And when i replug the power:</div><div style><br></div><div style><div>Apr  4 14:40:37 ubuntu kernel: [ 1613.949140] hub 1-1:1.0: port 2 disabled by hub (EMI?), re-enabling...</div>
<div>Apr  4 14:40:37 ubuntu kernel: [ 1613.949240] usb 1-1.2: USB disconnect, device number 5</div><div>Apr  4 14:40:37 ubuntu kernel: [ 1614.187210] usb 1-1.2: new low-speed USB device number 6 using ehci_hcd</div><div>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"</div>
<div>Apr  4 14:40:37 ubuntu kernel: [ 1614.283719] usb 1-1.2: New USB device found, idVendor=0b38, idProduct=0010</div><div>Apr  4 14:40:37 ubuntu kernel: [ 1614.283724] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0</div>
<div>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</div><div>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</div>
<div>Apr  4 14:40:37 ubuntu mtp-probe: bus: 1, device: 6 was not an MTP device</div><div>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</div>
<div>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</div><div>Apr  4 14:40:47 ubuntu upsmon[5750]: UPS eaton@localhost on line power </div>
<div><br></div><div style>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:</div><div style><br>
</div><div style><div>Apr  4 14:45:45 ubuntu kernel: [ 1922.507257] usb 2-1.1: USB disconnect, device number 8</div><div>Apr  4 14:46:11 ubuntu kernel: [ 1948.369350] usb 2-1.1: new low-speed USB device number 9 using ehci_hcd</div>
<div>Apr  4 14:46:11 ubuntu kernel: [ 1948.467700] usb 2-1.1: New USB device found, idVendor=0665, idProduct=5161</div><div>Apr  4 14:46:11 ubuntu kernel: [ 1948.467705] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3</div>
<div>Apr  4 14:46:11 ubuntu kernel: [ 1948.467707] usb 2-1.1: Product: USB to Serial</div><div>Apr  4 14:46:11 ubuntu kernel: [ 1948.467709] usb 2-1.1: Manufacturer: INNO TECH</div><div>Apr  4 14:46:11 ubuntu kernel: [ 1948.467711] usb 2-1.1: SerialNumber: 20100826</div>
<div>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"</div><div>Apr  4 14:46:11 ubuntu mtp-probe: bus: 2, device: 9 was not an MTP device</div><div>
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</div><div>Apr  4 14:46:22 ubuntu blazer_usb[5744]: Communications with UPS lost: status read failed!</div>
<div>Apr  4 14:46:32 ubuntu upsd[5746]: Data for UPS [eaton] is stale - check driver</div><div>Apr  4 14:46:37 ubuntu upsmon[5750]: Poll UPS [eaton@localhost] failed - Data stale</div><div>Apr  4 14:46:37 ubuntu upsmon[5750]: Communications with UPS eaton@localhost lost</div>
<div>Apr  4 14:46:42 ubuntu upsmon[5750]: Poll UPS [eaton@localhost] failed - Data stale</div><div>Apr  4 14:47:17  upsmon[5750]: last message repeated 7 times</div><div>Apr  4 14:48:22  upsmon[5750]: last message repeated 13 times</div>
<div><br></div><div style>Is it normal? I hope not.</div><div style>thx</div><div style><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/3 Dorian White <span dir="ltr"><<a href="mailto:dorianwhit3@gmail.com" target="_blank">dorianwhit3@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>just joined to the list, because i have a problem. :S </div><div>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.</div>

<div>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....</div>

<div><br></div><div>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.</div>

<div><br></div><div>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.</div>

<div><br></div><div>I cannot provide logs atm, but any advice should help.</div><div>thx</div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><br></blockquote></div><br></div>