LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-12-2010, 09:31 AM   #1
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Rep: Reputation: 0
wizardpen driver wont load (debian 2.6.32-5-686 x11 version 1.7.7-2)


This is what i've done:

Code:
bzr branch lp:wizardpen wp
bzr branch lp:~wizardpen-devs/wizardpen/debian-packing wd

sudo apt-get install xserver-xorg-dev xutils libx11-dev xautomation xinput libxext-dev build-essential

mkdir wp/debian
cp wd wp/debian
cp wd wp
cd wp
./rulez
make
sudo make install
ls /usr/lib/xorg/modules/input/wizard*
Code:
wizardpen_drv.so
wizardpen_drv.la
/etc/X11/xorg.conf
Code:
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

Xorg.0.log:
Code:
(II) config/udev: Adding input device UC-LOGIC Tablet WP5540U (/dev/input/event6)
(**) UC-LOGIC Tablet WP5540U: Applying InputClass "evdev pointer catchall"
(**) UC-LOGIC Tablet WP5540U: Applying InputClass "evdev tablet catchall"
(**) UC-LOGIC Tablet WP5540U: always reports core events
(**) UC-LOGIC Tablet WP5540U: Device: "/dev/input/event6"
(II) UC-LOGIC Tablet WP5540U: Found 10 mouse buttons
(II) UC-LOGIC Tablet WP5540U: Found scroll wheel(s)
(II) UC-LOGIC Tablet WP5540U: Found relative axes
(II) UC-LOGIC Tablet WP5540U: Found x and y relative axes
(II) UC-LOGIC Tablet WP5540U: Found absolute axes
(II) UC-LOGIC Tablet WP5540U: Found x and y absolute axes
(II) UC-LOGIC Tablet WP5540U: Found absolute tablet.
(II) UC-LOGIC Tablet WP5540U: Configuring as tablet
(**) UC-LOGIC Tablet WP5540U: YAxisMapping: buttons 4 and 5
(**) UC-LOGIC Tablet WP5540U: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "UC-LOGIC Tablet WP5540U" (type: TABLET)
(WW) UC-LOGIC Tablet WP5540U: touchpads, tablets and touchscreens ignore relative axes.
(II) UC-LOGIC Tablet WP5540U: initialized for absolute axes.
(II) config/udev: Adding input device UC-LOGIC Tablet WP5540U (/dev/input/mouse1)
(II) No input driver/identifier specified (ignoring)
Says it's not specified?!?

It says here
http://ubuntuforums.org/archive/inde...t-1156499.html driver could be loaded with insmod. When I try:
Code:
# insmod /usr/lib/xorg/modules/input/wizardpen_drv.so 
insmod: error inserting '/usr/lib/xorg/modules/input/wizardpen_drv.so': -1 Invalid module format
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?

Thanks!
 
Old 07-15-2010, 07:58 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.

Good luck. ;-)
 
Old 07-16-2010, 12:02 PM   #3
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
To make absolutely sure I got latest stable kernel 2.6.34.1 and compiled it (I'm using it now).

Driver is now compiled against that source, but still doesn't work.

One thing I noticed in xorg log:

Code:
(II) config/udev: Adding input device UC-LOGIC Tablet WP5540U (/dev/input/mouse0)
Even if I specified
Code:
Option		"Device"	"/dev/input/by-id/usb-UC-LOGIC_Tablet_WP5540U-event-mouse"
When I try:

Code:
cat /dev/input/by-id/usb-UC-LOGIC_Tablet_WP5540U-event-mouse
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
 
Old 07-16-2010, 12:36 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you have a run at this?

https://help.ubuntu.com/community/TabletSetupWizardpen

What does the following return?

Code:
$ ls /dev/input/by-id/
Good luck. ;-)

Last edited by Peacedog; 07-16-2010 at 12:41 PM.
 
Old 07-17-2010, 04:48 AM   #5
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I've tried both methods from TabletSetupWizardpen page unsuccessfuly.

Code:
~$ ls /dev/input/by-id/
usb-Logitech_USB-PS_2_Optical_Mouse-event-mouse
usb-Logitech_USB-PS_2_Optical_Mouse-mouse
usb-UC-LOGIC_Tablet_WP5540U-event-mouse
usb-UC-LOGIC_Tablet_WP5540U-mouse
When I cat it to stdout, the fourth one seems to register just tablet buttons (clicks). No motion or pressure.

