Subject: Re: UPS with USB support?
To: Wolfgang S. Rupprecht <wolfgang+gnus20050720@dailyplanet.dontspam.wsrcc.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-users
Date: 07/21/2005 09:01:22
I'll finally fix the ugen driver so you don't have to patch
the hud driver any more.  It's something I've wanted to
do for a long time.

	-- Lennart

Wolfgang S. Rupprecht wrote:
> "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