[Nut-upsuser] Megatec_USB on OpenBSD 4.3 - again...

Henning Brauer hb-nut at bsws.de
Thu Oct 30 16:26:30 UTC 2008


* Charles Lepple <clepple at gmail.com> [2008-10-28 21:32]:
> On Tue, Oct 28, 2008 at 12:19 PM, Arjen de Korte <nut+users at de-korte.org> wrote:
> > Citeren ng-sup01 at mclink.it:
> >
> >>  Thanks to the precious help from Henning Brauer, I managed to solve
> >> an issue with my UPS (a rebranded UPS speaking in Ablerex-ese over USB).
> >> Under OpenBSD 4.3, the UPS was claimed by HID.
> >
> > Wait a minute, if OpenBSD claimed this device, chances are that it was
> > providing a USB to serial port also. Usually these are called
> > something like /dev/ttyUSB0 in Linux, I don't know what OpenBSD does
> > with it. In that case, you should run the megatec driver on the serial
> > port, not the megatec_usb driver.
> 
> The kernel driver might not automatically match a VID:PID of 0000:0001, however.

this is the reason the quirk will not make it into OpenBSD, at least
not in its current form.

uhid attaches because the device claims it is a HID device. that simple.

-- 
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-upsuser mailing list