* [PATCH 1/3] hid-debug: Show application usage for each collection.
@ 2011-07-24 22:07 jeffbrown
[not found] ` <131154 5261-34067-2-git-send-email-jeffbrown@android.com>
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: jeffbrown @ 2011-07-24 22:07 UTC (permalink / raw)
To: linux-input
Cc: linux-kernel, dmitry.torokhov, rydberg, chatty,
benjamin.tissoires, Jeff Brown, jeffbrown
From: Jeff Brown <jeffbrown@google.com>
Signed-off-by: jeffbrown@android.com
---
drivers/hid/hid-debug.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
index bae4874..9a243ca 100644
--- a/drivers/hid/hid-debug.c
+++ b/drivers/hid/hid-debug.c
@@ -450,6 +450,11 @@ void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) {
seq_printf(f, "Logical(");
hid_resolv_usage(field->logical, f); seq_printf(f, ")\n");
}
+ if (field->application) {
+ tab(n, f);
+ seq_printf(f, "Application(");
+ hid_resolv_usage(field->application, f); seq_printf(f, ")\n");
+ }
tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage);
for (j = 0; j < field->maxusage; j++) {
tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n");
--
1.7.0.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/3] hid-multitouch: Filter collections by application usage.
2011-07-24 22:07 [PATCH 1/3] hid-debug: Show application usage for each collection jeffbrown
[not found] ` <131154 5261-34067-2-git-send-email-jeffbrown@android.com>
@ 2011-07-24 22:07 ` jeffbrown
2011-07-25 9:16 ` Stéphane Chatty
2011-07-24 22:07 ` [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device jeffbrown
2 siblings, 1 reply; 11+ messages in thread
From: jeffbrown @ 2011-07-24 22:07 UTC (permalink / raw)
To: linux-input
Cc: linux-kernel, dmitry.torokhov, rydberg, chatty,
benjamin.tissoires, Jeff Brown, jeffbrown
From: Jeff Brown <jeffbrown@google.com>
This change fixes two problems.
First, it ensures that the hid-multitouch driver does not incorrectly
map GenericDesktop usages that are intended for other applications,
such as a Mouse.
Second, it sets the appropriate input properties so that user-space
can distinguish TouchScreen devices (INPUT_PROP_DIRECT) from
TouchPad devices (INPUT_PROP_POINTER) and configure them accordingly.
Signed-off-by: jeffbrown@android.com
---
drivers/hid/hid-multitouch.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 58d0e7a..4ee21ac 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -213,6 +213,16 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct mt_class *cls = td->mtclass;
__s32 quirks = cls->quirks;
+ /* Only map fields from TouchScreen or TouchPad collections.
+ * We need to ignore fields that belong to other collections
+ * such as Mouse that might have the same GenericDesktop usages. */
+ if (field->application == HID_DG_TOUCHSCREEN)
+ set_bit(INPUT_PROP_DIRECT, hi->input->propbit);
+ else if (field->application == HID_DG_TOUCHPAD)
+ set_bit(INPUT_PROP_POINTER, hi->input->propbit);
+ else
+ return 0;
+
switch (usage->hid & HID_USAGE_PAGE) {
case HID_UP_GENDESK:
--
1.7.0.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device.
2011-07-24 22:07 [PATCH 1/3] hid-debug: Show application usage for each collection jeffbrown
[not found] ` <131154 5261-34067-2-git-send-email-jeffbrown@android.com>
2011-07-24 22:07 ` [PATCH 2/3] hid-multitouch: Filter collections by application usage jeffbrown
@ 2011-07-24 22:07 ` jeffbrown
2011-07-25 9:18 ` Stéphane Chatty
2 siblings, 1 reply; 11+ messages in thread
From: jeffbrown @ 2011-07-24 22:07 UTC (permalink / raw)
To: linux-input
Cc: linux-kernel, dmitry.torokhov, rydberg, chatty,
benjamin.tissoires, Jeff Brown, jeffbrown
From: Jeff Brown <jeffbrown@google.com>
Signed-off-by: jeffbrown@android.com
---
drivers/hid/hid-ids.h | 3 +++
drivers/hid/hid-multitouch.c | 5 +++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index db63ccf..637e6e9 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -419,6 +419,9 @@
#define USB_DEVICE_ID_LD_HYBRID 0x2090
#define USB_DEVICE_ID_LD_HEATCONTROL 0x20A0
+#define USB_VENDOR_ID_LG 0x1fd2
+#define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
+
#define USB_VENDOR_ID_LOGITECH 0x046d
#define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101
#define USB_DEVICE_ID_LOGITECH_HARMONY_FIRST 0xc110
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 4ee21ac..b03a0b0 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -682,6 +682,11 @@ static const struct hid_device_id mt_devices[] = {
HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS,
USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
+ /* LG Display panels */
+ { .driver_data = MT_CLS_DEFAULT,
+ HID_USB_DEVICE(USB_VENDOR_ID_LG,
+ USB_DEVICE_ID_LG_MULTITOUCH) },
+
/* Lumio panels */
{ .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
HID_USB_DEVICE(USB_VENDOR_ID_LUMIO,
--
1.7.0.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] hid-multitouch: Filter collections by application usage.
2011-07-24 22:07 ` [PATCH 2/3] hid-multitouch: Filter collections by application usage jeffbrown
@ 2011-07-25 9:16 ` Stéphane Chatty
2011-07-25 9:29 ` Benjamin Tissoires
0 siblings, 1 reply; 11+ messages in thread
From: Stéphane Chatty @ 2011-07-25 9:16 UTC (permalink / raw)
To: jeffbrown
Cc: linux-input, linux-kernel, dmitry.torokhov, rydberg,
benjamin.tissoires, Jeff Brown
Le 25 juil. 2011 à 00:07, jeffbrown@android.com a écrit :
> From: Jeff Brown <jeffbrown@google.com>
>
> This change fixes two problems.
>
> First, it ensures that the hid-multitouch driver does not incorrectly
> map GenericDesktop usages that are intended for other applications,
> such as a Mouse.
>
> Second, it sets the appropriate input properties so that user-space
> can distinguish TouchScreen devices (INPUT_PROP_DIRECT) from
> TouchPad devices (INPUT_PROP_POINTER) and configure them accordingly.
>
> Signed-off-by: jeffbrown@android.com
> ---
> drivers/hid/hid-multitouch.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> index 58d0e7a..4ee21ac 100644
> --- a/drivers/hid/hid-multitouch.c
> +++ b/drivers/hid/hid-multitouch.c
> @@ -213,6 +213,16 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
> struct mt_class *cls = td->mtclass;
> __s32 quirks = cls->quirks;
>
> + /* Only map fields from TouchScreen or TouchPad collections.
> + * We need to ignore fields that belong to other collections
> + * such as Mouse that might have the same GenericDesktop usages. */
> + if (field->application == HID_DG_TOUCHSCREEN)
> + set_bit(INPUT_PROP_DIRECT, hi->input->propbit);
> + else if (field->application == HID_DG_TOUCHPAD)
> + set_bit(INPUT_PROP_POINTER, hi->input->propbit);
> + else
> + return 0;
> +
> switch (usage->hid & HID_USAGE_PAGE) {
>
> case HID_UP_GENDESK:
> --
> 1.7.0.4
>
Looks clever to me. Still, in principle we should check that all (or at least most) known devices fill the application field properly. I'll try to have a look at the report descriptors we have here.
St.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device.
2011-07-24 22:07 ` [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device jeffbrown
@ 2011-07-25 9:18 ` Stéphane Chatty
2011-07-25 9:32 ` Benjamin Tissoires
0 siblings, 1 reply; 11+ messages in thread
From: Stéphane Chatty @ 2011-07-25 9:18 UTC (permalink / raw)
To: jeffbrown
Cc: USB list, linux-kernel, Dmitry Torokhov, Henrik Rydberg,
Benjamin Tissoires, Jeff Brown
Le 25 juil. 2011 à 00:07, jeffbrown@android.com a écrit :
> From: Jeff Brown <jeffbrown@google.com>
>
> Signed-off-by: jeffbrown@android.com
> ---
> drivers/hid/hid-ids.h | 3 +++
> drivers/hid/hid-multitouch.c | 5 +++++
> 2 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index db63ccf..637e6e9 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -419,6 +419,9 @@
> #define USB_DEVICE_ID_LD_HYBRID 0x2090
> #define USB_DEVICE_ID_LD_HEATCONTROL 0x20A0
>
> +#define USB_VENDOR_ID_LG 0x1fd2
> +#define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
> +
> #define USB_VENDOR_ID_LOGITECH 0x046d
> #define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101
> #define USB_DEVICE_ID_LOGITECH_HARMONY_FIRST 0xc110
> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> index 4ee21ac..b03a0b0 100644
> --- a/drivers/hid/hid-multitouch.c
> +++ b/drivers/hid/hid-multitouch.c
> @@ -682,6 +682,11 @@ static const struct hid_device_id mt_devices[] = {
> HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS,
> USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
>
> + /* LG Display panels */
> + { .driver_data = MT_CLS_DEFAULT,
> + HID_USB_DEVICE(USB_VENDOR_ID_LG,
> + USB_DEVICE_ID_LG_MULTITOUCH) },
> +
> /* Lumio panels */
> { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
> HID_USB_DEVICE(USB_VENDOR_ID_LUMIO,
> --
> 1.7.0.4
>
I don't have access to the panel for testing, but I trust that Jeff has tested it :-)
Acked-by: Stéphane Chatty <chatty@enac.fr>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] hid-multitouch: Filter collections by application usage.
2011-07-25 9:16 ` Stéphane Chatty
@ 2011-07-25 9:29 ` Benjamin Tissoires
2011-07-25 13:48 ` Stéphane Chatty
2011-07-27 12:43 ` Stéphane Chatty
0 siblings, 2 replies; 11+ messages in thread
From: Benjamin Tissoires @ 2011-07-25 9:29 UTC (permalink / raw)
To: Stéphane Chatty
Cc: jeffbrown, linux-input, linux-kernel, dmitry.torokhov, rydberg,
Jeff Brown
Hi Jeff,
I like the patch as it partially solves the problems left by
b84bd27fe70206f9253c395958134e4e4b7e55f0 (fix broken egalax). The
previous patch mapped buttons but now it should be ok.
Though, we still have the problem of the distinction between stylus and finger.
It would worth the effort to know if reverting
b84bd27fe70206f9253c395958134e4e4b7e55f0 and apply this one instead
still works for eGalax 480d owners (and mosart too IIRC).
On Mon, Jul 25, 2011 at 11:16, Stéphane Chatty <chatty@enac.fr> wrote:
>
> Le 25 juil. 2011 à 00:07, jeffbrown@android.com a écrit :
>
>> From: Jeff Brown <jeffbrown@google.com>
>>
>> This change fixes two problems.
>>
>> First, it ensures that the hid-multitouch driver does not incorrectly
>> map GenericDesktop usages that are intended for other applications,
>> such as a Mouse.
>>
>> Second, it sets the appropriate input properties so that user-space
>> can distinguish TouchScreen devices (INPUT_PROP_DIRECT) from
>> TouchPad devices (INPUT_PROP_POINTER) and configure them accordingly.
>>
>> Signed-off-by: jeffbrown@android.com
>> ---
>> drivers/hid/hid-multitouch.c | 10 ++++++++++
>> 1 files changed, 10 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
>> index 58d0e7a..4ee21ac 100644
>> --- a/drivers/hid/hid-multitouch.c
>> +++ b/drivers/hid/hid-multitouch.c
>> @@ -213,6 +213,16 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
>> struct mt_class *cls = td->mtclass;
>> __s32 quirks = cls->quirks;
>>
>> + /* Only map fields from TouchScreen or TouchPad collections.
>> + * We need to ignore fields that belong to other collections
>> + * such as Mouse that might have the same GenericDesktop usages. */
>> + if (field->application == HID_DG_TOUCHSCREEN)
>> + set_bit(INPUT_PROP_DIRECT, hi->input->propbit);
>> + else if (field->application == HID_DG_TOUCHPAD)
>> + set_bit(INPUT_PROP_POINTER, hi->input->propbit);
>> + else
>> + return 0;
Maybe I'm wrong, but 0 means that hid-input will decide what to do.
Maybe we should return -1 instead, to be sure not handling this part.
>> +
>> switch (usage->hid & HID_USAGE_PAGE) {
>>
>> case HID_UP_GENDESK:
>> --
>> 1.7.0.4
>>
>
>
> Looks clever to me. Still, in principle we should check that all (or at least most) known devices fill the application field properly. I'll try to have a look at the report descriptors we have here.
I checked (with some greps) the reports we have, and it seems that all
the device we know provide this application. So it should be safe, but
I'm not able to test it.
Stéphane, if you have the time to test it on our lab's devices that
would be great.
Cheers,
Benjamin
>
> St.
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device.
2011-07-25 9:18 ` Stéphane Chatty
@ 2011-07-25 9:32 ` Benjamin Tissoires
0 siblings, 0 replies; 11+ messages in thread
From: Benjamin Tissoires @ 2011-07-25 9:32 UTC (permalink / raw)
To: Stéphane Chatty
Cc: jeffbrown, USB list, linux-kernel, Dmitry Torokhov,
Henrik Rydberg, Jeff Brown
On Mon, Jul 25, 2011 at 11:18, Stéphane Chatty <chatty@enac.fr> wrote:
>
> Le 25 juil. 2011 à 00:07, jeffbrown@android.com a écrit :
>
>> From: Jeff Brown <jeffbrown@google.com>
>>
>> Signed-off-by: jeffbrown@android.com
>> ---
>> drivers/hid/hid-ids.h | 3 +++
>> drivers/hid/hid-multitouch.c | 5 +++++
>> 2 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
>> index db63ccf..637e6e9 100644
>> --- a/drivers/hid/hid-ids.h
>> +++ b/drivers/hid/hid-ids.h
>> @@ -419,6 +419,9 @@
>> #define USB_DEVICE_ID_LD_HYBRID 0x2090
>> #define USB_DEVICE_ID_LD_HEATCONTROL 0x20A0
>>
>> +#define USB_VENDOR_ID_LG 0x1fd2
>> +#define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
>> +
>> #define USB_VENDOR_ID_LOGITECH 0x046d
>> #define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101
>> #define USB_DEVICE_ID_LOGITECH_HARMONY_FIRST 0xc110
>> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
>> index 4ee21ac..b03a0b0 100644
>> --- a/drivers/hid/hid-multitouch.c
>> +++ b/drivers/hid/hid-multitouch.c
>> @@ -682,6 +682,11 @@ static const struct hid_device_id mt_devices[] = {
>> HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS,
>> USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
>>
>> + /* LG Display panels */
>> + { .driver_data = MT_CLS_DEFAULT,
>> + HID_USB_DEVICE(USB_VENDOR_ID_LG,
>> + USB_DEVICE_ID_LG_MULTITOUCH) },
>> +
>> /* Lumio panels */
>> { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
>> HID_USB_DEVICE(USB_VENDOR_ID_LUMIO,
>> --
>> 1.7.0.4
>>
>
> I don't have access to the panel for testing, but I trust that Jeff has tested it :-)
>
> Acked-by: Stéphane Chatty <chatty@enac.fr>
Sorry, but there are some pieces missing.
Please also add the device to the hid_have_special_driver list in
hid-core.c, and add it to the list in Kconfig as well.
Cheers,
Benjamin
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] hid-multitouch: Filter collections by application usage.
2011-07-25 9:29 ` Benjamin Tissoires
@ 2011-07-25 13:48 ` Stéphane Chatty
2011-07-25 18:08 ` Jeffrey Brown
[not found] ` <CAMu+ixi4gpKg=LW4o2nK7NDm4r+B368qh=fSvtndKfqf204K9A@mail.gmail. com>
2011-07-27 12:43 ` Stéphane Chatty
1 sibling, 2 replies; 11+ messages in thread
From: Stéphane Chatty @ 2011-07-25 13:48 UTC (permalink / raw)
To: benjamin.tissoires
Cc: jeffbrown, linux-input, linux-kernel, dmitry.torokhov, rydberg,
Jeff Brown
Le 25 juil. 2011 à 11:29, benjamin.tissoires@gmail.com a écrit :
> Hi Jeff,
>
> I like the patch as it partially solves the problems left by
> b84bd27fe70206f9253c395958134e4e4b7e55f0 (fix broken egalax). The
> previous patch mapped buttons but now it should be ok.
> Though, we still have the problem of the distinction between stylus and finger.
>
> It would worth the effort to know if reverting
> b84bd27fe70206f9253c395958134e4e4b7e55f0 and apply this one instead
> still works for eGalax 480d owners (and mosart too IIRC).
>
>
> On Mon, Jul 25, 2011 at 11:16, Stéphane Chatty <chatty@enac.fr> wrote:
>>
>> Le 25 juil. 2011 à 00:07, jeffbrown@android.com a écrit :
>>
>>> From: Jeff Brown <jeffbrown@google.com>
>>>
>>> This change fixes two problems.
>>>
>>> First, it ensures that the hid-multitouch driver does not incorrectly
>>> map GenericDesktop usages that are intended for other applications,
>>> such as a Mouse.
>>>
>>> Second, it sets the appropriate input properties so that user-space
>>> can distinguish TouchScreen devices (INPUT_PROP_DIRECT) from
>>> TouchPad devices (INPUT_PROP_POINTER) and configure them accordingly.
>>>
>>> Signed-off-by: jeffbrown@android.com
>>> ---
>>> drivers/hid/hid-multitouch.c | 10 ++++++++++
>>> 1 files changed, 10 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
>>> index 58d0e7a..4ee21ac 100644
>>> --- a/drivers/hid/hid-multitouch.c
>>> +++ b/drivers/hid/hid-multitouch.c
>>> @@ -213,6 +213,16 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
>>> struct mt_class *cls = td->mtclass;
>>> __s32 quirks = cls->quirks;
>>>
>>> + /* Only map fields from TouchScreen or TouchPad collections.
>>> + * We need to ignore fields that belong to other collections
>>> + * such as Mouse that might have the same GenericDesktop usages. */
>>> + if (field->application == HID_DG_TOUCHSCREEN)
>>> + set_bit(INPUT_PROP_DIRECT, hi->input->propbit);
>>> + else if (field->application == HID_DG_TOUCHPAD)
>>> + set_bit(INPUT_PROP_POINTER, hi->input->propbit);
>>> + else
>>> + return 0;
>
> Maybe I'm wrong, but 0 means that hid-input will decide what to do.
> Maybe we should return -1 instead, to be sure not handling this part.
>
>>> +
>>> switch (usage->hid & HID_USAGE_PAGE) {
>>>
>>> case HID_UP_GENDESK:
>>> --
>>> 1.7.0.4
>>>
>>
>>
>> Looks clever to me. Still, in principle we should check that all (or at least most) known devices fill the application field properly. I'll try to have a look at the report descriptors we have here.
>
> I checked (with some greps) the reports we have, and it seems that all
> the device we know provide this application. So it should be safe, but
> I'm not able to test it.
> Stéphane, if you have the time to test it on our lab's devices that
> would be great.
So far it works fine on our Cypress panel. I'll keep you posted about Lumio and Stantum as soon as we have finished compiling Linux 3.0.
St.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] hid-multitouch: Filter collections by application usage.
2011-07-25 13:48 ` Stéphane Chatty
@ 2011-07-25 18:08 ` Jeffrey Brown
[not found] ` <CAMu+ixi4gpKg=LW4o2nK7NDm4r+B368qh=fSvtndKfqf204K9A@mail.gmail. com>
1 sibling, 0 replies; 11+ messages in thread
From: Jeffrey Brown @ 2011-07-25 18:08 UTC (permalink / raw)
To: Stéphane Chatty
Cc: benjamin.tissoires, linux-input, linux-kernel, dmitry.torokhov,
rydberg
On Mon, Jul 25, 2011 at 6:48 AM, Stéphane Chatty <chatty@enac.fr> wrote:
> So far it works fine on our Cypress panel. I'll keep you posted about Lumio and Stantum as soon as we have finished compiling Linux 3.0.
Actually, I'm wondering if we could merge hid-multitouch into hid-input.
Checking for an application usage of TouchScreen or TouchPad should be
pretty unambiguous. It ought to be possible to support most Windows 7
compatible HID multitouch devices out of the box without needing to
add them to any exception lists whatsoever, except for those few that
might need quirks.
Jeff.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] hid-multitouch: Filter collections by application usage.
[not found] ` <CAMu+ixi4gpKg=LW4o2nK7NDm4r+B368qh=fSvtndKfqf204K9A@mail.gmail. com>
@ 2011-07-25 18:47 ` Stéphane Chatty
0 siblings, 0 replies; 11+ messages in thread
From: Stéphane Chatty @ 2011-07-25 18:47 UTC (permalink / raw)
To: Jeffrey Brown
Cc: benjamin.tissoires, linux-input, linux-kernel, dmitry.torokhov,
rydberg
Le 25 juil. 2011 à 20:08, Jeffrey Brown a écrit :
> On Mon, Jul 25, 2011 at 6:48 AM, Stéphane Chatty <chatty@enac.fr> wrote:
>> So far it works fine on our Cypress panel. I'll keep you posted about Lumio and Stantum as soon as we have finished compiling Linux 3.0.
>
> Actually, I'm wondering if we could merge hid-multitouch into hid-input.
>
> Checking for an application usage of TouchScreen or TouchPad should be
> pretty unambiguous. It ought to be possible to support most Windows 7
> compatible HID multitouch devices out of the box without needing to
> add them to any exception lists whatsoever, except for those few that
> might need quirks.
Yes, Benjamin and I have been working in this direction. We have experimental code that autodectects multitouch devices. It's not polished nor tested enough, but the number of requests for supporting new panels is a strong incentive for us to finish it :-) As far as I remember, this requires some restructuring in hid-input though.
Cheers,
St.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] hid-multitouch: Filter collections by application usage.
2011-07-25 9:29 ` Benjamin Tissoires
2011-07-25 13:48 ` Stéphane Chatty
@ 2011-07-27 12:43 ` Stéphane Chatty
1 sibling, 0 replies; 11+ messages in thread
From: Stéphane Chatty @ 2011-07-27 12:43 UTC (permalink / raw)
To: benjamin.tissoires
Cc: jeffbrown, linux-input, linux-kernel, dmitry.torokhov, rydberg,
Jeff Brown
Le 25 juil. 2011 à 11:29, benjamin.tissoires@gmail.com a écrit :
>
> I checked (with some greps) the reports we have, and it seems that all
> the device we know provide this application. So it should be safe, but
> I'm not able to test it.
> Stéphane, if you have the time to test it on our lab's devices that
> would be great.
We checked with Stantum and Lumio panels, it works fine. Added to Benjamin's check in our database of report descriptors, it gives fairly good confidence that the change is innocuous (and actually beneficial).
St.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-07-27 12:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-24 22:07 [PATCH 1/3] hid-debug: Show application usage for each collection jeffbrown
[not found] ` <131154 5261-34067-2-git-send-email-jeffbrown@android.com>
2011-07-24 22:07 ` [PATCH 2/3] hid-multitouch: Filter collections by application usage jeffbrown
2011-07-25 9:16 ` Stéphane Chatty
2011-07-25 9:29 ` Benjamin Tissoires
2011-07-25 13:48 ` Stéphane Chatty
2011-07-25 18:08 ` Jeffrey Brown
[not found] ` <CAMu+ixi4gpKg=LW4o2nK7NDm4r+B368qh=fSvtndKfqf204K9A@mail.gmail. com>
2011-07-25 18:47 ` Stéphane Chatty
2011-07-27 12:43 ` Stéphane Chatty
2011-07-24 22:07 ` [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device jeffbrown
2011-07-25 9:18 ` Stéphane Chatty
2011-07-25 9:32 ` Benjamin Tissoires
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).