LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-24-2010, 02:41 PM   #1
jack_peter
LQ Newbie
 
Registered: Dec 2006
Posts: 29

Rep: Reputation: 15
Wacom Bamboo Pen under Slack 13


hello,

I can't get tablet working under slack, the problem probably is just that no input device gets created. I compiled the driver myself (slack seems to come without wacom driver...). Here are my settings:

xorg.conf:
Code:
Section "Input Device"
        Identifier      "stylus"
        Driver          "wacom"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "stylus"
        Option          "USB"           "on"
EndSection

Section "InputDevice"
        Identifier      "eraser"
        Driver          "wacom"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "eraser"
        Option          "USB"           "on"
EndSection

Section "InputDevice"
        Identifier      "cursor"
        Driver          "wacom"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "cursor"
        Option          "USB"           "on"
EndSection

Section "InputDevice"
        Identifier      "pad"
        Driver          "wacom"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "pad"
        Option          "USB"           "on"
EndSection
[...]
Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

    InputDevice "cursor" "SendCoreEvents"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
    InputDevice "pad"

EndSection
Xorg.0.log
Code:
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input//wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
        compiled for 1.6.3, module version = 1.0.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(II) Wacom driver level: 47-0.8.5-10 $
[...]
(**) Option "Device" "/dev/input/wacom"
(WW) cursor: failed to open /dev/input/wacom in wcmDeviceTypeKeys.
(EE) PreInit returned NULL for "cursor"
(**) Option "Device" "/dev/input/wacom"
(WW) stylus: failed to open /dev/input/wacom in wcmDeviceTypeKeys.
(EE) PreInit returned NULL for "stylus"
(**) Option "Device" "/dev/input/wacom"
(WW) eraser: failed to open /dev/input/wacom in wcmDeviceTypeKeys.
(EE) PreInit returned NULL for "eraser"
(**) Option "Device" "/dev/input/wacom"
(WW) pad: failed to open /dev/input/wacom in wcmDeviceTypeKeys.
(**) pad: always reports core events
(**) pad device is /dev/input/wacom
(**) pad is in relative mode
(**) WACOM: suppress value is 2
(**) Option "USB" "on"
(**) pad: reading USB link
(**) Option "BaudRate" "9600"
(II) XINPUT: Adding extended input device "pad" (type: Wacom Pad)
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
        No such file or directory.
Error opening /dev/input/wacom : No such file or directory
(EE) Couldn't init device "pad"
(II) UnloadModule: "wacom"
cat /proc/bus/usb/devices
Code:
T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0                                                                       
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1                                                                            
P:  Vendor=056a ProdID=00d4 Rev= 1.06                                                                                                   
S:  Manufacturer=Wacom Co.,Ltd.                                                                                                         
S:  Product=CTL-460                                                                                                                     
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr= 98mA                                                                                                  
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)                                                                    
E:  Ad=81(I) Atr=03(Int.) MxPS=   9 Ivl=4ms                                                                                             
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)                                                                    
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=4ms
/etc/udev/rules.d/65-wacom.rules
Code:
#KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK+="input/wacom"
#KERNEL="event*", SYSFS{idVendor}="056a", NAME="input/%k", SYMLINK="input/wacom%e"
BUS=="usb", KERNEL=="event*", SYSFS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus"
BUS=="usb", KERNEL=="event*", SYSFS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch"

BUS=="usb", KERNEL=="event*", SYSFS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom"
BUS=="usb", KERNEL=="event*", SYSFS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch"
Indeed, /dev/input/wacom does not exist. The control LED on the device is flashing and reacting to the pen.

Thanks
 
Old 02-25-2010, 08:30 AM   #2
sandypeter111
LQ Newbie
 
Registered: Nov 2008
Posts: 11

Rep: Reputation: 0
mod edit: remove advertising

Last edited by pixellany; 02-25-2010 at 12:48 PM.
 
Old 02-25-2010, 08:56 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Take a look at 'Linux Wacom Project'.
 
Old 02-25-2010, 12:01 PM   #4
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Quote:
Originally Posted by onebuck View Post
Take a look at 'Linux Wacom Project'.
That's the place. The development release is your best bet for the newer Bamboo tablets.
 
Old 02-25-2010, 06:18 PM   #5
jack_peter
LQ Newbie
 
Registered: Dec 2006
Posts: 29

Original Poster
Rep: Reputation: 15
I tried to install that package, probably that didn't work. At first the prebuilt installer didn't work, don't exactly know the error message but actually something like this one:

Code:
linuxwacom-0.8.5-10/prebuilt# ./install
Installing Wacom man page......
Installed under /usr/share/man/man4

Installing wacom_drv....
WARNING: Can not install Wacom X driver (wacom_drv)
since the proper directory has not been found

You need to compile and install wacom.(k)o manually if your kernel is out of date.

After adding your Wacom tools into /etc/X11/xorg.conf, please restart X server or simply reboot your system to run the new Wacom X driver.
Unfortunately it doesn't say which directory it is looking after. I thought it would find everything when I compile it myself and during compilation there weren't any errors...

Is there maybe some kernel module missing? I'm using a self compiled kernel 2.6.32.2 and all I have found with wacom in its name was 'Input device support ---> Tablets ---> <M> Wacom Intuos/Graphire tablet support (USB)' and 'Input device support ---> Touchscreens ---> <M> Wacom W8001 penabled serial touchscreen'.

