Wacom Intuos3 not working in SuSE Linux 9.3

From FVue
Jump to: navigation, search

Problem

My Wacom Intuos3 doesn't work properly in SuSE Linux 9.3. The cursor (mouse) and stylus (pen) do not respond to my settings. The command xidump returns:

linux:~>xidump stylus
X Error: 154 BadDevice, invalid or uninitialized input device
Unable to open input device 'stylus'

The file /var/log/Xorg.0.log contains the following lines:

...
(II) XINPUT: Adding extended input device "pad" (type: Wacom Pad)
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD)
(**) Option "Device" "/dev/input/event0"
WACOM: unable to ioctl max values.
WACOM: unable to ioctl max values.
(**) Option "Device" "/dev/input/event0"
WACOM: unable to ioctl max values.
WACOM: unable to ioctl max values.
(**) Option "Device" "/dev/input/event0"
WACOM: unable to ioctl max values.
WACOM: unable to ioctl max values.
(**) Option "Device" "/dev/input/event0"
WACOM: unable to ioctl max values.
WACOM: unable to ioctl max values.
...

Road

Main

Dead end (XF86 build environment)

  • (20050817) Unable to find the XF86 build environment or Xorg SDK. Here's someone with the same problem. Never mind. See this page. XF86 build environment is not needed since wacom_drv.o is already in the ./prebuilt directory of the linuxwacom sources.

Main

  • (Another compilation warning: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is missing; modules will have no modversions. Installed kernel-syms-2.6.11.4 package.
  • (20050819) Built driver. Replaced old driver 19284 Jun 2 23:01 wacom.ko with new driver 147682 Aug 19 22:38 wacom.ko.
  • Plugged in the tablet. This is what came up in /var/log/messages:
Aug 19 22:43:32 linux kernel: ohci_hcd 0000:00:02.1: wakeup
Aug 19 22:43:33 linux kernel: usb 2-2: new full speed USB device using ohci_hcd and address 2
Aug 19 22:43:34 linux kernel: usbcore: registered new driver hiddev
Aug 19 22:43:34 linux kernel: input,hiddev96: USB HID v1.00 Mouse [Tablet PTZ-630] on usb-0000:00:02.1-2
Aug 19 22:43:34 linux kernel: usbcore: registered new driver usbhid
Aug 19 22:43:34 linux kernel: drivers/usb/input/hid-core.c: v2.01:USB HID core driver

so apparently wacom driver did not get control

  • Issued command ./configure --enable-hid --enable-mousedev --enable-evdev --with-kernel=/usr/src/linux/kernel. Got error: configure: error: "Unable to find /usr/src/linux/kernel/include/linux/input.h". Found input.h in another directory /usr/src/linux-2.6.11.4-20a but uname -r says 2.6.11.4-21.7-default so that's no good I suppose. SuSE's YaST allows upgrading kernel to 2.6.11.4-21.8 so let's try to get the sources from there. Made sure to deselect checkbox "Remove Source Packages after Update".

Dead end (compiling Module.symvers)

  • Module.symvers missing again. Downloaded kernel-syms-2.6.11.4-21.8.i586.rpm, but rpm -qpl kernel-syms-2.6.11.4-21.8.i586.rpm makes me clear no sources are supplied by this package.
  • (20050820) Found source package kernel-syms-2.6.11.4-21.8.src.rpm at the same ftp site. Now only if I could find out how to extract them. This looks useful: Chapter 34 Compiling SuSE Source Packages. Source file is here as well.
  • Had to use rpmbuild -bp instead of rpm -bp.
  • rpm -bp kernel-syms.spec gave me error kernel-dummy is needed by kernel-syms-2.6.11.4-21.8. Changed command to: rpmbuild -bp --nodeps kernel-syms.spec but still no sign of Modules.symvers. Am I stuck? Maybe should try reinstalling YaST to get kernel-syms, since YAST yields segmentation fault when trying to install things. Solved YaST No Longer Works in SUSE LINUX 9.3 on the fly.
  • I'm on a dead end trying to retrieve Module.symvers. According to this page I should just copy it from binary to source dir?

Main

  • Command ./configure --enable-wacom;make now gives error Makefile:494: .config: No such file or directory. Found solution here:
cd /usr/src/linux
make cloneconfig
make modules_prepare
  • Plugged in the tablet again:
Aug 20 12:57:49 linux kernel: ohci_hcd 0000:00:02.1: wakeup
Aug 20 12:57:50 linux kernel: usb 3-2: new full speed USB device using ohci_hcd and address 2
Aug 20 12:57:51 linux kernel: usbcore: registered new driver hiddev
Aug 20 12:57:51 linux kernel: input,hiddev96: USB HID v1.00 Mouse [Tablet PTZ-630] on usb-0000:00:02.1-2
Aug 20 12:57:51 linux kernel: usbcore: registered new driver usbhid
Aug 20 12:57:51 linux kernel: drivers/usb/input/hid-core.c: v2.01:USB HID core driver
  • ./configure --enable-hid --enable-mousedev --enable-evdev --with-kernel=/usr/src/linux;make gives error Makefile:69: *** You requested to build mousedev with configure, but mousedev is not a module in your kernel config. Stop. Solution: left out the --enable-mousedev
  • Copied drivers (after making backup)
cp usbhid.ko /lib/modules/2.6.11.4-21.8-smp/kernel/drivers/usb/input/usbhid.ko
cp evdev.ko /lib/modules/2.6.11.4-21.8-smp/kernel/drivers/input/evdev.ko
reboot
  • Saw startup errors passing by:
modprobe: FATAL: Error inserting evdev () invalid module format
and /var/log/messages contains warnings:
Aug 20 13:22:05 linux kernel: evdev: disagrees about version of symbol struct_module
Aug 20 13:22:05 linux kernel: usbhid: disagrees about version of symbol struct_module
Aug 20 13:22:05 linux kernel: wacom: disagrees about version of symbol struct_module
  • Trief rebooting with GRUB Boot option 'nosmp' but starting up now becomes *very* slow while receiving startup messages hda: lost interrupt.
  • Might the invalid module format be caused because I copied Module.symvers from /usr/src/linux-2.6.11.4-21.7-obj/i386/default/Module.symvers whereas I should've taken /usr/src/linux-2.6.11.4-21.7-obj/i386/smp/Module.symvers, because uname -r says 2.6.11.4-21.8-smp. (Shouldn't have used outdated locatedb but find instead)
  • Error make: ./bin/sh: line 0: cd: src: No such file or directory. Solution: use su - instead of just su.
  • ./configure --enable-hid --enable-evdev --with-kernel=/usr/src/linux
  • Plugged in the tablet and look at /var/log/messages :-), some errors but detected:
