![无法连接到 Eaton 9130 UPS:无法在 USB 总线上找到 POWERWARE UPS 设备](https://linux22.com/image/999907/%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%E5%88%B0%20Eaton%209130%20UPS%EF%BC%9A%E6%97%A0%E6%B3%95%E5%9C%A8%20USB%20%E6%80%BB%E7%BA%BF%E4%B8%8A%E6%89%BE%E5%88%B0%20POWERWARE%20UPS%20%E8%AE%BE%E5%A4%87.png)
我正在尝试建立与 Eaton 9130 UPS 的 USB 连接。
我已经/etc/nut/ups.conf
这样配置了:
[Powerware9130]
driver = bcmxcp_usb
port = auto
运行/lib/nut/bcmxcp_usb -a Powerware9130
结果如下:
Network UPS Tools - BCMXCP UPS driver 0.28 (2.7.2)
USB communication subdriver 0.22
Unable to find POWERWARE UPS device on USB bus (USB)
Things to try:
- Connect UPS device to USB bus
- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
See upsdrvctl(8) and ups.conf(5).
Fatal error: unusable configuration
lsusb -v
显示如下:
Bus 003 Device 004: ID 0463:ffff MGE UPS Systems UPS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0463 MGE UPS Systems
idProduct 0xffff UPS
bcdDevice 0.11
iManufacturer 1 EATON Powerware
iProduct 2 9130
我确保 USB 设备具有权限,甚至尝试运行bcmxcp_usb
但-u root
无济于事。
$ ls -l /dev/bus/usb/003/004
crw-rw-r-- 1 root nut 189, 259 May 1 22:47 /dev/bus/usb/003/004
(并且在任何情况下,错误都不会涉及权限问题等...)知道我可能会错过什么吗?
我正在运行 Ubuntu Server 16.04
答案1
可能值得尝试 Eaton 9130 的其他驱动程序,usbhid-ups
例如
/lib/nut/usbhid-ups -a Powerware9130 -DDDDD
另外,如果 USB 线太长,有时也会导致连接混乱(我知道这听起来微不足道,但我这边就发生过两次)