<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
I'm having trouble getting NUT - specifically the apcsmart driver to
recognize an IBM/APC 1500TLV under Vyatta 5.0.2<br>
<br>
I've been following this site:<br>
<blockquote><a class="moz-txt-link-freetext"
 href="http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/">http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/</a><br>
</blockquote>
The device is recognized<br>
<blockquote>usb 4-1: new low speed USB device using uhci_hcd and
address 3<br>
usb 4-1: configuration #1 chosen from 1 choice<br>
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<br>
</blockquote>
but when I run:<br>
<blockquote># upsdrvctl start<br>
</blockquote>
I get an Invalid argument error:<br>
<blockquote>Network UPS Tools - UPS driver controller 2.4.1<br>
Network UPS Tools - APC Smart protocol driver 2.00 (2.4.1)<br>
APC command table version 2.0<br>
tcgetattr(/dev/usb/hiddev0): Invalid argument<br>
Driver failed to start (exit status=1)<br>
</blockquote>
Here is the device in /dev as well - showing that the udev rules listed
in the tutorial were acted upon:<br>
<blockquote># ls -alh /dev/usb/hiddev0<br>
crw-rw-r-- 1 root nut 180, 96 Dec 31 15:44 /dev/usb/hiddev0<br>
</blockquote>
Any help or thoughts would be appreciated.&nbsp; <br>
<br>
For anyone else out there who is using Vyatta, let me know - I'll be
putting this into a package.<br>
<br>
Thanks,<br>
Andrew Vliet<br>
<br>
</body>
</html>