Hi, newby here, Ive installed a UPSilon via USB to my Linux SME 7.3
Installed NUT and chosen the USB megatec driver. can get communication with the UPS via command line.
Ive checked my logs and am getting constant lost of communication or stale info from the UPS. I can only assume that the server is not getting regular feedback from the UPS.
Is this a config issue or a driver issue, if so can anyone help with regards to how best configure it correctly.
heres a portion of the server log showing UPS info..
Oct 8 22:17:43 server kernel: usb 3-1: control timeout on ep0in
Oct 8 22:17:43 server upsd[3827]: Data for UPS [UPS] is stale - check driver
Oct 8 22:17:43 server kernel: usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd megatec_usb rqt 128 rq 6 len 128 ret -110
Oct 8 22:17:45 server kernel: usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd megatec_usb rqt 128 rq 6 len 128 ret -32
Oct 8 22:17:47 server upsmon[3832]: Poll UPS [UPS@localhost] failed - Data stale
Oct 8 22:17:47 server upsmon[3832]: Communications with UPS UPS@localhost lost
Oct 8 22:17:47 server wall[20425]: wall: user nut broadcasted 1 lines (44 chars)
Oct 8 22:17:48 server upsd[3827]: UPS [UPS] data is no longer stale
Oct 8 22:17:52 server upsmon[3832]: Communications with UPS UPS@localhost established
Oct 8 22:17:52 server wall[20440]: wall: user nut broadcasted 1 lines (51 chars)
Oct 8 22:23:36 server kernel: usb 3-1: control timeout on ep0in
Oct 8 22:23:36 server upsd[3827]: Data for UPS [UPS] is stale - check driver
Oct 8 22:23:36 server kernel: usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd megatec_usb rqt 128 rq 6 len 128 ret -110
Oct 8 22:23:37 server upsmon[3832]: Poll UPS [UPS@localhost] failed - Data stale
Oct 8 22:23:37 server upsmon[3832]: Communications with UPS UPS@localhost lost
Oct 8 22:23:37 server wall[20674]: wall: user nut broadcasted 1 lines (44 chars)
Oct 8 22:23:39 server upsd[3827]: UPS [UPS] data is no longer stale
Oct 8 22:23:42 server upsmon[3832]: Communications with UPS UPS@localhost established
Oct 8 22:23:42 server wall[20688]: wall: user nut broadcasted 1 lines (51 chars)
Oct 8 22:29:13 server kernel: usb 3-1: control timeout on ep0in
Oct 8 22:29:13 server kernel: usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd megatec_usb rqt 128 rq 6 len 128 ret -110
Oct 8 22:29:13 server upsd[3827]: Data for UPS [UPS] is stale - check driver
Oct 8 22:29:16 server upsd[3827]: UPS [UPS] data is no longer stale
here the command line info when montoring the UPS...
login as: root
root@192.168.0.254's password:
Last login: Mon Oct 13 09:26:41 2008 from 192.168.0.153
[root@server ~]# upsc UPS@localhost
battery.charge: 95.0
battery.voltage: 13.50
battery.voltage.nominal: 12.0
driver.name: megatec_usb
driver.parameter.pollinterval: 2
driver.parameter.port: megatec_usb
driver.version: 2.2.0-
driver.version.internal: 1.5.4
input.frequency: 50.0
input.voltage: 234.0
input.voltage.fault: 165.0
input.voltage.maximum: 245.0
input.voltage.minimum: 222.0
output.voltage: 234.0
output.voltage.nominal: 225.0
ups.beeper.status: enabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 20.0
ups.mfr: KEBO
ups.model: UPS-650VA VER7.03
ups.serial: unknown
ups.status: OL
ups.temperature: 0.0
[root@server ~]#
Thanks