# Re: Elo TouchSystems touchscreen support? (04e7:0022)

- List: linux-input
- 8 messages, 2 authors
- Page: https://ratatoskr.run/linux-input/2011/02/8916072/t

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-07 16:51:29 
- Message: https://ratatoskr.run/linux-input/2011/02/8916072.md

```text
Hi Bastien,

On Sat, Feb 5, 2011 at 17:10, Bastien Nocera [ref] wrote:
> On Wed, 2011-02-02 at 14:20 +0100, Benjamin Tissoires wrote:
>> With the patch this time.... ;)
>>
>> On Wed, Feb 2, 2011 at 14:18, Benjamin Tissoires
>> [ref] wrote:
>> > On Wed, Feb 2, 2011 at 13:42, Bastien Nocera [ref] wrote:
>> >> On Tue, 2011-02-01 at 14:25 +0100, Benjamin Tissoires wrote:
>> >> <snip>
>> >>> First pass:
>> >>> - please get the branch multitouch of jiri's tree (at
>> >>> http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=shortlog;h=refs/heads/multitouch)
>> >>> - then apply the attached patch (git am
>> >>> 0001-hid-multitouch-Introduce-Elo-TouchSystems-2515-Intel.patch)
>> >>> - get your config from your current kernel (check that hid-multitouch
>> >>> is enabled as a module)
>> >>> - compile, install, reboot
>> >>
>> >> That's where I hit a problem. It seems that the kernel on which that
>> >> branch is based has broken cgroups support (it panics on startup).
>> >>
>> >> Would your patch, or a patchset be available to apply to the close to
>> >> Linus tree Fedora rawhide kernel?
>> >
>> > Hi Bastien,
>> >
>> > Sorry for that. Attached a new version that bumps a Linus' 2.6.38-rc2
>> > or 2.6.38-rc3 to Jiri's tree and applies the patch above.
>> >
>> > If it's still not working, I'll send you the files directly ;)
>
> The instructions didn't quite work (the PCI ID seems to be in
> upper-case, and the tail command wasn't producing any output). I used
> good ol' 'cat' instead. Attached is what it produced.

oops... When you say "the PCI ID seems to be in upper-case", you means
the path of the events file, or you had to modify the patch?

>
> The cursor actually follows the touch, but it seems I need to press
> quite hard to make it work.

Is this the same with a Windows system? I don't think we made any
assumption on the pressure.

> Touch with 2 fingers doesn't do anything
> different from single finger.

This is quite normal: Linux is not ready for multitouch right now ;)
Only the kernel is ready. People are working on x.org' XInput 2.1 to
enable multitouch in X.org, and the toolkits are following this
development.

If you want to give a try, you can download our mt-diagnostic software
at:  http://lii-enac.fr/en/architecture/linux-input/mtdiag.html .

>
> Let me know if you want me to test anything else. I'll try not to take
> as long to do the testing next time, but we were working on our first
> GNOME 3 test day.

Well, the device does not sends much relevant informations: we have to
rebuild some informations, so the final patch will be really close to
the one I sent last week. Once I made it, I'll ask you to test it
before submitting it for 2.6.38 (if it's still possible).

Cheers,
Benjamin
```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Bastien Nocera \<hadess@hadess.net\>
- Date: 2011-02-07 17:06:21 
- Message: https://ratatoskr.run/linux-input/2011/02/8916074.md

