LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Wacom Bamboo no longer working in Slackware 13 (https://www.linuxquestions.org/questions/slackware-14/wacom-bamboo-no-longer-working-in-slackware-13-a-762834/)

metageek 10-18-2009 04:49 PM

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


metageek 10-18-2009 05:05 PM

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

Dinithion 10-18-2009 05:08 PM

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. :)

Dinithion 10-18-2009 05:10 PM

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?

metageek 10-18-2009 05:47 PM

Quote:

Originally Posted by Dinithion (Post 3724182)
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...

Dinithion 10-19-2009 02:53 AM

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 :)

metageek 10-20-2009 03:01 PM

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!)

metageek 11-11-2009 01:13 PM

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.


All times are GMT -5. The time now is 04:27 PM.