Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] Wacom Volito2 and other Wacom tablets
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sprock
n00b
n00b


Joined: 27 Jan 2006
Posts: 6

PostPosted: Sat Jan 28, 2006 4:45 pm    Post subject: Reply with quote

Since my last message I went back to kernel 2.6.13 and went through the linuxwacom manual installation instructions. That lead me to do exactly those
things you suggested - and it works! I've just been playing with the tablet in the gimp.

I'll now try the same with kernel 2.6.15 and report back. That will be next week.

Thanks again for your help.

sprock
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Mon Jan 30, 2006 5:59 pm    Post subject: Re: [HOWTO] Wacom Volito2 Reply with quote

CRV§ADER//KY wrote:
Wacom Volito2 on Gentoo Linux HOWTO


First, a big thank you for the instructions. I was able to install my USB Wacom Graphire4 in ~27 minutes.

System: AMD64 {~amd64}
Kernel: Vanilla Sources 2.6.15.1

A few points of clarification which might be helpful to others:


Quote:
7) create the file /etc/udev/rules.d/10-wacom.rules and write the following line in it:
Code:
KERNEL="event*", SYSFS{idVendor}="056a", NAME="input/%k", SYMLINK="input/wacom%e"


In the latest versions of udev rules, there is a default local rules file /etc/udev/rules.d/10-local.rules. Just add the above line to this file instead of creating a new one.


Quote:
10) edit /etc/X11/xorg.conf

This section should already exist; you must add the lines regarding "stylus".
Code:
Section "ServerLayout"
   Identifier     "Default Layout"
   Screen         0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "stylus" "SendCoreEvents"
EndSection


The default screen in the "ServerLayout" section for many people will appear as:
Code:
   Screen      "Screen1"

Just add the line:
Code:
   InputDevice    "stylus" "SendCoreEvents"

to the ServerLayout section. No need to replicate the above.


Quote:
TROUBLESHOOTING

PROBLEM: There's no /dev/input/wacom.
SOLUTION: If you just added the udev rule, try rebooting your system. If that fails, try running:
# ls /dev/input/
# wacdump /dev/input/eventX
with all the listed devices and see if the tablet is there.

This could be carlified by adding the following:

Quote:
Where X is a number. There are usually several /dev/input/eventX files. You are trying to find the event file which applies to your tablet. If such a file does exist, then you most likely have a typo in the udev rules line you added earlier. Double check your udev rule for an error.

WORKAROUND: If udev still isn't setting /dev/input/wacom for you and you've identified the /dev/input/eventX file assigned to your tablet, replace in the "InputDevice" section the line:
Code:
   Option        "Device"        "/dev/input/wacom"
with:
Code:
   Option        "Device"        "/dev/input/eventX"

_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Mon Jan 30, 2006 6:43 pm    Post subject: Re: [HOWTO] Wacom Volito2 Reply with quote

thanks dufeu, updated
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 924
Location: US-FL-EST

PostPosted: Mon Jan 30, 2006 10:39 pm    Post subject: Re: [HOWTO] Wacom Volito2 Reply with quote

CRV§ADER//KY wrote:
thanks dufeu, updated

You're quite welcome. I'm glad you improved the suggestions to make them more generic.

And a big thanks to you for writing the instructions to begin with. It made my life so much easier.

:D
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
sprock
n00b
n00b


Joined: 27 Jan 2006
Posts: 6

PostPosted: Tue Jan 31, 2006 4:17 pm    Post subject: Reply with quote

Quote:
Try replacing hidcore.c and wacom.c in your kernel with those provided by the latest linuxwacom drivers and recompile it.


Well, being lazy I thought I'd try the easy route first - and it worked.

Here is what I did step by step.

