[Nut-upsdev] serial/USB-over-HID layer for fentonups
Pierre-Yves AILLET
pierreyves.aillet at free.fr
Wed Oct 5 08:35:56 UTC 2005
Selon Charles Lepple <clepple at gmail.com>:
> Technically, this isn't a HID UPS, it's just a serial UPS with a silly
> USB-to-serial converter in front of it. Therefore, libhid will be of
> very limited value in this case (it'll just tell the kernel usbhid
> driver to go away.) I'm somewhat curious if anyone has tried to write
> a Linux kernel driver for this sort of USB-to-serial converter.
>
> --
> - Charles Lepple
>
I've done some reasearch on this USB-to-serial converter and found it this page
:
http://www.vttoth.com/ER-OF800.htm
This "USB To RS232 Interface (V1.0) BaudRate 2400bps" really looks like mine.
As explained on this webpage it was detected as :
hiddev96: USB HID v1.00 Gamepad [Ver 1.0 USB To RS232 Interface (V1.0) BaudRate
2400bps] on usb-0000:00:09.0-1
This driver is already part of nut, so I tried to launch upsdrvctl with these
lines in /etc/nut/ups.conf:
[Unitek_650ipF]
driver = energizerups
port = /dev/usb/hiddev0
desc = "Something descriptive"
It fails with :
Cannot communicate with UPS at /dev/usb/hiddev0
Driver failed to start (exit status=1)
So, my question is, could this be the same UDB-HID to RS232 Interface but using
the same protocol as in fentonups ?
--
AILLET Pierre-Yves
16, Rue d'Armorique
44470 Thouaré-sur-Loire
Tel: +33674613172
More information about the Nut-upsdev
mailing list