Aug 20 14:24:57 linux kernel: ohci_hcd 0000:00:02.1: wakeup
Aug 20 14:24:57 linux kernel: usb 3-2: new full speed USB device using ohci_hcd and address 2
Aug 20 14:24:58 linux kernel: usbhid: module not supported by Novell, setting U taint flag.
Aug 20 14:24:58 linux kernel: usbhid: Unknown symbol hid_find_field_by_usage, st_info == 0x1
Aug 20 14:24:58 linux kernel: load_module: err 0xfffffffe (dont worry)
Aug 20 14:24:58 linux modprobe: FATAL: Error inserting usbhid (/lib/modules/2.6.11.4-21.8-smp/kernel/drivers/usb/input/usbhid.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Aug 20 14:24:58 linux /etc/hotplug.d/usb/50-usb.hotplug[7443]: ... can't load module usbhid
Aug 20 14:24:58 linux /etc/hotplug.d/usb/50-usb.hotplug[7443]: missing kernel or user mode driver usbhid
Aug 20 14:24:58 linux kernel: wacom: module not supported by Novell, setting U taint flag.
Aug 20 14:24:58 linux kernel: input: Wacom Intuos3 6x8 on usb-0000:00:02.1-2
Aug 20 14:24:58 linux kernel: usbcore: registered new driver wacom
Aug 20 14:24:58 linux kernel: /home/freddy/linuxwacom-0.6.8/src/2.6.11/wacom.c: v1.40 - 2.6.11.3-pc-0.2:USB Wacom Graphire and Wacom Intuos tablet driver
  • The tablet is listed in more /proc/bus/input/devices
I: Bus=0003 Vendor=056a Product=00b1 Version=0102
N: Name="Wacom Intuos3 6x8"
P: Phys=usb-0000:00:02.1-2/input0
H: Handlers=mouse2 event3
B: EV=1f
B: KEY=1cff 0 1f00ff 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=f00017b
B: MSC=1
  • Tablet seems to work with my XF86Config:
# XF86Config

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection

Section "Module"
  Load         "glx"
  Load         "type1"
  Load         "extmod"
  Load         "dbe"
  Load         "freetype"
  Load         "v4l"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse"
	# Do not connect to /dev/input/mice, otherwise it will conflict with Wacom
  Option "Device" "/dev/input/mouse1"
	# This protocol supports a scroll wheel
  Option "Protocol" "ExplorerPS/2"
    # Adding this enables the extra buttons on the Trust 450L
	# Issue 'xmodmap -e "pointer = 1 2 3 6 7 4 5" in your startup script to use them
  Option "Buttons"      "7"
    # Adding this maps wheel scrolling events to mouse buttons 6 & 7
  Option "ZAxisMapping" "6 7"
EndSection

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

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

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

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


Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  DisplaySize  340 270
  HorizSync    28-93
  Identifier   "Monitor[0]"
  ModelName    "VISION MASTER PRO 452 (MA901U)"
  Option       "DPMS"
  VendorName   "IIYAMA"
  VertRefresh  50-180
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
  Modeline 	"640x480" 27.74 640 664 728 816 480 481 484 500
  Modeline 	"640x480" 32.64 640 672 736 832 480 481 484 503
  Modeline 	"640x480" 36.97 640 672 736 832 480 481 484 505
  Modeline 	"640x480" 42.22 640 680 744 848 480 481 484 508
  Modeline 	"640x480" 46.80 640 680 744 848 480 481 484 511
  Modeline 	"640x480" 51.43 640 680 744 848 480 481 484 514
  Modeline 	"640x480" 57.18 640 680 752 864 480 481 484 517
  Modeline 	"640x480" 62.12 640 680 752 864 480 481 484 521
  Modeline 	"1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
  Modeline 	"1152x864" 93.90 1152 1224 1344 1536 864 865 868 899
  Modeline 	"1152x864" 109.43 1152 1224 1352 1552 864 865 868 904
  Modeline 	"1152x864" 125.43 1152 1232 1360 1568 864 865 868 909
  Modeline 	"1152x864" 140.45 1152 1232 1360 1568 864 865 868 914
  Modeline 	"1152x864" 143.47 1152 1232 1360 1568 864 865 868 915
  Modeline 	"1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline 	"1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
  Modeline 	"1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
  Modeline 	"1024x768" 97.84 1024 1088 1200 1376 768 769 772 808
  Modeline 	"1024x768" 110.91 1024 1096 1208 1392 768 769 772 813
  Modeline 	"1024x768" 122.97 1024 1096 1208 1392 768 769 772 818
  Modeline 	"1024x768" 127.69 1024 1096 1208 1392 768 769 772 819
  Modeline 	"800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline 	"800x600" 44.13 800 840 920 1040 600 601 604 624
  Modeline 	"800x600" 51.73 800 840 928 1056 600 601 604 628
  Modeline 	"800x600" 58.73 800 840 928 1056 600 601 604 632
  Modeline 	"800x600" 66.71 800 848 936 1072 600 601 604 635
  Modeline 	"800x600" 73.98 800 848 936 1072 600 601 604 639
  Modeline 	"800x600" 82.55 800 856 944 1088 600 601 604 643
  Modeline 	"800x600" 90.10 800 856 944 1088 600 601 604 647
  Modeline 	"800x600" 97.59 800 856 944 1088 600 601 604 650
  Modeline 	"768x576" 33.74 768 792 872 976 576 577 580 596
  Modeline 	"768x576" 40.41 768 800 880 992 576 577 580 599
  Modeline 	"768x576" 47.41 768 808 888 1008 576 577 580 603
  Modeline 	"768x576" 53.75 768 808 888 1008 576 577 580 606
  Modeline 	"768x576" 61.21 768 816 896 1024 576 577 580 610
  Modeline 	"768x576" 67.79 768 816 896 1024 576 577 580 613
  Modeline 	"768x576" 75.72 768 824 904 1040 576 577 580 617
  Modeline 	"768x576" 82.67 768 824 904 1040 576 577 580 621
  Modeline 	"768x576" 89.56 768 824 904 1040 576 577 580 624
  Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
  Modeline 	"640x480" 27.74 640 664 728 816 480 481 484 500
  Modeline 	"640x480" 32.64 640 672 736 832 480 481 484 503
  Modeline 	"640x480" 36.97 640 672 736 832 480 481 484 505
  Modeline 	"640x480" 42.22 640 680 744 848 480 481 484 508
  Modeline 	"640x480" 46.80 640 680 744 848 480 481 484 511
  Modeline 	"640x480" 51.43 640 680 744 848 480 481 484 514
  Modeline 	"640x480" 57.18 640 680 752 864 480 481 484 517
  Modeline 	"640x480" 62.12 640 680 752 864 480 481 484 521
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1152x864" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      4
    Modes      "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1152x864" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce FX 5200"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  Option       "Rotate" "off"
  VendorName   "NVidia"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard" "CoreKeyboard"
  InputDevice  "Mouse" "CorePointer"
  InputDevice  "cursor"   "SendCoreEvents"
  InputDevice  "stylus"   "SendCoreEvents"
  InputDevice  "eraser"   "SendCoreEvents"
  InputDevice  "pad"   # Intuos3.  Should not send core events
  Option       "Clone" "off"
  Option       "Xinerama" "on"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection

  • (20050822) Tested my USB digital camera because of the usbhid errors, but the camera connection still works.
  • (20050827) uname -r is reporting 2.6.11.4-21.8-smp but I whish to have the default kernel since I don't have a multiprocessor machine and because the subject was raised on the linuxwacom mailing list. I must've installed something wrong during the whole process. How do I change to the default kernel again? Answer: just deselect the package in YaST. Of course, the Intuos3 now isn't working anymore... Into the whole process again.
# Backup drivers
tar -cvzf /home/freddy/proj/linuxwacom/backup/drivers-2.6.11.4-21.8-default.tgz \
    /lib/modules/2.6.11.4-21.8-default/kernel/drivers/usb/input/usbhid.ko \
    /lib/modules/2.6.11.4-21.8-default/kernel/drivers/input/evdev.ko \
    /lib/modules/2.6.11.4-21.8-default/kernel/drivers/usb/input/wacom.ko
./configure --enable-hid --enable-evdev --enable-wacom --with-kernel=/usr/src/linux
make
cp /home/freddy/linuxwacom-0.6.8/src/2.6.11/wacom.ko /lib/modules/2.6.11.4-21.8-default/kernel/drivers/usb/input/wacom.ko
cp /home/freddy/linuxwacom-0.6.8/src/2.6.11/usbhid.ko /lib/modules/2.6.11.4-21.8-default/kernel/drivers/usb/input/usbhid.ko
cp /home/freddy/linuxwacom-0.6.8/src/2.6.11/evdev.ko /lib/modules/2.6.11.4-21.8-default/kernel/drivers/input/evdev.ko
  • (20050827) modprobe 'invalid module format' errors during startup and from /var/log/messages it appears I've still compiled the modules with smp-settings, where it should've been 'default'?
  • (20050829) Copied wacom_drv.ko as well.
cp /home/freddy/linuxwacom-0.6.8/prebuilt/wacom_drv.o_6.8k2.6 /usr/X11R6/lib/modules/input/wacom_drv.o

When plugging in tablet while computer is running, tablet is not responding and /var/log/messages contains messages:

Aug 29 15:26:53 linux kernel: usbhid: module not supported by Novell, setting U taint flag.
Aug 29 15:26:53 linux kernel: usbhid: Unknown symbol hid_find_field_by_usage, st_info == 0x1
Aug 29 15:26:53 linux kernel: load_module: err 0xfffffffe (dont worry)
Aug 29 15:26:53 linux modprobe: FATAL: Error inserting usbhid (/lib/modules/2.6.11.4-21.8-default/kernel/drivers/usb/input/usbhid.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Aug 29 15:26:53 linux /etc/hotplug.d/usb/50-usb.hotplug[18253]: ... can't load module usbhid
Aug 29 15:26:53 linux /etc/hotplug.d/usb/50-usb.hotplug[18253]: missing kernel or user mode driver usbhid
  • Reboot. Tablet is working again. Boot message however:
modprobe: FATAL: Error inserting usbhid (/lib/modules/2.6.11.4-21.8-default/kernel/drivers/usb/input/usbhid.ko): Unknown symbol in module, or unknown parameter (see dmesg)

But /var/log/messages contains errors(?):

Aug 29 15:55:32 linux kernel: evdev: module not supported by Novell, setting U taint flag.
Aug 29 15:55:32 linux kernel: usbhid: module not supported by Novell, setting U taint flag.
Aug 29 15:55:32 linux kernel: usbhid: Unknown symbol hid_find_field_by_usage, st_info == 0x1
Aug 29 15:55:32 linux kernel: load_module: err 0xfffffffe (dont worry)
Aug 29 15:55:32 linux kernel: wacom: module not supported by Novell, setting U taint flag.
Aug 29 15:55:32 linux kernel: input: Wacom Intuos3 6x8 on usb-0000:00:02.1-1
Aug 29 15:55:32 linux kernel: usbcore: registered new driver wacom
Aug 29 15:55:32 linux kernel: /home/freddy/linuxwacom-0.6.8/src/2.6.11/wacom.c: v1.40 - 2.6.11.3-pc-0.2:USB Wacom Graphire and Wacom Intuos tablet driver
  • (20050903) I'm going to compile linuxwacom-0.6.9 to get rid of the errors.

Comments

blog comments powered by Disqus