```text
On Mon, 2011-02-07 at 17:51 +0100, Benjamin Tissoires wrote:
> Hi Bastien,
> 
> On Sat, Feb 5, 2011 at 17:10, Bastien Nocera [ref] wrote:
> > On Wed, 2011-02-02 at 14:20 +0100, Benjamin Tissoires wrote:
> >> With the patch this time.... ;)
> >>
> >> On Wed, Feb 2, 2011 at 14:18, Benjamin Tissoires
> >> [ref] wrote:
> >> > On Wed, Feb 2, 2011 at 13:42, Bastien Nocera [ref] wrote:
> >> >> On Tue, 2011-02-01 at 14:25 +0100, Benjamin Tissoires wrote:
> >> >> <snip>
> >> >>> First pass:
> >> >>> - please get the branch multitouch of jiri's tree (at
> >> >>> http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=shortlog;h=refs/heads/multitouch)
> >> >>> - then apply the attached patch (git am
> >> >>> 0001-hid-multitouch-Introduce-Elo-TouchSystems-2515-Intel.patch)
> >> >>> - get your config from your current kernel (check that hid-multitouch
> >> >>> is enabled as a module)
> >> >>> - compile, install, reboot
> >> >>
> >> >> That's where I hit a problem. It seems that the kernel on which that
> >> >> branch is based has broken cgroups support (it panics on startup).
> >> >>
> >> >> Would your patch, or a patchset be available to apply to the close to
> >> >> Linus tree Fedora rawhide kernel?
> >> >
> >> > Hi Bastien,
> >> >
> >> > Sorry for that. Attached a new version that bumps a Linus' 2.6.38-rc2
> >> > or 2.6.38-rc3 to Jiri's tree and applies the patch above.
> >> >
> >> > If it's still not working, I'll send you the files directly ;)
> >
> > The instructions didn't quite work (the PCI ID seems to be in
> > upper-case, and the tail command wasn't producing any output). I used
> > good ol' 'cat' instead. Attached is what it produced.
> 
> oops... When you say "the PCI ID seems to be in upper-case", you means
> the path of the events file, or you had to modify the patch?

The sysfs path needed upper-case, yes. I did not change the patch.

> >
> > The cursor actually follows the touch, but it seems I need to press
> > quite hard to make it work.
> 
> Is this the same with a Windows system? I don't think we made any
> assumption on the pressure.

I have no idea. I booted Windows once on this machine, when I actually
got it. I can certainly check there though.

> > Touch with 2 fingers doesn't do anything
> > different from single finger.
> 
> This is quite normal: Linux is not ready for multitouch right now ;)
> Only the kernel is ready. People are working on x.org' XInput 2.1 to
> enable multitouch in X.org, and the toolkits are following this
> development.
> 
> If you want to give a try, you can download our mt-diagnostic software
> at:  http://lii-enac.fr/en/architecture/linux-input/mtdiag.html .

That's alright. I know of the efforts, I stupidly thought that this
would behave the same way as the MacBook touchpads (eg. give me access
to a right-click).

> >
> > Let me know if you want me to test anything else. I'll try not to take
> > as long to do the testing next time, but we were working on our first
> > GNOME 3 test day.
> 
> Well, the device does not sends much relevant informations: we have to
> rebuild some informations, so the final patch will be really close to
> the one I sent last week. Once I made it, I'll ask you to test it
> before submitting it for 2.6.38 (if it's still possible).

Sure thing. I'll look for it in my mail.

Still interested in me trying out Windows for that "need to press hard"
touch?

Cheers

```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-07 17:11:51 
- Message: https://ratatoskr.run/linux-input/2011/02/8916075.md

