<html><head></head><body><div class="ydpc5e68af8yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div class="ydpb58e2fa7yqt0446372401" id="ydpb58e2fa7yqtfd14881"> On Friday, October 11, 2019, 3:33:52 PM PDT, Peter Hutterer <<a shape="rect" href="mailto:peter.hutterer@who-t.net" rel="nofollow" target="_blank">peter.hutterer@who-t.net</a>> wrote: <br clear="none">> the headers may have shuffled things around a bit - without knowing your <br clear="none">> source code I can't really comment on what has changed for you. but I <br clear="none">> don't expect there to be anything that's not resolved by including some <br clear="none">> standard headers.<br clear="none"><br clear="none">It might work by working on the code, I do get a valid shared library that seems to load, but it is pretty ugly how it is and will take some time to get it working, IMO. I'm not clear on how much exactly, but it would be better to create a new one. This is a point of sale devices, and really doesn't need to do too much. AFAIK, all the other devices are USB touchscreens. This one is a serial.<br clear="none"><br clear="none">> drivers register a file descriptor that is added to the server's <br clear="none">> internal poll() call. When data is available, your callback is invoked <br clear="none">> and you can process data. For the most part you don't really need to <br clear="none">> care about the input thread within the driver, it's largely handled by <br clear="none">> the server anyway.<br clear="none"><br clear="none">That answers about the polling, I didn't think I needed to do that like a USB driver.<br clear="none"><br clear="none">I've abandoned using the synaptics driver, it doesn't do too much for me other than call the serial. I think I've narrowed a start to:<br clear="none"><br clear="none"> xf86-input-void - <a shape="rect" href="https://gitlab.freedesktop.org/xorg/driver/xf86-input-void" rel="nofollow" target="_blank">https://gitlab.freedesktop.org/xorg/driver/xf86-input-void</a><br clear="none"><br clear="none">or<br clear="none"><br clear="none">xf86-input-evdev -  <a shape="rect" href="https://gitlab.freedesktop.org/xorg/driver/xf86-input-evdev" rel="nofollow" target="_blank">https://gitlab.freedesktop.org/xorg/driver/xf86-input-evdev</a><br clear="none"><br clear="none">I do have my device listed in /proc/bus/devices and it points me to the event, and I checked and see the kernel has the needed CONFIG_INPUT_EVDEV, and that would make me lean towards the xf86-input-evdev sources as a start, which I think they were intended to be.<br clear="none"><br clear="none">> and an early-enough version doesn't have the fancy <br clear="none">> bits the current driver has to split into subdevices etc.<br clear="none"><br clear="none"><div>When you say subdevices, in the evdev it has a middle button, third button, wheel, etc...is that what you're saying to avoid? Or are you talking about a keyboard, mouse, touchscreen type driver? (if such exists, I think it does)<span></span></div><div dir="ltr" data-setdir="false"><br><div dir="ltr" data-setdir="false">Thanks for your help.</div><div dir="ltr" data-setdir="false"><br></div></div><div dir="ltr" data-setdir="false"><span></span></div>Alan</div></div></body></html>