Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-20 Thread Daniel O'Connor
On Tue, 19 May 2009, forsite wrote: Have anybody tried Cyberpower Value 600E (USB) under FreeBSD? usbhid-ups from nut 2.4.1 does not recognize (find) the device on my machine. [r...@substance /usr/local/libexec/nut]# dmesg | grep uhid uhid0: CPS UPS VALUE, class 0/0, rev 1.10/0.01, addr 2 on

Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-20 Thread Daniel O'Connor
On Wed, 20 May 2009, Daniel O'Connor wrote: The actual fix is to add an entry in the blacklist for uhid devices in /usr/src/sys/dev/usb/usb_quirks.c (around line 115) for the vendor/id of your UPS. I think you also need to add an entry to /usr/src/sys/dev/usb/usbdevs for the UPS itself. That

Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-20 Thread Daniel O'Connor
On Thu, 21 May 2009, forsite wrote: P.S. Apparently, this relates not only to CyberPower, but will likely be relevant for any UPS-USB device which under GENERIC kernel is claimed by uhidX (not ugenX) driver. Yes, it is quite annoying.. I wonder if the uhid device could be modified to reject

Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-20 Thread Daniel O'Connor
On Thu, 21 May 2009, forsite wrote: Daniel, fantastic - your patch was exactly what was needed. Great! 2_developers: I believe this is a standard situation for CyberPower USB devices under FreeBSD. So you may wish to add the solution provided by Daniel into the FAQ or at least to mention on

Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-19 Thread forsite
Hmm... Interesting. I have looked through the mailing-list archives and encountered that libusb-based packages such as NUT do not work with uhid* device nodes (where my UPS currently sits). http://lists.alioth.debian.org/pipermail/nut-upsuser/2008-July/004260.html I suppose I need to find a

Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-18 Thread forsite
Dear Arjen, Many thanks for your prompt reply. This vendorid:productid combination is supported by nut-2.4.1 out of the box, so most likely, it is a permissions problem. Try running    ./usbhid-ups -u root -DD -a CyberPower Actually, I have tried this also (I should have mentioned this in