I have a touchscreen that seems to not work as touchscreen, only as mouse, when running evtest, it doesn't give out any events on the touchscreen event device. When I choose event4, no output, event5 works:
xorg is configured to use the mouse device instead of touchscreen, but scrolling is not working. Is there a way to:
a) make the display work in touchscreen mode?
b) make xorg support scrolling when the display is in mouse mode?
xorg is configured to use the mouse device instead of touchscreen, but scrolling is not working. Is there a way to:
a) make the display work in touchscreen mode?
b) make xorg support scrolling when the display is in mouse mode?
Code:
root@pi(rw):/root# evtestNo device specified, trying to scan all of /dev/input/event*Available devices:/dev/input/event0: Lite-On Technology Corp HP USB Slim Keyboard - Skylab EU/dev/input/event1: Lite-On Technology Corp HP USB Slim Keyboard - Skylab EU Consumer Control/dev/input/event2: Lite-On Technology Corp HP USB Slim Keyboard - Skylab EU System Control/dev/input/event3: Lite-On Technology Corp HP USB Slim Keyboard - Skylab EU/dev/input/event4: HID TOUCH HID Touch Panel Touchscreen/dev/input/event5: HID TOUCH HID Touch Panel MouseSelect the device event number [0-5]: 5Input driver version is 1.0.1Input device ID: bus 0x3 vendor 0x1bfd product 0x1568 version 0x101Input device name: "HID TOUCH HID Touch Panel Mouse"Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 272 (BTN_LEFT) Event code 273 (BTN_RIGHT) Event code 274 (BTN_MIDDLE) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 3031 Min 0 Max 4095 Event code 1 (ABS_Y) Value 2749 Min 0 Max 4095 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN)Properties:Testing ... (interrupt to exit)Event: time 1707131053.957724, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001Event: time 1707131053.957724, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1Event: time 1707131053.957724, type 3 (EV_ABS), code 0 (ABS_X), value 2620Event: time 1707131053.957724, type 3 (EV_ABS), code 1 (ABS_Y), value 2295Event: time 1707131053.957724, -------------- SYN_REPORT ------------Event: time 1707131053.973738, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001Event: time 1707131053.973738, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0Event: time 1707131053.973738, -------------- SYN_REPORT ------------Event: time 1707131056.814114, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001Event: time 1707131056.814114, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1Event: time 1707131056.814114, type 3 (EV_ABS), code 0 (ABS_X), value 3226Event: time 1707131056.814114, type 3 (EV_ABS), code 1 (ABS_Y), value 1899Event: time 1707131056.814114, -------------- SYN_REPORT ------------Event: time 1707131056.846149, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001Event: time 1707131056.846149, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0Event: time 1707131056.846149, -------------- SYN_REPORT ------------
Code:
[ 13.592] (II) config/udev: Adding input device HID TOUCH HID Touch Panel Touchscreen (/dev/input/event4)[ 13.592] (**) HID TOUCH HID Touch Panel Touchscreen: Applying InputClass "evdev ico screen"[ 13.592] (II) Using input driver 'evdev' for 'HID TOUCH HID Touch Panel Touchscreen'[ 13.660] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 29 paused 0[ 13.660] (**) HID TOUCH HID Touch Panel Touchscreen: always reports core events[ 13.660] (**) evdev: HID TOUCH HID Touch Panel Touchscreen: Device: "/dev/input/event4"[ 13.660] (--) evdev: HID TOUCH HID Touch Panel Touchscreen: Vendor 0x1bfd Product 0x1568[ 13.660] (--) evdev: HID TOUCH HID Touch Panel Touchscreen: Found absolute axes[ 13.660] (--) evdev: HID TOUCH HID Touch Panel Touchscreen: Found x and y absolute axes[ 13.660] (--) evdev: HID TOUCH HID Touch Panel Touchscreen: Found absolute tablet.[ 13.660] (II) evdev: HID TOUCH HID Touch Panel Touchscreen: Configuring as tablet[ 13.660] (**) evdev: HID TOUCH HID Touch Panel Touchscreen: YAxisMapping: buttons 4 and 5[ 13.660] (**) evdev: HID TOUCH HID Touch Panel Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200[ 13.660] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:1BFD:1568.0003/input/input4/event4"[ 13.660] (II) XINPUT: Adding extended input device "HID TOUCH HID Touch Panel Touchscreen" (type: TABLET, id 10)[ 13.661] (II) evdev: HID TOUCH HID Touch Panel Touchscreen: initialized for absolute axes.[ 13.661] (**) HID TOUCH HID Touch Panel Touchscreen: (accel) keeping acceleration scheme 1[ 13.661] (**) HID TOUCH HID Touch Panel Touchscreen: (accel) acceleration profile 0[ 13.661] (**) HID TOUCH HID Touch Panel Touchscreen: (accel) acceleration factor: 2.000[ 13.661] (**) HID TOUCH HID Touch Panel Touchscreen: (accel) acceleration threshold: 4[ 13.661] (**) Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"[ 13.665] (II) config/udev: Adding input device HID TOUCH HID Touch Panel Touchscreen (/dev/input/mouse0)[ 13.666] (II) No input driver specified, ignoring this device.[ 13.666] (II) This device may have been added with another device file.[ 13.674] (II) config/udev: Adding input device HID TOUCH HID Touch Panel Mouse (/dev/input/event5)[ 13.674] (**) HID TOUCH HID Touch Panel Mouse: Applying InputClass "evdev ico screen"[ 13.674] (II) Using input driver 'evdev' for 'HID TOUCH HID Touch Panel Mouse'[ 13.676] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 30 paused 0[ 13.676] (**) HID TOUCH HID Touch Panel Mouse: always reports core events[ 13.676] (**) evdev: HID TOUCH HID Touch Panel Mouse: Device: "/dev/input/event5"[ 13.676] (--) evdev: HID TOUCH HID Touch Panel Mouse: Vendor 0x1bfd Product 0x1568[ 13.676] (--) evdev: HID TOUCH HID Touch Panel Mouse: Found 3 mouse buttons[ 13.676] (--) evdev: HID TOUCH HID Touch Panel Mouse: Found absolute axes[ 13.676] (--) evdev: HID TOUCH HID Touch Panel Mouse: Found x and y absolute axes[ 13.676] (--) evdev: HID TOUCH HID Touch Panel Mouse: Found absolute touchscreen[ 13.677] (II) evdev: HID TOUCH HID Touch Panel Mouse: Configuring as touchscreen[ 13.677] (**) evdev: HID TOUCH HID Touch Panel Mouse: YAxisMapping: buttons 4 and 5[ 13.677] (**) evdev: HID TOUCH HID Touch Panel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200[ 13.677] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:1BFD:1568.0003/input/input5/event5"[ 13.677] (II) XINPUT: Adding extended input device "HID TOUCH HID Touch Panel Mouse" (type: TOUCHSCREEN, id 11)[ 13.677] (II) evdev: HID TOUCH HID Touch Panel Mouse: initialized for absolute axes.[ 13.677] (**) HID TOUCH HID Touch Panel Mouse: (accel) keeping acceleration scheme 1[ 13.677] (**) HID TOUCH HID Touch Panel Mouse: (accel) acceleration profile 0[ 13.677] (**) HID TOUCH HID Touch Panel Mouse: (accel) acceleration factor: 2.000[ 13.677] (**) HID TOUCH HID Touch Panel Mouse: (accel) acceleration threshold: 4
Statistics: Posted by ganzgustav22 — Mon Feb 05, 2024 11:11 am