Step 1. First of all, unplug the sensor and plug it in again. Perform dmesg command in your shell. The output should look similar to this:
[1240352.344525] usb 1-1.3: New USB device found, idVendor=1536, idProduct=0101, bcdDevice= 2.00 [1240352.344548] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [1240352.344565] usb 1-1.3: Product: Touch Sensor Module 122 [1240352.344581] usb 1-1.3: Manufacturer: Neonode [1240352.344596] usb 1-1.3: SerialNumber: 1.7.2 [1240352.361097] input: Neonode Touch Sensor Module 122 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1536:0101.0003/input/input8 [1240352.362045] hid-multitouch 0003:1536:0101.0003: input,hiddev96,hidraw0: USB HID v1.11 Device [Neonode Touch Sensor Module 122] on usb-3f9 80000.usb-1.3/input0
It is very important that you can detect the lines in bold above. This indicates correct initiation of the sensor in your OS. If you don't see these lines contact Neonode Support for further assistance.
Step 2. Install Python module evdev: [pip install evdev] For more information see https://python-evdev.readthedocs.io/en/latest/usage.html
Step 3. Run evdev module test program: [python - m evdev.test] This program will give a list of devices connected to the computer. You need to choose the correct device to follow/trace. Example of the output:
1 /dev/input/event1 Neonode Touch Sensor Module 122 usb-3f980000.usb-1.3/input0 1.7.2 => in this case choose number 1.
Step 4. Perform touches. You should see touch notifications in the output window:
Select devices [0-1]: 1 Listening for events (press ctrl-c to exit) ... time 1654261639.987592 type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0 time 1654261639.987592 type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 20211 time 1654261639.987592 type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 13697 time 1654261639.987592 type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 70 time 1654261639.987592 type 3 (EV_ABS), code 49 (ABS_MT_TOUCH_MINOR), value 70 time 1654261639.987592 type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1 time 1654261639.987592 type 3 (EV_ABS), code 0 (ABS_X), value 20211 time 1654261639.987592 type 3 (EV_ABS), code 1 (ABS_Y), value 13697 time 1654261639.987592 type 4 (EV_MSC), code 5 (MSC_TIMESTAMP), value 0 time 1654261639.987592 --------- SYN_REPORT -------- time 1654261639.997582 type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 20318 time 1654261639.997582 type 3 (EV_ABS), code 0 (ABS_X), value 20318 time 1654261639.997582 type 4 (EV_MSC), code 5 (MSC_TIMESTAMP), value 9800 time 1654261639.997582 --------- SYN_REPORT -------- time 1654261640.007575 type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 20425 time 1654261640.007575 type 3 (EV_ABS), code 0 (ABS_X), value 20425 time 1654261640.007575 type 4 (EV_MSC), code 5 (MSC_TIMESTAMP), value 19500 time 1654261640.007575 --------- SYN_REPORT -------- time 1654261640.017549 type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 time 1654261640.017549 type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0 time 1654261640.017549 type 4 (EV_MSC), code 5 (MSC_TIMESTAMP), value 29300 time 1654261640.017549 --------- SYN_REPORT --------
If you don't see any notifications contact Neonode Support for further assistance.
|