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 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
CRV§ADER//KY
Guru
Guru


Joined: 30 Aug 2004
Posts: 405
Location: Torino

PostPosted: Wed Jun 08, 2005 6:03 pm    Post subject: [HOWTO] Wacom Volito2 and other Wacom tablets Reply with quote

Wacom Volito2 and other Wacom tablets on Gentoo Linux HOWTO

This HOWTO will teach you how to install a Volito2 tablet on Gentoo Linux.
You can apply it to other Wacom tablets, too (Graphire 4 and Intuous 3 has been reported to work smoothly), but since I don't own them, the kind of support I can provide for them is limited.

Please read this HOWTO to the end before you start.

Changelog
2008-01-26 linux-2.6.24, in-portage linuxwacom. general cleanup.
2007-11-01 better linuxwacom-0.7.8-p3 ebuild supporting older kernel versions
2007-10-24 support for linux-2.6.22, linuxwacom-0.7.8_p3 and a fix in the dbus config
2007-07-29 updated for linux-2.6.22, xorg-x11-7.2 and linuxwacom-0.7.8_p2
2007-03-01 added a Xorg.conf note for tablets different than Volito2. added a partial workaround for mouse not working in Gimp.
2007-01-10 kernel module actually has to be built inside the kernel in order to be replaced
2006-11-15 minor fixes (thanks to furanku)
2006-11-13 support for linuxwacom 0.7.6, linux 2.6.18, x.org 7.1. More troubleshooting.
2006-01-30 various fixes (thanks to dufeu)
2006-01-23 updated for linux-2.6.15 and linuxwacom-0.7.2. No need for kernel patches and custom ebuilds anymore!
2005-11-29 added udev rule; removed cursor and eraser; updated troubleshooting.
2005-11-14 updated for linux-2.6.14
2005-08-09 updated for linux-2.6.13 and linuxwacom-0.7.0

You'll need:
  • A Volito2 tablet. This HOWTO should work for other Wacom tablets, too, but since I don't have them, I can't support them (you may find more info on the linuxwacom homepage).
  • An x86 or amd64 PC. While it should work on other architectures, compatibility is unknown (you may find more info on the linuxwacom homepage).
  • Gentoo Linux. You can use other linux distributions, too, but obviously you'll have to compile the package manually.
  • udev. I don't know what would happen with devfs, nor with a static /dev tree.
  • Compatible gentoo-sources or vanilla-sources:
    • 2.6.17 or earlier: won't work.
    • 2.6.18 through 2.6.23: the module provided by the kernel is outdated and you'll probably have to build it from the linuxwacom package. You'll need the 2007-11-01 ebuild by antonmx from bugzilla. Generally, updating to linux-2.6.24 is a lot easier.
    • 2.6.24: No problems at all. Works out of the box with the linuxwacom ebuild from portage.
    Compatibility with other kernel patchsets (-mm, -ck etc.) is unknown.
  • Already know how to use portage.
  • Already know how to configure and compile a kernel.
  • Have and already working xorg-x11, version 7.1 or 7.2. It SHOULD work with 7.0, too, but please consider upgrading to 7.2 before reporting issues. Compatibility problems have been reported with 7.3, but you're encouraged to test it (as they may have been fixed by the time you're reading this).
    If you're using X 6.x, you really, really, really should upgrade.


Step-by-step tutorial:

1) configure your kernel
# cd /usr/src/linux
# make menuconfig

2) the following options must be configured:
If you're using linux-2.6.22 or later:
AS BUILT-IN: Device Drivers -> Input device support -> Event Interface
AS BUILT-IN: Device Drivers -> HID Devices -> USB Human Interface Device (full HID) support
AS MODULE*: Device Drivers -> Input device support -> Tablets -> Wacom Intuos/Graphire tablet support
*only if you want to build an external module. If you're using 2.6.24, you can choose "BUILT-IN" here.