The third on seems to be the real thing.

My guess is the problem is some detail I missed somewhere, but I don't know how to pinpoint it...

Maybe this can help further:
Code:
~$ ls /dev/input/by-path/ 
pci-0000:00:13.0-usb-0:1:1.0-event-mouse  platform-i8042-serio-0-event-kbd
pci-0000:00:13.0-usb-0:1:1.0-mouse        platform-i8042-serio-4-event-mouse
pci-0000:00:13.1-usb-0:1:1.0-event-mouse  platform-i8042-serio-4-mouse
pci-0000:00:13.1-usb-0:1:1.0-mouse        platform-pcspkr-event-spkr
Code:
~$ dmesg | grep WP5540U
[    3.055040] usb 2-1: Product: Tablet WP5540U
[    3.086961] input: UC-LOGIC Tablet WP5540U as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input5
[    3.087160] generic-usb 0003:5543:0004.0001: input,hidraw0: USB HID v1.00 Mouse [UC-LOGIC Tablet WP5540U] on usb-0000:00:13.0-1/input0
 
Old 07-17-2010, 03:07 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Is the module loading without errors now? Did the policy file get created properly?

Code:
$ cat /etc/hal/fdi/policy/99-x11-wizardpen.fdi
Good luck. ;-)
 
Old 07-18-2010, 04:55 AM   #7
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Negative. Module is not loaded. I'm trying to figure out why.

Code:
is:~# lsmod | grep wizardpen
is:~# modprobe wizardpen
FATAL: Module wizardpen not found.
is:~# insmod wizardpen_drv
insmod: can't read 'wizardpen_drv': No such file or directory
is:~# insmod /usr/lib/xorg/modules/input/wizardpen_drv.so 
insmod: error inserting '/usr/lib/xorg/modules/input/wizardpen_drv.so': -1 Invalid module format
is:~# insmod /usr/lib/xorg/modules/input/wizardpen_drv.   
wizardpen_drv.la  wizardpen_drv.so  
is:~# insmod /usr/lib/xorg/modules/input/wizardpen_drv.la 
insmod: error inserting '/usr/lib/xorg/modules/input/wizardpen_drv.la': -1 Invalid module format
is:~#
Code:
~$ cat /etc/hal/fdi/policy/99-x11-wizardpen.fdi
<?xml version="1.0" encoding="ISO-8859-1" ?>
<deviceinfo version="0.2">
<device>
        <match key="info.product" contains="UC-LOGIC Tablet WP5540U">
        <merge key="input.x11_driver" type="string">wizardpen</merge>
        <merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
        <merge key="input.x11_options.TopX" type="string">556</merge>
        <merge key="input.x11_options.TopY" type="string">1203</merge>
        <merge key="input.x11_options.BottomX" type="string">32739</merge>
        <merge key="input.x11_options.BottomY" type="string">32745</merge>
        </match>
</device>
</deviceinfo>

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
 
Old 07-18-2010, 07:07 AM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you install the kernel source when you compiled the new kernel?

Code:
$ ls -al /usr/src
Good luck. ;-)
 
Old 07-20-2010, 05:22 AM   #9
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I think I forgot of linux link in /usr/src.

Now I put it there, recompiled, but still it wont work. I'm not sure if it's needed at all?
Code:
~$ ll /usr/src/
total 444
lrwxrwxrwx  1 root src      15 Jul 20 12:03 linux -> linux-2.6.34.1/
drwxrwxr-x 24 root root   4096 Jul 16 15:55 linux-2.6.34.1
drwxr-xr-x  4 root root   4096 Jul 11 23:23 linux-headers-2.6.30-2-common
lrwxrwxrwx  1 root root     31 Jul 16 22:16 vboxdrv-3.2.6 -> ../share/virtualbox/src/vboxdrv
lrwxrwxrwx  1 root root     34 Jul 16 22:16 vboxnetadp-3.2.6 -> ../share/virtualbox/src/vboxnetadp
lrwxrwxrwx  1 root root     34 Jul 16 22:16 vboxnetflt-3.2.6 -> ../share/virtualbox/src/vboxnetflt
-rw-r--r--  1 root root 438709 Jun 12 15:38 virtualbox-ose.tar.bz2
What else might gone wrong?

The link in /lib/modules/... looks ok:
Code:
~$ ll /lib/modules/$(uname -r)/
total 2528
lrwxrwxrwx  1 root root     23 Jul 16 12:08 build -> /usr/src/linux-2.6.34.1
drwxr-xr-x 11 root root   4096 Jul 16 15:55 kernel
-rw-r--r--  1 root root 570353 Jul 16 22:19 modules.alias
-rw-r--r--  1 root root 557247 Jul 16 22:19 modules.alias.bin
-rw-r--r--  1 root root   2513 Jul 16 15:53 modules.builtin
-rw-r--r--  1 root root   3534 Jul 16 22:19 modules.builtin.bin
-rw-r--r--  1 root root 295137 Jul 16 22:19 modules.dep
-rw-r--r--  1 root root 414335 Jul 16 22:19 modules.dep.bin
-rw-r--r--  1 root root     52 Jul 16 22:19 modules.devname
-rw-r--r--  1 root root  97119 Jul 16 15:53 modules.order
-rw-r--r--  1 root root    131 Jul 16 22:19 modules.softdep
-rw-r--r--  1 root root 254916 Jul 16 22:19 modules.symbols
-rw-r--r--  1 root root 327619 Jul 16 22:19 modules.symbols.bin
lrwxrwxrwx  1 root root     23 Jul 16 15:53 source -> /usr/src/linux-2.6.34.1
drwxr-xr-x  3 root root   4096 Jul 16 22:18 updates
It looked simple at first, but I'm trying for some time now to get this work with no success.

Are there any other drivers, perhaps generic ones? I dont know...
 
Old 07-20-2010, 05:27 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Are you getting the same error since the recompile against the correct source? What does modinfo say?

Good luck. ;-)
 
Old 07-21-2010, 04:28 AM   #11
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Yes, same error always.

Modinfo says nothing. I guess because module can not be loaded at all.

Here's module headers:
Code:
~$ objdump -x /usr/lib/xorg/modules/input/wizardpen_drv.so 

/usr/lib/xorg/modules/input/wizardpen_drv.so:     file format elf32-i386
/usr/lib/xorg/modules/input/wizardpen_drv.so
architecture: i386, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x000010d0

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x00005650 memsz 0x00005650 flags r-x
    LOAD off    0x00005650 vaddr 0x00006650 paddr 0x00006650 align 2**12
         filesz 0x0000028c memsz 0x00000294 flags rw-
 DYNAMIC off    0x00005664 vaddr 0x00006664 paddr 0x00006664 align 2**2
         filesz 0x000000d0 memsz 0x000000d0 flags rw-
    NOTE off    0x000000f4 vaddr 0x000000f4 paddr 0x000000f4 align 2**2
         filesz 0x00000024 memsz 0x00000024 flags r--
EH_FRAME off    0x00005600 vaddr 0x00005600 paddr 0x00005600 align 2**2
         filesz 0x00000014 memsz 0x00000014 flags r--
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-

Dynamic Section:
  NEEDED               libc.so.6
  SONAME               wizardpen_drv.so
  INIT                 0x00000d68
  FINI                 0x00004878
  HASH                 0x00000118
  GNU_HASH             0x000002a4
  STRTAB               0x000006a4
  SYMTAB               0x000002e4
  STRSZ                0x00000399
  SYMENT               0x00000010
  PLTGOT               0x00006748
  PLTRELSZ             0x00000190
  PLTREL               0x00000011
  JMPREL               0x00000bd8
  REL                  0x00000ae8
  RELSZ                0x000000f0
  RELENT               0x00000008
  VERNEED              0x00000ab8
  VERNEEDNUM           0x00000001
  VERSYM               0x00000a3e
  RELCOUNT             0x00000019

Version References:
  required from libc.so.6:
    0x09691f73 0x00 03 GLIBC_2.1.3
    0x0d696910 0x00 02 GLIBC_2.0

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .note.gnu.build-id 00000024  000000f4  000000f4  000000f4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .hash         0000018c  00000118  00000118  00000118  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .gnu.hash     00000040  000002a4  000002a4  000002a4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynsym       000003c0  000002e4  000002e4  000002e4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .dynstr       00000399  000006a4  000006a4  000006a4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .gnu.version  00000078  00000a3e  00000a3e  00000a3e  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .gnu.version_r 00000030  00000ab8  00000ab8  00000ab8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .rel.dyn      000000f0  00000ae8  00000ae8  00000ae8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  8 .rel.plt      00000190  00000bd8  00000bd8  00000bd8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .init         00000030  00000d68  00000d68  00000d68  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 10 .plt          00000330  00000d98  00000d98  00000d98  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 11 .text         000037a8  000010d0  000010d0  000010d0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 12 .fini         0000001c  00004878  00004878  00004878  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 13 .rodata       00000d68  00004898  00004898  00004898  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 14 .eh_frame_hdr 00000014  00005600  00005600  00005600  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 15 .eh_frame     0000003c  00005614  00005614  00005614  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 16 .ctors        00000008  00006650  00006650  00005650  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 17 .dtors        00000008  00006658  00006658  00005658  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 18 .jcr          00000004  00006660  00006660  00005660  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 19 .dynamic      000000d0  00006664  00006664  00005664  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 20 .got          00000014  00006734  00006734  00005734  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 21 .got.plt      000000d4  00006748  00006748  00005748  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 22 .data         000000bc  00006820  00006820  00005820  2**5
                  CONTENTS, ALLOC, LOAD, DATA
 23 .bss          00000008  000068dc  000068dc  000058dc  2**2
                  ALLOC
 24 .comment      0000001c  00000000  00000000  000058dc  2**0
                  CONTENTS, READONLY
SYMBOL TABLE:
000000f4 l    d  .note.gnu.build-id	00000000              .note.gnu.build-id
00000118 l    d  .hash	00000000              .hash
000002a4 l    d  .gnu.hash	00000000              .gnu.hash
000002e4 l    d  .dynsym	00000000              .dynsym
000006a4 l    d  .dynstr	00000000              .dynstr
00000a3e l    d  .gnu.version	00000000              .gnu.version
00000ab8 l    d  .gnu.version_r	00000000              .gnu.version_r
00000ae8 l    d  .rel.dyn	00000000              .rel.dyn
00000bd8 l    d  .rel.plt	00000000              .rel.plt
00000d68 l    d  .init	00000000              .init
00000d98 l    d  .plt	00000000              .plt
000010d0 l    d  .text	00000000              .text
00004878 l    d  .fini	00000000              .fini
00004898 l    d  .rodata	00000000              .rodata
00005600 l    d  .eh_frame_hdr	00000000              .eh_frame_hdr
00005614 l    d  .eh_frame	00000000              .eh_frame
00006650 l    d  .ctors	00000000              .ctors
00006658 l    d  .dtors	00000000              .dtors
00006660 l    d  .jcr	00000000              .jcr
00006664 l    d  .dynamic	00000000              .dynamic
00006734 l    d  .got	00000000              .got
00006748 l    d  .got.plt	00000000              .got.plt
00006820 l    d  .data	00000000              .data
000068dc l    d  .bss	00000000              .bss
00000000 l    d  .comment	00000000              .comment
00000000 l    df *ABS*	00000000              crtstuff.c
00006650 l     O .ctors	00000000              __CTOR_LIST__
00006658 l     O .dtors	00000000              __DTOR_LIST__
00006660 l     O .jcr	00000000              __JCR_LIST__
000010d0 l     F .text	00000000              __do_global_dtors_aux
000068dc l     O .bss	00000001              completed.5956
000068e0 l     O .bss	00000004              dtor_idx.5958
00001150 l     F .text	00000000              frame_dummy
00000000 l    df *ABS*	00000000              crtstuff.c
00006654 l     O .ctors	00000000              __CTOR_END__
0000564c l     O .eh_frame	00000000              __FRAME_END__
00006660 l     O .jcr	00000000              __JCR_END__
00004840 l     F .text	00000000              __do_global_ctors_aux
00000000 l    df *ABS*	00000000              wizardpen.c
00006840 l     O .data	00000004              wizardpen_initstr
00001772 l     F .text	00000eca              WizardPenPreInit
00006860 l     O .data	00000034              VersionRec
0000118c l     F .text	00000038              SetupProc
000011c4 l     F .text	00000005              TearDownProc
000068a0 l     O .data	0000003c              default_options
000011c9 l     F .text	000000b6              IsUSBLine
0000127f l     F .text	000000b7              fd_query_wizardpen
00006824 l     O .data	0000000a              wizardpen_name_default
00001336 l     F .text	000002e3              WizardPenAutoDevProbe
00001619 l     F .text	000000c3              parsePercentage
000016dc l     F .text	00000096              parseBool
000040e5 l     F .text	00000005              CloseProc
0000263c l     F .text	00000075              DeviceControl
00002e66 l     F .text	0000127f              USBReadInput
0000422e l     F .text	00000352              USBQueryHardware
00002a47 l     F .text	0000041f              DeviceInit
000026b1 l     F .text	0000024d              DeviceOn
000028fe l     F .text	000000b4              DeviceOff
000029b2 l     F .text	0000004d              DeviceClose
000029ff l     F .text	00000048              ControlProc
000040ea l     F .text	00000144              QueryHardware
00004580 l     F .text	0000000f              NewPacket
0000458f l     F .text	0000012b              WizardPenGetPacket
00003c2e l       .text	00000000              .L205
00003a2f l       .text	00000000              .L208
00003aa3 l       .text	00000000              .L207
00004443 l       .text	00000000              .L300
00003069 l       .text	00000000              .L156
00003905 l       .text	00000000              .L157
000030bc l       .text	00000000              .L158
0000372c l       .text	00000000              .L159
00003cb6 l       .text	00000000              .L277
0000374d l       .text	00000000              .L193
000037ec l       .text	00000000              .L194
00003782 l       .text	00000000              .L195
000037b7 l       .text	00000000              .L196
00003cc8 l       .text	00000000              .L283
00003821 l       .text	00000000              .L197
00003960 l       .text	00000000              .L206
000039aa l       .text	00000000              .L209
00003a05 l       .text	00000000              .L210
00003a79 l       .text	00000000              .L211
0000392b l       .text	00000000              .L212
00003aed l       .text	00000000              .L213
00003b3f l       .text	00000000              .L214
00003bd6 l       .text	00000000              .L215
0000440b l       .text	00000000              .L301
00004421 l       .text	00000000              .L302
00004416 l       .text	00000000              .L303
0000442c l       .text	00000000              .L304
00004437 l       .text	00000000              .L305
00006748 l     O *ABS*	00000000              .hidden _GLOBAL_OFFSET_TABLE_
00006820 l     O .data	00000000              .hidden __dso_handle
0000665c l     O .dtors	00000000              .hidden __DTOR_END__
000046c0 l     F .text	00000172              .hidden __divdi3
00001187 l     F .text	00000000              .hidden __i686.get_pc_thunk.bx
00006664 l     O *ABS*	00000000              .hidden _DYNAMIC
00000000       F *UND*	00000000              __errno_location@@GLIBC_2.0
00000000         *UND*	00000000              xf86ReadSerial
00000000       F *UND*	00000000              sprintf@@GLIBC_2.0
00000000       F *UND*	00000000              open@@GLIBC_2.0
00000000         *UND*	00000000              XisbRead
00000000         *UND*	00000000              xf86PostMotionEvent
00000000       F *UND*	00000000              strerror@@GLIBC_2.0
00000000         *UND*	00000000              RemoveEnabledDevice
00006844 g     O .data	0000001c              WIZARDPEN
00000000         *UND*	00000000              xf86AddEnabledDevice
00000000         *UND*	00000000              xf86ErrorFVerb
00000000         *UND*	00000000              XisbFree
00000000  w      *UND*	00000000              __gmon_start__
00000000  w      *UND*	00000000              _Jv_RegisterClasses
00000000         *UND*	00000000              xf86AddInputDriver
00004878 g     F .fini	00000000              _fini
00000000         *UND*	00000000              xf86FindOptionValue
00000000       F *UND*	00000000              memset@@GLIBC_2.0
00000000         *UND*	00000000              xf86RemoveEnabledDevice
00000000         *UND*	00000000              xf86PostButtonEvent
00000000         *UND*	00000000              xf86FlushInput
00000000         *UND*	00000000              xf86NameCmp
00000000         *UND*	00000000              xf86ProcessCommonOptions
00000000       F *UND*	00000000              ioctl@@GLIBC_2.0
00000000         *UND*	00000000              xf86usleep
00000000         *UND*	00000000              InitButtonClassDeviceStruct
00000000       F *UND*	00000000              strlen@@GLIBC_2.0
00000000         *UND*	00000000              InitValuatorAxisStruct
00000000         *UND*	00000000              xf86OpenSerial
00000000         *UND*	00000000              Xcalloc
00000000         *UND*	00000000              xf86SetIntOption
00000000         *UND*	00000000              InitPtrFeedbackClassDeviceStruct
00000000         *UND*	00000000              Xfree
00000000         *UND*	00000000              xf86OptionListReport
00000000       F *UND*	00000000              atoi@@GLIBC_2.0
00000000       F *UND*	00000000              close@@GLIBC_2.0
00006894 g     O .data	0000000c              wizardpenModuleData
00000000         *UND*	00000000              xf86CollectInputOptions
000068dc g       *ABS*	00000000              __bss_start
00000000         *UND*	00000000              XisbNew
00000000         *UND*	00000000              xf86MsgVerb
00000000         *UND*	00000000              xf86PostProximityEvent
00000000         *UND*	00000000              xf86MotionHistoryAllocate
000068e4 g       *ABS*	00000000              _end
00000000         *UND*	00000000              XisbWrite
00000000         *UND*	00000000              xf86AllocateInput
00000000         *UND*	00000000              InitProximityClassDeviceStruct
00000000         *UND*	00000000              xf86Msg
00000000         *UND*	00000000              xf86CloseSerial
000068dc g       *ABS*	00000000              _edata
00000000       F *UND*	00000000              snprintf@@GLIBC_2.0
00000000         *UND*	00000000              InitValuatorClassDeviceStruct
00000000       F *UND*	00000000              strcmp@@GLIBC_2.0
00000000         *UND*	00000000              xf86ReplaceStrOption
00000000  w    F *UND*	00000000              __cxa_finalize@@GLIBC_2.1.3
00000000         *UND*	00000000              XisbBlockDuration
00000000         *UND*	00000000              screenInfo
00000d68 g     F .init	00000000              _init
00000000         *UND*	00000000              InitFocusClassDeviceStruct
Is there anything remotely wrong with this?
 
Old 07-21-2010, 04:31 AM   #12
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
I'm no expert, but aren't modules supposed to be written in C? I see some constructors and destructors there...
 
Old 07-21-2010, 01:05 PM   #13
Crius
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
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.

As I see it, the problem is this:
Code:
(**) UC-LOGIC Tablet WP5540U: Applying InputClass "evdev pointer catchall"
(**) UC-LOGIC Tablet WP5540U: Applying InputClass "evdev tablet catchall"
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:
Code:
# ln -s /usr/lib/X11/xorg.conf.d /etc/X11/xorg.conf.d

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.
 
Old 07-21-2010, 05:40 PM   #14
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Crius's suggestion couldn't hurt at this point. You may also want to grab the source specifically for Lucid.

https://launchpad.net/~doctormo/+arc...ubuntu1.tar.gz

Good luck. ;-)

Last edited by Peacedog; 07-21-2010 at 05:41 PM.
 
Old 07-23-2010, 08:53 AM   #15
Duy3
LQ Newbie
 
Registered: May 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Oh man it works! Sorry I got carried away with painting, fogot to thank you... Thanks a lot!

If anyone gets the same problem, here is the solution summary:

1. Get whole kernel source, not just headers.
2. Recompile driver for current kernel.
3. Create symlink:

Code:
# ln -s /usr/lib/X11/xorg.conf.d /etc/X11/xorg.conf.d
Thanks once again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WizardPen pen-tablet driver for FreeBSD? vharishankar *BSD 0 07-02-2009 09:45 PM
ndiswrapper error wont load driver bluejaguar456 Linux - Wireless Networking 8 11-06-2006 05:25 AM
Gnome Wont load after video card driver change dietrichmd Linux - Software 2 10-18-2004 09:13 PM
nvidia driver 5328 redhat 9 module wont load restlekak Linux - Hardware 1 01-24-2004 02:21 PM
XFree driver for Genius MousePen WizardPen dabicho Linux - Hardware 0 12-28-2003 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration