LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-16-2006, 01:13 PM   #1
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Rep: Reputation: 0
Trying to get my Wacom Intuos3 working, problem with input devices/events.


Hello everyone!

First of all, I'm new to both Slackware Linux (and Linux in general) and these forums.

I've been following a guide for the Linux Wacom Project under Slackware.
Everything installed and worked just fine. Installing the additional kernel modules
also wasn't much of a challenge.
However, I ran into trouble when attempting to configure the event/device.
I used the wacdump utility, but for every event I tried, I got the following error message:

bash-3.00# wacdump /dev/input/event0
20:09:09.658 ERROR: Failed to open /dev/input/event0: No such device
WacomOpenTablet: No such device
bash-3.00#

Then, I ran the command

cd /dev/input && ls -l

The result:
total 0
crw-r--r-- 1 root root 13, 64 2001-01-08 01:00 event0
crw-r--r-- 1 root root 13, 65 2001-01-08 01:00 event1
crw-r--r-- 1 root root 13, 74 2001-01-08 01:00 event10
crw-r--r-- 1 root root 13, 75 2001-01-08 01:00 event11
crw-r--r-- 1 root root 13, 76 2001-01-08 01:00 event12
crw-r--r-- 1 root root 13, 77 2001-01-08 01:00 event13
crw-r--r-- 1 root root 13, 78 2001-01-08 01:00 event14
crw-r--r-- 1 root root 13, 79 2001-01-08 01:00 event15
crw-r--r-- 1 root root 13, 80 2001-01-08 01:00 event16
crw-r--r-- 1 root root 13, 81 2001-01-08 01:00 event17
crw-r--r-- 1 root root 13, 82 2001-01-08 01:00 event18
crw-r--r-- 1 root root 13, 83 2001-01-08 01:00 event19
crw-r--r-- 1 root root 13, 66 2001-01-08 01:00 event2
crw-r--r-- 1 root root 13, 84 2001-01-08 01:00 event20
crw-r--r-- 1 root root 13, 85 2001-01-08 01:00 event21
crw-r--r-- 1 root root 13, 86 2001-01-08 01:00 event22
crw-r--r-- 1 root root 13, 87 2001-01-08 01:00 event23
crw-r--r-- 1 root root 13, 88 2001-01-08 01:00 event24
crw-r--r-- 1 root root 13, 89 2001-01-08 01:00 event25
crw-r--r-- 1 root root 13, 90 2001-01-08 01:00 event26
crw-r--r-- 1 root root 13, 91 2001-01-08 01:00 event27
crw-r--r-- 1 root root 13, 92 2001-01-08 01:00 event28
crw-r--r-- 1 root root 13, 93 2001-01-08 01:00 event29
crw-r--r-- 1 root root 13, 67 2001-01-08 01:00 event3
crw-r--r-- 1 root root 13, 94 2001-01-08 01:00 event30
crw-r--r-- 1 root root 13, 95 2001-01-08 01:00 event31
crw-r--r-- 1 root root 13, 68 2001-01-08 01:00 event4
crw-r--r-- 1 root root 13, 69 2001-01-08 01:00 event5
crw-r--r-- 1 root root 13, 70 2001-01-08 01:00 event6
crw-r--r-- 1 root root 13, 71 2001-01-08 01:00 event7
crw-r--r-- 1 root root 13, 72 2001-01-08 01:00 event8
crw-r--r-- 1 root root 13, 73 2001-01-08 01:00 event9
crw-r--r-- 1 root root 13, 0 2001-01-08 00:58 js0
crw-r--r-- 1 root root 13, 1 2001-01-08 00:58 js1
crw-r--r-- 1 root root 13, 10 2001-01-08 00:59 js10
crw-r--r-- 1 root root 13, 11 2001-01-08 00:59 js11
crw-r--r-- 1 root root 13, 12 2001-01-08 00:59 js12
crw-r--r-- 1 root root 13, 13 2001-01-08 00:59 js13
crw-r--r-- 1 root root 13, 14 2001-01-08 00:59 js14
crw-r--r-- 1 root root 13, 15 2001-01-08 00:59 js15
crw-r--r-- 1 root root 13, 16 2001-01-08 00:59 js16
crw-r--r-- 1 root root 13, 17 2001-01-08 00:59 js17
crw-r--r-- 1 root root 13, 18 2001-01-08 00:59 js18
crw-r--r-- 1 root root 13, 19 2001-01-08 00:59 js19
crw-r--r-- 1 root root 13, 2 2001-01-08 00:58 js2
crw-r--r-- 1 root root 13, 20 2001-01-08 00:59 js20
crw-r--r-- 1 root root 13, 21 2001-01-08 00:59 js21
crw-r--r-- 1 root root 13, 22 2001-01-08 00:59 js22
crw-r--r-- 1 root root 13, 23 2001-01-08 00:59 js23
crw-r--r-- 1 root root 13, 24 2001-01-08 00:59 js24
crw-r--r-- 1 root root 13, 25 2001-01-08 00:59 js25
crw-r--r-- 1 root root 13, 26 2001-01-08 00:59 js26
crw-r--r-- 1 root root 13, 27 2001-01-08 00:59 js27
crw-r--r-- 1 root root 13, 28 2001-01-08 00:59 js28
crw-r--r-- 1 root root 13, 29 2001-01-08 00:59 js29
crw-r--r-- 1 root root 13, 3 2001-01-08 00:58 js3
crw-r--r-- 1 root root 13, 30 2001-01-08 00:59 js30
crw-r--r-- 1 root root 13, 31 2001-01-08 00:59 js31
crw-r--r-- 1 root root 13, 4 2001-01-08 00:59 js4
crw-r--r-- 1 root root 13, 5 2001-01-08 00:59 js5
crw-r--r-- 1 root root 13, 6 2001-01-08 00:59 js6
crw-r--r-- 1 root root 13, 7 2001-01-08 00:59 js7
crw-r--r-- 1 root root 13, 8 2001-01-08 00:59 js8
crw-r--r-- 1 root root 13, 9 2001-01-08 00:59 js9
crw-rw---- 1 root root 10, 150 2003-01-24 00:16 keyboard
crw-r--r-- 1 root root 13, 63 2001-01-08 00:58 mice
crw-rw---- 1 root sys 10, 149 2003-01-24 00:16 mouse
crw-r--r-- 1 root root 13, 32 2001-01-08 00:56 mouse0
crw-r--r-- 1 root root 13, 33 2001-01-08 00:57 mouse1
crw-r--r-- 1 root root 13, 42 2001-01-08 00:57 mouse10
crw-r--r-- 1 root root 13, 43 2001-01-08 00:57 mouse11
crw-r--r-- 1 root root 13, 44 2001-01-08 00:57 mouse12
crw-r--r-- 1 root root 13, 45 2001-01-08 00:57 mouse13
crw-r--r-- 1 root root 13, 46 2001-01-08 00:57 mouse14
crw-r--r-- 1 root root 13, 47 2001-01-08 00:57 mouse15
crw-r--r-- 1 root root 13, 48 2001-01-08 00:57 mouse16
crw-r--r-- 1 root root 13, 49 2001-01-08 00:57 mouse17
crw-r--r-- 1 root root 13, 50 2001-01-08 00:57 mouse18
crw-r--r-- 1 root root 13, 51 2001-01-08 00:57 mouse19
crw-r--r-- 1 root root 13, 34 2001-01-08 00:57 mouse2
crw-r--r-- 1 root root 13, 52 2001-01-08 00:57 mouse20
crw-r--r-- 1 root root 13, 53 2001-01-08 00:57 mouse21
crw-r--r-- 1 root root 13, 54 2001-01-08 00:57 mouse22
crw-r--r-- 1 root root 13, 55 2001-01-08 00:57 mouse23
crw-r--r-- 1 root root 13, 56 2001-01-08 00:57 mouse24
crw-r--r-- 1 root root 13, 57 2001-01-08 00:57 mouse25
crw-r--r-- 1 root root 13, 58 2001-01-08 00:57 mouse26
crw-r--r-- 1 root root 13, 59 2001-01-08 00:57 mouse27
crw-r--r-- 1 root root 13, 60 2001-01-08 00:57 mouse28
crw-r--r-- 1 root root 13, 61 2001-01-08 00:57 mouse29
crw-r--r-- 1 root root 13, 35 2001-01-08 00:57 mouse3
crw-r--r-- 1 root root 13, 62 2001-01-08 00:57 mouse30
crw-r--r-- 1 root root 13, 36 2001-01-08 00:57 mouse4
crw-r--r-- 1 root root 13, 37 2001-01-08 00:57 mouse5
crw-r--r-- 1 root root 13, 38 2001-01-08 00:57 mouse6
crw-r--r-- 1 root root 13, 39 2001-01-08 00:57 mouse7
crw-r--r-- 1 root root 13, 40 2001-01-08 00:57 mouse8
crw-r--r-- 1 root root 13, 41 2001-01-08 00:57 mouse9
bash-3.00#


Well,..I guess, that's a fair lot.
I think this is really uncommon, especially because all the events don't seem to work/can't be accessed.

I'm really a bit helpless on this one,..I'd appreciate your help very much!

Thanks in advance

Last edited by Ancient_Blade; 02-16-2006 at 01:14 PM.
 
Old 02-16-2006, 08:32 PM   #2
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
I can help if you are running a 2.4.XX kernel.

If you are running 2.6 I will have to bow out as I am having no luck with the Wacom Drivers and 2.6 .

I will assume you are using 2.4 31 or 2.4.32 since you are new to Slack and linux.
I have a Graphire3 usb, but this should apply to the Intuos as well.

1. ./configure options:

Code:
bash-3.00$ ./configure --enable-wacom --enable-hid --enable-evdev --enable-mousedev --enable-usbmouse --enable-input
You should see this at the end:

Code:
----------------------------------------
  BUILD ENVIRONMENT:
       architecture - i686
       linux kernel - yes 2.4.22
  module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
      kernel source - yes /usr/src/linux
           Xorg SDK - no
          XSERVER64 - no
               XLib - yes /usr/X11R6/lib
                TCL - yes /usr/include/
                 TK - yes /usr
            ncurses - yes
                GTK - 2.6.8

  BUILD OPTIONS:
            wacom.o - yes
            wacdump - yes
             xidump - yes
        libwacomcfg - yes
         libwacomxi - yes
          xsetwacom - yes
              hid.o - yes (value_patch)
         usbmouse.o - yes
            evdev.o - yes
         mousedev.o - yes
            input.o - yes
        tabletdev.o - no
        wacom_drv.o - no
