LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-18-2009, 04:49 PM   #1
metageek
Member
 
Registered: Jun 2007
Location: manchester, uk
Distribution: Slackware
Posts: 116

Rep: Reputation: 21
Wacom Bamboo no longer working in Slackware 13


I've read the other threads but could not find any useful hint.

Slackware 13 32 bits, running kernel 2.6.30.1 configured with CONFIG_TABLET_USB_WACOM=m and the module wacom is loaded. I installed linuxwacom 0.8.3 (using slackbuild from slackbuilds.org).

Nothing happens without an xorg.conf, then I tried adding the options I had there in slackware 12.2, restarted X but still no signs of the tablet working (eg stylus does not move cursor, and Gimp does not know about this device).

The tablet is recognized since there are entries for it in /dev/input/event and wacdump shows response when I move the stylus (wacdump /dev/input/event5 ). I noticed, however that there is only one entry in /dev/input/event for it, I seem to remember that there were three or four previously.

Any good soul out there that can help with this?

More info:

# lsmod
Code:
Module                  Size  Used by
wacom                  17860  0
fuse                   46528  1
nvidia               7218852  36
snd_hda_codec_nvhdmi     2492  1
snd_hda_codec_realtek   176888  1
usb_storage            29760  1
usblp                  10096  0
snd_hda_intel          21776  2
ohci_hcd               30892  0
snd_hda_codec          48012  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
ohci1394               24948  0
ieee1394               64624  1 ohci1394
sg                     22012  0
wmi                     5472  0
forcedeth              47096  0
ehci_hcd               41268  0
snd_hwdep               5880  1 snd_hda_codec
# lsusb
Code:
Bus 004 Device 002: ID 056a:0065 Wacom Co., Ltd
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 04ca:002f Lite-On Technology Corp.
Bus 003 Device 003: ID 046d:c054 Logitech, Inc.
Bus 003 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:6363 Alcor Micro Corp.
Bus 001 Device 002: ID 04b8:081c Seiko Epson Corp. Stylus Photo RX640/RX650 (PM-A890)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# ls -l /dev/input/by-id/
Code:
lrwxrwxrwx 1 root root 9 2009-10-16 08:00 usb-Lite-On_Technology_Corp._USB_Multimedia_Keyboard-event-kbd -> ../event3
lrwxrwxrwx 1 root root 9 2009-10-16 08:00 usb-Logitech_USB_Optical_Mouse-event-mouse -> ../event2
lrwxrwxrwx 1 root root 9 2009-10-16 08:00 usb-Logitech_USB_Optical_Mouse-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 2009-10-16 08:00 usb-Wacom_Co._Ltd._MTE-450-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 2009-10-16 08:00 usb-Wacom_Co._Ltd._MTE-450-mouse -> ../mouse1
 
Old 10-18-2009, 05:05 PM   #2
metageek
Member
 
Registered: Jun 2007
Location: manchester, uk
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: 21
Some more info:

X seems to recognize the tablet but gives errors:
Quote:
(II) config/hal: Adding input device Wacom Bamboo
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.1.3
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(II) Synaptics touchpad driver version 1.1.3
(**) Option "Device" "/dev/input/event5"
(--) Wacom Bamboo: no supported touchpad found
(EE) Wacom Bamboo Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Wacom Bamboo"
(II) UnloadModule: "synaptics"
(EE) config/hal: NewInputDeviceRequest failed (8)
Init failed for input device "Wacom Bamboo"
It is trying to use the synaptics driver, should it not be trying to use the wacom driver?

Here is my xorg.conf file (the entire thing)
Quote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue May 12 12:47:02 PD
T 2009

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device""/dev/input/by-id/usb-Wacom_Co._Ltd._MTE-450-event-mouse"
Option "Type" "stylus"
Option "USB" "on"
# Option "PressCurve" "0,75,25,100" #Softest curve (loose pressure)
# Option "PressCurve" "0,50,50,100"
# Option "PressCurve" "0,25,75,100"
# Option "PressCurve" "0,0,100,100" #linear curve (default)
Option "PressCurve" "25,0,100,75"
# Option "PressCurve" "50,0,100,50"
# Option "PressCurve" "75,0,100,25" #firmest curve (hard pressure)
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/by-id/usb-Wacom_Co._Ltd._MTE-450-event-mouse"
Option "Type" "eraser"
Option "USB" "on"
# Option "PressCurve" "0,75,25,100" #Softest curve (loose pressure)
# Option "PressCurve" "0,50,50,100"
# Option "PressCurve" "0,25,75,100"
# Option "PressCurve" "0,0,100,100" #linear curve (default)
Option "PressCurve" "25,0,100,75"
# Option "PressCurve" "50,0,100,50"
# Option "PressCurve" "75,0,100,25" #firmest curve (hard pressure)
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/by-id/usb-Wacom_Co._Ltd._MTE-450-event-mouse"
Option "Type" "cursor"
Option "USB" "on"
EndSection

