Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wacom tablets on Linux 2.6
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Cossins
Veteran
Veteran


Joined: 21 Mar 2003
Posts: 1136
Location: Copenhagen, Denmark

PostPosted: Thu Dec 18, 2003 9:31 am    Post subject: Wacom tablets on Linux 2.6 Reply with quote

Hi there,
Since I battled this issue for quite some time, I thought I would share what I got...

Using the default XFree86 driver for Wacom tablets doesn't work with 2.6-kernels, but it works fine with 2.4.

What you need to do is the following:
1. Download the development package from http://linuxwacom.sf.net/ (currently, the latest one is 0.5.2)
2. Unpack the source tree to any directory.
3. Copy the file wacom_drv.o from the "prebuilt" subdirectory to "/usr/X11R6/lib/modules/input/".
4. Configure X (XF86Config) according to http://linuxwacom.sourceforge.net/index.php/howto/inputdev.
5. Restart X. All should be well. :D

Hope this helps somebody.

- Simon
Back to top
View user's profile Send private message
Jimboberella
Guru
Guru


Joined: 19 Jun 2002
Posts: 358
Location: Brisbane/Australia

PostPosted: Thu Dec 18, 2003 10:38 am    Post subject: Reply with quote

Excellent, I'd been putting of working on this but I didn't think it would be that easy.

Thankyou.
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Thu Dec 18, 2003 12:09 pm    Post subject: Reply with quote

pressure sensitivity still not working though :( (at least for me)
_________________
wanna change how bootsplash or qingy look like? try here
Back to top
View user's profile Send private message
Yorrike
n00b
n00b


Joined: 21 May 2003
Posts: 12

PostPosted: Thu Dec 18, 2003 12:12 pm    Post subject: Reply with quote

Thank-you, sir.

That solves one of my two 2.6 points of hesitation ( the other being the Nvidia drivers, solved via http://minion.de/nvidia.html ).

Deep breath, aaaaaand...
Back to top
View user's profile Send private message
Cossins
Veteran
Veteran


Joined: 21 Mar 2003
Posts: 1136
Location: Copenhagen, Denmark

PostPosted: Thu Dec 18, 2003 1:18 pm    Post subject: Reply with quote

Another issue, which I think is related to the wacom kernel driver: The scroll wheel on the mouse (Graphire2) doesn't work.

- Simon
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Thu Dec 18, 2003 1:28 pm    Post subject: Reply with quote

according to cvs 2.6.0 *real* support is there (2 days old)

it seems they are having some problem to contact 2.6 peoples to have updates included in kernel

if I have time to try it I'll post results here
_________________
wanna change how bootsplash or qingy look like? try here
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Fri Dec 19, 2003 5:21 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=114949&highlight=
Nice to see you have given credit where credit is due and mentionned me for having found this solution in the first place -- no wait, you didn't. For god's sake, you re-posted everything I said in that former thread, including the mouse wheel issue. "Thank you so much for posting this!" you said. Yeah, more like "thank you so much for posting something I'll rip off and call my own in another topic!"
Back to top
View user's profile Send private message
Cossins
Veteran
Veteran


Joined: 21 Mar 2003
Posts: 1136
Location: Copenhagen, Denmark

PostPosted: Fri Dec 19, 2003 12:44 pm    Post subject: Reply with quote

IntergalacticWalrus wrote:
https://forums.gentoo.org/viewtopic.php?t=114949&highlight=
Nice to see you have given credit where credit is due and mentionned me for having found this solution in the first place -- no wait, you didn't. For god's sake, you re-posted everything I said in that former thread, including the mouse wheel issue. "Thank you so much for posting this!" you said. Yeah, more like "thank you so much for posting something I'll rip off and call my own in another topic!"

Jeez! I'm sorry if I hurt your pride. 8O
Talk about overreacting...

Also, your "solution" is a direct copy of the HOWTO on linuxwacom.sf.net.
http://linuxwacom.sourceforge.net/index.php/howto/wacomdrv

- Simon
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Fri Dec 19, 2003 1:15 pm    Post subject: Reply with quote

xlyz wrote:
pressure sensitivity still not working though :( (at least for me)

What about the others ?

According to the linux-wacom howto, they manage to get it working in 2.4 with pressure sensitivity in GIMP. I tried in 2.6 a while ago with no success (but then the linux-wacom mods did not support 2.6 kernels).

So people : did you manage to get pressure-sensitivity in GIMP with 2.6 ?
/me looking to dump Painter ;)

-K
Back to top
View user's profile Send private message
bodisiw
n00b
n00b


Joined: 27 Dec 2003
Posts: 1
Location: Kentucky

PostPosted: Sat Dec 27, 2003 7:13 pm    Post subject: Reply with quote

Hi guys,

This is my first post, but the forum has been so helpful I thought I'd contribute a bit. The thread has been inactive for a few days, but I wanted to add that I've just got my mouse working with wheel support under 2.6.0 (hurray!) I've been running it previously without the wheel support (big thanks to Intergalactic Walrus), but it was a bit of a pain, especially when browsing web pages.

Anyway, here are the steps I used in order to get it working:

First, checkout the latest development module from the cvs:
Code:

$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/linuxwacom login
$ cvs -z3 d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/linuxwacom co linuxwacom-dev


Now in order to compile the XFree86 module, we need to have the XFree86 source available. Luckily gentoo will do this for us easily. (note: not sure if you have to compile it, but I went ahead and did, but you may want to replace 'compile' with 'unpack' just to try it out.) So as root:
Code:

# cd /usr/portage/
# ebuild x11-base/xfree/xfree-4.3.0-r3.ebuild compile


Now then we simply follow the directions in the README of the linuxwacom package to build wacom_drv.o. I know building packages as root is in general a bad idea, but I went ahead and did it here rather than mucking about with getting the permissions set to access the xfree source. So in your wacomlinux-dev directory:
Code:

# ./bootstrap
# ./configure --enable-wacomdrv --with-xf86=/var/tmp/portage/xfree-4.3.0-r3/work/
# make


This should build a working wacom_drv.o! When it's done, just copy it over to the XFree86 directory:
Code:

# cp src/wacom_drv.o /usr/X11R6/lib/modules/input/wacom_drv.o


Now it should work with wheel support! You can get rid of that XFree86 source now if you feel like it:
Code:

ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r3.ebuild clean


Hope this helps some people as much as I've been helped by others on this forum! :D

noah
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Tue Jan 13, 2004 2:07 am    Post subject: Reply with quote

aw man. I plug in my wacom tablet and the light doesn't even light up...
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Tue Jan 13, 2004 4:15 am    Post subject: Reply with quote

I'd like to add that despite their page not having been updated, there has been a new release of linuxwacom, and now the mouse wheel always works fine for me! Other bugs have been squashed too, my mouse movements are significantly smoother.

And as always, my general recommendation is using your kernel's bundled driver, and overwriting your xfree86 driver with the latest binary in the linuxwacom package.
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Tue Jan 13, 2004 6:39 am    Post subject: Reply with quote

righty-o, and thanks! But let's see here.... my wacom tablet now loads up fine... for the most part. Now let's see if this wacom_drv.o thing works out.
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Tue Jan 13, 2004 6:53 am    Post subject: Reply with quote

IntergalacticWalrus wrote:
I'd like to add that despite their page not having been updated, there has been a new release of linuxwacom, and now the mouse wheel always works fine for me!

Hm, you're right, there is a new release. Actually, there are a couple: take a look for yourself.
Now I chose the latest one, 5.4-beta. But I'm noticing that in the "prebuilt" directory there are a few versions. Obviously, I'm going to use one of the 2.6 versions, but there are two of those:
Code:

bash-2.05b# ls
install    wacom_drv.o_4.2kernel2.4  wacom_drv.o_4.3k2.4
uninstall  wacom_drv.o_4.2kernel2.6  wacom_drv.o_4.3k2.6

which one do you think? 4.3 or 4.2? Which did you use?
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Tue Jan 13, 2004 8:50 am    Post subject: Reply with quote

paroneayea wrote:
which one do you think? 4.3 or 4.2? Which did you use?

I suppose the 4.3 / 4.2 thing relates to the xfree version, so you should probably use 4.3.

If someone manages to get the tablet to work under GIMP 1.3 with a 2.6 kernel as separate device with pressure sensitivity (like described in the linux-wacom howto), please drop me a line ;)

-K
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Tue Jan 13, 2004 2:00 pm    Post subject: Reply with quote

Koon wrote:
If someone manages to get the tablet to work under GIMP 1.3 with a 2.6 kernel as separate device with pressure sensitivity (like described in the linux-wacom howto), please drop me a line


Sure works fine for me. Have you configured the gimp to actually use your input devices? Check out the tool dialogs for "input devices" and enable all of them.
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Tue Jan 13, 2004 2:07 pm    Post subject: Reply with quote

IntergalacticWalrus wrote:
Sure works fine for me. Have you configured the gimp to actually use your input devices? Check out the tool dialogs for "input devices" and enable all of them.

I tried once (2.6.0-test5) but the linux-wacom driver was not 2.6-compatible back then and without it the tablet was considered as a simple pointer. Before trying again, I wanted to make sure at least someone managed to get it working under 2.6 / Gimp 1.3. I will try again with the latest linux-wacom dev driver.

-K
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Tue Jan 13, 2004 6:12 pm    Post subject: Reply with quote

yeah, it works just fine for me. however.. gimp 1.3 I'm not so sure about. I don't see an input section like I do in 1.2
I wonder about the new 2.0 pre-release?
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Tue Jan 13, 2004 8:44 pm    Post subject: Reply with quote

mind if I make a suggestion? Try seeing if pressure sensitivity works properly with gimp 1.2 before you keep working away at 1.3
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Wed Jan 14, 2004 12:33 am    Post subject: Reply with quote

I can confirm that pressure sensitivity works with 5.4 beta prebuilt wacom_drv.o, kernel 2.6.1, gimp 2.0_pre1, xfree 4.3.0
_________________
wanna change how bootsplash or qingy look like? try here
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Thu Jan 15, 2004 9:20 pm    Post subject: Reply with quote

I tried with no success, I need your help :)

Configuration :
- Wacom Volito tablet
- Kernel 2.6.1rc1 with hid and wacom as modules
- wacom_drv.o from the 5.4beta
- Gimp 1.3.21 with all devices enabled

Pressure won't work and stylus is not detected as a separate device (with all devices enabled in the Gimp). xiddump won't dump anything. I see the device detected as an HID mouse, I suppose it comes from that. So I tried to compile the specific hid and wacom modules but with no success. Could someone who have it all working detail what he did ? Did you have to recompile any module ? What 2.6 modules did you have to load (evdev?) Should I use 2.6.1 final ? Another Gimp ?

TIA
-K
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Thu Jan 15, 2004 10:35 pm    Post subject: Reply with quote

mmph. Got it working now perfectly with gimp pre-2.0
Get the newest wacom_drv.o
Seriously. The newest beta is not listed on the linux-wacom main site (thanks to intergalacticwalrus for pointing this out). Go to http://prdownloads.sourceforge.net/linuxwacom
I'm using 0.5.4-beta, and it works wonderfully using the proper precompiled binary. I set in my XF86Config file for it to use /dev/input/event3
Does this work for you?

By the way... only replace wacom_drv.o , keep the wacom.o from 2.6.1
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Fri Jan 16, 2004 8:43 am    Post subject: Reply with quote

I did try with the latest (0.5.4-beta) wacom_drv.o but it didn't work. From my logs I suspect that the wacom tablet is only detected as an HID mouse (not seen by the wacom module). What do you get in your messages log when you plug the tablet in ?

I will try this week-end with the same setup as you :

- Kernel 2.6.1 final (I used rc1 with no success)
- Standard evdev hid and wacom modules (do you need usbmouse ?)
- wacom_drv.o from 0.5.4-beta
- gimp 2.0_pre1

And I will see.
-K
Back to top
View user's profile Send private message
paroneayea
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 87

PostPosted: Sat Jan 17, 2004 5:48 am    Post subject: Reply with quote

http://linuxwacom.sourceforge.net/index.php/howto/buildhid
you do.
Did you read the HOWTO?

(Oh... also... I used usbmouse and hid from my kernel)
_________________
I make comics. Read them. They are good for your soul.
http://www.lingocomic.com
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Mon Jan 19, 2004 10:19 am    Post subject: Reply with quote

paroneayea wrote:
Did you read the HOWTO?

(Oh... also... I used usbmouse and hid from my kernel)

Yes I read it. And I tried with the above configuration and my Volito tablet is still incorrectly detected :

- if I use the original 2.6.1 kernel hid module : the tablet is detected as an HID mouse (no pressure detected in wacdump and not seen as an alternate device in GIMP)

- if I use the linux-wacom hid module : the tablet is incorrectly detected (errors in /var/log/messages and no proper device created)

Perhaps it's a Volito-specific problem. I think I will wait for a more advanced 2.6-oriented linux-wacom version (or for a kernel with correct tablet support) and try again.

Thnaks for your support anyway ;)

-K
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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