----------------------------------------
2. make
3. make install (as root)

4. modules are in the /linuxwacom-0.7.2/src/2.4.22 directory

5. here's the gotcha. The modules are in this form after compiling:

evdev.o
hid.o
wacom.o

They need to be in this form:

evdev.o.gz
hid.o.gz
wacon.o.gz

Before you install them in the /lib/modules/2.4.XX directory.

This is easy in KDE. Right-click on the module, compress, compress as
and select the xxxxxx.o.gz option from the list.

6. Now you can move the modules into their new homes:

Code:
INSTALL kernel pieces

for kernel 2.4.22 or newer: 
    [root@haku linuxwacom-dev] # cp src/2.4.22/hid.o /lib/modules/your_kernel_version/kernel/drivers/usb 
    [root@haku linuxwacom-dev] # cp src/2.4.22/usbmouse.o /lib/modules/your_kernel_version/kernel/drivers/usb
    [root@haku linuxwacom-dev] # cp src/2.4.22/wacom.o /lib/modules/your_kernel_version/kernel/drivers/usb 
    [root@haku linuxwacom-dev] # cp src/2.4.22/mousedev.o /lib/modules/your_kernel_version/kernel/drivers/input 
    [root@haku linuxwacom-dev] # cp src/2.4.22/evdev.o /lib/modules/your_kernel_version/kernel/drivers/input
    [root@haku linuxwacom-dev] # cp src/2.4.22/input.o /lib/modules/your_kernel_version/kernel/drivers/input
7. Edit xorg.conf. Use wacdump to determine the event device.

Code:
# Wacom Graphire3 as tablet

Section "InputDevice"
  Driver       "wacom"
  Identifier   "mouse"
  Option       "AlwaysCore" "on"
  Option       "Device" "/dev/input/event0"
  Option       "InputFashion" "Tablet"
  Option       "Mode" "Relative"
  Option       "Name" "GRAPHIRE / INTUOS (USB)"
  Option       "SendCoreEvents" "on"
  Option       "Tilt" "on"
  Option       "Type" "cursor"
  Option       "USB" "on"
  Option       "Vendor" "WACOM"
