PDA

View Full Version : Knoppix 5.0.1 does not detect my Wacom Tablet Volito 2



finferflu
06-18-2006, 06:42 PM
Hi,

I am currently using Knoppix 5.0.1, HD install.

I was previously using version 4.0, and my Wacom Tablet Volito 2 was automatically recognised by the system.
I have just tried now on 5.0.1, and it seems it doesn't recognise it.

I went to the Linux-Wacom website (http://linuxwacom.sourceforge.net/index.php/howto/debwcmdrv) to install the proper tools, but I couldn't find any solution, since I can't find the proper kernel-headers for my kernel (as far as I know).

In fact, Knoppix 5.0.1 uses kernel 2.6.17, but the only kernel-headers available are the linux-headers-2.6.17-rc3.
And, in fact, after running dpkg-reconfigure wacom-kernel-source, I get:


head: cannot open `/usr/src/linux-headers-2.6.17-rc3/include/linux/version.h' for reading: No such file or directory
/var/lib/dpkg/info/wacom-kernel-source.postinst: line 49: [: =: unary operator expected
Warning: kernel headers don't match running Linux version.

After that I tried to install the wacom-tools, and to continue with the installation, but I could not find 10-wacom.rules in /etc/udev/rules.d, as indicated in the how-to on the Linux Wacom website:


Prepare for the /dev/input/wacom link

In /etc/udev/rules.d/10-wacom.rules, add the following line:

KERNEL="event*", SYSFS{idVendor}="056a", NAME="input/%k", SYMLINK="input/wacom%e"

Thus the drivers will find the Wacom tablet, whatever its /dev/input/eventX address is.

So I am now stuck here, and I don't know how to proceed. Do you have any suggestion for me?

Thanks for your time.

finferflu
06-26-2006, 03:40 PM
Well, it seems nobody can help me...

too bad...

------ edit------

By the way, I forgot to mention that the tablet is actually recognised by the system:


mmanu@scatoletta:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 056a:0062 Wacom Co., Ltd
Bus 001 Device 001: ID 0000:0000


But it just doesn't work. The tablet is on, there is a red light, and when I press one of the buttons on the pen, the light goes green, but nothing happens, and the cursor is not moving...

finferflu
06-26-2006, 08:39 PM
Somebody told me that kernel 2.6.17 already has the wacom module, so I assumed I could try to reconfigure successfully the wacom-kernel-source package withouth the need of specifying the location of the kernel-headers I had installed.

So when prompted to specify the location of my headers I just put /usr/src/linux, and in fact the "configure" has run just fine, but the "make" exited with an error message, here is the whole output:


root@scatoletta:/home/mmanu# dpkg-reconfigure wacom-kernel-source
Building wacom modules for Linux 2.6.17 (this may take a few minutes)...
dh_testdir
dh_testroot
rm -f *-stamp
dh_clean
dh_testdir
dh_testroot
/usr/bin/make clean;
make[1]: Entering directory `/usr/src/modules/wacom'
Making clean in src
make[2]: Entering directory `/usr/src/modules/wacom/src'
Making clean in 2.6.16
make[3]: Entering directory `/usr/src/modules/wacom/src/2.6.16'
rm -rf *.o *.ko *.mod.* .[a-z]* core *.i
make[3]: Leaving directory `/usr/src/modules/wacom/src/2.6.16'
Making clean in wacomxi
make[3]: Entering directory `/usr/src/modules/wacom/src/wacomxi'
rm -rf .libs _libs
test -z "" || rm -f
rm -f *.o
rm -f *.lo
make[3]: Leaving directory `/usr/src/modules/wacom/src/wacomxi'
Making clean in .
make[3]: Entering directory `/usr/src/modules/wacom/src'
test -z "libwacomcfg.la" || rm -f libwacomcfg.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[3]: Leaving directory `/usr/src/modules/wacom/src'
make[2]: Leaving directory `/usr/src/modules/wacom/src'
Making clean in .
make[2]: Entering directory `/usr/src/modules/wacom'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/usr/src/modules/wacom'
make[1]: Leaving directory `/usr/src/modules/wacom'
rm -f debian/wacom-kernel-modules-2.6.17.* debian/control
./configure --disable-libwacomxi \
--disable-wacomdrv \
--disable-libwacomcfg \
--disable-wacdump \
--disable-xidump \
--disable-xsetwacom \
--enable-wacom \
--with-kernel=/usr/src/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gawk... (cached) gawk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for arch type... i486-linux-gnu
checking for kernel type... Linux
checking for linux-based kernel... yes
checking for valid kernel source tree... ok
checking for kernel module versioning... yes
checking for valid Xorg SDK... "xf86Version.h missing"
Tried /usr/include, /usr/include/xorg and /usr/xc/include
checking for X... libraries /usr/lib, headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for X lib directory... found
checking for tclsh... /usr/bin/tclsh
checking for tcl version... 8.4
checking for tcl header files... not found; tried /usr/include, tcl, and "tcl8.4";
***
*** WARNING:
*** The tcl development environment does not appear to
*** be installed. The header file tcl.h does not appear
*** in the include path. Do you have the tcl rpm or
*** equivalent package properly installed? Some build
*** features will be unavailable.
***
checking for tk header files... not found; tried /usr/include and /include
***
*** WARNING:
*** The tk development environment does not appear to
*** be installed. The header file tk.h does not appear
*** in the include path. Do you have the tk rpm or
*** equivalent package properly installed? Some build
*** features will be unavailable.
***
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking if gcc accepts -fno-merge-constants... yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkxincludes
config.status: creating src/Makefile
config.status: creating src/2.4/Makefile
config.status: creating src/2.4.22/Makefile
config.status: creating src/2.4.28/Makefile
config.status: creating src/2.6/Makefile
config.status: creating src/2.6.8/Makefile
config.status: creating src/2.6.9/Makefile
config.status: creating src/2.6.10/Makefile
config.status: creating src/2.6.11/Makefile
config.status: creating src/2.6.13/Makefile
config.status: creating src/2.6.14/Makefile
config.status: creating src/2.6.15/Makefile
config.status: creating src/2.6.16/Makefile
config.status: creating src/wacomxi/Makefile
config.status: creating src/wacomxi/wacomcpl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

----------------------------------------
BUILD ENVIRONMENT:
architecture - i486-linux-gnu
linux kernel - yes 2.6.16
module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
kernel source - yes /usr/src/linux
Xorg SDK - no /usr
XSERVER64 - no
dlloader - yes
XLib - yes /usr/lib
TCL - no
TK - no
ncurses - yes

BUILD OPTIONS:
wacom.o - yes
wacdump - no
xidump - no
libwacomcfg - no
libwacomxi - no
xsetwacom - no
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
----------------------------------------
/usr/bin/make -f debian/rules binary-modules
make[1]: Entering directory `/usr/src/modules/wacom'
sed -e 's/${kpkg\:Kernel\-Version}/2.6.17/' \
debian/wacom.control > debian/control
# Is this needed for setting up a Depends?
#echo "kpkg:Package-Version=0.7.4.1-3+2.6.17" \
# >> debian/.substvars
echo "kpkg:Kernel-Version=2.6.17" > \
debian/wacom-kernel-modules-2.6.17.substvars
# The substvars mechanism seems slightly broken, hack to get around it
# stolen from the qce-ga package.
# We do this above instead so control exists when the clean targets
# are run.
#sed -e 's/${kpkg\:Kernel\-Version}/2.6.17/' \
#debian/cpad.control > debian/control
# Make sure we've had a chance to get a control file before doing this:
dh_testdir
dh_testroot
dh_clean -k
# Set up per package control files with suitable names
for f in modules templates; do \
cp -a debian/wacom.$f debian/wacom-kernel-modules-2.6.17.$f; \
done
for f in postinst config; do \
echo "#!/bin/sh" | cat - debian/wacom.$f > debian/wacom-kernel-modules-2.6.17.$f; \
done
# Build the modules
/usr/bin/make
make[2]: Entering directory `/usr/src/modules/wacom'
/usr/bin/make all-recursive
make[3]: Entering directory `/usr/src/modules/wacom'
Making all in src
make[4]: Entering directory `/usr/src/modules/wacom/src'
Making all in .
make[5]: Entering directory `/usr/src/modules/wacom/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -g -O2 -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.. -Wall -pedantic -g -O2 -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.. -Wall -pedantic -g -O2 -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 -g -O2 -o libwacomcfg.la -rpath /usr/local/lib -no-undefined -version-info 0:1:0 wacomcfg.lo
gcc -shared .libs/wacomcfg.o -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)
make[5]: Leaving directory `/usr/src/modules/wacom/src'
Making all in wacomxi
make[5]: Entering directory `/usr/src/modules/wacom/src/wacomxi'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/src/modules/wacom/src/wacomxi'
Making all in 2.6.16
make[5]: Entering directory `/usr/src/modules/wacom/src/2.6.16'
Building linuxwacom drivers for 2.6 kernel.
***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built
/usr/bin/make -C /usr/src/linux M=/usr/src/modules/wacom/src/2.6.16
make[6]: Entering directory `/usr/src/linux-2.6.17'
Makefile:266: /usr/src/linux-2.6.17/scripts/Kbuild.include: No such file or directory
Makefile:486: /usr/src/linux-2.6.17/arch/i386/Makefile: No such file or directory
make[6]: *** No rule to make target `/usr/src/linux-2.6.17/arch/i386/Makefile'. Stop.
make[6]: Leaving directory `/usr/src/linux-2.6.17'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/src/modules/wacom/src/2.6.16'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/modules/wacom/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/modules/wacom'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/wacom'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/wacom'
make: *** [kdist_image] Error 2

I really need somebody more experienced than me to give me some hints, because at the moment I feel a bit confused, and I find the how-to on the linuxwacom website quite confusing as well...

Thanks again.

Zrebel
07-16-2006, 10:21 PM
In /etc/udev/rules.d/10-wacom.rules, add the following line:

KERNEL="event*", SYSFS{idVendor}="056a", NAME="input/%k", SYMLINK="input/wacom%e"

Thus the drivers will find the Wacom tablet, whatever its /dev/input/eventX address is.

it is interesting how this readme expects the 10-wacom.rules file... almost like it should be present due to a previous step(missing maybe?), i don't know.

placing the same rule in /etc/udev/knoppix.rules should work. Or just make the file yourself and add a link to it in the rules.d folder.