oh, the adventure…
So my APC UPS model is controlled by a USB-HID Interface, so you really no longer access it like a Serial port. Instead, you need to load a bag of drivers and software into Linux, things like:
[tt]kmod-usb-hid[/tt]
[tt]apcupsd[/tt]
Unfortunately, the [OpenWrt] mechanisms to do this appear not to work in Vera (I have another thread open on that elsewhere).
Without these, we likely aren’t going anywhere with this type of interface, at least not direct-attached to Vera…
To get a little further, I converted my Linksys NSLU2 to use OpenWrt, and added the above modules, their respective Depends, and a few kernel modules to support USB in general.
Attached the APC UPS module to the Linksys and can successfully “see” the UPS Device as an attachment so I got ready to configure [tt]apsupsd[/tt] (with the thinking that I’d write a remote-Lua driver for it) only to find that I need [tt]apsupsd_3.14.5[/tt] in order to pickup support for USB Cabling, per this checkin report:
apcupsd-3.14.2-3.14.5.patch on Ticket #2157 – Attachment – OpenWrt
Doh!
Unfortunately, these dont appear to be readily available in the 8.09.1 Kamakazi release (3.14.2 instead of 3.14.5) and my attempts to load others from:
Index of /feeds/optware/openwrt-ixp4xx/cross/unstable/
errored out.
At this point, I’ve gone about as far as I can without some extras from the Vera dev team. Given their more mainstream priorities right now, I don’t think this will make it anytime soon…
Side-comment: What did we do before Google?