[solved] X201 tablet not working in Mint 17 Cinnamon x64

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
ralienpp
Level 1
Level 1
Posts: 16
Joined: Tue Dec 03, 2013 6:25 am
Location: Moldova
Contact:

[solved] X201 tablet not working in Mint 17 Cinnamon x64

Post by ralienpp »

This laptop has a screen that is sensitive to touch as well as a stylus. If I go to the Graphics tablet item in settings - it says there are no tablets detected. However, I used to run Linux Mint Olivia x64 with Cinnamon, and the tablet worked out of the box.


My feeling is that the OS is not detecting this device:

Code: Select all

xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	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)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=14	[slave  keyboard (3)]

Code: Select all

lsmod
Module                  Size  Used by
rfcomm                 34305  18 
bnep                   11062  2 
snd_bcm2835            19584  0 
btusb                  16158  0 
snd_soc_bcm2708_i2s     6202  0 
regmap_mmio             2818  1 snd_soc_bcm2708_i2s
snd_soc_core          127841  1 snd_soc_bcm2708_i2s
snd_compress            8259  1 snd_soc_core
regmap_i2c              1661  1 snd_soc_core
snd_pcm_dmaengine       5505  1 snd_soc_core
regmap_spi              1913  1 snd_soc_core
bluetooth             230452  26 bnep,btusb,rfcomm
rfkill                 19784  2 bluetooth
snd_pcm                83845  3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc          5132  1 snd_pcm
snd_seq                55484  0 
snd_seq_device          6469  1 snd_seq
snd_timer              20998  2 snd_pcm,snd_seq
leds_gpio               2079  0 
led_class               4118  1 leds_gpio
snd                    62252  7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
There is no wacom module loaded either, so maybe this is related to the issue.


Which troubleshooting steps are recommended?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by PatH57 »

Hi,
let's first see your total hw and drivers:

Code: Select all

sudo inxi -U

Code: Select all

inxi -Fxz

Code: Select all

lspci

Code: Select all

lsusb
User avatar
ralienpp
Level 1
Level 1
Posts: 16
Joined: Tue Dec 03, 2013 6:25 am
Location: Moldova
Contact:

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by ralienpp »

Thank you for the fast reply. Having sifted the output of these tools, I found no tablet-related entries....

Code: Select all

lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
02:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

Code: Select all

lsusb
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 17ef:4816 Lenovo 
Bus 001 Device 004: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The tablet is not listed there, but nor was it listed there in the past - it is not connected to USB, it uses another bus - thus I think `lsusb` should be used with a grain of salt here (-:

Code: Select all

inxi -Fxz
System:    Host: ralien Kernel: 3.13.0-24-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: Cinnamon 2.2.16 (Gtk 3.10.8~3+qiana) Distro: Linux Mint 17 Qiana
Machine:   System: LENOVO product: 0831CTO v: ThinkPad X201 Tablet
           Mobo: LENOVO model: 0831CTO Bios: LENOVO v: 6QET70WW (1.40 ) date: 10/11/2012
CPU:       Dual core Intel Core i7 L 640 (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8512
           clock speeds: max: 2134 MHz 1: 1199 MHz 2: 1199 MHz 3: 1199 MHz 4: 1199 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: X.Org 1.15.1 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.0hz, 1920x1080@60.0hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 10.1.0 Direct Rendering: Yes
Audio:     Card Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k3.13.0-24-generic
Network:   Card-1: Intel 82577LM Gigabit Network Connection driver: e1000e v: 2.3.2-k port: 1820 bus-ID: 00:19.0
           IF: eth0 state: down mac: <filter>
           Card-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: in-tree: bus-ID: 02:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 1000.2GB (63.4% used) ID-1: /dev/sda model: ST1000LM014 size: 1000.2GB temp: 43C
Partition: ID-1: / size: 30G used: 5.7G (21%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 881G used: 585G (70%) fs: ext4 dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 62.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: 6225
Info:      Processes: 236 Uptime: 8 days Memory: 4180.5/7781.3MB Init: Upstart runlevel: 2 Gcc sys: 4.8.2
           Client: Shell (bash 4.3.111) inxi: 2.2.6 
PatH57

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by PatH57 »

should actually work right away.
check synaptic (package manager) if this is installed:
-xserver-xorg-input-wacom
-libwacom2
-libwacom-common
User avatar
ralienpp
Level 1
Level 1
Posts: 16
Joined: Tue Dec 03, 2013 6:25 am
Location: Moldova
Contact:

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by ralienpp »

All of them are present, I checked via synaptic, and this way too:

Code: Select all

dpkg -l | grep wacom
ii  libwacom-common                             0.8-1                                               all          Wacom model feature query library (common files)
ii  libwacom2:amd64                             0.8-1                                               amd64        Wacom model feature query library
ii  xserver-xorg-input-wacom                    1:0.23.0-0ubuntu2                                   amd64        X.Org X server -- Wacom input driver
PatH57

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by PatH57 »

what happens when you try:

Code: Select all

sudo modprobe wacom
User avatar
ralienpp
Level 1
Level 1
Posts: 16
Joined: Tue Dec 03, 2013 6:25 am
Location: Moldova
Contact:

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by ralienpp »

It loads the module, I see that by running lsmod again:

Code: Select all

lsmod | grep wacom
wacom                  62856  0 
wacom_w8001            12982  0 
The tablet still does not react to touch or the stylus; the "Graphics tablet" tool in "Settings" still says no tablets detected.
PatH57

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by PatH57 »

just an idea, does it work if you boot from the installation media in live mod?
you may have to add the wacom mod
User avatar
ralienpp
Level 1
Level 1
Posts: 16
Joined: Tue Dec 03, 2013 6:25 am
Location: Moldova
Contact:

[solved]Lenovo X201 tablet not working in Linux Mint 17 Cinn

Post by ralienpp »

Having experimented a little bit - I discovered that it works after a fresh boot, but it doesn't work after resuming from a suspended state.

The reason I did not reveal that until now is because I was sleeping/waking the machine for several weeks now; your suggestion to try the liveCD made me go through a power cycle.

What is causing it?


-------------
Some digging brought me to this: https://bugs.launchpad.net/ubuntu/+sour ... omments/34


Solution:

Code: Select all

Step 1:
Since the wacom input is setup using udev, if you run the following command “udevadm trigger –action=change” the stylus should work immediately.

Step 2:
To automate Step 1 create a text file in “/etc/pm/sleep.d” and have its contents contain the following
------------------------------------------------------------
#!/bin/sh
# Fix to restart wacom drivers after suspend
case "${1}" in
    resume|thaw)
  udevadm trigger --action=change
  ;;
esac

------------------------------------------------------------
Don't forget to mark this file as executable.

I hope this helps other people too.
Last edited by ralienpp on Fri Sep 19, 2014 8:48 am, edited 1 time in total.
PatH57

Re: Lenovo X201 tablet not working in Linux Mint 17 Cinnamon

Post by PatH57 »

god I'm so glad, I was loosing hope.
This is a known issue and there seems to be a couple of wrokarounds.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1275416
Locked

Return to “Hardware Support”