I recently bought a second hand ELO et1940L touchscreen and the driver NixOS was using by default was not working. So I looked if someone made a driver on NixOS for it and no. So I ported this driver to NixOS. They are really stupid drivers, they just use really old stuff. I just made it with Claude. I do not really care about your opinion if you do not like that I used Claude for it. The driver does not come with any errors and works fully on my touchscreen. I have not tested PCAP on it, only SAW, so possibly PCAP does not work. I just wanted to post the driver here, so if someone else needs a driver for this thingy, they do not need to port it themselves. I will not upstream it to nixpkgs, because also my other driver (for a printer) was never reviewed (I did the pull request in april) and I do not want to go through the hassle of doing a pull request again and waiting for nothing.
You can get it from my nix config here. And you can import it like this in your configuration.nix for example:
imports = [ ./pkgs/elo-mt-usb-driver/module.nix ];
services.elo-mt-usb = {
enable = true;
mode = āmtdigitizerā; # or āstdigitizerā / āabsmouseā, see module.nix
configText = āā
# Elo touch driver preset configuration
#FOR VID=03eb PID=8a6e SN=<your-serial> SET INT_NUM=2
āā;
};