View previous topic :: View next topic |
Author |
Message |
GenProm Tux's lil' helper
Joined: 18 Aug 2011 Posts: 100 Location: Germany
|
Posted: Sun Feb 09, 2014 2:34 pm Post subject: Howto get "Wacom Intuos Pen and Touch Small" CTH-4 |
|
|
Hi
I bought myself a Wacom Intuos Pen and Touch Small, the new one who are sold since 2013. The model number is CTH-480.
Amazon link: http://www.amazon.com/Wacom-Intuos-Touch-Small-Tablet/dp/B00EN27U9U/ref=sr_1_1?ie=UTF8&qid=1391953941&sr=8-1&keywords=wacom
What works:
- Express-keys
- Touchpad
- Drawing/writing with the pen
- Remapping the expresskeys
- Pressure sensitivity
Here is how i did get it to work
1. As this wacom is fairly new it is not supported by the kernel yet. (3.13 or 3.14 will include kernelside support).
2. The libs in xorg are fairly up to date but needs some tweaking.
3. Some KDE programms need tweaking to support the configuration of the tablet
4. Some configs
5. End Notes
So lets start:
Update the Xorg drivers:
- We will need x11-drivers/xf86-input-wacom at least in version 0.23, luckily this is already in portage, so just accept the amd64 keyword and emerge it.
- Also we need dev-libs/libwacom in version 0.8. Sadly this is not in portage yet. Download it from sourceforge and put it into /var/portage/distfiles/
Now create a local overlay and put this libwacom-0.8.ebuild into it.
Code: |
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libwacom/libwacom-0.8.ebuild,v 1.9 2013/09/26 17:31:24 ago Exp $
EAPI=4
inherit eutils udev
DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
HOMEPAGE="http://linuxwacom.sourceforge.net/"
SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
IUSE="doc static-libs"
RDEPEND="dev-libs/glib:2
virtual/udev[gudev]"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )"
src_prepare() {
if ! use doc; then
sed -e 's:^\(SUBDIRS = .* \)doc:\1:' -i Makefile.in || die "sed failed"
fi
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
local udevdir="$(udev_get_udevdir)"
dodir "${udevdir}/rules.d"
# generate-udev-rules must be run from inside tools directory
pushd tools > /dev/null
./generate-udev-rules > "${ED}/${udevdir}/rules.d/65-libwacom.rules" ||
die "generating udev rules failed"
popd > /dev/null
use doc && dohtml -r doc/html/*
prune_libtool_files
}
|
Then emerge it. Rebuild all of your Xorg packages and do a world update.
Configure your kernel
Configure this as modules, as it will be later replaced by the working module version:
Device Drivers --->
Input device support --->
<*> Event interface
USB Support --->
<M> Wacom Intuos/Graphire tablet support
[*] Tablets --->
<M> Wacom Intuos/Graphire tablet support (USB)
Rebuild the kernel.
Now download this: http://sourceforge.net/projects/linuxwacom/files/xf86-input-wacom/input-wacom/ take the 0.20 one.
Download and extract. Then execute configure inside and replace the wacom kernel module with the new one you just built.
Sometimes it is necessary to include "wacom" into the modules list for booting.
Pimp KDE-Wacom.
Install the KDE systemsettings module for tablets.
Now add the tablet config to /usr/share/apps/wacomtablet/data/wacom_devicelist from the config section. Now you are good to go and the applet will work. (No default profile error is solved)
The configs you need
52.wacom.rules for udev:
Code: |
# udev rules for wacom tablets.
#
# These rules were compiled for the Arch Linux distribution,
# (strongly based on rules for Debian GNU/Linux)
# In our version, names built after information in driver to match
# information given by xinput --list. We use simpler mapping rules:
# 1. we convert the device string to lowercase and convert spaces to hyphen
# 2. we convert string "wacom" to "input/tablet"
# 3. we convert string "isdv4" to "tpc"
# 4. we mark bluetooth devices by adding "-bt" at end of non its basic version
# 5. in case when two ids give the same name (which is a bug we believe) we
# change the name by hand. There is one such case: both 0x42 and 0x47 are named
# "Wacom Intuos2 4x5". We rename second one to "Wacom Intuos2 4x5a" to avoid
# conflicts.
# We also fixes some missing ids, removed not supported ids and corrected
# mistakes in original rules file.
KERNEL!="event[0-9]*", GOTO="wacom_end"
# Port specific link for users of multiple tablets of the same type.
# The ID_PATH variable is set by the "path_id" script in an earlier rule file.
ATTRS{idVendor}=="056a", ENV{ID_PATH}=="?*", SYMLINK="input/by-path/$env{ID_PATH}-wacom"
# Multiple interface support for stylus and touch devices.
DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus"
DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch"
#
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0302", SYMLINK+="input/tablet-intuos-pt-s
# Convenience links for the common case of a single tablet.
ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom"
ATTRS{idVendor}=="056a", SYMLINK+="input/wacom-$env{WACOM_TYPE}"
LABEL="wacom_end"
# Match all wacom tablets with a serial ID starting with WACf or FUJ.
ACTION!="add|change", GOTO="second_wacom_end"
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", SYMLINK+="input/wacom"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", SYMLINK+="input/wacom"
LABEL="second_wacom_end"
|
The xorg.conf.d 10-wacom-options.conf:
Code: |
Section "InputClass"
Identifier "Wacom Bamboo stylus options"
MatchDriver "wacom"
MatchProduct "Pen"
# Apply custom Options to this device below.
#Option "Rotate" "none"
#Option "RawSample" "20"
#Option "PressCurve" "0,10,90,100"
EndSection
Section "InputClass"
Identifier "Wacom Bamboo eraser options"
MatchDriver "wacom"
MatchProduct "eraser"
# Apply custom Options to this device below.
#Option "Rotate" "none"
#Option "RawSample" "20"
#Option "PressCurve" "5,0,100,95"
EndSection
Section "InputClass"
Identifier "Wacom Bamboo touch options"
MatchDriver "wacom"
MatchProduct "Finger"
# Apply custom Options to this device below.
Option "Touch off"
#Option "Rotate" "none"
#Option "ScrollDistance" "18"
#Option "TapTime" "220"
EndSection
Section "InputClass"
Identifier "Wacom Bamboo pad options"
MatchDriver "wacom"
MatchProduct "pad"
# Apply custom Options to this device below.
#Option "Rotate" "none"
# Setting up buttons
#Option "Button1" "1"
#Option "Button2" "2"
#Option "Button3" "3"
#Option "Button4" "0"
EndSection
|
Maybe this is not needed or will interfere with the use of the expresskeys, i did not conclude testing yet.
Add this to /usr/share/apps/wacomtablet/data/wacom_devicelist:
Code: |
[0770]
model=CTH-480
layout=unknown
name=Wacom Intuos PT S
padbuttons=4
wheel=no
touchring=no
touchstripl=no
touchstripr=no
hwbutton1=3
hwbutton2=1
hwbutton3=9
hwbutton4=8
|
My wacom setup Script:
Code: |
#!/bin/bash
#2014 WACOM CHT-480
# This script works 100 %! Testet with NO 52-wacom.conf in Xorg and with removed KDE Tablet config tool!!! Mybe these two dont like each other....
# deactivate touchPAD on the but leave the expresskeys funtional
xsetwacom --set 11 Gesture off
# set "udo" action in mypaint to expresskey
xsetwacom --set "Wacom Intuos PT S Finger pad" Button 1 "key +z -z"
# set "Pipette" funktion in maypaint to expresskey
xsetwacom --set "Wacom Intuos PT S Finger pad" Button 3 "key +r -r"
# set "smaller brush" funktion in maypaint to expresskey
xsetwacom --set "Wacom Intuos PT S Finger pad" Button 8 "key +f -f"
# set "smaller brush" funktion in maypaint to expresskey
xsetwacom --set "Wacom Intuos PT S Finger pad" Button 9 "key +d -d"
|
End notes
This should leave you with a full working wacom tablet. I recommend mypaint for drawing. Gimp works also but only after the udev rules are set.
If you have questions just reply
Happy drawing _________________ Thank you for your help.
Manuel |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|