# This section is for Intuos3, Cintiq 21UX, Graphire4, or Bamboo
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device""/dev/input/by-id/usb-Wacom_Co._Ltd._MTE-450-event-mouse"
Option "Type" "pad"
Option "USB" "on"
EndSection
 
Old 10-18-2009, 05:08 PM   #3
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 436

Rep: Reputation: 56
Have you modified xorg.conf accordingly? You will have to specify what event the tablet is. It will register as one, so that is correct. This example is from my xorg.conf:

Code:
Section "InputDevice"

#  Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/event5" # USB ONLY?
    Option         "Type" "cursor"
#  Option        "ForceDevice"   "ISDV4"           # Tablet PC ONLY
    Option         "USB" "on"               # USB ONLY
EndSection

Section "InputDevice"

#  Option        "Device"        "/dev/ttyS0"         # SERIAL ONLY
    Identifier     "pad"
    Driver         "wacom"
    Option         "Device" "/dev/input/event5"    # USB ONLY
    Option         "Type" "pad"
    Option         "USB" "on"                  # USB ONLY
EndSection
As you can see, both pad and cursor use the same event. If you modify xorg.conf according to http://linuxwacom.sourceforge.net/index.php/howto/x11 it should work. I think.

Last edited by Dinithion; 10-18-2009 at 05:09 PM.
 
Old 10-18-2009, 05:10 PM   #4
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 436

Rep: Reputation: 56
Ok, I didn't see your post before I submitted. Have you verified that event5 is the actual device to your wacom?

if you do: cat /dev/input/event5

and use the stylus, do you get a lot of garbage in the terminal?
 
Old 10-18-2009, 05:47 PM   #5
metageek
Member
 
Registered: Jun 2007
Location: manchester, uk
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Dinithion View Post
Ok, I didn't see your post before I submitted. Have you verified that event5 is the actual device to your wacom?

if you do: cat /dev/input/event5

and use the stylus, do you get a lot of garbage in the terminal?
Yes, I see garbage on the terminal, this is the same test I reported as
Quote:
wacdump /dev/input/event5
In xorg.conf I use /dev/input/by-id/usb-Wacom_Co._Ltd._MTE-450-event-mouse which maps into /dev/input/event5, and has the advantage of always working, even if the kernel somehow assigns a different event to the device. Will try using event5 directly, but this is unlikely to be the problem.

I suspect the problem is really that X is trying to load the synaptics driver for this device (see my Xorg.0.log snippet in the previous post), even though my xorg.conf is pointing it to wacom...
 
Old 10-19-2009, 02:53 AM   #6
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 436

Rep: Reputation: 56
Unfortunately it look like I don't have much more to contribute with, and you for sure have done your homework :P

The only thing I can think of, is to remove the synaptics driver unless you are using a laptop. Well, you could remove it anyway, just to debug. If I think of something, I will tell you
 
Old 10-20-2009, 03:01 PM   #7
metageek
Member
 
Registered: Jun 2007
Location: manchester, uk
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: 21
Ok, I tried disabling the synaptics driver, by renaming /usr/lib/xorg/modules/input/synaptics_drv.so . X still does not try to load the wacom driver (which is properly installed in /usr/lib/xorg/modules/input/wacom_drv.so). I still see the following errors in /var/log/Xorg.0.log

Code:
(II) config/hal: Adding input device Wacom Bamboo
(II) LoadModule: "synaptics"
 [...]
(EE) Wacom Bamboo Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Wacom Bamboo"
(II) UnloadModule: "synaptics"
Notice the first line there: it seems that HAL is telling X that the Wacom Bamboo should be serviced by the synaptics driver. This is in spite of my specific lines in /etc/X11/xorg.conf (see previous postings).

I think I am getting to the root of the problem, so two specific questions:

1) Where is the HAL configuration so that I can tell it that Wacom uses wacom_drv.so rather than synaptics_drv.so ?

2) Why is Xorg not following the device configuration lines in /etc/X11/xorg.conf (it does for video driver!)
 
Old 11-11-2009, 01:13 PM   #8
metageek
Member
 
Registered: Jun 2007
Location: manchester, uk
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: 21
Finally solved this problem. It turns out the slackbuild has an old version of linuxwacom. I tweaked it[*] to use version 0.8.4-3, installed the package, rebooted and the wacom bamboo now works perfectly.

[*] just get the source tarball, then edit the linuxwacom.SlackBuild file to match that version number and run the slackbuild.
 
  


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
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
Getting my Wacom Bamboo to work on my Acer Aspire One running Linpus Linux Lite rignahkohe Linux - Newbie 3 01-23-2009 06:31 AM
Anyone get a wacom tablet working under Slackware 12.2 exad Slackware 14 01-13-2009 09:26 PM
Wacom tablet no longer working gymnart Suse/Novell 2 06-28-2006 10:34 AM


All times are GMT -5. The time now is 08:10 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