Re: [PATCH] HID: add multi-input quirk for eGalax Touchcontroller

From: Jiri Kosina
Date: Tue Feb 02 2010 - 16:44:43 EST


On Tue, 2 Feb 2010, Peter Hutterer wrote:

> Nonetheless, I'm not sure about whether that's the right thing to do. With
> this patch applied, it gives me two devices, one mute, the other one
> announces BTN_PEN and BTN_TOUCH + abs axes, though only BTN_TOUCH is ever
> triggered. Loading usbtouchscreen instead of usbhid for this device makes
> the device look more sane BTN_TOUCH + abs axes but the actual data is
> random. So I'm not quite sure what the fix is supposed to be, any hints are
> appreciated if it's not the patch below.

The data could also be mis-interpreted because of some bug in the HID
descriptor.

Does looking at the HID report descriptor and looking at the actual
raw HID reports coming out from the device give any clue? (in recent
kernels, you can just use 'hid' directory in debugfs to gather all this
information).

Thanks,

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