Last edited by jack_peter; 02-25-2010 at 06:19 PM.
 
Old 02-25-2010, 08:51 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You did look at the link 'Linux Wacom Project', right?

If you had then a link on that page for the 'HOWTO' should aid in the installation.

 
Old 02-26-2010, 01:54 AM   #7
jack_peter
LQ Newbie
 
Registered: Dec 2006
Posts: 29

Original Poster
Rep: Reputation: 15
ok, found the correct module under linuxwacom-0.8.5-10/src/2.6.27 (where I didn't really expect it...) but its working now, thanks!
 
Old 05-11-2010, 07:20 PM   #8
braintooth
LQ Newbie
 
Registered: May 2010
Location: NW US
Distribution: Linux Mint
Posts: 14

Rep: Reputation: 1
jack_peter,
What were the steps you took to install the Wacom pad and get it working? I have a Bamboo I have been trying to install following every and any ones 'how to' with no luck. Cant get the pad to be recognized in 'cat /proc/bus/input/devices.' I can see it in lsusb as
Bus 002 Device 003: ID 056a:00d4 Wacom Co., Ltd
but nothing happens except for the light recognizing the action I am doing on the pad.
 
Old 05-11-2010, 09:24 PM   #9
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Source: http://prdownloads.sourceforge.net/l....8.6-1.tar.bz2
Slackbuild:
Code:
#!/bin/sh

# Slackware build script for The Linux Wacom Project

# Written by Menno Duursma <druiloor@zonnet.nl>

# This program is free software. It comes without any warranty.
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.

# Modified by the SlackBuilds.org project.

PRGNAM=linuxwacom
VERSION=${VERSION:-0.8.6-1}
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

KERNEL=${KERNEL:-$(uname -r)}

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

SRCVER=$(echo $VERSION | tr _ -)

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
cd $PRGNAM-$SRCVER
chown -R root:root .
find . \
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
 -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
 -exec chmod 644 {} \;

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --with-kernel=/lib/modules/${KERNEL}/source \
  --with-linux=yes \
  --enable-wacom \
  --disable-static \
  --build=$ARCH-slackware-linux

make -j3
make install DESTDIR=$PKG

# Install the kernel module
# Ignore the "2.6.28" in the path below; you can verify with
# modinfo(8) if you don't trust me... ;-)  --rworkman
mkdir -p $PKG/lib/modules/${KERNEL}/kernel/drivers/usb/input
install -m 0644 src/2.6.30/wacom.ko \
  $PKG/lib/modules/${KERNEL}/kernel/drivers/usb/input

( cd $PKG/usr || exit 1
  find . -type f | xargs file | grep -e "executable" -e "shared object" \
    | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog GPL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
 
Old 05-12-2010, 04:06 AM   #10
jack_peter
LQ Newbie
 
Registered: Dec 2006
Posts: 29

Original Poster
Rep: Reputation: 15
I compiled the driver with the wacom.ko file, installed it in the usual way. Then I also compiled the wacom module of the kernel (which doesen't work) but I replaced the kernel module by the wacom.ko file I had just compiled. Probably this was not a very nice way, but it worked

Code:
linuxwacom-0.8.5-11# ./configure --enable-wacom
linuxwacom-0.8.5-11# make
linuxwacom-0.8.5-11# make install
linuxwacom-0.8.5-11# find . -name "wacom.ko"
./src/2.6.27/wacom.ko
linuxwacom-0.8.5-11# rm /lib/modules/2.6.33.1/kernel/drivers/input/tablet/wacom.ko
linuxwacom-0.8.5-11# cp ./src/2.6.27/wacom.ko /lib/modules/2.6.33.1/kernel/drivers/input/tablet/
If you have configured your xorg.conf a restart of X should do I guess.
 
1 members found this post helpful.
Old 05-13-2010, 08:49 AM   #11
braintooth
LQ Newbie
 
Registered: May 2010
Location: NW US
Distribution: Linux Mint
Posts: 14

Rep: Reputation: 1
Still had a bit of a problem. Started over from 'scratch'. The only difference I see is running make in src/2.6.30. Reboot and Sweet black plastic! It works!
The whole process for me (with dling depends):

Code:
sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev
wget http://prdownloads.sourceforge.net/l....8.6-2.tar.bz2
tar -xf linuxwacom-0.8.6-2.tar.bz2
cd linuxwacom-0.8.6-2
./configure --enable-wacom
cd src/2.6.30/
make
sudo rm /lib/modules/2.6.33.1/kernel/drivers/input/tablet/wacom.ko
sudo cp wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/
sudo rmmod wacom
sudo modprobe wacom
sudo gedit /etc/modules
	Added 'wacom' to this.
sudo reboot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wacom Bamboo tablet not working properly Yaeka Linux - Newbie 5 12-22-2009 03:01 PM
Linux software to compliment Wacom Bamboo? chickenlinux Linux - Hardware 4 12-19-2009 04:09 PM
[SOLVED] Wacom Bamboo no longer working in Slackware 13 metageek Slackware 7 11-11-2009 01:13 PM
Slackware 13 (32 bit) and Wacom Bamboo elija Slackware 19 11-06-2009 02:54 AM
Tablet Wacom Bamboo series iswc_technical Linux - Hardware 3 04-07-2009 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration