You are not logged in.

#1 2008-12-13 04:37:57

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

linuxwacom - hp tx2000 - wacom guide (plus wacomcpl problem)

hi everyone, for some reason i found it extra difficult to configure my tablet/touch pc recently - could have been X or a kernel update, who knows.
so here is how i got it done, and also the only problem i have so far.

first the problem.  i cannot get wacomcpl to work when i compile this thing from source, after a combination of ubuntu and archlinux forum reading i suspect it to be something with arch's recent tcl/tk stuff - from what i understand wacomcpl doesnt compile or install or something...maybe a guru out there can help us out with that..

also, here is an excellent resource (especially if wacomcpl isnt working to help calibrate and you use an hp tx20000)...
http://ubuntuforums.org/showthread.php? … ost5469447

and of course the overall best way to do this is to read up and follow the directions where they come from:
http://linuxwacom.sourceforge.net/index … l#download

now im super new at this stuff, so i probably can't answer questions if you ask them - if u get no response, its not cuz im rude, i just dont know.

Last edited by originalsurfmex (2008-12-13 05:31:20)

Offline

#2 2008-12-13 04:53:08

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: linuxwacom - hp tx2000 - wacom guide (plus wacomcpl problem)

here is the guide (basically what i did, probably not really a guide, also i removed some redundant stuff from the outputs):

downloaded, uncompressed the 8.2 driver

1. open downloaded directory

$ ./configure --enable-wacom --prefix=/usr/local

    output:
    ----------------------------------------
      BUILD ENVIRONMENT:
           architecture - i686-pc-linux-gnu
           linux kernel - yes 2.6.27
      module versioning - no 
          kernel source - yes /lib/modules/2.6.27-ARCH/build
         XFree86 source - no 
               Xorg SDK - yes /usr/include/xorg
              XSERVER64 - no
               dlloader - yes
                   XLib - yes /usr/lib
             xf86config - no
                    TCL - yes /usr/include
                     TK - yes /usr/include
                ncurses - yes

      BUILD OPTIONS:
                wacom.o - yes
                wacdump - yes 
                 xidump - yes 
            libwacomcfg - yes
             libwacomxi - yes
              xsetwacom - yes
                  hid.o - no 
             usbmouse.o - no
                evdev.o - no
             mousedev.o - no
                input.o - no
           wacom_drv.so - yes /usr/lib/xorg/modules/input 
            wacom_drv.o - no
      wacom*_drv quirks - Uninit-called IsXExtensionPointer key-events dixScreenOrigins