ln -snf linux-2.6.15-gentoo-r1/ linux
boot linux-2.6.15-gentoo-r1 (with tablet not connected)
emerge linuxwacom
Note that the /dev/input/event* do not exist
Reboot with tablet connected (still no /dev/input/event*)
Put 10-wacom.rules back in /etc/udev/rules.d
Reboot (still no /dev/input/event*)
startx - now the /dev/input/event* exist, along with /dev/input/wacom -> /dev/input/event2
tablet works in gimp

I don't know which part of this series of steps did the trick, but perhaps you do.

Thanks very much for your help and for making the ebuild available - it is good to know there is a
painless way to keep my system updated yet retain use of my drawing tablet.

sprock
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Tue Jan 31, 2006 5:24 pm    Post subject: Reply with quote

sprock wrote:
Reboot (still no /dev/input/event*)
startx - now the /dev/input/event* exist, along with /dev/input/wacom -> /dev/input/event2

I don't know which part of this series of steps did the trick, but perhaps you do.


Seems like you compiled the kernel parts as modules and you forgot to call modprobe.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
nigdydosc
n00b
n00b


Joined: 20 Sep 2005
Posts: 38
Location: Jaroslaw, Poland

PostPosted: Wed Feb 08, 2006 1:13 pm    Post subject: Reply with quote

At the begining.. sorry for my english.

I have problem with Wacom Volito2. I do everything like in this HOWTO
Code:

cat /proc/bus/input/devices

I: Bus=0003 Vendor=056a Product=0062 Version=0200
N: Name="WACOM CTF-420 V2.0-0"
P: Phys=usb-0000:00:02.1-2/input0
H: Handlers=mouse1 event2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103


xorg.conf:
Code:


Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
#       InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
        FontPath    "/usr/share/fonts/misc:unscaled"
        FontPath    "/usr/share/fonts/Type1"
        FontPath    "/usr/share/fonts/TTF"
        FontPath    "/usr/share/fonts/corefonts"
        FontPath    "/usr/share/fonts/freefont"
        FontPath    "/usr/share/fonts/sharefonts"
        FontPath    "/usr/share/fonts/terminus"
        FontPath    "/usr/share/fonts/ttf-bitstream-vera"
#       FontPath    "/usr/share/fonts/unifont"
        FontPath    "/usr/share/fonts/75dpi:unscaled"
        FontPath    "/usr/share/fonts/100dpi:unscaled"
        FontPath    "/usr/share/fonts/artwiz"
EndSection

Section "Module"
        Load "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
#       Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
#       Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/input/mouse0"
        Option      "ZAxisMapping"    "4 5"
EndSection

#Section "InputDevice"
#       Driver "wacom"
#       Identifier "cursor"
#       Option "Device" "/dev/input/event2"
#       Option "Type" "cursor"
#       Option "USB" "on"
#       Option "Vendor" "WACOM"
#EndSection

Section "InputDevice"
        Driver "wacom"
        Identifier "stylus"
        Option "Device" "/dev/input/event2"
        Option "Type" "stylus"
        Option "USB" "on"
        Option "Vendor" "WACOM"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
#       Driver      "keybord"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "pl"
EndSection

when I do wacdump /dev/input/event2 I can see that tablet is working

but when I do wacomcpl
Code:

We didn't find any Wacom device.
 Please make sure the device's
 type (stylus, eraser, or cursor)
 is embeded into its identifier string


Gimp can't use tablet too. I don't know where I did mistake.

linuxwacom ver 0.7.2
xorg 7.0
kernel 2.6.13-gentoo-r3

emerge --info
Code:

H-A-L ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -mmmx -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr cjk crypt cups curl dri dvb dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 java jpeg junit kde lcms libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qt quicktime readline samba sdk sdl spell sqlite ssl stroke tcltk tcpd tiff truetype truetype-fonts trutype type1-fonts udev vorbis win32codecs xine xml xml2 xmms xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY


Code:

H-A-L linuxwacom-0.7.2 # cat /var/log/Xorg.0.log|grep -i wacom
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
(II) Wacom driver level: 47-0.7.2 $
(**) WACOM: suppress value is 2
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.


