LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2008, 10:03 AM   #1
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Rep: Reputation: 16
Wacom tablet on Slackware 12.1


Hi, fellow slackers. I have a problem for making my Wacom Graphire
4 to work on 12.1. It's looks like my routine process doesn't work any more. Here's how I always do it on Slackware 12.0 and it's just work fine.

Using wacom driver from Linux Wacom project version 0.7.8-3
Code:
./configure --enable-wacom
make
make install
Copy prebuilt wacom_drv.so from prebuilt to /usr/lib/modules/input/

Create a 10-wacom.rules in /etc/udev/rules.d and add following to the file.
Code:
KERNEL=="event*", ATTRS{idVendor}=="056a", NAME="input/%k", SYMLINK+="input/wacom"
Add devices in xorg.conf then reboot.

That's all how I do it on 12.0, but in 12.1 it's just not work. First, I can't compile driver version 0.7.8-3, It gave me some errors, so I use 0.8.0, which can compile and follow the routine, but after reboot, my tablet seem to not working. I guess because this new kernel don't detect my usb Tablet.

It's not a big deal. I just reinstall Slackware 12.0 back on, where everything seem work to me. But if anyone got some solution on this issue, I'd be grateful.

Cheers.
 
Old 05-04-2008, 12:19 PM   #2
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
i compile and install the module and then add a line to rc.modules for it to modprobe it at boot up
 
Old 05-04-2008, 01:02 PM   #3
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
I'm running the following version with 2.6.24.5:

linuxwacom-0.7.9-11 (development version)

I was also getting errors when building the stable version of the driver with the -current (now 12.1) kernel. This version builds clean with 2.6.24.5.

HTH

Edit: Make sure you replace the kernel's wacom.ko with the wacom.ko from /linuxwacom-0.7.9-11/src/2.6.24
You did not say you did this in your initial post.

Last edited by Franklin; 05-04-2008 at 01:06 PM.
 
Old 05-04-2008, 02:30 PM   #4
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Original Poster
Rep: Reputation: 16
Thank you guys. I'll try it next time I install 12.1. Because of just reinstall 12.0 like this, so I don't wanna switch back and forth so often like that (^_^")
 
Old 05-14-2008, 11:17 AM   #5
furryspider
Member
 
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Devuan 3 Beowulf
Posts: 74

Rep: Reputation: 18
I don't have the exact same problem, but I think it's close enough to continue this thread. If that's against any rules here (which I don't think) or established conventions that I'm not aware of, feel free to split the thread (or tell me so and I'll open another).

Here goes.
I'm using a Wacom Intuos 1 on the serial port with the X driver provided by linuxwacom. Up to Slack 12.0, this worked nicely, now after my switch to 12.1, it does not anymore. I've tried it with both linuxwacom 0.8.0-1 and 0.7.9-7 (both of which compiled flawlessly), but both yield the same results, which are these:

Wacdump and xidump report all pen movements and buttons correctly. There are no wacom related error messages that I can see when starting X. But I can't move the pointer or do clicks with the pen in the desktop environment. The mouse cursor just sits there. This is true for KDE and Xfce (standard 12.1 packages) as well as Enlightenment 16, so it doesn't seem to be a KDE glitch.

However! When I open GIMP or Krita, I can actually paint on their canvas areas with the pen. While doing this, I still don't see the mouse pointer move, so I have no indication of where I'm drawing. Immediately outside of the canvas (e. g. GIMP menu bar), the pen has no functionality.

Does anyone have an idea what's going on? I hope I'm just overlooking something stupid on my part, 'cause I'm not so thrilled by the thought of, like, having to recompile X with some option or other. ;-)

Thanks in advance!

