Hello everybody, I got tree UPS devices connected to a Debian server, and i am searching for a way to configure them. The server power-cord is only connected to one of the ups devices, and should monitor the other ups systems to sent email status. I got a HP R3000XR UPS with has a RS232 communication port that I have working perfectly. Then I have two APC SmartUPS 750V devices that are connected with USB, but I don't know how to setup the nut configuration to deal with both the devices. This is my dmesg output: Dec 14 19:36:39 sammy kernel: [ 2.221527] usb 1-3: Product: Smart-UPS 750 RM FW:668.18.I USB FW:7.4 Dec 14 19:36:39 sammy kernel: [ 3.715782] generic-usb 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.10 Device [American Power Conversion Smart-UPS 750 RM FW:668.18.I USB FW:7.4] on usb-0000:00:12.0-3/input0 Dec 17 12:25:02 sammy kernel: [233359.594133] usb 3-1: Product: Smart-UPS 750 RM FW:619.3.I USB FW:8.1 Dec 17 12:25:03 sammy kernel: [233360.931249] generic-usb 0003:051D:0002.0002: hiddev97,hidraw1: USB HID v1.10 Device [American Power Conversion Smart-UPS 750 RM FW:619.3.I USB FW:8.1] on usb-0000:00:12.1-1/input0 Could somebody help me with some configuration snippet to get this working? Thanks in advance, Jelle de Jong
Jelle de Jong wrote, on 17-12-09 20:23:> Hello everybody, > > I got tree UPS devices connected to a Debian server, and i am > searching for a way to configure them. > > The server power-cord is only connected to one of the ups devices, and > should monitor the other ups systems to sent email status. > > I got a HP R3000XR UPS with has a RS232 communication port that I have > working perfectly. > > Then I have two APC SmartUPS 750V devices that are connected with USB, > but I don't know how to setup the nut configuration to deal with both > the devices. > > This is my dmesg output: > > Dec 14 19:36:39 sammy kernel: [ 2.221527] usb 1-3: Product: > Smart-UPS 750 RM FW:668.18.I USB FW:7.4 > Dec 14 19:36:39 sammy kernel: [ 3.715782] generic-usb > 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.10 Device [American > Power Conversion Smart-UPS 750 RM FW:668.18.I USB FW:7.4] on > usb-0000:00:12.0-3/input0 > > Dec 17 12:25:02 sammy kernel: [233359.594133] usb 3-1: Product: > Smart-UPS 750 RM FW:619.3.I USB FW:8.1 > Dec 17 12:25:03 sammy kernel: [233360.931249] generic-usb > 0003:051D:0002.0002: hiddev97,hidraw1: USB HID v1.10 Device [American > Power Conversion Smart-UPS 750 RM FW:619.3.I USB FW:8.1] on > usb-0000:00:12.1-1/input0 > > Could somebody help me with some configuration snippet to get this > working?As an flow up: I read the usbhid-ups man page, and I am using the setup described in the attachment, it seems usbhid-ups is not detecting the serial numbers. Any idea's? Thanks in advance, Kind regards, Jelle de Jong -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nut-smartups-debug01.txt URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20091217/8902f75c/attachment.txt>
Citeren Jelle de Jong <jelledejong op powercraft.nl>:> Could somebody help me with some configuration snippet to get this > working?[apc1] driver = usbhid-ups port = auto serial = "12345678" [apc2] driver = usbhid-ups port = auto serial = "12345678" Your UPS devices must be uniquely identified through the 'regex' expressions you can find in 'man 8 usbhid-ups'. Assuming these are more or less identical units, your only hope is probably the serial number that is reported. You can find these serial numbers through 'lsusb -v'. Best regards, Arjen -- Please keep list traffic on the list