You are not logged in.

#1 2014-11-22 21:40:02

yuvadm
Member
From: Tel Aviv-Jaffa, Israel
Registered: 2012-08-08
Posts: 89
Website

Setting scroll on an ELAN touchscreen

On a brand new and fully updated Arch installation, I'm working on supporting the following touchscreen:

Bus 001 Device 005: ID 04f3:024b Elan Microelectronics Corp.

It appears to be identified correctly by evdev:

Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/event6)
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) ELAN Touchscreen: Applying InputClass "evdev touchscreen catchall"
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) Using input driver 'evdev' for 'ELAN Touchscreen'
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) ELAN Touchscreen: always reports core events
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) evdev: ELAN Touchscreen: Device: "/dev/input/event6"
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (--) evdev: ELAN Touchscreen: Vendor 0x4f3 Product 0x24b
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (--) evdev: ELAN Touchscreen: Found absolute axes
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (--) evdev: ELAN Touchscreen: Found absolute multitouch axes
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) evdev: ELAN Touchscreen: No buttons found, faking one.
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (--) evdev: ELAN Touchscreen: Found x and y absolute axes
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (--) evdev: ELAN Touchscreen: Found absolute touchscreen
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) evdev: ELAN Touchscreen: Configuring as touchscreen
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) evdev: ELAN Touchscreen: YAxisMapping: buttons 4 and 5
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) evdev: ELAN Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.0/0003:04F3:024B.0001/input/input7
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) XINPUT: Adding extended input device "ELAN Touchscreen" (type: TOUCHSCREEN, id 11)
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) evdev: ELAN Touchscreen: initialized for absolute axes.
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) ELAN Touchscreen: (accel) keeping acceleration scheme 1
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) ELAN Touchscreen: (accel) acceleration profile 0
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) ELAN Touchscreen: (accel) acceleration factor: 2.000
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (**) ELAN Touchscreen: (accel) acceleration threshold: 4
Nov 22 22:26:40 boing gdm-Xorg-:1[922]: (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/mouse0)

This is all from default behavior with no special configs.

Current behavior is that clicking works well, but scrolling doesn't work at all. I would like to change the default behavior to never click anything, and always scroll. Or even better, to only click, but scroll when dragging around (instead of marking text).

I would also like to hide the virtual keyboard that pops up.

Can anyone point me to prior art in this case? Or help me get this configuration? Thanks!

Offline

#2 2014-12-10 18:23:06

yuvadm
Member
From: Tel Aviv-Jaffa, Israel
Registered: 2012-08-08
Posts: 89
Website

Re: Setting scroll on an ELAN touchscreen

From looking at https://bugs.launchpad.net/ubuntu/+sour … ug/1084938 it seems xinput doesn't support scroll emulation at all for evdev touch events.

Can anyone confirm (or better, deny) this?

Offline

Board footer

Powered by FluxBB