LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Touching Wacom tablet crashes Linux (https://www.linuxquestions.org/questions/linux-hardware-18/touching-wacom-tablet-crashes-linux-4175571470/)

tpalmerstudios 02-04-2016 09:05 PM

Touching Wacom tablet crashes Linux
 
Recently bought a Wacom Intuos Art. At first it did not work at all. "xsetwacom --list devices" showed nothing. But with a software update to linux 4.4.1 it finally worked. Now i can plug in Wacom tablet and use my finger as cursor, but when I touch the tablet with the Pen (stylus) the computer freezes. I cannot get it to unfreeze without rebooting. I have tried 4 times (gets kind of monotonous and irritating.) It happens in LXDE and GNOME. I have only tried LXDM, but I don't think that is related. Here's a copy of my /etc/X11/xorg.conf.d/52-wacom-options.conf.
Code:

/etc/X11/xorg.conf.d/52-wacom-options.conf
Section "InputClass"
    Identifier "Wacom Stylus"
    MatchDriver "wacom"
    MatchProduct "Pen"
    Option "Rotate" "none"
    Option "RawSample" "20"
    Option "PressCurve" "0,10,90,100"
EndSection
Section "InputClass"
    Identifier "Wacom Touch"
    MatchDriver "wacom"
    MatchProduct "Finger"
    Option "Rotate" "none"
    Option "ScrollDistance" "18"
    Option "TapTime" "220"
EndSection
Section "InputClass"
    Identifier "Wacom Pad"
    MatchDriver "wacom"
    MatchProduct "pad"
    Option "Gesture" "Off"
    Option "Rotate" "none"
    Option "Button1" "10"
    Option "Button2" "11"
    Option "Button3" "12"
    Option "Button4" "13"
EndSection

And Here's a copy of my /usr/share/X11/xorg.conf.d/50-wacom-options.conf
Code:

/usr/share/X11/xorg.conf.d/50-wacom-options.conf
Section "InputClass"
        Identifier "Wacom USB device class"
        MatchUSBID "056a:*"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom PnP device class"
        MatchPnPID "WACf*|WCOM*|WACM*|FUJ02e5|FUJ02e7|FUJ02e9"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom class"
        MatchProduct "Wacom|WACOM|PTK-540WL|ISD-V4|wacom"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom serial class"
        MatchProduct "Serial Wacom Tablet"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom serial class identifiers"
        MatchProduct "WACf|FUJ02e5|FUJ02e7|FUJ02e9"
        Driver "wacom"
EndSection

# Hanwang tablets
Section "InputClass"
        Identifier "Hanwang class"
        MatchProduct "Hanwang"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

# Waltop tablets
Section "InputClass"
        Identifier "Waltop class"
        MatchProduct "WALTOP|waltop|Waltop"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
        Identifier "Wacom N-Trig class"
        MatchProduct "HID 1b96:0001|N-Trig Pen|N-Trig DuoSense"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
        Option "Button2" "3"
EndSection

It may have something to do with multiple devices claiming to be a cursor at the same time. (Or at least that's what I've been told. I do have 50-synaptics.conf and 10-evdev.conf in the same directory.) Thank you for the help. If you need the output of any other files, please just ask.

tpalmerstudios 02-05-2016 09:38 AM

I love being an idiot. On the Arch page showing how to install, it shows under troubleshooting, the solution to my first problem and my second one.
Quote:

Wacom Tablet - Arch Linux Install Guide
Unknown device_type

If your tablet does not get recognized by xsetwacom and dmesg complains about an unknown device_type, then you need to install a patched version of input-wacom.

Download and install the for-4.4 branch from SourceForge. Your device should be recognized after you run

# rmmod wacom
# insmod /lib/modules/YOUR_KERNEL/extra/wacom.ko.gz

System freeze

If your system freezes when your tablet gets activated by the stylus, then you will need to patch your kernel with the patch from LKML.
I hope this helps someone. I will attempt to patch my kernel now.

mclavey 02-18-2016 10:43 AM

After you got it working ... did it do anything useful ... I have one and it kinda works after I installed Kernel 4.5.0 ... but not well enought to keep using it in linux...
It works wonderful in windows but it sure is a coffee cup coaster with linux!

tpalmerstudios 02-18-2016 11:15 AM

What is the problem under the new kernel? I am using version 4.4.1 and it works beautifully with GIMP. I have not set up the buttons yet and I do not know if it works in other programs... I set it up specifically with GIMP. If it crashes when you touch it with stylus, I have a blog entry here

mclavey 02-19-2016 12:21 PM

If you try it in windows ... you will discover that it has the capability to be a full function track pad and a pen pad. Why does linux strangle it and turn it into a coffee coaster.
This is the last straw in My struggle with linux ....
It is back to window for me.

tpalmerstudios 02-19-2016 12:41 PM

Did you check out my blog post? It shows you how to set up the kernel to work. It should take less than an hour... I had to install xf86-input-wacom too.

mclavey 03-02-2016 12:14 PM

Finaly got it working ... a fresh install of Korora Gnome... then installed the rawhide 4.5 kernel, and to my great joy, the tablet works perfectly .... not the same as in windows, but it work very well as a tablet and a pen pad ...
The only tweek it needs is to increase the finger touch speed.

for wireless :
xinput --set-prop "Wacom Intuos PT S 2 (WL) Finger" "libinput Accel Speed" 1.0


for wired connection :

$ xinput --set-prop "Wacom Intuos PT S 2 Finger" "libinput Accel Speed" 1 #or any value between 0 and 1

it seem the speed can not be set faster that "1" but that makes it very comfortable :)


All times are GMT -5. The time now is 10:18 AM.