Re: [PATCH] HID: blacklist ET&T TC5UH touchscreen controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Dec 2009, Petr Štetiar wrote:

> This patch adds ET&T TC5UH touchscreen controller to HID blacklist,
> because this device is handled by input/usbtouchscreen driver.
> 
> Signed-off-by: Petr Štetiar <ynezz@xxxxxxx>
> ---
>  drivers/hid/hid-core.c |    1 +
>  drivers/hid/hid-ids.h  |    3 +++
>  2 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 7d05c4b..a000bb7 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -1296,6 +1296,7 @@ static const struct hid_device_id hid_blacklist[] = {
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006) },
> +	{ HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC5UH) },

Hi Petr,

actually the entry should go into hid_ignore_list[], not hid_blacklist[].

hid_blacklist[] is for those drivers, for which there exists specialized 
driver on hid bus, different from generic HID driver.

usbtouch is completely separate driver that has nothing to do with hid 
bus, therefore we want the whole hid subsystem to completely ignore the 
device -- and that's what hid_ignore_list[] is for.

I have fixed it up and applied to my tree.

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux