[Nut-upsuser] APC SmartUPS 2200XL + UDEV + USB = tcgetattr : Invalid argument

Charles Lepple clepple at gmail.com
Thu Jul 29 00:51:37 UTC 2010


On Wed, Jul 28, 2010 at 6:28 PM, Richard <richard-nut at rain4us.net> wrote:

> ===== ups.conf =====
> # cat /etc/nut/ups.conf
>
> [2200XL]
>       driver = apcsmart
>       port = /dev/apcusb
>       desc = "Main 2200 XP with battery pack"

Pretty much all of the USB-based APC UPSes work with the "usbhid-ups"
driver. "apcsmart" is only used if you connect via the serial port.
(The USB entries are towards the bottom of the APC section of the
compatibility list, so maybe we can make that clearer.)

You won't need the symlink, either - usbhid-ups has parameters to
select an UPS by serial number, vendor ID, etc, and it ignores the
value for "port". Check the man page for more details.

-- 
- Charles Lepple



More information about the Nut-upsuser mailing list