[Nut-upsdev] RS-232 Port with Nut

Jim Klimov jim at cos.ru
Tue Dec 1 17:34:40 UTC 2015


1 декабря 2015 г. 15:14:59 CET, "Marks, Connor" <Connor.Marks at emc.com> пишет:
>Yes I do have Linux. I have assigned the ups.conf file as seen below..
>
>[testups]
>	Driver = usbhid-ups
>	Port = /dev/ttyUSB0
>
>When I try to start the ups driver I get the following error...
>
>$ sudo upsdrvctl start
>
>Network Ups Tools - UPS driver controller 2.7.1
>Network Ups Tools - Generic HID driver 0.38 (2.7.1)
>USB communication driver 0.32
>No matching HID UPS found
>Driver failed to start (exit status=1)
>
>Thanks for the help!
>
>-----Original Message-----
>From: Jim Klimov [mailto:jimklimov at cos.ru] 
>Sent: Monday, November 30, 2015 6:43 PM
>To: Marks, Connor; nut-upsdev at lists.alioth.debian.org
>Subject: Re: [Nut-upsdev] RS-232 Port with Nut
>
>30 ноября 2015 г. 19:25:38 CET, "Marks, Connor" <Connor.Marks at emc.com>
>пишет:
>>Hello All,
>>
>>I am trying to read my Eaton 5P 1550 with the Rs-232 port but I cannot
>
>>get nut to read the driver from my Rs-232 to USB adaptor.
>>When I perform lsusb -t it says my B&B electronics adaptor uses driver
>
>>ftdi_sio
>>
>>How do I get the nut to read information coming from that??
>>
>>Thanks,
>>Connor
>>
>>
>>-----------------------------------------------------------------------
>>-
>>
>>_______________________________________________
>>Nut-upsdev mailing list
>>Nut-upsdev at lists.alioth.debian.org
>>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
>
>Assuming you have Linux, can you use /dev/ttyUSB0 or somesuch as the
>port name?
>--
>Typos courtesy of K-9 Mail on my Samsung Android

HID is an USB protocol. If you use a USB-RS232 converter then this /dev/ttyUSB0 is just a serial port for vendor-specific serial driver, not for usbhid-ups.

Jim
--
Typos courtesy of K-9 Mail on my Samsung Android



More information about the Nut-upsdev mailing list