[Nut-upsdev] Megatec_USB on OpenBSD 4.3 - no input interrupt endpoint

Henning Brauer hb-nut at bsws.de
Fri Sep 12 11:01:50 UTC 2008


* ng-sup01 <ng-sup01 at mclink.it> [2008-09-12 12:24]:
> uhidev0 at uhub0 port 1 configuration 1 interface 0 "UIS_ABLER USB to 
> Serial" rev 1.00/1.00 addr 2

that's the problem, uhiddev must not claim the device and leave it to
ugen. you must add a quirk like

 { USB_VENDOR_APC, USB_PRODUCT_APC_UPSPRO500,       ANY,   {UQ_BAD_HID }},

(with vendor & product for your UPS of course) to
sys/dev/usb/usb_quirks.c for now, and use sendbug to send it in for
inclusion.

the UPS HID situtaion sucks. there might be a more generic solution
soon, if one of our usb hackers can be convinced to do it.

-- 
Henning Brauer, hb at bsws.de, henning at openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



More information about the Nut-upsdev mailing list