Can't find kernel source when installed Wacom drivers

Dave M G martin at autotelic.com
Sun Mar 26 03:14:41 UTC 2006


Ubuntu Users,

I've cross posted this on the Linuxwacom discussion list, but that list 
tends to be very slow to respond, if not entirely inactive for days or 
weeks. So I'm hoping someone here might be able to help.

I am trying to install my Wacom Graphire3 tablet, on Ubuntu  Dapper 
Drake 6.04. I'm intending my tablet to be my only interface device other 
than my keyboard. I have no PS/2 or other mouse devices attached to my 
computer.

I've installed the kernel source using:
sudo apt-get install build-essential
Which I believe should put the necessary kernel source files on my machine.

These are the contents of my /usr/src directory:
dave at homebase:/usr/src$ ls
linux                        linux-source-2.6.15          rpm
linux-headers-2.6.15-19      linux-source-2.6.15.tar.bz2
linux-headers-2.6.15-19-686  modules

Just to be sure, I run the ./configure command with the kernel option, 
like so:
./configure --with-kernel=/usr/src/linux-source-2.6.15 --enable-wacom

Yet, the output of ./configure indicates that not only can it not find 
the kernel source, but that it assumes that I am running kernel 2.4 (see 
below). This is also true if I leave off the --with-kernel option.

Why is the ./configure command not finding my kernel source?

Further, the web site says:
"For kernel 2.6, you need to configure the kernel modules (wacom and 
hid) under your kernel source directory before configuring linuxwacom."

But I can't find any text which explains where to configure the kernel 
modules, especially regarding "hid". Am I misunderstanding the 
statement? I take this to mean that there is a separate set of 
instructions on configuring wacom and hid which must be executed before 
running the ./configure command in the linuxwacom directory.

Any help would be much appreciated.

Below are various command outputs which I hope will clarify my environment:

dave at homebase: ./configure --with-kernel=/usr/src/linux-source-2.6.15 
--enable-wacom
  BUILD ENVIRONMENT:
       architecture - i686
       linux kernel - yes 2.4
  module versioning - no
      kernel source - no
           Xorg SDK - no /home/dave/Desktop/linuxwacom-0.7.2
          XSERVER64 - no
           dlloader - no
               XLib - yes /usr/X11R6/lib
                TCL - yes /usr/include/
                 TK - yes /usr/include
            ncurses - yes

  BUILD OPTIONS:
            wacom.o - no
            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
        tabletdev.o - no
       wacom_drv.so - no
        wacom_drv.o - no

dave at homebase:/usr/src$ xsetpointer -l
"Configured Mouse"      [XPointer]
"Generic Keyboard"      [XKeyboard]

dave at homebase:~/Desktop/linuxwacom-0.7.2$ more /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=80000004 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff ffffffff
B: MSC=10Linuxwacom discuss,

I am trying to install my Wacom Graphire3 tablet, on Ubuntu  Dapper 
Drake 6.04. I'm intending my tablet to be my only interface device other 
than my keyboard. I have no PS/2 or other mouse devices attached to my 
computer.

I've installed the kernel source using:
sudo apt-get install build-essential
Which I believe should put the necessary kernel source files on my machine.

These are the contents of my /usr/src directory:
dave at homebase:/usr/src$ ls
linux                        linux-source-2.6.15          rpm
linux-headers-2.6.15-19      linux-source-2.6.15.tar.bz2
linux-headers-2.6.15-19-686  modules

Just to be sure, I run the ./configure command with the kernel option, 
like so:
./configure --with-kernel=/usr/src/linux-source-2.6.15 --enable-wacom

Yet, the output of ./configure indicates that not only can it not find 
the kernel source, but that it assumes that I am running kernel 2.4 (see 
below). This is also true if I leave off the --with-kernel option.

Why is the ./configure command not finding my kernel source?

Further, the web site says:
"For kernel 2.6, you need to configure the kernel modules (wacom and 
hid) under your kernel source directory before configuring linuxwacom."

But I can't find any text which explains where to configure the kernel 
modules, especially regarding "hid". Am I misunderstanding the 
statement? I take this to mean that there is a separate set of 
instructions on configuring wacom and hid which must be executed before 
running the ./configure command in the linuxwacom directory.

Any help would be much appreciated.

Below are various command outputs which I hope will clarify my environment:

dave at homebase: ./configure --with-kernel=/usr/src/linux-source-2.6.15 
--enable-wacom
  BUILD ENVIRONMENT:
       architecture - i686
       linux kernel - yes 2.4
  module versioning - no
      kernel source - no
           Xorg SDK - no /home/dave/Desktop/linuxwacom-0.7.2
          XSERVER64 - no
           dlloader - no
               XLib - yes /usr/X11R6/lib
                TCL - yes /usr/include/
                 TK - yes /usr/include
            ncurses - yes

  BUILD OPTIONS:
            wacom.o - no
            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
        tabletdev.o - no
       wacom_drv.so - no
        wacom_drv.o - no

dave at homebase:/usr/src$ xsetpointer -l
"Configured Mouse"      [XPointer]
"Generic Keyboard"      [XKeyboard]

dave at homebase:~/Desktop/linuxwacom-0.7.2$ more /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=80000004 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=056a Product=0013 Version=0314
N: Name="Wacom Graphire3"
P: Phys=
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=f
B: KEY=1c43 0 70000 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=3000003

B: LED=7

I: Bus=0003 Vendor=056a Product=0013 Version=0314
N: Name="Wacom Graphire3"
P: Phys=
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=f
B: KEY=1c43 0 70000 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=3000003





More information about the ubuntu-users mailing list