```text
On Mon, Feb 7, 2011 at 18:04, Bastien Nocera [ref] wrote:
> On Mon, 2011-02-07 at 17:51 +0100, Benjamin Tissoires wrote:
>> Hi Bastien,
>>
>> On Sat, Feb 5, 2011 at 17:10, Bastien Nocera [ref] wrote:
>> > On Wed, 2011-02-02 at 14:20 +0100, Benjamin Tissoires wrote:
>> >> With the patch this time.... ;)
>> >>
>> >> On Wed, Feb 2, 2011 at 14:18, Benjamin Tissoires
>> >> [ref] wrote:
>> >> > On Wed, Feb 2, 2011 at 13:42, Bastien Nocera [ref] wrote:
>> >> >> On Tue, 2011-02-01 at 14:25 +0100, Benjamin Tissoires wrote:
>> >> >> <snip>
>> >> >>> First pass:
>> >> >>> - please get the branch multitouch of jiri's tree (at
>> >> >>> http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=shortlog;h=refs/heads/multitouch)
>> >> >>> - then apply the attached patch (git am
>> >> >>> 0001-hid-multitouch-Introduce-Elo-TouchSystems-2515-Intel.patch)
>> >> >>> - get your config from your current kernel (check that hid-multitouch
>> >> >>> is enabled as a module)
>> >> >>> - compile, install, reboot
>> >> >>
>> >> >> That's where I hit a problem. It seems that the kernel on which that
>> >> >> branch is based has broken cgroups support (it panics on startup).
>> >> >>
>> >> >> Would your patch, or a patchset be available to apply to the close to
>> >> >> Linus tree Fedora rawhide kernel?
>> >> >
>> >> > Hi Bastien,
>> >> >
>> >> > Sorry for that. Attached a new version that bumps a Linus' 2.6.38-rc2
>> >> > or 2.6.38-rc3 to Jiri's tree and applies the patch above.
>> >> >
>> >> > If it's still not working, I'll send you the files directly ;)
>> >
>> > The instructions didn't quite work (the PCI ID seems to be in
>> > upper-case, and the tail command wasn't producing any output). I used
>> > good ol' 'cat' instead. Attached is what it produced.
>>
>> oops... When you say "the PCI ID seems to be in upper-case", you means
>> the path of the events file, or you had to modify the patch?
>
> The sysfs path needed upper-case, yes. I did not change the patch.

ok, so my patch is clean.... yes!

>
>> >
>> > The cursor actually follows the touch, but it seems I need to press
>> > quite hard to make it work.
>>
>> Is this the same with a Windows system? I don't think we made any
>> assumption on the pressure.
>
> I have no idea. I booted Windows once on this machine, when I actually
> got it. I can certainly check there though.
>
>> > Touch with 2 fingers doesn't do anything
>> > different from single finger.
>>
>> This is quite normal: Linux is not ready for multitouch right now ;)
>> Only the kernel is ready. People are working on x.org' XInput 2.1 to
>> enable multitouch in X.org, and the toolkits are following this
>> development.
>>
>> If you want to give a try, you can download our mt-diagnostic software
>> at:  http://lii-enac.fr/en/architecture/linux-input/mtdiag.html .
>
> That's alright. I know of the efforts, I stupidly thought that this
> would behave the same way as the MacBook touchpads (eg. give me access
> to a right-click).

You won't have the right click out of the box for now. Peter Hutterer
submitted last week patches to enable right click simulation with long
press. It works well for absolute device, but you need a development
tree of Xorg... So, we will have to wait for it too. :(

>
>> >
>> > Let me know if you want me to test anything else. I'll try not to take
>> > as long to do the testing next time, but we were working on our first
>> > GNOME 3 test day.
>>
>> Well, the device does not sends much relevant informations: we have to
>> rebuild some informations, so the final patch will be really close to
>> the one I sent last week. Once I made it, I'll ask you to test it
>> before submitting it for 2.6.38 (if it's still possible).
>
> Sure thing. I'll look for it in my mail.
>
> Still interested in me trying out Windows for that "need to press hard"
> touch?

Sure, but I don't know if we will be able to solve it (I did not found
anything in the reports descriptors that add such feature).

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
```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-08 14:47:38 
- Message: https://ratatoskr.run/linux-input/2011/02/8916084.md

