I wrote a custom touchscreen driver and was successfully able to start the driver using
inputattach and see touchscreen data with
printk, but my mouse is still not moving. My assumption is that it requires setup with X11 as well.
The Xorg.0.log reports the following:
[ 38.639] (II) config/udev: Adding input device Mitsubishi Serial TouchScreen (/dev/input/event4)
[ 38.639] (II) No input driver specified, ignoring this device.
[ 38.639] (II) This device may have been added with another device file.
My xorg config file is as follows:
Section "InputClass" Identifier "evdev touchscreen catchall" MatchDevicePath "/dev/input/event*" MatchIsTouchscreen "on" Driver "evdev" EndSection
My driver is named 'mitsubishi', but my assumption is that xorg is looking for an input driver to read in the events output by my driver and is only concerned with the /dev/input/event path.
xinput shows the following which does not include my touchscreen:
Virtual core pointer id=2 [master pointer (3)] Virtual core XTEST pointer id=4 [slave pointer (2)] ImPS/2 Generic Wheel Mouse id=9 [slave pointer (2)] Virtual core keyboard id=3 [master keyboard (2)] Virtual core XTEST keyboard id=5 [slave keyboard (3)] Power Button id=6 [slave keyboard (3)] Power Button id=7 [slave keyboard (3)] AT Translated Set 2 keyboard id=8 [slave keyboard (3)]
With the current state of my system, I am able to use
tail -f /var/log/kern.log to see the touchscreen data, but do not get any response from the UI.
Any suggestions on what to do with the xorg file or if the xorg is even required to move the mouse?