[cucara@localhost linuxwacom-0.8.2]$ make
    Making all in src
    make[1]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    Making all in .
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    rm -f wacom.4x.gz
    gzip -9c < ./wacom.4x > wacom.4x.gz
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    Making all in wacomxi
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/wacomxi'
    if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -g -O2 -I/usr/include -MT wacomxi.lo -MD -MP -MF ".deps/wacomxi.Tpo" -c -o wacomxi.lo wacomxi.c; \
        then mv -f ".deps/wacomxi.Tpo" ".deps/wacomxi.Plo"; else rm -f ".deps/wacomxi.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -g -O2 -I/usr/include -MT wacomxi.lo -MD -MP -MF .deps/wacomxi.Tpo -c wacomxi.c  -fPIC -DPIC -o .libs/wacomxi.o
     gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -g -O2 -I/usr/include -MT wacomxi.lo -MD -MP -MF .deps/wacomxi.Tpo -c wacomxi.c -o wacomxi.o >/dev/null 2>&1
    /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -g -O2 -I/usr/include   -o libwacomxi.la -rpath /usr/local/lib/TkXInput -no-undefined wacomxi.lo -L/usr/lib -lX11 -lXi 
    gcc -shared  .libs/wacomxi.o  -L/usr/lib -lX11 -lXi  -Wl,-soname -Wl,libwacomxi.so.0 -o .libs/libwacomxi.so.0.0.0
    (cd .libs && rm -f libwacomxi.so.0 && ln -s libwacomxi.so.0.0.0 libwacomxi.so.0)
    (cd .libs && rm -f libwacomxi.so && ln -s libwacomxi.so.0.0.0 libwacomxi.so)
    ar cru .libs/libwacomxi.a  wacomxi.o
    ranlib .libs/libwacomxi.a
    creating libwacomxi.la
    (cd .libs && rm -f libwacomxi.la && ln -s ../libwacomxi.la libwacomxi.la)
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/wacomxi'
    Making all in util
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/util'
    if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -I/usr/include/xorg  -g -O2 -I/usr/include -MT wacomcfg.lo -MD -MP -MF ".deps/wacomcfg.Tpo" -c -o wacomcfg.lo wacomcfg.c; \
        then mv -f ".deps/wacomcfg.Tpo" ".deps/wacomcfg.Plo"; else rm -f ".deps/wacomcfg.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -I/usr/include/xorg -g -O2 -I/usr/include -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c  -fPIC -DPIC -o .libs/wacomcfg.o
     gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -I/usr/include/xorg -g -O2 -I/usr/include -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c -o wacomcfg.o >/dev/null 2>&1
    /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -pedantic -I/usr/include/xorg  -g -O2 -I/usr/include   -o libwacomcfg.la -rpath /usr/local/lib -no-undefined -version-info 0:1:0 wacomcfg.lo -L/usr/lib -lX11 -lXi 
    gcc -shared  .libs/wacomcfg.o  -L/usr/lib -lX11 -lXi  -Wl,-soname -Wl,libwacomcfg.so.0 -o .libs/libwacomcfg.so.0.0.1
    (cd .libs && rm -f libwacomcfg.so.0 && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so.0)
    (cd .libs && rm -f libwacomcfg.so && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so)
    ar cru .libs/libwacomcfg.a  wacomcfg.o
    ranlib .libs/libwacomcfg.a
    creating libwacomcfg.la
    (cd .libs && rm -f libwacomcfg.la && ln -s ../libwacomcfg.la libwacomcfg.la)
    
    ...
    
    creating xsetwacom
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/util'
    Making all in xdrv
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    gcc -MM -g -O2 -I/usr/include  -I../include -I/usr/include/xorg  ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c > .depend
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'

    ...

    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    Making all in 2.6.27
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27'
    cp -f ../2.6.19/wacom_wac.c .
    cp -f ../2.6.22/wacom_wac.h .
        Building linuxwacom drivers for 2.6 kernel.
    ***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built
    make -C /lib/modules/2.6.27-ARCH/build M=/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27
    make[3]: Entering directory `/usr/src/linux-2.6.27-ARCH'
      LD      /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/built-in.o
      CC [M]  /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom_wac.o
      CC [M]  /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom_sys.o
      LD [M]  /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom.mod.o
      LD [M]  /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom.ko
    make[3]: Leaving directory `/usr/src/linux-2.6.27-ARCH'
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27'
    make[1]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    make[1]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2'