```text
Hi Bastien,

Can you give a try to the attached patch (it goes on top of the previous patch).
It would be great if you could play a little with mtdiag (or any other
multitouch application) and tell me if there is any problem.

Thanks,
Benjamin

On Mon, Feb 7, 2011 at 18:11, Benjamin Tissoires
[ref] wrote:
> On Mon, Feb 7, 2011 at 18:04, Bastien Nocera [ref] wrote:
>> On Mon, 2011-02-07 at 17:51 +0100, Benjamin Tissoires wrote:
>>> Hi Bastien,
>>>
>>> On Sat, Feb 5, 2011 at 17:10, Bastien Nocera [ref] wrote:
>>> > On Wed, 2011-02-02 at 14:20 +0100, Benjamin Tissoires wrote:
>>> >> With the patch this time.... ;)
>>> >>
>>> >> On Wed, Feb 2, 2011 at 14:18, Benjamin Tissoires
>>> >> [ref] wrote:
>>> >> > On Wed, Feb 2, 2011 at 13:42, Bastien Nocera [ref] wrote:
>>> >> >> On Tue, 2011-02-01 at 14:25 +0100, Benjamin Tissoires wrote:
>>> >> >> <snip>
>>> >> >>> First pass:
>>> >> >>> - please get the branch multitouch of jiri's tree (at
>>> >> >>> http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git;a=shortlog;h=refs/heads/multitouch)
>>> >> >>> - then apply the attached patch (git am
>>> >> >>> 0001-hid-multitouch-Introduce-Elo-TouchSystems-2515-Intel.patch)
>>> >> >>> - get your config from your current kernel (check that hid-multitouch
>>> >> >>> is enabled as a module)
>>> >> >>> - compile, install, reboot
>>> >> >>
>>> >> >> That's where I hit a problem. It seems that the kernel on which that
>>> >> >> branch is based has broken cgroups support (it panics on startup).
>>> >> >>
>>> >> >> Would your patch, or a patchset be available to apply to the close to
>>> >> >> Linus tree Fedora rawhide kernel?
>>> >> >
>>> >> > Hi Bastien,
>>> >> >
>>> >> > Sorry for that. Attached a new version that bumps a Linus' 2.6.38-rc2
>>> >> > or 2.6.38-rc3 to Jiri's tree and applies the patch above.
>>> >> >
>>> >> > If it's still not working, I'll send you the files directly ;)
>>> >
>>> > The instructions didn't quite work (the PCI ID seems to be in
>>> > upper-case, and the tail command wasn't producing any output). I used
>>> > good ol' 'cat' instead. Attached is what it produced.
>>>
>>> oops... When you say "the PCI ID seems to be in upper-case", you means
>>> the path of the events file, or you had to modify the patch?
>>
>> The sysfs path needed upper-case, yes. I did not change the patch.
>
> ok, so my patch is clean.... yes!
>
>>
>>> >
>>> > The cursor actually follows the touch, but it seems I need to press
>>> > quite hard to make it work.
>>>
>>> Is this the same with a Windows system? I don't think we made any
>>> assumption on the pressure.
>>
>> I have no idea. I booted Windows once on this machine, when I actually
>> got it. I can certainly check there though.
>>
>>> > Touch with 2 fingers doesn't do anything
>>> > different from single finger.
>>>
>>> This is quite normal: Linux is not ready for multitouch right now ;)
>>> Only the kernel is ready. People are working on x.org' XInput 2.1 to
>>> enable multitouch in X.org, and the toolkits are following this
>>> development.
>>>
>>> If you want to give a try, you can download our mt-diagnostic software
>>> at:  http://lii-enac.fr/en/architecture/linux-input/mtdiag.html .
>>
>> That's alright. I know of the efforts, I stupidly thought that this
>> would behave the same way as the MacBook touchpads (eg. give me access
>> to a right-click).
>
> You won't have the right click out of the box for now. Peter Hutterer
> submitted last week patches to enable right click simulation with long
> press. It works well for absolute device, but you need a development
> tree of Xorg... So, we will have to wait for it too. :(
>
>>
>>> >
>>> > Let me know if you want me to test anything else. I'll try not to take
>>> > as long to do the testing next time, but we were working on our first
>>> > GNOME 3 test day.
>>>
>>> Well, the device does not sends much relevant informations: we have to
>>> rebuild some informations, so the final patch will be really close to
>>> the one I sent last week. Once I made it, I'll ask you to test it
>>> before submitting it for 2.6.38 (if it's still possible).
>>
>> Sure thing. I'll look for it in my mail.
>>
>> Still interested in me trying out Windows for that "need to press hard"
>> touch?
>
> Sure, but I don't know if we will be able to solve it (I did not found
> anything in the reports descriptors that add such feature).
>
> Cheers,
> Benjamin
>
```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Bastien Nocera \<hadess@hadess.net\>
- Date: 2011-02-18 16:15:17 
- Message: https://ratatoskr.run/linux-input/2011/02/8916182.md

```text
On Tue, 2011-02-08 at 15:47 +0100, Benjamin Tissoires wrote:
> Hi Bastien,
> 
> Can you give a try to the attached patch (it goes on top of the previous patch).
> It would be great if you could play a little with mtdiag (or any other
> multitouch application) and tell me if there is any problem.

The patch to work well, at least for touches with a single finger. I
launched mtdiag, but I have absolutely no idea what to test with it.

Hints?

```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-18 20:03:25 
- Message: https://ratatoskr.run/linux-input/2011/02/8916185.md

