Subject: Re: UPS with USB support?
To: None <netbsd-users@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20050720@dailyplanet.dontspam.wsrcc.com>
List: netbsd-users
Date: 07/20/2005 14:45:13
"Steven M. Bellovin" <smb@cs.columbia.edu> writes:
> Thanks. Any particular problem compiling it under NetBSD? The pkgsrc
> version is 3.8.6nb4; you seem to be running 3.11.3, and the
> documentation with the package says that USB support is only in 3.9.4
> or later.
I think I started with pkgsrc but jumped to their cvs version when
things didn't work right.
Nathan's post did remind me that I had to put a two-line hack into the
usb-uhid driver to tell uhid to keep its grubby fingers off of the
UPS. I don't think any of the bsd's I submitted that patch to bought
off on it. It might be good to put this into the kernel with a "this
is a really rude hack and needs to by fixed" type note. (More correct
code would tried harder to see if the device was a UPS instead of
jumping to conclusions from the vendor name. Unfortunately the fact
that it is a ups didn't seem to be available at probe time.)
-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
Imagine what air travel would be like today if Richard Reid
had hidden the bomb in his underwear. -anon