EndSection

Section "InputDevice"
  Driver       "wacom"
  Identifier   "stylus"
  Option       "Device" "/dev/input/event0"
  Option       "InputFashion" "Pen"
  Option       "Mode" "Absolute"
  Option       "Name" "GRAPHIRE / INTUOS Stylus (USB)"
  Option       "Protocol" "Auto"
  Option       "SendCoreEvents" "on"
  Option       "Tilt" "on"
  Option       "Type" "stylus"
  Option       "USB" "on"
  Option       "Vendor" "WACOM"
EndSection

Section "InputDevice"
  Driver       "wacom"
  Identifier   "eraser"
  Option       "Device" "/dev/input/event0"
  Option       "InputFashion" "Eraser"
  Option       "Mode" "Absolute"
  Option       "Name" "GRAPHIRE / INTUOS Eraser (USB)"
  Option       "Protocol" "Auto"
  Option       "SendCoreEvents" "on"
  Option       "Tilt" "on"
  Option       "Type" "eraser"
  Option       "USB" "on"
  Option       "Vendor" "WACOM"
EndSection
later on in the xorg.conf:

Code:
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 "MarbleMouse" "CorePointer"
    InputDevice "Mouse"      "SendCoreEvents"
    InputDevice "stylus"      "SendCoreEvents"
    InputDevice "eraser"      "SendCoreEvents"
    InputDevice "Keyboard1"   "CoreKeyboard"

EndSection
I also have a marblemouse. That entry is not for the tablet.

If you use 2.6 this will not work, but it might help some one.

good luck.
 
Old 02-17-2006, 06:07 AM   #3
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Wow, thanks for the effort you put into that post.
Yes, I'm using kernel 2.4.31
I followed your step-by-step tutorial already, I've seen it in another topic. It really helped me. But as I said, I'm having trouble with the events. Every event I try out with wacdump gives me the above mentioned error message.

I'm really lost, and have no idea how to fix this. I also find it weird that I have 31 events .

Thanks for your help again.
Do you have any instant messengers? It might be good to be able to discuss the problem directly.
 
Old 02-17-2006, 06:38 AM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Can you post the results of lsmod.

Also dmesg | grep wacom

Last edited by Franklin; 02-17-2006 at 06:39 AM.
 
Old 02-17-2006, 07:25 AM   #5
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Sure.