If you're using linux-2.6.21 or earlier:
AS BUILT-IN: Device Drivers -> Input devices support -> Event Interface
AS BUILT-IN: Device Drivers -> USB support -> USB Human Interface Device (full HID) support
AS MODULE: Device Drivers -> USB support -> Wacom Intuos/Graphire tablet support

3) recompile the kernel and install it
# make bzImage modules modules_install
(these steps may vary depending on your setup)
# mount /boot
# cp arch/i386/boot/bzImage /boot/vmlinuz
# lilo

4) type the following in a terminal:
# echo "x11-drivers/linuxwacom" >> /etc/portage/package.keywords

5) emerge the correct version of linuxwacom. It should be 0.7.8_p3 or later.
# emerge -pv linuxwacom
[ebuild N ] x11-drivers/linuxwacom-0.7.8_p3 USE="gtk tcl tk usb" 785 kB
# emerge linuxwacom

The "gtk", "tcl" and "tk" USE flags are unrelevant, while you DO need the "usb" flag.

6) If you still haven't rebooted your system after recompiling the kernel, do it now.

7) check that everything's ok (do this with X turned off).
# modprobe wacom
# ls /dev/input/
# wacdump /dev/input/tablet-*
When you move the pen on your tablet and you press the buttons, the numbers should change accordingly.

8) edit /etc/X11/xorg.conf

Add the following line to your ServerLayout section:
Code:
Section "ServerLayout"
   ...
   InputDevice    "stylus" "SendCoreEvents"
EndSection


The following section is new:
Code:
Section "InputDevice"
   Driver        "wacom"
   Identifier    "stylus"
   Option        "Device"        "/dev/input/tablet-X"
   Option        "Type"          "stylus"
   Option        "USB"           "on"
EndSection

Where X is your tablet model found in /dev/input/.

If you're using a tablet different than Volito2, you may want to enable eraser, cursor and pad, too. On the following two pages you'll find out the section you have to add:

http://linuxwacom.sourceforge.net/index.php/howto/inputdev
http://linuxwacom.sourceforge.net/index.php/howto/srvlayout
(you have to replace /dev/input/event0 with /dev/input/tablet-X and remove the lines that don't fit your hardware).

9) Start X.org. Both the tablet and the mouse should work. The tablet positioning should be absolute (i.e. not a mouse).

10) Start The Gimp.

11) Go to File -> Preferences -> Input Devices -> Configure extended input devices
You should find "stylus". Enable it and set it to "screen".

Everything should work pretty fine now (including pressure sensitivity).


TROUBLESHOOTING

NOTE: Some of these problems refer to ancient linuxwacom and kernel versions. Therefore, the proposed solutions may not be valid anymore. If so, please post on this thread.

PROBLEM: There's no /dev/input/tablet-*.
SOLUTION: If you just added the udev rule, try rebooting your system. If that fails, try running:
# ls /dev/input/
# wacdump /dev/input/eventN
where N is a number. There are usually several /dev/input/eventN 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 problem in the udev rules. Double check your udev rule for errors.
WORKAROUND: If udev still isn't setting /dev/input/tablet-X for you and you've identified the /dev/input/eventN file assigned to your tablet, replace in the "InputDevice" section the line:
Code:
   Option        "Device"        "/dev/input/tablet-X"
with:
Code:
   Option        "Device"        "/dev/input/eventN"


PROBLEM: X.org won't start any more after you run wacomcpl.
WORKAROUND: rm -f ~/.xinit*

PROBLEM: If you've got a PS/2 mouse and the Volito2 tablet is plugged in at boot, the mouse may not work any more. This happened to me, while everything worked just fine for another guy.
WORKAROUND 1: Always boot your system with your tablet unplugged.
WORKAROUND 2: Switch to a USB mouse.

PROBLEM: After rebuilding the kernel, xorg-server or another X component, pressure sensitivity and/or absolute positioning don't work any more and/or quality sucks and/or nothing works at all.
SOLUTION: re-emerge linuxwacom, stop X, reload the kernel module and restart X.

PROBLEM: Mouse doesn't work any more.
SOLUTION: Make sure it's referenced as /dev/input/mice in your /etc/X11/xorg.conf and not /dev/input/mouseX.

PROBLEM: I can't make it work and I've got some weird input device installed (i.e. other tablets, touchscreens, special mice, etc.)
WORKAROUND: Try removing the drivers for the other device both from the kernel and from xorg.conf and see if it works.

PROBLEM: I attach the tablet, but positioning is completely off.
WORKAROUND: Have your tablet already attached when you start X.

PROBLEM: Both the mouse and the stylus work fine on the desktop. However, I can't use the mouse to draw in Gimp any more, until I move the stylus. Moving the stylus makes the mouse work again in Gimp until next X reboot.
SOLUTION: This problem disappeared for me after I upgraded to linuxwacom-0.7.8_p2 and gimp-2.3.19.

PROBLEM: Mouse doesn't work any more in Gimp, at all.
WORKAROUND: remove the entries in xorg.conf about "eraser", "cursor" and "pad", leaving only "stylus". You should fall back to the previous point.

PROBLEM: Absolute positioning works fine, but pressure sensitivity doesn't.
SOLUTION: Check out /var/log/Xorg.0.log. This happened to me because I didn't specify the correct device for the Wacom tablet.

PROBLEM: It still doesn't work.
TROUBLESHOOTING:
1) Make sure you're running the latest available version of the kernel, xorg-x11 and linuxwacom.
2) stop X and see if # wacdump /dev/input/tablet-* works. If it doesn't, it's a kernel problem.
3) make sure you're using the same version of the kernel and X drivers for the wacom tablet.
4) try removing all input devices from /etc/X11/xorg.conf but your keyboard and your Wacom tablet.
5) use the command lsmod to find out if the module "wacom" has been correctly loaded.
6) read the output of the dmesg command for insight. In particular, try
# dmesg | grep -e "[Ww]acom"
You should get something like this:
Code:
input: Wacom Volito2 4x5 as /class/input/input5
usbcore: registered new interface driver wacom
drivers/usb/input/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver

7) read the content of /var/log/Xorg.0.log for insight.

PROBLEM: Sometimes, when my tablet is plugged in but I'm not using it, my mouse refuses working, jumping at weird places on the screen.
EXPLANATION: It's not a driver problem, it's a physical one! It took me months to figure out. It's because your wacom pen tip is resting too close to the pad, thus giving input signals that make the mouse cursor rocket to the top-right angle of your screen (or top-left, depending how you placed the pen).
SOLUTION: put your pen somewhere else when you're not using it. Like, among other pens. :P
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied


Last edited by CRV§ADER//KY on Tue Jan 29, 2008 11:29 pm; edited 45 times in total
Back to top
View user's profile Send private message
funeagle
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2003
Posts: 102
Location: London

PostPosted: Sun Oct 30, 2005 7:40 am    Post subject: Reply with quote

Great! I followed your HOWTO and had no problems, everything works, thanx!

I deleted the following lines from the xconfig tough
Quote:

InputDevice "cursor" "WacomCursor"
InputDevice "eraser" "WacomEraser"


and the corresponding InputDevice sections because volito2 does not have an eraser and I dont know what is a cursor for this tablet, and everything works fine. So the stylus part is needed only. But delete them only after you have a successful instalation!
Back to top
View user's profile Send private message
megalomax
n00b
n00b


Joined: 06 Feb 2003
Posts: 52
Location: germany

PostPosted: Wed Nov 23, 2005 1:47 am    Post subject: Reply with quote

Hi!

Thanks for the howto. I have some questions... Has anybody made this work with amd64 kernel 2.6.14-gentoo-r2? Can I still apply the provided patch?
I did so and can see my device as /dev/input/event3...

However it get the following with xidump:

Code:

christian@cube ~ $ xidump -l -v stylus
stylus                         extension
    key: min=8, max=39, num=32
    btn: num=16
    val: axes=6 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


Same for the other 2. What to do?

Here's my xorg.conf:
Code:

Section "Files"
    RgbPath     "/usr/lib64/X11/rgb"
    FontPath    "/usr/share/fonts/local/"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/CID/"
    FontPath    "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"
