# \[RFC\] Port of hid-egalax to the unified hid-multitouch driver

- From: Richard Nauber \<hidden\>
- Date: 2011-03-06 13:24:56 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/03/8916263
- Thread: https://ratatoskr.run/linux-input/2011/03/8916263/t.md

```text
Hi everyone,
I wrote this little patch that merges hid-egalax into hid-multitouch.
(It applies to 2.6.38-rc7, but I can rebase it as you please...) The
latter driver has to gain a new quirk type (MT_QUIRK_EGALAX) for fixing
the reported ranges (X,Y and Z) and work around the corrupt packet
length (td->last_field_index).
With these changes it works like a charm for my Samsung MB30
touchscreen and by the way fixes the broken suspend/resume behavior.

So I'd like you to test it for other egalax devices and give me your
feedback on this patch.

Thanks and Greetings,
Richard

  [input-hid] Add hid-egalax driver to the unified hid-multitouch
    framework.

 drivers/hid/Kconfig          |    9 +-
 drivers/hid/Makefile         |    1 -
 drivers/hid/hid-egalax.c     |  279
------------------------------------------
 drivers/hid/hid-multitouch.c |   48 +++++++-
 4 files changed, 47 insertions(+), 290 deletions(-)
 delete mode 100644 drivers/hid/hid-egalax.c



```