Module Size Used by Tainted: P
snd-pcm-oss 36736 0 (unused)
snd-mixer-oss 12376 0 [snd-pcm-oss]
keybdev 1892 0 (unused)
mousedev 4244 1
hid 21220 0 (unused)
usbmouse 2072 0 (unused)
input 3296 0 [keybdev mousedev hid usbmouse]
usb-ohci 19368 0 (unused)
ehci-hcd 17516 0 (unused)
usbcore 59148 1 [hid usbmouse usb-ohci ehci-hcd]
nvidia 3785196 6
8139too 13928 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
snd-cmipci 17920 2
gameport 1420 0 [snd-cmipci]
snd-pcm 54344 1 [snd-pcm-oss snd-cmipci]
snd-opl3-lib 5860 0 [snd-cmipci]
snd-hwdep 4352 0 [snd-opl3-lib]
snd-timer 13764 1 [snd-pcm snd-opl3-lib]
snd-mpu401-uart 3136 0 [snd-cmipci]
snd-rawmidi 12480 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-opl3-lib snd-rawmidi]
snd 32772 0 [snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4712 0 [snd-mixer-oss snd-pcm snd-hwdep snd-timer snd -rawmidi snd-seq-device snd]
soundcore 3396 4 [snd]
pcmcia_core 39172 0
ntfs 51232 1 (autoclean)
ide-scsi 9392 0
bash-3.00#


The
dmesg | grep wacom
command doesn't work. I tried entering just dmesg, but could't find "wacom" in the list that showed up.
 
Old 02-17-2006, 12:18 PM   #6
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
2 things I see.

evdev.o.gz is not being loaded.
Neither is wacom.o.gz

evdev needs to be loaded to activate the eventX. This is why wacdump doesn't return anything.

Not certain why wacom is not loading.

As root, do this:

modprobe evdev
modprobe wacom

then try wacdump.

Are you using hotplug? Make sure rc.hotplug is executable. You'll find it in /etc/rc.d

Let me know what happens.
 
Old 02-17-2006, 01:28 PM   #7
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
rc.hotplug is executable.

This is what happened when I entered the modprobe cmd's:

bash-3.00# modprobe evdev
bash-3.00# modprobe wacom
modprobe: Can't locate module wacom
bash-3.00#


Seems weird to me. But at least we're getting closer to the solution .
 
Old 02-17-2006, 02:52 PM   #8
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Did you compress wacom.o to wacom.o.gz prior to installing it?

Tell me what you get for this:

ls -la /lib/modules/2.4.31/kernel/drivers/usb/wacom*

It should read like this:

-rw-r--r-- 1 root root 7196 2005-12-24 15:43 /lib/modules/2.4.32/kernel/drivers/usb/wacom.o.gz

Note the wacom.o.gz.
 
Old 02-17-2006, 04:04 PM   #9
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I get this,...

bash-3.00# -la /lib/modules/2.4.31/kernel/drivers/usb/wacom*
bash: -la: command not found
bash-3.00#

And yes I compressed it to .gz.
 
Old 02-17-2006, 04:47 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
You copied the command incorrectly and left off ls ... look at it again.
 
Old 02-17-2006, 04:50 PM   #11
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
I'm sorry, the command is "ls -la", not "-la" as in:

Code:
steve@peggyo:~$ ls -la /lib/modules/2.4.31/kernel/drivers/usb/wacom*
Should have made it clearer. Just copy and paste from my post.

Last edited by Franklin; 02-17-2006 at 04:51 PM.
 
Old 02-17-2006, 05:04 PM   #12
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
The reason I'm making you do all this is that all the required modules are loading except evdev and wacom

evdev loads with modprobe which means at least it's there.

wacom will not load with modprobe meaning it's either not there, not where it should be, or not in a form that can be loaded. I want to see what you have before I make you do a lot of stuff you might not need to do.
 
Old 02-17-2006, 05:11 PM   #13
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Franklin
The reason I'm making you do all this is that all the required modules are loading except evdev and wacom
It's fine, I'm so glad that you're helping me.

Ok, this is what I get:



bash-3.00# ls -la /lib/modules/2.4.31/kernel/drivers/usb/wacom*
-rw-r--r-- 1 root root 0 2006-02-16 14:09 /lib/modules/2.4.31/kernel/drivers/us b/wacom.o.gz
bash-3.00#
 
Old 02-17-2006, 06:47 PM   #14
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Well, I see the problem with the wacom driver. It seems to have a size of 0.
I believe your build failed or something else went wrong along the way. Note the lines below when i compare my output to yours:

Mine:
Code:
-rw-r--r-- 1 root root 7196 2005-12-24 15:43 /lib/modules/2.4.32/kernel/drivers/usb/wacom.o.gz
yours:

Code:
-rw-r--r-- 1 root root 0 2006-02-16 14:09 /lib/modules/2.4.31/kernel/drivers/us b/wacom.o.gz
See the zero after the second root, mine says 7196 which happens to be the size of my module. You can double-check if you like.

You seem to have screwed something up some where. I can only suggest a fresh recompile of the linux-wacom modules. Be certain to note any errors during configure or make.

Steve
 
Old 02-18-2006, 02:30 AM   #15
Ancient_Blade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks so much, I'll try that!

But, do I have to recompile all the modules, or can I just recompile wacom.o?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 not working properly spotty spot Linux - Hardware 0 11-14-2005 04:32 PM
X11 Input drivers (keyboard and mouse), events Cyborg16 Linux - Software 1 05-22-2005 09:01 AM
psmouse and wacom pen in kernel 2.6.6 on /dev/input/mice Moloko Linux - Hardware 0 07-18-2004 12:33 PM
input devices freeze Chuck23 Fedora 2 06-28-2004 05:09 PM
Wacom tablet working, Gnome reinstalled Jiawen LinuxQuestions.org Member Success Stories 0 04-27-2004 10:35 PM


All times are GMT -5. The time now is 05:05 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration