LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 09-23-2007, 02:36 PM   #1
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0
Wacom Graphire3 Setup With Slack 12


[Log in to get rid of this advertisement]
---------{{{ SOLVED! SEE PAGE 2 }}}---------


Hi all,

I recently switched from Kubuntu to Slackware on my desktop after running Slackware on my laptop for a couple of months. I've got an older Wacom tablet, and need some help getting things set up.

I've looked over things on the linux wacom project website, though have gotten a bit mixed-up when trying to look over their steps. A lot of stuff seems to referr to older methods of getting things configured, and I'm not sure what support Slackware 12 has built in for wacom support.

I plugged in my tablet before my install, and at this point I can:

1. Use the stylus as a mouse (without firt button support)

I cannot:

1. Use the included mouse aside from the right button
2. Register any pressure sensitivity in the Gimp with the stylus (also, my tablet doesn't show as a device I can select for configuration in the Gimp)
3. Use any of the expresskeys option (which makes sense, as the driver for the tablet does not support them)

Before installing Slackware, I was trying Sabayon and attempting the same configuration with it for. . . a couple of days, really. I've not touched anything yet with my Slackware install, mostly to ensure I don't mess anything up.

Firstly, I'd like to know how to find what drivers are set-up out-of-the-box. Secondly, I'd like to know the best guide to compiling new modules in the event that I need to do that. All, in all, I don't want the answers spoon-fed to me, but I do want to know how to identify the situation I'm in.

Thanks in advance!

Last edited by rampire; 09-30-2007 at 03:42 AM.. Reason: update: solved
rampire is offline  
Tag This Post , ,
Reply With Quote
Old 09-23-2007, 03:46 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,739
Blog Entries: 2
Thanked: 214
What is the output of 'lsmod' and perhaps 'lsusb' ? I believe the right module that should be listed is 'wacom', which contains the drivers for wacom tablets.
H_TeXMeX_H is offline     Reply With Quote
Old 09-23-2007, 04:50 PM   #3
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0

Original Poster
Thanks. I'm a bit fried at this point because I feel like I've been running in circles on this the past few days.

The output of lsmod shows an entry for wacom, as does lsusb. I checked my /etc/X11/xorg.conf file, and it appears to be set at defaults. I've got a template for a .conf file for a wacom tablet, so I suppose I'd update that, and from there
Code:
$rmmod wacom
restart x by logging out or ctrl+alt+del, and
Code:
$modprobe wacom
This is the .config file I'm referring to:
Quote:
# Wacom Intuos 3 stuff

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

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

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

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

# ...

Section "ServerLayout"
Identifier "Default Layout"
Screen "CRT"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

"CorePointer"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "pad"
EndSection
rampire is offline     Reply With Quote
Old 09-23-2007, 04:57 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,739
Blog Entries: 2
Thanked: 214
Hmmmm ... are you sure the device is '/dev/input/wacom' ?

What is the output of
Code:
cat /proc/bus/input/devices
H_TeXMeX_H is offline     Reply With Quote
Old 09-23-2007, 05:49 PM   #5
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0

Original Poster
Good point. Reads as follows:

Code:
I: Bus=0003 Vendor=056a Product=00b0 Version=0102
N: Name="Wacom Intuos3 4x5"
P: Phys= 
S: Sysfs=/class/input/input5
H: Handlers=mouse3 event5
B: EV=1f
B: KEY=1cff 0 1f000f 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=100 f00016b
B: MSC=1
So, as I'm reading this, it's either going to be "/dev/input/mouse3" (which I'm thinking it is) or "/dev/input/input5." Is that correct? Also, I believe that the "REL=100" needs to be changed in order to enable pressure sensitivity- is that correct, as well?

Thanks again!
rampire is offline     Reply With Quote
Old 09-23-2007, 08:36 PM   #6
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0

Original Poster
Just an update:

I just got done with updating the xorg.conf file with the /dev/input/input5. X works fine, the there's relational pointing between the pad and the monitor, the mouse that came with the pad still doesn't work (which does annoy me- should I put another entry in for the wacom mouse configured like? I've found absoloutely nothing that covers that point), but the biggest thing is that when configuring the use of the device in the Gimp. I click on "Configure Extended Input Devices," and get "No extended input devices."

Any ideas?
rampire is offline     Reply With Quote
Old 09-24-2007, 03:58 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,739
Blog Entries: 2
Thanked: 214
In this case I think the 'H: Handlers=mouse3 event5' are important. The 'S: Sysfs=/class/input/input5' is just a sysfs file with info about the device. (that's in '/sys/class/input/input5').

So, I would try using either 'mouse3' or 'event5'. I've found that the event* are more important than mouse*, so if you've already tried the mouse3, try the event5:

Code:
Option "Device" "/dev/input/event5"
Also, here's a good how-to:
http://www.faqs.org/docs/Linux-HOWTO...WTO.html#ss5.1

and they suggest:

Code:
Section "InputDevice"
  Driver         "wacom"
  Identifier     "stylus"
  Option         "Device"        "/dev/input/event0"
  Option         "Type"          "stylus"
  Option         "Mode"          "absolute"
  Option         "USB"           "on"
  Option         "Tilt"          "on"
EndSection
so instead of event0, put event5.

Also take a look at section 5.10, as I see you have a Wacom Intuos3.

you may need something like:
Code:
    Serial 2609917443      # Serial Number of that device
for each different device in order to differentiate devices. And it tells you how to find the serial numbers in that section.

Last edited by H_TeXMeX_H; 09-24-2007 at 04:02 AM..
H_TeXMeX_H is offline     Reply With Quote
Old 09-24-2007, 06:27 PM   #8
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0

Original Poster
Excellent how-to. I'll try doing what it says, in addition to seeing if mouse3 works better this evening (dinner time). I'll get an update on here after that. Thanks again!
rampire is offline     Reply With Quote
Old 09-25-2007, 08:10 PM   #9
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 357
Thanked: 0
Rampire,

Can't you just use the xorg.conf file (etc.) from your old Kubuntu install (or from booting with a live CD) as a template for your Slack one?

Just at thought.

pbhj
pbhj is offline     Reply With Quote
Old 09-25-2007, 11:45 PM   #10
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0

Original Poster
pbhj- I bought the tablet not too long ago on clearance, and the only times I used it with Kubuntu were just to see if it had *any* plug-and-play support at all. It was fairly lacking, to be honest, though the mouse was recognised (sometimes). Since I hadn't done anything to configure the xorg.conf file when I was using Kubuntu, I didn't think it would help to back it up before I switched to Slackware. Good idea, otherwise!

H_TexMex_H- I tried changing the con file settings from input5 to mouse3, and there's no discernable difference. I've not yet done much other than that, as a ferret had taken my stylus while I was at work and I just now relocated it (no joke). I'm going to try to follow the pointers in the how-to, and post back with results tommorrow.
rampire is offline     Reply With Quote
Old 09-26-2007, 11:21 PM   #11
rampire
LQ Newbie
 
Registered: Sep 2007
Posts: 11
Thanked: 0

Original Poster
Well, I think I've got more info here.

I went through part of the steps in the how-to. When it got to be time for finding my serial numbers there was a bit of a problem.

I started X by
Code:
X 2>t
and grepped as per the instructions
Code:
grep serial_num t
which displayed no output. I put in
Code:
grep -v serial_num t
and recieved the following output
Code:
(EE) Failed to load module "wacom" (module does not exsist, 0)
(EE) Failed to load module "wacom" (module does not exsist, 0)
(II) Module already built-in
(EE) AIGLX: DRI module not noted
(EE) No Input driver matching 'wacom'
(EE) No Input driver matching 'wacom'
(EE) No Input driver matching 'wacom'
(EE) No Input driver matching 'wacom'
So, I looked through my /sys/module folder and see an entry for "wacom", found one, and it's showing around 8Kb in size. When I view the properties in KDE it says it's ~54Kb. After sifting through the folders (which circle endlessly), I found no instance of the wacom driver files. I'm guessing these are just folders that were created when I edited my xorg.conf file.

Long short, I'm taking it as the module not being in place on my system, just as X is saying. I don't understand why that would be, as I've read that it has been included in the kernel for quite some time (and it's supposed to be included in Slack, as well, right?).

I'm guessing that this means I'll have to recompile my kernel. I'd like to avoid that as much as possible, really, as every time I've compiled a kernel, I've broken something at the expense of fixing another.

Thanks again for all the help.

EDIT EDIT:
I'm following the guidelines for how to get the driver installed here http://linuxwacom.sourceforge.net/index.php/minihowto . I getting more problems (surprise).

I got as far as installing the X driver when I get
Quote:
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 to the /etc/X11/xorg.conf, please restart X server or simply reboot your system to run the new Wacom X driver.
wtf? How will I be able to run the new driver if it didn't install? I already compiled and installed the wacom.ko driver. I'm dying here!

Last edited by rampire; 09-27-2007 at 12:33 AM.. Reason: Too many commas. Far too many commas.
rampire is offline     Reply With Quote
Old 09-27-2007, 04:54 AM   #12
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 118
Thanked: 1
OK, this is what I do :

- Using the last linuxwacom tarball, I compile the package using just the --enable-wacom flag for configure. Then I run "make", then "make install" will install the package and the binary utilities.
- Then I manually copy the wacom input driver "wacom.so" for Xorg in the precompiled subdir of the linuxwacom tarball in the correct place (can't remember it right now but that was something like /usr/X11R6/lib/modules/input, it's a symlink to another dir in /usr/lib, I think right now).
- Then I load the kernel module with a "modprobe wacom"
- At this point I use wacdump to check which is the good event device : I try "wacdump /dev/input/event0", "wacdump /dev/input/event1", etc until I see in the output reference to the Wacom tablet (it's pretty obvious in the display).
- I then update /etc/X11/xorg.conf Wacom Devices entries to use this particular event device.

And normally everything works at this point.
In Gimp, I usually have to change the configuration of all three Input Devices to use "Screen" (IRC).
There supposed to be a way to configure udev in order to create a specific device for Wacom, with a specific rule, in order to really have a /dev/input/wacom device, but I've not been able to make it work.

Last edited by rvdboom; 09-27-2007 at 04:56 AM..
rvdboom is offline     Reply With Quote
Old 09-27-2007, 05:18 AM   #13
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware 12.2
Posts: 1,350
Thanked: 19
Maybe this helps about the udev rule: http://blog.leo-scherer.de/index.php...Udev-Rule.html
titopoquito is offline     Reply With Quote
Old 09-27-2007, 09:17 AM   #14
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 118
Thanked: 1
Mmm, nice. Will look into that tonight.
Thanks a lot.
rvdboom is offline     Reply With Quote
Old 09-28-2007, 03:13 PM   #15
roint
LQ Newbie
 
Registered: Jul 2004
Location: Gardiner, Maine
Distribution: Slackware
Posts: 10
Thanked: 0
I'm actually having the same problem. I just bought a USB Graphire4 and installed the driver/configured X, even though it worked before I installed the driver. The problem is that xsetwacom and the gimp and every other program won't recognize the device, even though all the buttons work and I can move the cursor with it (when i press down completely).

I don't know how much help I can be about it though. Perhaps slackware 12 is ill-equipped to deal with Wacom tablets somehow? I'll be watching this thread.
roint is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Slackware 10.1 and Wacom Graphire3 LinuxLuvr Slackware 20 01-29-2006 04:00 PM
k7v soyo dragon plus - wacom graphire ET-0405-U - slack 10.2 agentdcooper Slackware 1 10-23-2005 05:56 PM
WACOM Volito on Slack 10.1 w/ Kernel 2.6.11.12 luminousnerd Linux - Hardware 0 06-15-2005 10:16 PM
Wacom graphire3 pointer problem in GIMP2.2 ewokfarmer Linux - Hardware 1 04-02-2005 11:31 PM
Wacom Tablet and wacom drivers Mallow005 Linux - General 1 12-27-2002 03:26 AM


All times are GMT -5. The time now is 07:46 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration