lkml.org 
[lkml]   [2003]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectUSB/HID UPS issue (was Re: USB scanner issue)


Hi folks,

I take the opportunity of the previous discussion (USB
scanner obsolescence) to relaunch the one about hidddev.


On Mon, Dec 01, 2003 at 11:21:58AM -0800, Greg KH wrote:
> ...
> Can't you use xsane without the scanner kernel driver? I thought the
> latest versions used libusb/usbfs to talk directly to the hardware.
> Because of this, the USB scanner driver is marked to be removed from the
> kernel sometime in the near future.

I'm thinking about doing the same with hiddev
as I'm facing new problems each times we solve
one! Currently, MGE devices won't work fine with
latest kernels (2.4 and 2.6). I've identified that
config/report descriptors are queried another time
at the end of HID enumeration, but the device doesn't
have time to answer (about 1,5 sec, instead of the
standard "5 sec" timeout). I've not found the cause
after digging, so I've directly gone to the next
step.

So I've setup the libHID project [1] to allow this
HID support, only used by UPSs at the moment (I've
seen passing some comments about USB radio and
other gadgets). But others complex HID devices are
welcomed.

My last problem is that I can't succeed in deactivating
hiddev at runtime (I've tryed various form of
"alias hiddev off" in modules.conf without success).
This still cause nasty side effect to the device.

So my question is: If we have userland HID support
through libHID (in the same way as libusb), is hiddev
still needed? I obviously don't talk about hid (core),
joy/keyb/mouse which are still needed...

Your feedback about all of that is welcomed.

Arnaud

[1] http://savannah.nongnu.org/projects/libhid
http://www.ghz.cc/~clepple/libHID/doc/html/index.html


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.036 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site