[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0701210006591.21127@twin.jikos.cz>
Date: Sun, 21 Jan 2007 00:09:48 +0100 (CET)
From: Jiri Kosina <jikos@...os.cz>
To: Ivan Ukhov <uvsoft@...il.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: How to use an usb interface than is claimed by HID?
On Sat, 20 Jan 2007, Ivan Ukhov wrote:
> I'm writing a driver for an USB device that has one configuration with
> several interfacies and one of them is a HID interface. So when I check
> this interface whether it's claimed (usb_interface_claimed), I find out
> that it is, and it's claimed by the HID driver. So here is the question:
> how can I ask the HID driver to unclaim this very interface for me so
> that I can use it? The HID driver is needed for some other devices, so I
> can't just rmmod it.
Hi Ivan,
if I understand correctly what you need, wouldn't setting the
HID_QUIRK_IGNORE for a given tuple of idVendor and idProduct be enough?
(see hid_blacklist[] in drivers/usb/input/hid-core.c).
--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists