[SOLVED] wizardpen driver wont load (debian 2.6.32-5-686 x11 version 1.7.7-2)
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have no idea where to go from here...
When I try to move cursor with pen, it jumps to upper left corner and stays there.
Also, compilation showed no errors nor warnings, it was ok.
Any suggestions on how to load this driver correctly?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Hi Duy3, Welcome to LQ. This could be a kernel source problem. Check that you have the kernel source installed to match the kernel you compiled against.
I get characters on screen when the pen is being moved/pressed.
But when I cat /dev/input/mouse0 I only get characters when pen is pressed (just clicks, not pressure data).
Is there a way to tell X to use the former device for this tablet (/dev/input/by-id/...)?
Again, here is my xorg.config:
Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Driver "synaptics"
EndSection
Section "InputDevice"
Identifier "Tablet"
Driver "wizardpen"
Option "Name" "UC-LOGIC Tablet WP5540U"
Option "Device" "/dev/input/by-id/usb-UC-LOGIC_Tablet_WP5540U-event-mouse"
Option "SendCoreEvents" "true"
Option "TopX" "556"
Option "TopY" "1203"
Option "BottomX" "32739"
Option "BottomY" "32745"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "touchpad"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "TabButton1" "1"
# Option "LeftEdge" "1700"
# Option "RightEdge" "5300"
# Option "TopEdge" "1700"
# Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.015"
Option "SHMConfig" "on"
# #always usefull
Option "Emulate3Buttons" "on"
EndSection
Section "Device"
Identifier "Configured Device"
Driver "radeon"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection
Here is compile output, I dont see anything wrong:
Code:
~/Desktop/wp$ ./rules
make: `config.status' is up to date.
~/Desktop/wp$ rm config.status
~/Desktop/wp$ ./rules
dh_testdir
# Add here commands to configure the package.
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
./configure --build i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS=""
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 dependency style of gcc... gcc3
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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if RANDR is defined... yes
checking if XINPUT is defined... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sysfs/libsysfs.h usability... yes
checking sysfs/libsysfs.h presence... yes
checking for sysfs/libsysfs.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating udev/Makefile
config.status: creating hal/Makefile
config.status: creating xorg/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Code:
~/Desktop/wp$
~/Desktop/wp$
~/Desktop/wp$ su
is:/home/duy3/Desktop/wp# make uninstall
Making uninstall in src
make[1]: Entering directory `/home/duy3/Desktop/wp/src'
/bin/sh ../libtool --mode=uninstall rm -f '/usr/lib/xorg/modules/input/wizardpen_drv.la'
libtool: uninstall: rm -f /usr/lib/xorg/modules/input/wizardpen_drv.la /usr/lib/xorg/modules/input/wizardpen_drv.so /usr/lib/xorg/modules/input/wizardpen_drv.so /usr/lib/xorg/modules/input/wizardpen_drv.so
make[1]: Leaving directory `/home/duy3/Desktop/wp/src'
Making uninstall in man
make[1]: Entering directory `/home/duy3/Desktop/wp/man'
( cd '/usr/share/man/man4' && rm -f wizardpen.4 )
make[1]: Leaving directory `/home/duy3/Desktop/wp/man'
Making uninstall in udev
make[1]: Entering directory `/home/duy3/Desktop/wp/udev'
( cd '/lib/udev/rules.d' && rm -f 67-xorg-wizardpen.rules )
( cd '/etc/udev/rules.d' && rm -f 70-xorg-wizardpen-settings.rules )
make[1]: Leaving directory `/home/duy3/Desktop/wp/udev'
Making uninstall in hal
make[1]: Entering directory `/home/duy3/Desktop/wp/hal'
( cd '/usr/share/hal/fdi/preprobe/20thirdparty' && rm -f 10-wizardpen-devices.fdi 11-wizardpen-config.fdi )
make[1]: Leaving directory `/home/duy3/Desktop/wp/hal'
Making uninstall in xorg
make[1]: Entering directory `/home/duy3/Desktop/wp/xorg'
( cd '/usr/lib/X11/xorg.conf.d' && rm -f 70-wizardpen.conf )
make[1]: Leaving directory `/home/duy3/Desktop/wp/xorg'
make[1]: Entering directory `/home/duy3/Desktop/wp'
( cd '/usr/bin' && rm -f wizardpen-calibrate )
make[1]: Leaving directory `/home/duy3/Desktop/wp'
is:/home/duy3/Desktop/wp# cat /usr/lib/xorg/modules/input/
evdev_drv.so synaptics_drv.so
Code:
is:/home/duy3/Desktop/wp#
is:/home/duy3/Desktop/wp#
is:/home/duy3/Desktop/wp# exit
~/Desktop/wp$ make clean
Making clean in xorg
make[1]: Entering directory `/home/duy3/Desktop/wp/xorg'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/duy3/Desktop/wp/xorg'
Making clean in hal
make[1]: Entering directory `/home/duy3/Desktop/wp/hal'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/duy3/Desktop/wp/hal'
Making clean in udev
make[1]: Entering directory `/home/duy3/Desktop/wp/udev'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/duy3/Desktop/wp/udev'
Making clean in man
make[1]: Entering directory `/home/duy3/Desktop/wp/man'
test -z "wizardpen.4" || rm -f wizardpen.4
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/duy3/Desktop/wp/man'
Making clean in src
make[1]: Entering directory `/home/duy3/Desktop/wp/src'
test -z "wizardpen_drv.la" || rm -f wizardpen_drv.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/home/duy3/Desktop/wp/src'
Making clean in .
make[1]: Entering directory `/home/duy3/Desktop/wp'
rm -f calibrate/wizardpen-calibrate
rm -rf .libs _libs
rm -rf calibrate/.libs calibrate/_libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/home/duy3/Desktop/wp'
Code:
~/Desktop/wp$
~/Desktop/wp$
~/Desktop/wp$
~/Desktop/wp$ make
make all-recursive
make[1]: Entering directory `/home/duy3/Desktop/wp'
Making all in src
make[2]: Entering directory `/home/duy3/Desktop/wp/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c -fPIC -DPIC -o .libs/wizardpen.o
mv -f .deps/wizardpen.Tpo .deps/wizardpen.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -module -avoid-version -o wizardpen_drv.la -rpath /usr/lib/xorg/modules/input wizardpen.lo
libtool: link: gcc -shared .libs/wizardpen.o -Wl,-soname -Wl,wizardpen_drv.so -o .libs/wizardpen_drv.so
libtool: link: ( cd ".libs" && rm -f "wizardpen_drv.la" && ln -s "../wizardpen_drv.la" "wizardpen_drv.la" )
make[2]: Leaving directory `/home/duy3/Desktop/wp/src'
Making all in man
make[2]: Entering directory `/home/duy3/Desktop/wp/man'
sed -e 's|__vendorversion__|"wizardpen 0.7.3" "X Version 11"|' -e 's|__xorgversion__|"wizardpen 0.7.3" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < wizardpen.man > wizardpen.4
make[2]: Leaving directory `/home/duy3/Desktop/wp/man'
Making all in udev
make[2]: Entering directory `/home/duy3/Desktop/wp/udev'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/duy3/Desktop/wp/udev'
Making all in hal
make[2]: Entering directory `/home/duy3/Desktop/wp/hal'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/duy3/Desktop/wp/hal'
Making all in xorg
make[2]: Entering directory `/home/duy3/Desktop/wp/xorg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/duy3/Desktop/wp/xorg'
make[2]: Entering directory `/home/duy3/Desktop/wp'
gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I./src -MT wizardpen-calibrate.o -MD -MP -MF .deps/wizardpen-calibrate.Tpo -c -o wizardpen-calibrate.o `test -f 'calibrate/wizardpen-calibrate.c' || echo './'`calibrate/wizardpen-calibrate.c
mv -f .deps/wizardpen-calibrate.Tpo .deps/wizardpen-calibrate.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I./src -o calibrate/wizardpen-calibrate wizardpen-calibrate.o
libtool: link: gcc -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I./src -o calibrate/wizardpen-calibrate wizardpen-calibrate.o
make[2]: Leaving directory `/home/duy3/Desktop/wp'
make[1]: Leaving directory `/home/duy3/Desktop/wp'
Code:
~/Desktop/wp$
~/Desktop/wp$
~/Desktop/wp$ su
Password:
is:/home/duy3/Desktop/wp# make install
Making install in src
make[1]: Entering directory `/home/duy3/Desktop/wp/src'
make[2]: Entering directory `/home/duy3/Desktop/wp/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/xorg/modules/input" || /bin/mkdir -p "/usr/lib/xorg/modules/input"
/bin/sh ../libtool --mode=install /usr/bin/install -c wizardpen_drv.la '/usr/lib/xorg/modules/input'
libtool: install: /usr/bin/install -c .libs/wizardpen_drv.so /usr/lib/xorg/modules/input/wizardpen_drv.so
libtool: install: /usr/bin/install -c .libs/wizardpen_drv.lai /usr/lib/xorg/modules/input/wizardpen_drv.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib/xorg/modules/input
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/xorg/modules/input
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[2]: Leaving directory `/home/duy3/Desktop/wp/src'
make[1]: Leaving directory `/home/duy3/Desktop/wp/src'
Making install in man
make[1]: Entering directory `/home/duy3/Desktop/wp/man'
make[2]: Entering directory `/home/duy3/Desktop/wp/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man4" || /bin/mkdir -p "/usr/share/man/man4"
/usr/bin/install -c -m 644 wizardpen.4 '/usr/share/man/man4'
make[2]: Leaving directory `/home/duy3/Desktop/wp/man'
make[1]: Leaving directory `/home/duy3/Desktop/wp/man'
Making install in udev
make[1]: Entering directory `/home/duy3/Desktop/wp/udev'
make[2]: Entering directory `/home/duy3/Desktop/wp/udev'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/lib/udev/rules.d" || /bin/mkdir -p "/lib/udev/rules.d"
/usr/bin/install -c -m 644 67-xorg-wizardpen.rules '/lib/udev/rules.d'
test -z "/etc/udev/rules.d" || /bin/mkdir -p "/etc/udev/rules.d"
/usr/bin/install -c -m 644 70-xorg-wizardpen-settings.rules '/etc/udev/rules.d'
make[2]: Leaving directory `/home/duy3/Desktop/wp/udev'
make[1]: Leaving directory `/home/duy3/Desktop/wp/udev'
Making install in hal
make[1]: Entering directory `/home/duy3/Desktop/wp/hal'
make[2]: Entering directory `/home/duy3/Desktop/wp/hal'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/hal/fdi/preprobe/20thirdparty" || /bin/mkdir -p "/usr/share/hal/fdi/preprobe/20thirdparty"
/usr/bin/install -c -m 644 10-wizardpen-devices.fdi 11-wizardpen-config.fdi '/usr/share/hal/fdi/preprobe/20thirdparty'
make[2]: Leaving directory `/home/duy3/Desktop/wp/hal'
make[1]: Leaving directory `/home/duy3/Desktop/wp/hal'
Making install in xorg
make[1]: Entering directory `/home/duy3/Desktop/wp/xorg'
make[2]: Entering directory `/home/duy3/Desktop/wp/xorg'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/X11/xorg.conf.d" || /bin/mkdir -p "/usr/lib/X11/xorg.conf.d"
/usr/bin/install -c -m 644 70-wizardpen.conf '/usr/lib/X11/xorg.conf.d'
make[2]: Leaving directory `/home/duy3/Desktop/wp/xorg'
make[1]: Leaving directory `/home/duy3/Desktop/wp/xorg'
make[1]: Entering directory `/home/duy3/Desktop/wp'
make[2]: Entering directory `/home/duy3/Desktop/wp'
test -z "/usr/bin" || /bin/mkdir -p "/usr/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c calibrate/wizardpen-calibrate '/usr/bin'
libtool: install: /usr/bin/install -c calibrate/wizardpen-calibrate /usr/bin/wizardpen-calibrate
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/duy3/Desktop/wp'
make[1]: Leaving directory `/home/duy3/Desktop/wp'
is:/home/duy3/Desktop/wp# exit
Code:
~/Desktop/wp$ ls /usr/lib/xorg/modules/input/
evdev_drv.so synaptics_drv.so wizardpen_drv.la wizardpen_drv.so
Hi all
I was having the same issues, but got it to work just now. I was unable to insmod the driver at any time, and I still am, but that doesn't seem to be the problem.
there should be a third line with InputClass "wizardpen". In my case, that rule didn't kick in because the file was created in /usr/lib/X11/xorg.conf.d/70-wizardpen.conf - that directory appears to be ignored. By creating a symlink I got my tablet to work:
I have commented out all lines related to the tablet from my /etc/X11/xorg.conf (for now). I still need to tweak some settings, and one of the buttons on my stylus doesn't work yet (I suppose that's related to that "ignoring" bit in the Xorg log), but I hope this helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.