Hi,
I have implemented the serial version of the EETI eGalaxTouch
touchscreen driver today using the Hampshire driver as a template.
I have also patched inputattach in linuxconsoletools 1.4.8 to initialize
and recognize the device.
I tested it with kernel 4.2.6 and Xorg 1.16.4 and xinput_calibrate with a stylus.
# inputattach -eeti /dev/ttyS3
EETI eGalaxTouch firmware: 1.13.3.HM-EX
EETI eGalaxTouch controller type: C8051F320
# dmesg | tail -f
...
[ 48.381613] serio: Serial port ttyS3
[ 48.388445] input: EETI eGalaxTouch Serial TouchScreen as
/devices/pnp0/00:06/tty/ttyS3/serio1/input/input9
Attached both the kernel module patch and the linuxconsoletools patch.
Can someone review these patches, please?
The kernel patch is
Signed-off-by: Zoltán Böszörményi <redacted>
No idea if the linuxconsoletools patch needs the annotation or not.
I also noticed that inputattach does not support SERIO_HAMPSHIRE
which was also added as a template in the patch.
Another note about inputattach.c in linuxconsoletools that it has
#ifdef SERIO_TSC40 ... #endif and SERIO_TSC40 is smaller, hence,
added earlier to the kernel than SERIO_WACOM_IV, for which the
support is unconditional. Isn't it a little inconsistent?
Best regards,
Zoltán Böszörményi