I have two LCDs with Xorg xinerama function. Each LCD screen is equipped with a touch screen that is connected to the corresponding USB lines.
Looking at the file '/ var / log / messages', I see the following:
kernel: input: Analog Resistive as /class/input/input0 kernel: input: USB HID v1.01 Mouse [Analog Resistive] on usb-0000:00:1d.3-1 kernel: input: Analog Resistive as /class/input/input1 kernel: input: USB HID v1.01 Mouse [Analog Resistive] on usb-0000:00:1d.3-2
For some reason, at some point, the USB bus looks like reset (or something strange), and my two touch screens are upside down (press the left LCD and the mouse moves to the right, and if I click on the right LCD -Display mouse moves to the left).
To try and debug the problem, I tried to write a udev rule to register when my devices get reset / disconnected (or something else). But it seems that udev will report full information (product, manufacturer, idProduct, idVendor, etc.) on the device, when it connects, but when removed, it does not give anything but a few bus numbers. Why is this?
When I get ACTION == "remove", KERNEL == "input *" rule, I don’t know what device it is! Does anyone know about this?
Jeach source share