Lately I got (used) an APC Back UPS Pro 1000 and Back UPS NS 1080. I got an ethernet-to-USB cable from another UPS, but the Pro isn't detected (with usbhid-ups.) I haven't tried the NS yet but it seems to not be on the list though looks just like the Pro. Some months ago I was discussing setup of a Ferrups 700VA. I got it to work only with a command in rc.local, but not automatically with rc.ups. Is there a certain way to do that, or do I just have to use rc.local? Actually I'll be trying this again later after I receive a power cable for my new small server in a week or few, and maybe it'll work that time (I hope it'll even be detected, since it's on a 'Raspberry Pi' with serial port board and I heard bad stories about enabling serial ports with those.)
On 12/25/18 3:07 AM, David Melik wrote:> Lately I got (used) an APC Back UPS Pro 1000 and Back UPS NS 1080. I got an ethernet-to-USB cable from another UPS, but the Pro isn't detected (with usbhid-ups.) I haven't tried the NS yet but it seems to not be on the list though looks just like the Pro.I can't speak for the rest of your problem... but just for accuracy, the "ethernet" connector isn't an ethernet connector if it's being used for USB. That connector is correctly ID'd as 8pin modular. They're commonly called RJ45, but that too is a misnomer since RJ45 is a telephone specification (RJ=registered jack) that not only calls out the type of connector but also the signals on them. http://www.literature.molex.com/SQLImages/kelmscott/Molex/PDF_Images/987650-8441.pdf https://en.wikipedia.org/wiki/Registered_jack Having a history in Telco, it's one of those things that always made me wince when folks like Cisco would call an ethernet jack an "RJ45" when Cisco is so anal about so many other things in the biz. LoL... So I thought I would just share for fun... Cheers and happy holidays! -Ben -- Ben Kamen - O.D.T., S.P. ---------------------------------------------------------------------- Email: ben AT benkamen DOT net http://www.benkamen.net Cell: 224.619.9006 http://www.linkedin.com/in/benkamen - - NOTICE: All legal disclaimers sent to benkamen.net or any of its affiliated domains are rendered null and void on receipt of communications and will be handled/considered as such.
On Dec 25, 2018, at 4:07 AM, David Melik wrote:> > Lately I got (used) an APC Back UPS Pro 1000 and Back UPS NS 1080. I got an [8P8C]-to-USB cable from another UPS, but the Pro isn't detected (with usbhid-ups.) I haven't tried the NS yet but it seems to not be on the list though looks just like the Pro. >There are a few different angles we can approach this one from. What error message do you get from usbhid-ups, and what does "lsusb -d 051d:" show? Here are the APC USB IDs that the latest NUT code recognizes: https://github.com/networkupstools/nut/blob/master/drivers/apc-hid.c#L87-L92 (Unless you have rebuilt from the latest Git sources, your packages are probably older, and may not include all of these IDs.)
On 12/26/18 8:55 AM, Charles Lepple wrote:> On Dec 25, 2018, at 4:07 AM, David Melik wrote: >> Lately I got (used) an APC Back UPS Pro 1000 and Back UPS NS 1080. I got an [8P8C]-to-USB cable from another UPS, but the Pro isn't detected (with usbhid-ups.) I haven't tried the NS yet but it seems to not be on the list though looks just like the Pro. >> > There are a few different angles we can approach this one from. What error message do you get from usbhid-ups, and what does "lsusb -d 051d:" show?root at 0.darwinheim:~# rc.ups start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 No matching HID UPS found Driver failed to start (exit status=1) root at 0.darwinheim:~# lsusb -d 051d: root at 0.darwinheim:~# Maybe it's not a standard ethernet-to-UPS cable?> Here are the APC USB IDs that the latest NUT code recognizes: > > https://github.com/networkupstools/nut/blob/master/drivers/apc-hid.c#L87-L92I don't really understand that section...> (Unless you have rebuilt from the latest Git sources, your packages are probably older, and may not include all of these IDs.)