Package: xinput-calibrator Version: 0.7.5+git20140201-1 Severity: wishlist User: p...@hungry.com Usertags: appstream-modalias
Hi. The xinput-calibrator package is one of the packages in the Debian archive that should be proposed for installation when a given hardware dongle is inserted or available. Thanks to the appstream system, this can now be announced in a way other tools can use and act on. I've written the isenkram system to ask the current user if hardware specific packages should be installed when a new dongle is installed or already present on a machine, and isenkram now uses appstream as one source for hardware to package mappings. You can read more about this on my blog, <URL: http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html >. Instructions on how to create the metadata XML file can be found in <URL: https://wiki.debian.org/AppStream/Guidelines#Announcing_supported_hardware >. There is also <URL: https://wiki.debian.org/USB/GadgetSetup > with hints on how to set up udev rules. It would be great if you could add an appstream metainfo file to the xinput-calibrator package, with content similar to this: <?xml version="1.0" encoding="UTF-8"?> <component> [...] <provides> <modalias>lkmodule:usbtouchscreen</modalias> <modalias>usb:v0EEFp0001d*</modalias> </provides> </component> This should suggest xinput-calibrator when the linux kernel module usbtouchscreen is loaded or when eGalax touch screen is present on the USB bus. I do not know the package enough to know if it only should look for the kernel module, or if it make sense to also look for individual USB IDs. I did test on a machine with the touch screen connected via USB, and xinput_calibrator worked fine. :) If there are other hardware ids or kernel modules also supported by the package, please add those too. :) -- Happy hacking Petter Reinholdtsen