The xf86-input-wacom-0.22.1 release tarball compiles ok on kubuntu 12.04 (xorg version 1.11.4) and X initially loads using it. However as soon as a tablet is attached to the machine and X tries to configure it the Xserver crashes reporting the error;
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/input/wacom_drv.so: undefined symbol: input_option_menu
This problem isn't present in previous releases 0.20 and 0.21.
Let me know if you need any further information on the matter.
Thanks
Jason
p.s. and before anybody asks, sorry no I can't just update to a later kubuntu release; I'm dealing with a corporate desktop where we are locked into staying on each long term release (lts) until the next one comes out.
input_option_menu?? that doesn't sound right, please re-check the symbol name
Sorry my apologies, I'm not quite sure how I copied the entire message carefully and still messed up the most important bit; The correct error is usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/input/wacom_drv.so: undefined symbol: input_option_new
I've also attached a picture of the error just incase there is something else I've typed wrong and missed. I couldn't get the message from the log file, even though the X process goes away when the error occurs the actual error isn't logged in the Xorg log, it just gets to;
[ 2440.961] (II) config/udev: Adding input device Wacom Intuos5 M Pen (/dev/input/event7)
[ 2440.961] () Wacom Intuos5 M Pen: Applying InputClass "evdev tablet catchall"
[ 2440.961] () Wacom Intuos5 M Pen: Applying InputClass "Wacom class"
[ 2440.961] (II) LoadModule: "wacom"
[ 2440.961] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 2440.961] (II) Module wacom: vendor="X.Org Foundation"
[ 2440.961] compiled for 1.11.3, module version = 0.22.1
[ 2440.961] Module class: X.Org XInput Driver
[ 2440.961] ABI class: X.Org XInput driver, version 16.0
[ 2440.961] (II) Using input driver 'wacom' for 'Wacom Intuos5 M Pen'
[ 2440.961] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 2440.961] () Wacom Intuos5 M Pen: always reports core events
[ 2440.961] () Option "Device" "/dev/input/event7"
[ 2440.962] (II) Wacom Intuos5 M Pen: type not specified, assuming 'stylus'.
[ 2440.962] (II) Wacom Intuos5 M Pen: other types will be automatically added.
[ 2440.962] (--) Wacom Intuos5 M Pen stylus: using pressure threshold of 27 for button 1
[ 2440.962] (--) Wacom Intuos5 M Pen stylus: Wacom USB Intuos5 tablet maxX=44704 maxY=27940 maxZ=2047 resX=200000 resY=200000 tilt=enabled
[ 2440.962] (II) Wacom Intuos5 M Pen stylus: hotplugging dependent devices.
then logging cuts off, I had to startx from a terminal and get the output there to see the symbol lookup error.
This is a Ubuntu bug. 12.04 shipped with what we called the frankenserver. they have a lot of backports from 1.12, but not everything. The wacom driver has a ifdef guards in place to supply input_option_new() on older servers but the ubuntu backport screws that check.
[ 2440.961] ABI class: X.Org XInput driver, version 16.0
this should report version 14.0 on server 1.11. You can work around this locally in wcmValidate.c, just remove the ifdef around input_option_new. either way, that's a Ubuntu bug, sorry.
hmm I've tried applying the attached patch to my source which should cover commenting out the ifdefs around that statement. However the result from compiling with that patch for me is just a X segfault as soon as the tablet is attached;
[ 72837.042] (II) config/udev: Adding input device Wacom Intuos5 M Pen (/dev/input/event7)
[ 72837.042] () Wacom Intuos5 M Pen: Applying InputClass "evdev tablet catchall"
[ 72837.042] () Wacom Intuos5 M Pen: Applying InputClass "Wacom class"
[ 72837.042] (II) LoadModule: "wacom"
[ 72837.042] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 72837.042] (II) Module wacom: vendor="X.Org Foundation"
[ 72837.042] compiled for 1.11.3, module version = 0.22.1
[ 72837.042] Module class: X.Org XInput Driver
[ 72837.042] ABI class: X.Org XInput driver, version 16.0
[ 72837.042] (II) Using input driver 'wacom' for 'Wacom Intuos5 M Pen'
[ 72837.042] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 72837.042] Option "StopBits" "1"
[ 72837.042] Option "DataBits" "8"
[ 72837.042] Option "Parity" "None"
[ 72837.042] Option "Vmin" "1"
[ 72837.042] Option "Vtime" "10"
[ 72837.042] Option "FlowControl" "Xoff"
[ 72837.042] Option "_source" "server/udev"
[ 72837.042] Option "name" "Wacom Intuos5 M Pen"
[ 72837.042] Option "path" "/dev/input/event7"
[ 72837.042] Option "device" "/dev/input/event7"
[ 72837.042] Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-6/8-6.2/8-6.2:1.0/input/input8/event7"
[ 72837.042] Option "driver" "wacom"
[ 72837.042] () Wacom Intuos5 M Pen: always reports core events
[ 72837.042] () Option "Device" "/dev/input/event7"
[ 72837.042] () Option "Device" "/dev/input/event7"
[ 72837.043] (II) Wacom Intuos5 M Pen: type not specified, assuming 'stylus'.
[ 72837.043] (II) Wacom Intuos5 M Pen: other types will be automatically added.
[ 72837.043] (--) Wacom Intuos5 M Pen stylus: using pressure threshold of 27 for button 1
[ 72837.043] (--) Wacom Intuos5 M Pen stylus: Wacom USB Intuos5 tablet maxX=44704 maxY=27940 maxZ=2047 resX=200000 resY=200000 tilt=enabled
[ 72837.043] (II) Wacom Intuos5 M Pen stylus: hotplugging dependent devices.
[ 72837.043] (EE) Wacom Intuos5 M Pen stylus: Invalid type 'touch' for this device.
[ 72837.043] (II) Wacom Intuos5 M Pen stylus: hotplugging completed.
[ 72837.120] () Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-6/8-6.2/8-6.2:1.0/input/input8/event7"
[ 72837.120] (II) XINPUT: Adding extended input device "Wacom Intuos5 M Pen stylus" (type: STYLUS, id 12)
[ 72837.120] (II) XKB: Reusing cached keymap
[ 72837.120] () Wacom Intuos5 M Pen stylus: (accel) keeping acceleration scheme 1
[ 72837.120] () Wacom Intuos5 M Pen stylus: (accel) acceleration profile 0
[ 72837.120] () Wacom Intuos5 M Pen stylus: (accel) acceleration factor: 2.000
[ 72837.120] () Wacom Intuos5 M Pen stylus: (accel) acceleration threshold: 4
[ 72837.120] () Option "Device" "/dev/input/event7"
[ 72837.120] () (null): Applying InputClass "evdev tablet catchall"
[ 72837.120] (**) (null): Applying InputClass "Wacom class"
[ 72837.120] (II) No identifier specified, ignoring this device.
[ 72837.120]
Backtrace:
[ 72837.121] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f80d19e79e6]
[ 72837.121] 1: /usr/bin/X (0x7f80d185f000+0x18c88a) [0x7f80d19eb88a]
[ 72837.121] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f80d0b85000+0xfcb0) [0x7f80d0b94cb0]
[ 72837.121] 3: /lib/x86_64-linux-gnu/libc.so.6 (0x7f80cf9f5000+0x1500a9) [0x7f80cfb450a9]
[ 72837.121] 4: /usr/bin/X (NewInputDeviceRequest+0x52) [0x7f80d18fe9a2]
[ 72837.121] 5: /usr/lib/xorg/modules/input/wacom_drv.so (0x7f80c972f000+0xf9ea) [0x7f80c973e9ea]
[ 72837.121] 6: /usr/bin/X (ProcessWorkQueue+0x21) [0x7f80d18b1ad1]
[ 72837.121] 7: /usr/bin/X (WaitForSomething+0x65) [0x7f80d19e4c95]
[ 72837.121] 8: /usr/bin/X (0x7f80d185f000+0x4e5f2) [0x7f80d18ad5f2]
[ 72837.121] 9: /usr/bin/X (0x7f80d185f000+0x3d7ba) [0x7f80d189c7ba]
[ 72837.121] 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f80cfa1676d]
[ 72837.121] 11: /usr/bin/X (0x7f80d185f000+0x3daad) [0x7f80d189caad]
[ 72837.121] Segmentation fault at address (nil)
[ 72837.121]
Caught signal 11 (Segmentation fault). Server aborting
[ 72837.121]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 72837.121] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 72837.121]
[ 72837.140] (II) evdev: Power Button: Close
[ 72837.140] (II) UnloadModule: "evdev"
[ 72837.140] (II) Unloading evdev
[ 72837.140] (II) evdev: Power Button: Close
[ 72837.140] (II) UnloadModule: "evdev"
[ 72837.140] (II) Unloading evdev
[ 72837.150] (II) evdev: USB Keyboard: Close
[ 72837.150] (II) UnloadModule: "evdev"
[ 72837.150] (II) Unloading evdev
[ 72837.150] (II) evdev: USB Keyboard: Close
[ 72837.150] (II) UnloadModule: "evdev"
[ 72837.150] (II) Unloading evdev
[ 72837.160] (II) evdev: USB Keyboard: Close
[ 72837.160] (II) UnloadModule: "evdev"
[ 72837.160] (II) Unloading evdev
[ 72837.160] (II) evdev: HP WMI hotkeys: Close
[ 72837.160] (II) UnloadModule: "evdev"
[ 72837.160] (II) Unloading evdev
that was indeed a driver bug - now fixed with cb14924a2a5be21c8525ca70932ab8b5f0f99752. Thanks
Thanks for the quick patch, I can confirm that the driver is now working with my Xorg version and has been stable for several hours now. :)
sorry, typo, should report ABI version 13 (not 14 as in the previous comment, and definitely not 16 as the 12.04 X server)