[Nut-upsuser] NUT install trouble for Vyatta (Debian) system
Charles Lepple
clepple at gmail.com
Thu Dec 31 23:39:24 UTC 2009
[Note: you appear to be subscribed under another address, so I
manually forwarded this to the list. Email me off-list if you have
questions.]
On Dec 31, 2009, at 6:14 PM, Mailing Lists wrote:
> Hello all,
>
> I'm having trouble getting NUT - specifically the apcsmart driver to
> recognize an IBM/APC 1500TLV under Vyatta 5.0.2
>
> I've been following this site:
> http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/
> The device is recognized
> usb 4-1: new low speed USB device using uhci_hcd and address 3
> usb 4-1: configuration #1 chosen from 1 choice
> hiddev96hidraw0: USB HID v1.10 Device [American Power Conversion IBM
> UPS1500TLV FW:601.1I1.D USB FW:1.5] on usb-0000:00:1d.3-1
> but when I run:
> # upsdrvctl start
> I get an Invalid argument error:
> Network UPS Tools - UPS driver controller 2.4.1
> Network UPS Tools - APC Smart protocol driver 2.00 (2.4.1)
> APC command table version 2.0
> tcgetattr(/dev/usb/hiddev0): Invalid argument
> Driver failed to start (exit status=1)
The apcsmart driver is only for serial connections to APC equipment.
> Here is the device in /dev as well - showing that the udev rules
> listed in the tutorial were acted upon:
> # ls -alh /dev/usb/hiddev0
> crw-rw-r-- 1 root nut 180, 96 Dec 31 15:44 /dev/usb/hiddev0
The hiddev* devices are not used in any of the current NUT drivers.
Depending on the vintage of Debian which was used for your system, you
will need to check on the /proc/bus/usb or /dev/bus/usb node.
Check the documentation for the usbhid-ups driver -- it is probably
the one you want. If it doesn't detect your UPS (e.g. it is rebranded,
and uses a different USB Vendor ID), send us the output of 'lsusb -v'
for that device.
http://new.networkupstools.org/man/usbhid-ups.html
--
Charles Lepple
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20091231/a8bc78f2/attachment-0001.htm>
More information about the Nut-upsuser
mailing list