[cucara@localhost linuxwacom-0.8.2]$ sudo make install
    Password: 
    Making install in src
    make[1]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    Making install in .
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    make[3]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    make[3]: Nothing to be done for `install-exec-am'.
    test -z "/usr/local/man/man4" || mkdir -p -- "/usr/local/man/man4"
     /bin/install -c -m 644 'wacom.4x.gz' '/usr/local/man/man4/wacom.4x.gz'
    make[3]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    Making install in wacomxi
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/wacomxi'
    make[3]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/wacomxi'
    make[3]: Nothing to be done for `install-exec-am'.
    test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
     /bin/install -c 'wacomcpl' '/usr/local/bin/wacomcpl'
     /bin/install -c 'wacomcpl-exec' '/usr/local/bin/wacomcpl-exec'
    test -z "/usr/local/lib/TkXInput" || mkdir -p -- "/usr/local/lib/TkXInput"
     /bin/install -c -m 644 'pkgIndex.tcl' '/usr/local/lib/TkXInput/pkgIndex.tcl'
    test -z "/usr/local/lib/TkXInput" || mkdir -p -- "/usr/local/lib/TkXInput"
     /bin/sh ../../libtool --mode=install /bin/install -c  'libwacomxi.la' '/usr/local/lib/TkXInput/libwacomxi.la'
    /bin/install -c .libs/libwacomxi.so.0.0.0 /usr/local/lib/TkXInput/libwacomxi.so.0.0.0
    (cd /usr/local/lib/TkXInput && { ln -s -f libwacomxi.so.0.0.0 libwacomxi.so.0 || { rm -f libwacomxi.so.0 && ln -s libwacomxi.so.0.0.0 libwacomxi.so.0; }; })
    (cd /usr/local/lib/TkXInput && { ln -s -f libwacomxi.so.0.0.0 libwacomxi.so || { rm -f libwacomxi.so && ln -s libwacomxi.so.0.0.0 libwacomxi.so; }; })
    /bin/install -c .libs/libwacomxi.lai /usr/local/lib/TkXInput/libwacomxi.la
    /bin/install -c .libs/libwacomxi.a /usr/local/lib/TkXInput/libwacomxi.a
    chmod 644 /usr/local/lib/TkXInput/libwacomxi.a
    ranlib /usr/local/lib/TkXInput/libwacomxi.a
    PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/TkXInput
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/local/lib/TkXInput

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[3]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/wacomxi'
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/wacomxi'
    Making install in util
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/util'
    make[3]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/util'
    test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
     /bin/sh ../../libtool --mode=install /bin/install -c  'libwacomcfg.la' '/usr/local/lib/libwacomcfg.la'
    /bin/install -c .libs/libwacomcfg.so.0.0.1 /usr/local/lib/libwacomcfg.so.0.0.1
    (cd /usr/local/lib && { ln -s -f libwacomcfg.so.0.0.1 libwacomcfg.so.0 || { rm -f libwacomcfg.so.0 && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so.0; }; })
    (cd /usr/local/lib && { ln -s -f libwacomcfg.so.0.0.1 libwacomcfg.so || { rm -f libwacomcfg.so && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so; }; })
    /bin/install -c .libs/libwacomcfg.lai /usr/local/lib/libwacomcfg.la
    /bin/install -c .libs/libwacomcfg.a /usr/local/lib/libwacomcfg.a
    chmod 644 /usr/local/lib/libwacomcfg.a
    ranlib /usr/local/lib/libwacomcfg.a
    PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/local/lib

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
      /bin/sh ../../libtool --mode=install /bin/install -c 'wacdump' '/usr/local/bin/wacdump'
    /bin/install -c wacdump /usr/local/bin/wacdump
      /bin/sh ../../libtool --mode=install /bin/install -c 'xidump' '/usr/local/bin/xidump'
    /bin/install -c xidump /usr/local/bin/xidump
      /bin/sh ../../libtool --mode=install /bin/install -c 'xsetwacom' '/usr/local/bin/xsetwacom'
    /bin/install -c .libs/xsetwacom /usr/local/bin/xsetwacom
    test -z "/usr/local/include/wacomcfg" || mkdir -p -- "/usr/local/include/wacomcfg"
     /bin/install -c -m 644 'wacomcfg.h' '/usr/local/include/wacomcfg/wacomcfg.h'
    make[3]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/util'
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/util'
    Making install in xdrv
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    make[3]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    make[3]: Nothing to be done for `install-exec-am'.
    test -z "/usr/lib/xorg/modules/input" || mkdir -p -- "/usr/lib/xorg/modules/input"
     /bin/install -c -m 644 'wacom_drv.so' '/usr/lib/xorg/modules/input/wacom_drv.so'
    make[3]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/xdrv'
    Making install in 2.6.27
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27'
    make[2]: Nothing to be done for `install'.
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27'
    make[1]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2/src'
    make[1]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2'
    make[2]: Entering directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2'
    make[1]: Leaving directory `/home/cucara/source/linuxwacom/linuxwacom-0.8.2'

(...test the module:)

[cucara@localhost linuxwacom-0.8.2]$ cd src
[cucara@localhost src]$ ls
    2.4           2.6.10  2.6.14  2.6.18  2.6.24  2.6.8     Makefile.am  util         wacomxi
    2.4.22        2.6.11  2.6.15  2.6.19  2.6.26  2.6.9     Makefile.in  wacom.4x     xdrv
    2.4.30x86-64  2.6.13  2.6.16  2.6.22  2.6.27  Makefile  include      wacom.4x.gz
[cucara@localhost src]$ cd 2.6.27
[cucara@localhost 2.6.27]$ sudo insmod ./wacom.ko
[cucara@localhost 2.6.27]$ sudo tail /var/log/messages.log
    Dec 12 12:55:39 localhost input: Wacom ISDv4 93 as /class/input/input12
    Dec 12 12:55:39 localhost input: Wacom ISDv4 93 as /class/input/input13
    Dec 12 12:55:39 localhost usbcore: registered new interface driver wacom
    Dec 12 12:55:39 localhost wacom: v1.49:USB Wacom Graphire and Wacom Intuos tablet driver

(test seems to be good: load the model for reals now, first unload the test)

[cucara@localhost 2.6.27]$ sudo rmmod wacom.ko
[cucara@localhost 2.6.27]$ sudo tail /var/log/messages.log
    Dec 12 13:05:17 localhost usbcore: deregistering interface driver wacom

(now load the intalled file for reals, i had to copy it to the lib file manually since it never made it out of the install process)

[cucara@localhost 2.6.27]$ sudo updatedb
[cucara@localhost 2.6.27]$ locate wacom.ko
    /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/.wacom.ko.cmd
    /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom.ko
[cucara@localhost 2.6.27]$ sudo depmod -e
[cucara@localhost 2.6.27]$ sudo cp /home/cucara/source/linuxwacom/linuxwacom-0.8.2/src/2.6.27/wacom.ko /lib/modules/2.6.27-ARCH/kernel/drivers/input/tablet/wacom.ko
[cucara@localhost 2.6.27]$ sudo modprobe wacom
[cucara@localhost 2.6.27]$ sudo tail /var/log/messages.log
    Dec 12 13:08:39 localhost input: Wacom ISDv4 93 as /class/input/input14
    Dec 12 13:08:39 localhost input: Wacom ISDv4 93 as /class/input/input15
    Dec 12 13:08:39 localhost usbcore: registered new interface driver wacom
    Dec 12 13:08:39 localhost wacom: v1.49:USB Wacom Graphire and Wacom Intuos tablet driver

(its weird that they are under 14 and 15 - i guess the insmod locked out inputs 12 and 14 even though i did an rmmod afterwards)
(okay, at this point the FIRST time i installed wacom in arch a month and a half ago, i was automatically getting response from my stylus on-screen, even without settup up X.  not so this time, though.)

[cucara@localhost 2.6.27]$ more /proc/bus/input/devices
    I: Bus=0003 Vendor=056a Product=0093 Version=0340
    N: Name="Wacom ISDv4 93"
    P: Phys=
    S: Sysfs=/class/input/input14
    U: Uniq=
    H: Handlers=mouse3 event12 
    B: EV=b
    B: KEY=3c03 0 0 0 0 0 0 0 0 0 0
    B: ABS=100 100001b

    I: Bus=0003 Vendor=056a Product=0093 Version=0340
    N: Name="Wacom ISDv4 93"
    P: Phys=
    S: Sysfs=/class/input/input15
    U: Uniq=
    H: Handlers=mouse4 event13 
    B: EV=b
    B: KEY=3c03 0 0 0 0 0 0 0 0 0 0
    B: ABS=100 100001b

on to the X part, now according to the readout above, my stuff is on event12 and event13, time to test it:

[cucara@localhost 2.6.27]$ cd /dev/input
[cucara@localhost 2.6.27]$ sudo xxd event12
    0000000: e65d c33d 597d 0100 0100 4101 0100 0000  .].=Y}....A.....
    0000010: e65d c33d 5c7d 0100 0400 0000 b701 2800  .].=\}........(.
    0000020: e65d c33d d9bb 0100 0100 4101 0000 0000  .].=......A.....
    0000030: e65d c33d dcbb 0100 0400 0000 b701 2800  .].=..........(.
[cucara@localhost 2.6.27]$ sudo xxd event13
    0000000: e65d c33d 597d 0100 0100 4101 0100 0000  .].=Y}....A.....
    0000010: e65d c33d 5c7d 0100 0400 0000 b701 2800  .].=\}........(.
    0000020: e65d c33d d9bb 0100 0100 4101 0000 0000  .].=......A.....
    0000030: e65d c33d dcbb 0100 0400 0000 b701 2800  .].=..........(.

both tests worked when i used the stylus on event12 it was good, and when i used the touchscreen on event13 it was good
...okay so i rebooted and i end up with my stuff on events 2 and 3 but i use a usb mouse on my laptop, if i leave it plugged in
(which is almost always) it affects the event order of my touchscreen, i am hoping that using the device by id will bypass this
it was suggested in the ubuntu forums.

[cucara@localhost ~]$ ls -l /dev/input/by-path
total 0
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 pci-0000:00:0b.0-usb-0:1:1.0-event-mouse -> ../event2
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 pci-0000:00:0b.0-usb-0:1:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 10 2008-12-12 13:47 pci-0000:00:0b.1-usb-0:2.1:1.0-event- -> ../event11
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse -> ../event3
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 pci-0000:00:0b.1-usb-0:2.3:1.0-mouse -> ../mouse2
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 pci-0000:00:0b.1-usb-0:2.3:1.1- -> ../mouse3
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 pci-0000:00:0b.1-usb-0:2.3:1.1-event- -> ../event4
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 platform-i8042-serio-0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 10 2008-12-12 13:47 platform-i8042-serio-1-event-mouse -> ../event13
lrwxrwxrwx 1 root root  9 2008-12-12 13:47 platform-i8042-serio-1-mouse -> ../mouse4
lrwxrwxrwx 1 root root 10 2008-12-12 13:47 platform-pcspkr-event-spkr -> ../event12

here is my new xorg.conf (gotten from ubuntu forums and linuxwacom website)

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Nov  4 14:07:17 PST 2008


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Inputdevice    "stylus"    "SendCoreEvents"
    Inputdevice    "touch"    "SendCoreEvents"
    Inputdevice    "eraser"    "SendCoreEvents"
EndSection

Section "InputDevice"
    Identifier "stylus"
    Driver "wacom"
    Option "Type" "stylus"
    Option "USB" "on"
    Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
    Option "Button2" "3" # make side-switch a right button
    #Option "TopX" "225"
    #Option "TopY" "225"
    #Option "BottomX" "26300"
    #Option "BottomY" "16375"
EndSection

Section "InputDevice"
    Identifier "touch"
    Driver "wacom"
    Option "Type" "touch"
    Option "USB" "on"
    Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.1-event-"
    #Option "TopX" "200"
    #Option "TopY" "225"
    #Option "BottomX" "4000"
    #Option "BottomY" "3875"
EndSection

Section "InputDevice"
    Identifier "eraser"
    Driver "wacom"
    Option "Type" "eraser"
    Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
    Option "USB" "on"
EndSection

Section "Files"
EndSection

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

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/mouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "RenderAccel" "true"
    Option         "AGPFastWrite" "true"
    Option         "EnablePageFlip" "true"
    Option         "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

thats pretty much a step by step from the linuxwacom how to, just a little more condensed, to be honest, i just kept track of what i did because i assumed it wouldn't work again - so i was preparing to post it and beg for help, but this time it worked!...just not wacomcpl and utils...

hopefully someone can help us with this...

hp tx2000
arch32
openbox

Offline

#3 2008-12-26 04:49:06

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: linuxwacom - hp tx2000 - wacom guide (plus wacomcpl problem)

i just reinstalled after updating the kernel, but things wouldn't work...i forgot to rmmod the old module first.  so if your reinstalling, dont forget to:

sudo rmmod wacom

its a noob mistake, i know...

Offline

#4 2009-01-02 05:13:46

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: linuxwacom - hp tx2000 - wacom guide (plus wacomcpl problem)

i posted this on another thread, but just in case...

using this method the bin files (wacomcpl, xsetwacom etc) end up in /usr/local/bin

so you need to copy them to /usr/bin/

its becuase i compiled the wacom stuff with prefix=/usr/local


...if you know of a better way, please let us know.  thanks.

Offline

Board footer

Powered by FluxBB