EndSection


Section "Module"
    Load        "dbe"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"
EndSection


Section "Extensions"
    Option      "Composite"     "Enable"
EndSection


Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************


Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
#    Option     "AutoRepeat"    "500 5"

    Option      "XkbModel"      "pc85"
    Option      "XkbLayout"     "de"
    Option      "XkbLayout"     "de"
    Option      "XkbVariant"    "nodeadkeys"
EndSection


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

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

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

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


# **********************************************************************
# Monitor section
# **********************************************************************


Section "Monitor"
    Identifier  "ViewSonic VP201b"
    DisplaySize 408 306
#    ModeLine    "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250
#    +hsync +vsync

# nvidia forum modeline
    ModeLine    "1600x1200" 155 1600 1704 1872 2128 1200 1201 1204 1222
    +hsync +vsync

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************


Section "Device"
    Identifier  "Leadtek 6600GT 128MB"
    Driver      "nvidia"
    VideoRam    131072
    Option      "RenderAccel" "1"
    Option      "AllowGLXWithComposite" "true"
#    Option      "IgnoreEDID" "1"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************


Section "Screen"
    Identifier  "Screen 1"
    Device      "Leadtek 6600GT 128MB"
    Monitor     "ViewSonic VP201b"
    DefaultDepth 24

    SubSection "Display"
        Depth    16
        Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort 0 0
    EndSubSection

    SubSection "Display"
        Depth    24
        Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


Section "ServerLayout"
    Identifier  "Main Layout"
    Screen      "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
EndSection


I think I followed the howto to the point. Any hints are greatly appreciated!

christian
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 Nov 23, 2005 10:15 am    Post subject: Reply with quote

megalomax, you said you can see your tablet as event3, but in your xorg.conf it is configured as event0 :roll:
your ServerLayout section is wrong, too: only "stylus" must be set as SendCoreEvents.

If that's not the problem, what does wacdump say? try it with all the /dev/input* files you have.
If you can, try switching to a USB mouse.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
megalomax
n00b
n00b


Joined: 06 Feb 2003
Posts: 52
Location: germany

PostPosted: Wed Nov 23, 2005 12:25 pm    Post subject: Reply with quote

Oh :oops:

I'm currently at work so I can't check my exact settings, but I did a lot of messing around yesterday night (currently at linuxwacom 0.7.1-beta1) and may have screewed up in the process ?!? It once was at event0 :lol:

Thank you very much for the quick replay! I'll check this afternoon and let you know if it solved my probs or post additional info...

cheers,
megalo

PS: I do currently use a USB mouse
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 Nov 23, 2005 6:10 pm    Post subject: Reply with quote

megalomax wrote:
It once was at event0 :lol:


as I said in the FAQ, there may be some trouble in that sense if you've got input devices that may or may not be connected.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
megalomax
n00b
n00b


Joined: 06 Feb 2003
Posts: 52
Location: germany

PostPosted: Wed Nov 23, 2005 9:18 pm    Post subject: Reply with quote

YEAAHHHHHHHHHHHHHHHHH !!!

It's working. Thanks for the great HOWTO and the quick hint to my last problem. Have been struggeling for weeks.

Thanks again mate.

*goes off to draw some stupid comic figures*
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Thu Nov 24, 2005 9:48 pm    Post subject: Reply with quote

You can omit searching for the right device in /dev/input/ with the following udev rule (put it into /etc/udev/rules.d/10-wacom.rules):
Code:
KERNEL="event*", SYSFS{idVendor}="056a", NAME="input/%k", SYMLINK="input/wacom%e"
udev will then automatically create a link from the right event device to /dev/input/wacom which you can use in your configuration files. I found this rule in the linuxwacom howto, maybe you should also add that to this gentoo Wacom Volito2 howto.
Back to top
View user's profile Send private message
Membris-Khan
n00b
n00b


Joined: 26 Nov 2005
Posts: 40
Location: Murcia (Spain)

PostPosted: Sat Nov 26, 2005 9:41 pm    Post subject: Reply with quote

I just bought a Wacom Volito2, and I'm going to follow this howto, but I noticed that Volito2 aren't available until 0.7.1. This howto provides instructions for 0.7.0, I can be sure that my tablet will work?
_________________
Giingo. No por mucho madrugar verás a las vacas en camisón
Back to top
View user's profile Send private message
Membris-Khan
n00b
n00b


Joined: 26 Nov 2005
Posts: 40
Location: Murcia (Spain)

PostPosted: Sat Nov 26, 2005 10:55 pm    Post subject: Reply with quote

OK, since it works for several users here, I decided following this howto.

I followed all steps carefully without any errors, but Gimp doesn't recognize any extended input device.

My tablet is yet using usbhid driver as I can see here:

Code:
root:/home/membris# cat /proc/bus/usb/devices
/.../
T:  Bus=03 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=0062 Rev= 2.00
S:  Manufacturer=WACOM
S:  Product=CTF-420 V2.0-0
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
/.../


I'm using gentoo-sources-2.6.14-gentoo-r2, and latests stable portage versions of udev and xorg. ¿What can I do?
_________________
Giingo. No por mucho madrugar verás a las vacas en camisón
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 Nov 29, 2005 5:23 pm    Post subject: Reply with quote

Membris-Khan, Volito2 support is available since 0.70

Does

#wacdump /dev/input/wacom

(or eventX if you didn't follow furanku's advice) work?
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
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 Nov 29, 2005 5:47 pm    Post subject: Reply with quote

funeagle and furanku, thanks for the tips, I've just updated the tutorial with them.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Membris-Khan
n00b
n00b


Joined: 26 Nov 2005
Posts: 40
Location: Murcia (Spain)

PostPosted: Tue Nov 29, 2005 7:31 pm    Post subject: Reply with quote

CRV§ADER//KY wrote:
Membris-Khan, Volito2 support is available since 0.70
Does
#wacdump /dev/input/wacom
(or eventX if you didn't follow furanku's advice) work?


Code:
# wacdump /dev/input/event5


That works for me (it listens pen and buttons) but I though that usb-hid as device driver wasn't good sign. So, I'm doing things well?
_________________
Giingo. No por mucho madrugar verás a las vacas en camisón
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 Nov 29, 2005 8:57 pm    Post subject: Reply with quote

Membris-Khan wrote:
Code:
# wacdump /dev/input/event5


That works for me (it listens pen and buttons) but I though that usb-hid as device driver wasn't good sign. So, I'm doing things well?


if that works, the kernel is OK. now just follow the instructions to configure x.org (replace /dev/input/wacom with /dev/input/event5)
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Membris-Khan
n00b
n00b


Joined: 26 Nov 2005
Posts: 40
Location: Murcia (Spain)

PostPosted: Tue Nov 29, 2005 10:08 pm    Post subject: Reply with quote

First of all, you forgot to remove cursor and eraser from description on step 12 :)

I followed the howto, wacdump works fine, xorg.conf configured OK, but GIMP says there isn't any extended input device (Inkscape says the same).

I'm going to restart the howto, but I believe that I followed correctly all steps :(

edit: I restarted howto and now it works fine for me :) thank you very much!

I'm going to write a spanish volito2 howto this week, but since I want to make it as "timeless" as possible, I want to ask you some questions. Can I re-publish this patch&ebuild (if both are written by you)? Obviously, I'll give credit to you :)
_________________
Giingo. No por mucho madrugar verás a las vacas en camisón
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 Nov 30, 2005 12:05 am    Post subject: Reply with quote

Membris-Khan wrote:
I'm going to write a spanish volito2 howto this week, but since I want to make it as "timeless" as possible, I want to ask you some questions. Can I re-publish this patch&ebuild (if both are written by you)? Obviously, I'll give credit to you :)


No problem at all :D
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
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 23, 2006 2:42 pm    Post subject: Reply with quote

Updated! No need for kernel patches and custom ebuilds anymore!
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
Deadman
n00b
n00b