```text
On Fri, Feb 18, 2011 at 17:15, Bastien Nocera [ref] wrote:
> On Tue, 2011-02-08 at 15:47 +0100, Benjamin Tissoires wrote:
>> Hi Bastien,
>>
>> Can you give a try to the attached patch (it goes on top of the previous patch).
>> It would be great if you could play a little with mtdiag (or any other
>> multitouch application) and tell me if there is any problem.
>
> The patch to work well, at least for touches with a single finger. I
> launched mtdiag, but I have absolutely no idea what to test with it.
>
> Hints?
>
>

Hi,

If you run mtdiag as root, your multitouch panel should appear with a
button "activate".
Click on activate, and it will show up a canvas in which the different
touch you made on the panel will be represented by a circle. The
bigger circle represents the mouse emulation of the device.

Cheers,
Benjamin
```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Bastien Nocera \<hadess@hadess.net\>
- Date: 2011-05-18 22:14:23 
- Message: https://ratatoskr.run/linux-input/2011/05/8916741.md

```text
Hello Benjamin,

On Fri, 2011-02-18 at 21:03 +0100, Benjamin Tissoires wrote:
> On Fri, Feb 18, 2011 at 17:15, Bastien Nocera [ref] wrote:
> > On Tue, 2011-02-08 at 15:47 +0100, Benjamin Tissoires wrote:
> >> Hi Bastien,
> >>
> >> Can you give a try to the attached patch (it goes on top of the previous patch).
> >> It would be great if you could play a little with mtdiag (or any other
> >> multitouch application) and tell me if there is any problem.
> >
> > The patch to work well, at least for touches with a single finger. I
> > launched mtdiag, but I have absolutely no idea what to test with it.
> >
> > Hints?
> >
> >
> 
> Hi,
> 
> If you run mtdiag as root, your multitouch panel should appear with a
> button "activate".
> Click on activate, and it will show up a canvas in which the different
> touch you made on the panel will be represented by a circle. The
> bigger circle represents the mouse emulation of the device.

I finally took the time to build and test those patches you sent me, on
top of the Fedora 15 kernel, and they work great. When in fullscreen,
mtdiag works as expected though the roughness of touch is probably
because my screen is dirty as hell :)

Could you please get those pushed upstream?

Thanks for the work.

Cheers

```

## Re: Elo TouchSystems touchscreen support? (04e7:0022)

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-05-19 09:31:55 
- Message: https://ratatoskr.run/linux-input/2011/05/8916743.md

```text
Hello Bastien,

On Thu, May 19, 2011 at 00:14, Bastien Nocera [ref] wrote:
> Hello Benjamin,
>
> On Fri, 2011-02-18 at 21:03 +0100, Benjamin Tissoires wrote:
>> On Fri, Feb 18, 2011 at 17:15, Bastien Nocera [ref] wrote:
>> > On Tue, 2011-02-08 at 15:47 +0100, Benjamin Tissoires wrote:
>> >> Hi Bastien,
>> >>
>> >> Can you give a try to the attached patch (it goes on top of the previous patch).
>> >> It would be great if you could play a little with mtdiag (or any other
>> >> multitouch application) and tell me if there is any problem.
>> >
>> > The patch to work well, at least for touches with a single finger. I
>> > launched mtdiag, but I have absolutely no idea what to test with it.
>> >
>> > Hints?
>> >
>> >
>>
>> Hi,
>>
>> If you run mtdiag as root, your multitouch panel should appear with a
>> button "activate".
>> Click on activate, and it will show up a canvas in which the different
>> touch you made on the panel will be represented by a circle. The
>> bigger circle represents the mouse emulation of the device.
>
> I finally took the time to build and test those patches you sent me, on
> top of the Fedora 15 kernel, and they work great. When in fullscreen,
> mtdiag works as expected though the roughness of touch is probably
> because my screen is dirty as hell :)

Great. (not your dirty screen of course ;-D )

>
> Could you please get those pushed upstream?

Will do it right now.

Cheers,
Benjamin

>
> Thanks for the work.
>
> Cheers
>
>
```