Thanks for any help
_________________
Miejsce na Twoją reklamę.
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Wed Feb 08, 2006 2:09 pm    Post subject: Reply with quote

did you compile x.org and linuxwacom after setting the sdk flag?

go look in /var/log/Xorg.0.log for an error message
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
nigdydosc
n00b
n00b


Joined: 20 Sep 2005
Posts: 38
Location: Jaroslaw, Poland

PostPosted: Wed Feb 08, 2006 8:03 pm    Post subject: Reply with quote

I just recompiled xorg with sdl and usb flag. No changes.
_________________
Miejsce na Twoją reklamę.
Back to top
View user's profile Send private message
jansk
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 164

PostPosted: Wed Mar 01, 2006 8:19 am    Post subject: Reply with quote

Hello!

I just emerged linux-2.6.15-gentoo-r1 and linuxwacom 0.7.2, when I compile linuxwacom I got following error:
Code:
make[4]: Entering directory `/usr/src/linux-2.6.15-gentoo-r1'
Makefile:486: .config: No such file or directory

  WARNING: Symbol version dump /usr/src/linux-2.6.15-gentoo-r1/Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
/usr/src/linux-2.6.15-gentoo-r1/scripts/Makefile.modpost:38: .config: No such file or directory
make[5]: *** No rule to make target `.config'.  Stop.
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/linuxwacom-0.7.2/work/linuxwacom-0.7.2/src/2.6.14'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/linuxwacom-0.7.2/work/linuxwacom-0.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/linuxwacom-0.7.2/work/linuxwacom-0.7.2'
make: *** [all] Error 2

File /usr/src/linux-2.6.15-gentoo-r1/Module.symvers is really missing. It is included in older kernels however .....
Shall I copy the file from older kernel source ? (is it safe ??)

Jan
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Wed Mar 01, 2006 1:44 pm    Post subject: Reply with quote

