admiralakber / thinkpad-yoga-scripts

Thinkpad Yoga S1 scripts for GNU/Linux

Home Page:http://blog.admiralakber.com/?p=400

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proximity detection doesn't work on Thinkpad Yoga 12 with Ubuntu 15.04: no ELAN touchscreen found by xinput

sjjh opened this issue · comments

commented

The systemd script is running nevertheless finger touch input is still recognised while the digitiser is active. Finger input then takes precedence of the digitiser (you can notice a jumping mouse courser).

simon@laptop:~$ systemctl | grep wacom
wacom-proximity@simon.service                                                             loaded active     running      [ThinkPad Yoga] Wacom digitizer proximity detection
system-wacom\x2dproximity.slice                                                           loaded active     active       system-wacom\x2dproximity.slice

Runnig the script from command line I recognise following error message:

simon@laptop:~$ /opt/thinkpad-yoga-scripts/wacom/thinkpad-yoga-prox.sh 
unable to find device ELAN Touchscreen

xinput does only know following devices:

simon@laptop:~$ xinput --list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Touch Digitizer V04   id=9    [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 EC Pen stylus                 id=11   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 EC Pen eraser                 id=16   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Power Button                                id=8    [slave  keyboard (3)]
    ↳ Integrated Camera                           id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=12   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                      id=15   [slave  keyboard (3)]

As described above the touch screen is working. Anything else I can do to debug the issue?

commented

With the help of http://ubuntuforums.org/showthread.php?t=2270774 I found out that the touch screen now is called SYNAPTICS Synaptics Touch Digitizer V04. I thus changed the script accordingly and it now works.
I'm not sure what the best way is to provide a generic solution. I would be happy if you could add the support for the other touch screen.