Joined: 25 Jan 2006
Posts: 8
Location: France

PostPosted: Wed Jan 25, 2006 5:36 pm    Post subject: Reply with quote

Thanks a lot, it worked like a charm, even without the sdk flag :lol:
Back to top
View user's profile Send private message
sprock
n00b
n00b


Joined: 27 Jan 2006
Posts: 6

PostPosted: Fri Jan 27, 2006 2:24 pm    Post subject: Reply with quote

Hello,

Has anyone got a Wacom Graphire4 to work?

I worked through the how-to but wacomdump /dev/input/wacom returns:

wacdump /dev/input/event2
08:41:41.877 ERROR: Failed to open /dev/input/event2: No such device
WacomOpenTablet: No such device.

cat /proc/bus/input/devices shows:

I: Bus=0003 Vendor=056a Product=0016 Version=0403
N: Name="Wacom Graphire4 6x8"
P: Phys=
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event2
B: EV=1f
B: KEY=1c63 0 700ff 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=3000003
B: MSC=1

When I startx with the tablet connected I see:

(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Logitech PS2" (type: MOUSE)
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
No such device.
Error opening /dev/input/wacom : Invalid argument

The error message is repeated several times.

I looked in wacom.c in the kernel source tree and the documentation indicates that Graphire4 is supported.

Thanks for any help
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: Fri Jan 27, 2006 4:37 pm    Post subject: Reply with quote

What kernel version are you using?

Please paste the output of
Code:
dmesg | grep -E '[wW]acom|event|evdev|hid|HID|usb|USB|[oue]hci'

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


Joined: 27 Jan 2006
Posts: 6

PostPosted: Fri Jan 27, 2006 7:01 pm    Post subject: Reply with quote

Here is the output (very long):

usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.3
uhci_hcd 0000:00:04.2: UHCI Host Controller
uhci_hcd 0000:00:04.2: detected 2 ports
uhci_hcd 0000:00:04.2: uhci_check_and_reset_hc: cmd = 0x0000
uhci_hcd 0000:00:04.2: Performing full reset
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.2: irq 9, io base 0x0000b400
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.15-gentoo-r1 uhci_hcd
usb usb1: SerialNumber: 0000:00:04.2
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
uhci_hcd 0000:00:04.2: suspend_rh (auto-stop)
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ohci_hcd 0000:00:0a.0: OHCI Host Controller
drivers/usb/core/inode.c: creating file '002'
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0a.0: irq 5, io mem 0xe1000000
ohci_hcd 0000:00:0a.0: resetting from state 'reset', control = 0x0
ohci_hcd 0000:00:0a.0: OHCI controller state
ohci_hcd 0000:00:0a.0: OHCI 1.0, NO legacy support registers
ohci_hcd 0000:00:0a.0: control 0x083 HCFS=operational CBSR=3
ohci_hcd 0000:00:0a.0: cmdstatus 0x00000 SOC=0
ohci_hcd 0000:00:0a.0: intrstatus 0x00000004 SF
ohci_hcd 0000:00:0a.0: intrenable 0x8000001a MIE UE RD WDH
ohci_hcd 0000:00:0a.0: hcca frame #0020
ohci_hcd 0000:00:0a.0: roothub.a 0f000203 POTPGT=15 NPS NDP=3(3)
ohci_hcd 0000:00:0a.0: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0000:00:0a.0: roothub.status 00008000 DRWE
ohci_hcd 0000:00:0a.0: roothub.portstatus [0] 0x00000100 PPS
ohci_hcd 0000:00:0a.0: roothub.portstatus [1] 0x00000100 PPS
ohci_hcd 0000:00:0a.0: roothub.portstatus [2] 0x00000100 PPS
ohci_hcd 0000:00:0a.0: created debug files
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.15-gentoo-r1 ohci_hcd
usb usb2: SerialNumber: 0000:00:0a.0
usb usb2: hotplug
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: hotplug
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
ohci_hcd 0000:00:0a.1: OHCI Host Controller
drivers/usb/core/inode.c: creating file '003'
ohci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0a.1: irq 9, io mem 0xe0800000
ohci_hcd 0000:00:0a.1: resetting from state 'reset', control = 0x0
ohci_hcd 0000:00:0a.1: OHCI controller state
ohci_hcd 0000:00:0a.1: OHCI 1.0, NO legacy support registers
ohci_hcd 0000:00:0a.1: control 0x083 HCFS=operational CBSR=3
ohci_hcd 0000:00:0a.1: cmdstatus 0x00000 SOC=0
ohci_hcd 0000:00:0a.1: intrstatus 0x00000044 RHSC SF
ohci_hcd 0000:00:0a.1: intrenable 0x8000001a MIE UE RD WDH
ohci_hcd 0000:00:0a.1: hcca frame #0020
ohci_hcd 0000:00:0a.1: roothub.a 0f000202 POTPGT=15 NPS NDP=2(2)
ohci_hcd 0000:00:0a.1: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0000:00:0a.1: roothub.status 00008000 DRWE
ohci_hcd 0000:00:0a.1: roothub.portstatus [0] 0x00000100 PPS
ohci_hcd 0000:00:0a.1: roothub.portstatus [1] 0x00010301 CSC LSDA PPS CCS
ohci_hcd 0000:00:0a.1: created debug files
usb usb3: default language 0x0409
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.15-gentoo-r1 ohci_hcd
usb usb3: SerialNumber: 0000:00:0a.1
usb usb3: hotplug
usb usb3: adding 3-0:1.0 (config #1, interface 0)
usb 3-0:1.0: hotplug
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
ohci_hcd 0000:00:0a.1: GetStatus roothub.portstatus [1] = 0x00010301 CSC LSDA PPS CCS
ohci_hcd 0000:00:0a.1: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS
usb 3-2: new low speed USB device using ohci_hcd and address 2
ohci_hcd 0000:00:0a.1: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS
usb 3-2: skipped 1 descriptor after interface
usb 3-2: default language 0x0409
usb 3-2: new device strings: Mfr=1, Product=5, SerialNumber=0
usb 3-2: Product: CTE-640-U V4.0-3
usb 3-2: Manufacturer: WACOM
usb 3-2: hotplug
usb 3-2: adding 3-2:1.0 (config #1, interface 0)
usb 3-2:1.0: hotplug
drivers/usb/core/inode.c: creating file '002'
usbhid 3-2:1.0: usb_probe_interface
usbhid 3-2:1.0: usb_probe_interface - got id
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
wacom 3-2:1.0: usb_probe_interface
wacom 3-2:1.0: usb_probe_interface - got id
input: Wacom Graphire4 6x8 as /class/input/input2
usbcore: registered new driver wacom
drivers/usb/input/wacom.c: v1.44:USB Wacom Graphire and Wacom Intuos tablet driver
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
ehci_hcd 0000:00:0a.2: EHCI Host Controller
ehci_hcd 0000:00:0a.2: reset hcs_params 0x2395 dbg=0 cc=2 pcc=3 ports=5
ehci_hcd 0000:00:0a.2: reset portroute 1 0 1 0 0
ehci_hcd 0000:00:0a.2: reset hcc_params e806 thresh 0 uframes 256/512/1024 park
ehci_hcd 0000:00:0a.2: park 0
ehci_hcd 0000:00:0a.2: capability 0001 at e8
ehci_hcd 0000:00:0a.2: MWI active
ehci_hcd 0000:00:0a.2: ...powerdown ports...
drivers/usb/core/inode.c: creating file '004'
ehci_hcd 0000:00:0a.2: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:0a.2: irq 11, io mem 0xe0000000
ehci_hcd 0000:00:0a.2: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
ehci_hcd 0000:00:0a.2: init command 010009 (park)=0 ithresh=1 period=256 RUN
ehci_hcd 0000:00:0a.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: default language 0x0409
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: EHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.15-gentoo-r1 ehci_hcd
usb usb4: SerialNumber: 0000:00:0a.2
usb usb4: hotplug
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: hotplug
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
drivers/usb/core/inode.c: creating file '001'
ehci_hcd 0000:00:0a.2: GetStatus port 4 status 001403 POWER sig=k CSC CONNECT
ehci_hcd 0000:00:0a.2: port 4 low speed --> companion
ehci_hcd 0000:00:0a.2: GetStatus port 4 status 003402 POWER OWNER sig=k CSC
ohci_hcd 0000:00:0a.1: GetStatus roothub.portstatus [1] = 0x00030301 PESC CSC LSDA PPS CCS
usb 3-2: USB disconnect, address 2
usb 3-2: usb_disable_device nuking all URBs
usb 3-2: unregistering interface 3-2:1.0
usb 3-2:1.0: hotplug
usb 3-2: unregistering device
usb 3-2: hotplug
ohci_hcd 0000:00:0a.1: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS
usb 3-2: new low speed USB device using ohci_hcd and address 3
ohci_hcd 0000:00:0a.1: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS
usb 3-2: skipped 1 descriptor after interface
usb 3-2: default language 0x0409
usb 3-2: new device strings: Mfr=1, Product=5, SerialNumber=0
usb 3-2: Product: CTE-640-U V4.0-3
usb 3-2: Manufacturer: WACOM
usb 3-2: hotplug
usb 3-2: adding 3-2:1.0 (config #1, interface 0)
usb 3-2:1.0: hotplug
usbhid 3-2:1.0: usb_probe_interface
usbhid 3-2:1.0: usb_probe_interface - got id
wacom 3-2:1.0: usb_probe_interface
wacom 3-2:1.0: usb_probe_interface - got id
input: Wacom Graphire4 6x8 as /class/input/input3
drivers/usb/core/inode.c: creating file '003'
Modules linked in: evdev ehci_hcd wacom usbhid ohci_hcd uhci_hcd snd_seq_midi snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_emu10k1 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd_ac97_bus snd_page_alloc snd_util_mem snd_hwdep snd soundcore usbcore ipv6 iptable_raw ipt_NOTRACK libcrc32c smbfs cifs s2io dummy 8139too mii r128 drm agpgart firmware_class
[<ccac9e9c>] evdev_connect+0xf1/0x10c [evdev]
[<cc87400f>] evdev_init+0xf/0x15 [evdev]
Back to top
View user's profile Send private message
sprock
n00b
n00b


Joined: 27 Jan 2006
Posts: 6

PostPosted: Fri Jan 27, 2006 7:02 pm    Post subject: Reply with quote

Sorry, forgot kernel vesion:

2.6.15-gentoo-r1
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 Jan 28, 2006 1:53 am    Post subject: Reply with quote

Quote:
input: Wacom Graphire4 6x8 as /class/input/input2
input: Wacom Graphire4 6x8 as /class/input/input3


You just needed to read it... somehow, it is created twice, once for usb_ohci and once for usb_ehci.
Try replacing /dev/input/wacom with /dev/input/event3 in your xorg.conf.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
Back to top
View user's profile Send private message
sprock
n00b
n00b


Joined: 27 Jan 2006
Posts: 6

PostPosted: Sat Jan 28, 2006 12:44 pm    Post subject: Reply with quote

I see the same error on the console from which X was started

(EE) xf86OpenSerial: Cannot open device /dev/input/event3
No such file or directory.
Error opening /dev/input/event3 : Invalid argument

and

wacdump /dev/input/event3
09:08:08.842 ERROR: Failed to open /dev/input/event3: No such file or directory
WacomOpenTablet: No such file or directory

That is not surprising given that:

ls /dev/input/event*
/dev/input/event0 /dev/input/event1 /dev/input/event2

Thanks for your help

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: Sat Jan 28, 2006 2:28 pm    Post subject: Reply with quote

Try replacing hidcore.c and wacom.c in your kernel with those provided by the latest linuxwacom drivers and recompile it.
_________________
Kyrie, Ignis Divine, Eleison ~ Elfen Lied
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 1, 2, 3, 4, 5, 6, 7  Next
Page 1 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