jansk wrote:
I just emerged linux-2.6.15-gentoo-r1 and linuxwacom 0.7.2, when I compile linuxwacom I got following error:
Code:
make[4]: Entering directory `/usr/src/linux-2.6.15-gentoo-r1'
Makefile:486: .config: No such file or directory


either you issued a make mrproper, thus deleting the configuration file, or you are using a kernel source that you never configured in the first place. In either case, you have to import and old .config and then call make oldconfig or re-configure the kernel from scratch.
Tip 1: when you emerge gentoo-sources, the previous ones are not overwritten nor deleted, and the old .config file is not automatically imported.
Tip 2: in case you lost it, you can fetch your current config file from /proc/config.gz:
gzip -cd /proc/config.gz > /usr/src/linux/.config
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
jansk
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 164

PostPosted: Thu Mar 02, 2006 5:28 am    Post subject: Reply with quote

Thanks for advice. You're right I tried to install wacom drivers straight to new kernel sources .... I compiled the new kernel, installed wacom drivers and recompiled again. This is fine, however every time I boot with new kernel my machine freezes at login prompt .... this is however kernel problem :( and it is not related to wacom .... once I'll manage to run new kernel I'll continue with this how-to!

Thanks
Jan
Back to top
View user's profile Send private message
jansk
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 164

PostPosted: Thu Mar 02, 2006 6:17 am    Post subject: Reply with quote

I solved few problems I had with my new kernel ... now I booot all the way to the login promt but can not type anything ...
Did I forget to compile something ? My old kernel works fine however I'd like to configure my new kernel from scratch (I'm using UTF, but not sure if it is related)

I enabled CONFIG_INPUT_EVDEV as suggested in this how-to, could this be somehow connected with the typing problem ???

Jan
p.s. as this is probably not related to wacom I posted new post https://forums.gentoo.org/viewtopic-t-439192-highlight-.html.
Back to top
View user's profile Send private message
jansk
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 164

PostPosted: Fri Mar 03, 2006 1:14 am    Post subject: Reply with quote

Hello!

I spend whole day trying to solve the typing problem with 2.6.15-r1 kernel .... unfortunately without any success.
After, I tried with my old working kernel 2.6.12-r6 .... and everything works!!!

I'm still very curious what's wrong with my 2.6.15-r1 kernel ....

Anyhow, the reason why I need tablet is that I'd like to measure trajectory and pressure while writting (mostly kanji) characters and save it to file for later processing. Is there a smart way how to read output of tablet ???
I found a option in kernel called "Input debugging" (CONFIG_INPUT_EVBUG). I'm gonna give it a try .... I'm wondering if I'll be able also to measure pressure.

Thanks
Jan

p.s. one detail regarding how-to:
In kernel part
"Device Drivers -> Wacom Intuos/Graphire tablet support" should be "Device Drivers -> USB support -> Wacom Intuos/Graphire tablet support"
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Tue Mar 07, 2006 3:12 pm    Post subject: Reply with quote

Thank you very much for the guide! I just installed Graphire4 but it's working as a mouse (i.e relative not absolute), will get back when I get working :)

People might also find this useful:
http://gentoo-wiki.com/HOWTO_Wacom_Tablet
Back to top
View user's profile Send private message
Emulagame
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 100
Location: Milano

PostPosted: Thu Mar 23, 2006 1:49 pm    Post subject: Reply with quote

my wacom want work =.= (he work but gimp don't find anythink)

Codice:
wks002 ~ # ls /dev/input/
event0 event2 js0 js2 mice mouse1 mouse3
event1 event3 js1 js3 mouse0 mouse2


Codice:
wks002 ~ # wacdump /dev/input/event0
20:54:54.924 ERROR: Failed to open /dev/input/event0: No such device
WacomOpenTablet: No such device
wks002 ~ # wacdump /dev/input/event1
20:54:54.762 ERROR: Failed to open /dev/input/event1: No such device
WacomOpenTablet: No such device
wks002 ~ # wacdump /dev/input/event2
20:55:55.923 ERROR: Failed to open /dev/input/event2: No such device
WacomOpenTablet: No such device
wks002 ~ # wacdump /dev/input/event3
20:55:55.015 ERROR: Failed to open /dev/input/event3: No such device
WacomOpenTablet: No such device




and my xorg conf modified by the gentoo wiki because the dev are no such devices

Codice:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"

EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event2"
Option "Type" "cursor"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event2"
Option "Type" "stylus"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/event2"
Option "Type" "eraser"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection


and

Codice:
# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
_________________
Non cacciare ciò che non puoi uccidere
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Thu Mar 23, 2006 3:57 pm    Post subject: Reply with quote

Emulagame wrote:

wks002 ~ # ls /dev/input/
event0 event2 js0 js2 mice mouse1 mouse3
event1 event3 js1 js3 mouse0 mouse2

wks002 ~ # wacdump /dev/input/event0
20:54:54.924 ERROR: Failed to open /dev/input/event0: No such device
WacomOpenTablet: No such device
wks002 ~ # wacdump /dev/input/event1
20:54:54.762 ERROR: Failed to open /dev/input/event1: No such device
WacomOpenTablet: No such device
wks002 ~ # wacdump /dev/input/event2
20:55:55.923 ERROR: Failed to open /dev/input/event2: No such device
WacomOpenTablet: No such device
wks002 ~ # wacdump /dev/input/event3
20:55:55.015 ERROR: Failed to open /dev/input/event3: No such device
WacomOpenTablet: No such device


It's a kernel problem.
First of all, I'd recommend you to set RC_DEVICE_TARBALL="no" in /etc/conf.d/rc, and reboot. This way you'll remove all the unneeded devices.
You have to make sure that (1) you're using at least a 2.6.15 kernel and (2) all the devices I listed are compiled and loaded.

Then do a
Code:
dmesg | grep wacom


Also, disconnect your table, reconnect it, and do a
Code:
dmesg | tail

_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Fri Mar 24, 2006 4:55 pm    Post subject: Reply with quote

Emulagame: Why don't you also use the udev rule for the /dev/input/wacom device?
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Fri Mar 24, 2006 4:57 pm    Post subject: Reply with quote

jansk wrote:
Hello!
...
Anyhow, the reason why I need tablet is that I'd like to measure trajectory and pressure while writting (mostly kanji) characters and save it to file for later processing. Is there a smart way how to read output of tablet ???
...


Don't know about tilt, but for pressure you could try analysing the bitmaps created with gimp.
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Fri Mar 24, 2006 11:07 pm    Post subject: Reply with quote

Genjix wrote:
Emulagame: Why don't you also use the udev rule for the /dev/input/wacom device?


if the kernel doesn't recognize it as /dev/input/eventX, it won't appear as /dev/input/wacom regardless of the rule.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Sat Mar 25, 2006 7:59 am    Post subject: Reply with quote

Wacom Graphire 4 :
After trying to get the Wacom tablet to behave nicely for a couple of weeks now, I have only suceeded in getting it to act as a mouse (relative positioning, not recognised by gimp).

Code:

Section "InputDevice"
   Identifier "USB Mouse"
   Driver "mouse"
   Option "Device" "/dev/input/mice"
   Option "ZAxisMapping" "4 5"
   Option "Buttons" "5"
EndSection

#Section "InputDevice"
#   Driver "wacom"
#   Identifier "cursor"
#   Option "Device" "/dev/input/wacom"
#   Option "Type" "cursor"
#   Option "USB" "on"
#   Option "Mode" "Absolute"
#   Option "Vendor" "WACOM"
#EndSection

Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "USB" "on"
    Option "Mode" "Absolute"
    Option "Vendor" "WACOM"
EndSection

#Section "InputDevice"
#    Driver "wacom"
#    Identifier "eraser"
#    Option "Device" "/dev/input/wacom"
#    Option "Type" "eraser"
#    Option "USB" "on"
#    Option "Vendor" "WACOM"
#EndSection

...

Section "ServerLayout"
   Identifier   "Layout"
   Screen      "Screen 0" 0 0
   InputDevice   "USB Mouse" "CorePointer"
   InputDevice   "Keyboard1" "CoreKeyboard"
   #InputDevice "Keyboard1" "Touchpad"

   #InputDevice "cursor" "SendCoreEvents"
   InputDevice "stylus" "SendCoreEvents"
   #InputDevice "eraser" "SendCoreEvents"

   Option "BlankTime" "5"
   Option "StandbyTime" "10"
   Option "SuspendTime" "20"
   Option "Offline" "30"
EndSection

...


package.use has the required sdk flags for x11-base/xorg-x11 and x11-misc/linuxwacom (which I have recompiled 5 further times just to be sure I didn't miss anything). My kernel has evdev, wacom and usbhid compiled in, although I have tried leaving evdev and wacom as modules due to the messages below.

Code:

hostname: Unknown host


X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13-gentoo-r3 i686 [ELF]
Current Operating System: Linux amir 2.6.13-gentoo-r3 #15 Fri Mar 24 16:07:56 UTC 2006 i686
Build Date: 07 March 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 07:57:50 2006
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7
FATAL: Module wacom not found.
FATAL: Module evdev not found.
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
Could not init font path element /usr/share/fonts/local/, removing from list!
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

waiting for X server to shut down .



As far as I see I can't see much going wrong...
With the wacom and evdev as modules I get
Code:

hostname: Unknown host

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13-gentoo-r3 i686 [ELF]
Current Operating System: Linux amir 2.6.13-gentoo-r3 #16 Sat Mar 25 08:06:07 UTC 2006 i686
Build Date: 07 March 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 08:09:50 2006
(==) Using config file: "/etc/X11/xorg.conf"

Using vt 7
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
Could not init font path element /usr/share/fonts/local/, removing from list!

waiting for X server to shut down .



Everything is all fine in wacdump /dev/input/wacom
The ioctl messages are making me suspicious anyhow because I have a screensize of 1280x800, so it could just be me and not Graphire4 in general.

On a side note, the above is exactly the same before and after I manually load the wacom and evdev modules, so I think X11 automatically does it and adding to modules to be loaded at startup is an unnecessary step.
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Sat Mar 25, 2006 8:36 am    Post subject: Reply with quote

Reading through the detailed linuxwacom guide it says I should see Driver=wacom
Code:

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=056a ProdID=0015 Rev= 4.03
S:  Manufacturer=WACOM
S:  Product=CTE-440-U V4.0-3
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 40mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms


Is that a problem?
Code:

amir genjix # dmesg | tail
...
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
usbcore: registered new driver wacom
drivers/usb/input/wacom.c: v1.43:USB Wacom Graphire and Wacom Intuos tablet driver
Back to top
View user's profile Send private message
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Sat Mar 25, 2006 9:00 am    Post subject: Reply with quote

Try replacing wacom.c and evdev.c with those provided in the latest linuxwacom sources.

Also, try to temporarily disable /dev/input/mice from your xorg.conf.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Sat Mar 25, 2006 9:02 am    Post subject: Reply with quote

Following the guide through a bit I saw this:
Quote:
linuxwacom detailed guide:
Out of Range Values

At present, we are discovering a number of problems with out-of-range values. Rest assured, we are looking into it, so if you encounter them yourself, you might consider check the mailing list for similar problems, and if your problem is unique, let us know. When the driver is behaving better, I'll increase the priority of this class of problem. Until then, you'll probably just get a message back saying "sorry, and yes, we know." The most serious problem seems to be with runaway pressure settings, so those will get investigated first.


Just to be sure I added
Code:

    Option "TopX" "0"
    Option "TopY" "0"
    Option "BottomX" "30480"
    Option "BottomY" "30480"

But still no luck. I think I might be experiencing this problem :/
Code:

# xsetpointer -l
"Keyboard1"   [XKeyboard]
"USB Mouse"   [XPointer]
"NVIDIA Event Handler"   [XExtensionDevice]
"NVIDIA Kernel Input Handler"   [XExtensionDevice]
"stylus"   [XExtensionDevice]

# xidump -l
Keyboard1                      keyboard
USB Mouse                      disabled
NVIDIA Event Handler           extension
NVIDIA Kernel Input Handler    extension
stylus                         extension

# xidump -l -v stylus
stylus                         extension
    key: min=8, max=39, num=32
    btn: num=16
    val: axes=8 mode=abs buf=0
    axis[0]: res=0, max=0, max=0
    axis[1]: res=0, max=0, max=0
    axis[2]: res=0, max=0, max=0
    axis[3]: res=0, max=0, max=0
    axis[4]: res=0, max=0, max=0
    axis[5]: res=0, max=0, max=0
    axis[6]: res=0, max=0, max=0
    axis[7]: res=0, max=0, max=0

# xidump -u raw stylus
X Error: 165 BadDevice, invalid or uninitialized input device
Unable to open input device 'stylus'

# xidump stylus
X Error: 165 BadDevice, invalid or uninitialized input device
Unable to open input device 'stylus'


Might be worth noting in your guide with a disclaimer :?
Back to top
View user's profile Send private message
Genjix
Apprentice
Apprentice


Joined: 23 Jun 2005
Posts: 163

PostPosted: Sat Mar 25, 2006 9:12 am    Post subject: Reply with quote

CRV§ADER//KY wrote:
Try replacing wacom.c and evdev.c with those provided in the latest linuxwacom sources.

Also, try to temporarily disable /dev/input/mice from your xorg.conf.


WOW! Works! Thanks :)

Just going to re-enable mice and get rid of top/bottom settings :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum