Hi all, I'm currently trying to install a APC Back-UPS ES 700 on FreeBSD. This UPS has a usb connection to the PC and is recognized as: ugen0: APC Back-UPS ES 700 FW:829.D2 .I USB FWD2 rev 1.10/1.06, addr 2 my ups.conf looks like: [back-ups] driver = usbhid-ups port = auto desc = "server" When I now run /usr/local/libexec/nut/upsdrvctl start the output is: Network UPS Tools - UPS driver controller 2.2.2 Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) No matching HID UPS found Driver failed to start (exit status=1) I chmodded /dev/ugen0 to 777 for testing but it doesn't help. Anyone has an idea what to try next? Maybe there is just some usb id missing in the driver so it will recognize this ups? Kind regards Marius
On Sat, 9 Aug 2008, Marius N?nnerich wrote:> Hi all, > > I'm currently trying to install a APC Back-UPS ES 700 on FreeBSD. > This UPS has a usb connection to the PC and is recognized as: > > ugen0: APC Back-UPS ES 700 FW:829.D2 .I USB FWD2 rev 1.10/1.06, addr > 2 > > my ups.conf looks like: > [back-ups] > driver = usbhid-ups > port = auto > desc = "server" > > When I now run /usr/local/libexec/nut/upsdrvctl start the output is: > Network UPS Tools - UPS driver controller 2.2.2 > Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) > > No matching HID UPS found > Driver failed to start (exit status=1) > > I chmodded /dev/ugen0 to 777 for testing but it doesn't help. > > Anyone has an idea what to try next? Maybe there is just some usb id > missing in the driver so it will recognize this ups?Try chmod'ing /dev/usb* 666. Unfortunately it seems you can't just grant privs to your NUT user for a specific device - libusb also needs /dev/usb* to find them :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080809/524a8524/attachment.pgp
Marius Nünnerich
2008-Aug-09 14:43 UTC
[Nut-upsuser] Fwd: APC Back-UPS ES 700 under FreeBSD
On Sat, Aug 9, 2008 at 4:02 PM, Daniel O'Connor <doconnor at gsoft.com.au> wrote:> On Sat, 9 Aug 2008, Marius N?nnerich wrote: >> Hi all, >> >> I'm currently trying to install a APC Back-UPS ES 700 on FreeBSD. >> This UPS has a usb connection to the PC and is recognized as: >> >> ugen0: APC Back-UPS ES 700 FW:829.D2 .I USB FWD2 rev 1.10/1.06, addr >> 2 >> >> my ups.conf looks like: >> [back-ups] >> driver = usbhid-ups >> port = auto >> desc = "server" >> >> When I now run /usr/local/libexec/nut/upsdrvctl start the output is: >> Network UPS Tools - UPS driver controller 2.2.2 >> Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) >> >> No matching HID UPS found >> Driver failed to start (exit status=1) >> >> I chmodded /dev/ugen0 to 777 for testing but it doesn't help. >> >> Anyone has an idea what to try next? Maybe there is just some usb id >> missing in the driver so it will recognize this ups? > > Try chmod'ing /dev/usb* 666. > > Unfortunately it seems you can't just grant privs to your NUT user for a > specific device - libusb also needs /dev/usb* to find them :(Thanks for your answer! Unfortunatly I don't have access to the system for the next couple of days. I did run upsdrvctl as root so the permissions shouldn't really matter, or does upsdrvctl/upshid-usb drop privileges?
On Sat, Aug 9, 2008 at 12:10 PM, Marius N?nnerich <marius at nuenneri.ch> wrote:> Hi all, > > I'm currently trying to install a APC Back-UPS ES 700 on FreeBSD. This > UPS has a usb connection to the PC and is recognized as: > > ugen0: APC Back-UPS ES 700 FW:829.D2 .I USB FWD2 rev 1.10/1.06, addr 2 > > my ups.conf looks like: > [back-ups] > driver = usbhid-ups > port = auto > desc = "server" > > When I now run /usr/local/libexec/nut/upsdrvctl start the output is: > Network UPS Tools - UPS driver controller 2.2.2 > Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) > > No matching HID UPS found > Driver failed to start (exit status=1) > > I chmodded /dev/ugen0 to 777 for testing but it doesn't help. > > Anyone has an idea what to try next? Maybe there is just some usb id > missing in the driver so it will recognize this ups? > > Kind regards > Marius >BTW has anyone this exact ups working with nut?
> I'm currently trying to install a APC Back-UPS ES 700 on FreeBSD. This > UPS has a usb connection to the PC and is recognized as:[...]> Anyone has an idea what to try next? Maybe there is just some usb id > missing in the driver so it will recognize this ups?You could start with providing some more information. What are the productid and vendorid of this device? Also, running the 'usbhid-ups' driver in debug mode (add '-DDDDD' to the commandline) may help to diagnose where things go wrong. Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57