On 14 March 2015 at 16:29, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Sat, 14 Mar 2015, Louis Sautier wrote: > >> Hello, I am running into an issue with my USB UPS. The symptoms are >> exactly the same as the ones described by this user: >> http://comments.gmane.org/gmane.comp.monitoring.nut.user/8888 >> I'll still describe what I experience: my UPS stops responding >> periodically (as in approximately once or twice a day but it seems to >> vary a lot). Running upsc returns "Error: Data stale" >> The kernel logs contain the following lines: >> [686576.884561] ohci-pci 0000:00:13.0: frame counter not updating; disabled >> [686576.884564] ohci-pci 0000:00:13.0: HC died; cleaning up >> [686576.884611] usb 5-2: USB disconnect, device number 2 >> Unplugging and plugging the UPS again does nothing. I managed to get >> it working again by unbinding and binding it: >> echo 0000:00:13.0 | tee /sys/bus/pci/drivers/ohci-pci/unbind >> /sys/bus/pci/drivers/ohci-pci/bind >> Nut's developer seems to think that this might be a kernel issue so I >> thought I would ask for advice here. >> The UPS is the only device connected to the bus: >> $ lsusb -s 05: >> Bus 005 Device 002: ID 0463:ffff MGE UPS Systems UPS >> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> I am running an x86_64 3.19.0-aufs kernel on an AMD FX(tm)-8320, nut >> 2.7.2, libusb 1.0.19 and libusb-compat 0.1.5 (I don't know which of >> the two is actually used). >> I attached my kernel config, let me know if you need anything else. > > Those kernel log messages indicate that your USB controller has a > hardware problem. Like the message says, the controller has stopped > working. When you unbind the controller and rebind it, that performs a > reset and the controller starts working again. > > If you want, you could avoid using the bad controller by getting a > USB-2.0 hub and plugging the UPS into it. > > Alan Stern > So this is definitely a hardware problem? I updated my motherboard BIOS just to be sure. Would using some ports from another controller (maybe USB2/USB3 ones) change anything? -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html