我在使用推荐的 UPS 监控软件 apcupsd 时遇到问题。
它安装正常,但当我运行它并检查错误消息时,它收到了所有这些消息的垃圾邮件,并且似乎不起作用,但从文档来看,听起来好像 USB 设置(UPS 是 USB Ups)具有最小的配置需要。
有谁知道这些消息的原因可能是什么?
Jun 8 16:36:05 dev kernel: hiddev96,hidraw96: USB HID v1.11 Device [CTN USB UPS] on usb-0000:00:1d.2-1
Jun 8 16:36:29 dev kernel: hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Jun 8 16:36:29 dev kernel: usb 4-1: USB disconnect, address 46
Jun 8 16:36:29 dev kernel: usb 4-1: new low speed USB device using uhci_hcd and address 47
Jun 8 16:36:30 dev kernel: usb 4-1: configuration #1 chosen from 1 choice
Jun 8 16:36:30 dev kernel: hiddev96,hidraw96: USB HID v1.11 Device [CTN USB UPS] on usb-0000:00:1d.2-1
Jun 8 16:36:30 dev apcupsd[32666]: apcupsd FATAL ERROR in linux-usb.c at line 609 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see <http://www.apcupsd.com/support.html>.
Jun 8 16:36:30 dev apcupsd[32666]: apcupsd error shutdown completed
Jun 8 16:36:31 dev kernel: hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Jun 8 16:36:31 dev kernel: usb 4-1: USB disconnect, address 47
Jun 8 16:36:31 dev kernel: usb 4-1: new low speed USB device using uhci_hcd and address 48
Jun 8 16:36:31 dev kernel: usb 4-1: configuration #1 chosen from 1 choice
Jun 8 16:36:31 dev kernel: hiddev96,hidraw96: USB HID v1.11 Device [CTN USB UPS] on usb-0000:00:1d.2-1
Jun 8 16:36:37 dev kernel: hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Jun 8 16:36:37 dev kernel: usb 4-1: USB disconnect, address 48
Jun 8 16:36:37 dev kernel: usb 4-1: new low speed USB device using uhci_hcd and address 49
Jun 8 16:36:37 dev kernel: usb 4-1: configuration #1 chosen from 1 choice
Jun 8 16:36:37 dev kernel: hiddev96,hidraw96: USB HID v1.11 Device [CTN USB UPS] on usb-0000:00:1d.2-1
Jun 8 16:36:52 dev kernel: hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Jun 8 16:36:52 dev kernel: usb 4-1: USB disconnect, address 49
Jun 8 16:36:52 dev kernel: usb 4-1: new low speed USB device using uhci_hcd and address 50
Jun 8 16:36:52 dev kernel: usb 4-1: configuration #1 chosen from 1 choice
Jun 8 16:36:52 dev kernel: hiddev96,hidraw96: USB HID v1.11 Device [CTN USB UPS] on usb-0000:00:1d.2-1
Jun 8 16:36:58 dev kernel: hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Jun 8 16:36:58 dev kernel: usb 4-1: USB disconnect, address 50
答案1
搜索似乎表明这是其中一根电缆或集线器本身的硬件故障——实际上通常可能会受到 EMI 的影响,并且硬件迫使端口失效。
更换电缆,更换集线器(如果确实在此处使用),并可能验证其他任何东西是否可以在该 USB 端口/集线器上工作。如果你用谷歌搜索,你会发现有人建议将电缆缠绕在一些铁氧体上以使事情顺利进行;但也许把 5 美元的电缆换成 7 美元的电缆就会带来很大的不同。