Some more tidbits of information, if needed:
The server layout in xorg.conf (which I didn't change from 12.0) sends core events to the pen (InputDevice "pen1" "AlwaysCore"). My machine is a AMD Athlon 64 X2 4200 with 2 GB RAM and an nforce4 based board. Kernel and packages are standard 12.1 (with the exception of a few of my own packages which were already there when upgrading).
 
Old 05-17-2008, 04:49 PM   #6
furryspider
Member
 
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Devuan 3 Beowulf
Posts: 74

Rep: Reputation: 18
After successfully double-checking the tablet's function with xinput, I discarded the faulty-X-theory and started fiddling with all kinds of configuration stuff.

Turns out that in the server layout in xorg.conf, AlwaysCore does now not any longer have the same effect as SendCoreEvents. With the latter, it works, like so:
Code:
#    InputDevice "pen1" "AlwaysCore"
#    InputDevice "eraser1" "AlwaysCore"
    InputDevice "pen1" "SendCoreEvents"
    InputDevice "eraser1" "SendCoreEvents"
Just in case someone stumbles upon the same problem.
 
Old 08-14-2008, 08:31 AM   #7
mina86
Member
 
Registered: Aug 2008
Distribution: Debian
Posts: 517

Rep: Reputation: 229Reputation: 229Reputation: 229
I have the very same problem as sleekslack, except for that I'm not really keen on switching to 12.0. I'm running a slackware-current and my Bamboo works rather like mouse then a tablet.

I'm running a 2.6.25 kernel. I've tried to compile wacom drive into a kernel, compile it as a module and using a wacom.ko from linuxwacom (as suggested by Franklin) but nothing worked.

After running X I'm getting the following error message:
Code:
pad Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
eraser Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
which is not logged in X server log file.

Anybody have any idea what to do about it?
 
Old 08-14-2008, 10:50 AM   #8
mina86
Member
 
Registered: Aug 2008
Distribution: Debian
Posts: 517

Rep: Reputation: 229Reputation: 229Reputation: 229
OK, I've just found a solution -- I had to change /dev/input/event0 in /etc/X11/xorg.conf to /dev/input/event4. If one uses udev something like /dev/input/wacom should work as well.
 
Old 08-15-2008, 03:24 PM   #9
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
go to slackbuilds.org they have a buildscript for it and a link for you to add info to the xorg.conf file to get it working
 
Old 08-15-2008, 03:27 PM   #10
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
ops

nevermind double post
 
Old 08-15-2008, 05:25 PM   #11
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Original Poster
Rep: Reputation: 16
Actually I got it working on Slackware 12.1 for quite sometime now as you can see the date of my first post, so I didn't dig this one up.

here's how I did it and my tablet is Wacom Graphire 4 on Slackware 12.1 with linuxwacom-0.8.0-3

1. Run ./configure --enable-wacom, make, make install as usual

NOTE: I didn't replace wacom_drv.so from prebuilt to /usr/lib/xorg/modules/input/wacom_drv.so

2. Copy wacom.ko from src/<kernel version> to
/lib/modules/<kernel version>/kernel/drivers/usr/input/

NOTE: "input" is a directory from mkdir, if it isn't there.

3. Run "depmod -a" without quotes but don't run modprobe yet.

4. Create a file /etc/udev/rules.d/10-wacom.rules and put udev's rule below in it.
Code:
KERNEL=="event*", ATTRS(idVendor)=="056a", NAME="input/%k", SYMLINK+="input/wacom"
5. Edit xorg.conf, add devices in ServerLayout section with
Code:
        InputDevice    "stylus"    "SendCoreEvents"
        InputDevice    "eraser"    "SendCoreEvents"
        InputDevice    "cursor"    "SendCoreEvents"
        InputDevice    "pad"
6. Still in xorg.conf, define all added devices, in my case, they look like below
Code:
Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
EndSection

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

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

Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection
7. Run "modprobe wacom" without quotes, checking /dev/input for wacom that if it's linked to event or not (for me is event2, but I guess it could be any numbers)

8. Restart X then configure preference in GIMP or use it as the way you like.
 
Old 06-22-2009, 05:31 PM   #12
android1654
Member
 
Registered: Jan 2003
Location: Baltimore
Distribution: Slackware,peanut linux
Posts: 30

Rep: Reputation: 15
success in slackware 12.2

sleekslack's approach worked perfect for me using Slackware 12.2, wacom drivers 0.8.3-5, and an intuos2 tablet.

Thanks sleekslack!
 
Old 08-30-2009, 12:49 AM   #13
snaketek
LQ Newbie
 
Registered: Aug 2009
Distribution: Slackware
Posts: 3

Rep: Reputation: 2
Thanks for the great post. I have been using this a a guide to get the wacom drivers to work on 13.0. I have been having some difficulty as there was no xorg.conf file to edit only the xorg.conf -vesa. I ran xorgsetup with root and it created the xorg.conf file that i needed to edit. I added what was directed and it resulted in a error saying something along the lines of "2 is not supported".

I configured and installed the linuxwacom 0.8.4 package.

I am a noob, any help would be greatly appreciated.

Thanks!
 
Old 08-30-2009, 09:23 AM   #14
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
I am also trying to work through getting a wacom Intuos working on 13. So far there are some HAL fdi files that you can download that will get it working pretty well, but I have not gotten GIMP to recognise it as it used to.
 
Old 10-15-2009, 05:29 PM   #15
samkook
LQ Newbie
 
Registered: Jun 2006
Distribution: slackware
Posts: 4

Rep: Reputation: 0
I'm trying to install my graphire 4 CTE-440 using sleekslack instructions, but modprobe can't find the wacom module. The only thing I did different is putting wacom.ko into "/lib/modules/<kernel version>/kernel/drivers/input/" instead of "/lib/modules/<kernel version>/kernel/drivers/usr/input/" since I don't have the usr folder(I tried creating it and running depmod and modprobe again, but it still couldn't find it). And yes I substituted "<kernel version>" with my kernel version.

My linux kernel is 2.6.24.5-smp in slackware 12.1(I think, I'm sure it's 12 something) and linux wacom drivers 0.8.4.

If I load in manually with insmod, it works like a mouse and I need to touch the tablet to be able to move which is not really great.

Anyone knows what could be wrong?

Last edited by samkook; 10-15-2009 at 05:31 PM.
 
  


Reply

Tags
slackware, tablet, wacom, xorg



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 Tablet in Slackware 12 works, but is not recognized or configurable roint Linux - Hardware 0 10-15-2007 12:02 AM
Configuring a Wacom Graphire Tablet to track like a tablet (not like a mouse) anlace Debian 2 11-07-2006 05:20 AM
wacom tablet and slackware 10 arubin Slackware 0 07-01-2004 05:23 PM
Wacom Tablet felicehome Linux - Hardware 2 06-21-2004 04:59 PM
Wacom Tablet and wacom drivers Mallow005 Linux - General 1 12-27-2002 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:41 PM.

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