Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Installing replacement wacom_drv.so crashes x

Help
bytefaux
2013-12-06
2013-12-09
  • bytefaux
    bytefaux
    2013-12-06

    I am attempting to replace my distro's wacom_drv.so with one built from the xf86-input-wacom source. Everything builds and installs without error, but once I plug in my intuos 3 the screen goes black with a broken pipe message.

    Distro:

    32bit Ubuntu 12.04
    kernel 3.2.0-57-generic-pae
    xserver 1.11.3
    xserver-xorg-input-wacom 0.14.0-0ubuntu2.1

    Process:

    cd /usr/lib/xorg/modules/input
    sudo cp wacom_drv.so wacom_drv.so.backup
    cd ~/Documents/opensource
    wget sourceforge.net/.../xf86-input-wacom-0.14.0.tar.gz
    tar -zxvf xf86-input-wacom-0.14.0.tar.gz
    cd xf86-input-wacom-0.14.0
    ./configure --prefix=/usr --libdir=/usr/lib
    make
    sudo make install

    Then I logged out and back in before pluging in the intuos.
    Screen goes black and has broken pipe message.
    Unpluged intuos and rebooted computer from tty1 terminal.
    Attempted pluging in intuos 3 after reboot only to get black screen again.
    Unpluged intuos and restarted xserver from tty1 terminal.
    Replaced the new wacom_drv.so with the original wacom_drv.so.backup.
    Log out and back in before pluging in intuos.
    Everything works and no black screen.

    Notes:

    The compiled wacom_drv.so size is 420KB the original is 92KB.
    wacom_drv.la file is also installed alongside wacom_drv.so.

    Xorg Log:

    [    61.654] (**) Wacom Intuos3 4x6: Applying InputClass "evdev tablet catchall"
    [    61.654] (**) Wacom Intuos3 4x6: Applying InputClass "Wacom class"
    [    61.654] (II) LoadModule: "wacom"
    [    61.654] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
    [    61.666] (II) Module wacom: vendor="X.Org Foundation"
    [    61.666]    compiled for 1.11.3, module version = 0.14.0
    [    61.666]    Module class: X.Org XInput Driver
    [    61.666]    ABI class: X.Org XInput driver, version 16.0
    [    61.666] (II) Using input driver 'wacom' for 'Wacom Intuos3 4x6'
    [    61.666] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
    [    61.666] (**) Wacom Intuos3 4x6: always reports core events
    [    61.666] (**) Option "Device" "/dev/input/event13"
    [    61.667] (II) Wacom Intuos3 4x6: type not specified, assuming 'stylus'.
    [    61.667] (II) Wacom Intuos3 4x6: other types will be automatically added.
    [    61.667] (--) Wacom Intuos3 4x6 stylus: using pressure threshold of 27 for button 1
    [    61.667] (--) Wacom Intuos3 4x6 stylus: Wacom USB Intuos3 tablet maxX=31496 maxY=19685 maxZ=1023 resX=200000 resY=200000  tilt=enabled
    [    61.667] (II) Wacom Intuos3 4x6 stylus: hotplugging dependent devices.
    
     
    Last edit: bytefaux 2013-12-06
  • bytefaux
    bytefaux
    2013-12-09

    Alright, downloading the source with patches from ubuntu packages has solved the issse. Anyone having this issue on ubuntu should look into installing distro packages from source with apt-get and dpkg-buildpackage as a possible solution.

    Process:

    cd ~/Documents/opensource
    sudo apt-get build-dep xserver-xorg-input-wacom
    apt-get source xserver-xorg-input-wacom
    cd xf86-input-wacom-0.14.0
    dpkg-buildpackage -rfakeroot -uc -b