Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301817 - x11-drivers/linuxwacom bamboo pen & touch support request
Summary: x11-drivers/linuxwacom bamboo pen & touch support request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard: treecleaned
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 10:09 UTC by Permjacov E. A.
Modified: 2010-10-18 11:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a new patch to add --disable-xf86config option (linuxwacom-0.8.5_p9-xf86config.patch,1.07 KB, text/plain)
2010-01-22 10:12 UTC, Permjacov E. A.
Details
"dri" ebuild (linuxwacom-0.8.5_p9.ebuild,3.20 KB, text/plain)
2010-01-22 17:59 UTC, Permjacov E. A.
Details
a patch with support for new bamboo pen & touch (linuxwacom-0.8.5-9-bamboo-patch-set-v2.patch,88.43 KB, text/plain)
2010-01-24 11:01 UTC, Permjacov E. A.
Details
actual ebuild (linuxwacom-0.8.5_p9.ebuild,3.44 KB, text/plain)
2010-01-24 11:03 UTC, Permjacov E. A.
Details
Version bumped ebuild (linuxwacom-0.8.5_p10.ebuild,3.45 KB, text/plain)
2010-02-19 10:00 UTC, Øystein Senneset Haaland
Details
Version bump (linuxwacom-0.8.5_p12.ebuild,3.45 KB, text/plain)
2010-04-19 13:33 UTC, Paweł Szymański
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Permjacov E. A. 2010-01-22 10:09:11 UTC
new tablet (wacom bamboo pen & touch) cannot be recognized. 



Reproducible: Always

Steps to Reproduce:
1. install current linuxwacom from portage
2. plug in wacom bamboo pen & touch
2. restart system
Actual Results:  
nothing

Expected Results:  
file in /dev/input/wacom

Short investigations leads to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/477105 , wich have good links and success report for same problem in UBUNTU

in short, for now at least following is needed:
1)new ebuild for linuxbamboo 0.8.5_p9
2)patch for udev rules with new devices 
3)some patches for linuxwacom sourcetree 

more! the old patch for linuxwacom that adds --disable-xf86config option does not work anymore. A new one is needed.
Comment 1 Permjacov E. A. 2010-01-22 10:11:08 UTC
>
> 1)new ebuild for linuxbamboo 0.8.5_p9
sorry, linuxwacom. :)
Comment 2 Permjacov E. A. 2010-01-22 10:12:31 UTC
Created attachment 217158 [details]
a new patch to add --disable-xf86config option
Comment 3 Permjacov E. A. 2010-01-22 17:59:08 UTC
Created attachment 217184 [details]
"dri" ebuild

ebuild for linuxwacom-0.8.5_p9 with one and only one patch, that adds --disable-xf86config option.

bamboo pen and touch does _not_ work with it yet, it is only a dump of working materials.
Comment 4 Permjacov E. A. 2010-01-24 11:01:30 UTC
Created attachment 217306 [details]
a patch with support for new bamboo pen & touch
Comment 5 Permjacov E. A. 2010-01-24 11:03:41 UTC
Created attachment 217308 [details]
actual ebuild

this ebuild does work. Yet, not all gestures supported, and manual modifications fo 60-wacom.rules is needed.
Comment 6 Øystein Senneset Haaland 2010-02-18 16:44:06 UTC
The linuxwacom package used by the ebuild (linuxwacom-0.8.5-9) does not seem to be available anymore. Instead there is a more recent version (linuxwacom-0.8.5-10.tar.bz2). The linux wacom webpage claims there are now 5 more bamboo tablets added, so maybe the bamboo patch set is not needed anymore.

I tried changing the ebuild to the new version and took out the bamboo patch, but the compilation fails with:

/bin/sh: scripts/mod/modpost: No such file or directory                                                    

Does anyone know how to resolve this?

More of the log:

Making all in 2.6.27                                                                                                   
make[2]: Entering directory `/var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27'    
    Building linuxwacom drivers for 2.6 kernel.                                                                        
***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built            
make -C /lib/modules/2.6.31-gentoo-r6/build M=/var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27                                                                                                           
make[3]: Entering directory `/usr/src/linux-2.6.31-gentoo-r6'                                                          

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

  LD      /var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27/built-in.o
  CC [M]  /var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27/wacom_wac.o
  CC [M]  /var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27/wacom_sys.o
  LD [M]  /var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27/wacom.o    
  Building modules, stage 2.                                                                               
  MODPOST 1 modules                                                                                        
/bin/sh: scripts/mod/modpost: No such file or directory                                                    
make[4]: *** [__modpost] Error 127                                                                         
make[3]: *** [modules] Error 2                                                                             
make[3]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r6'                                               
make[2]: *** [all] Error 2                                                                                 
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src/2.6.27'
make[1]: *** [all-recursive] Error 1                                                                              
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/linuxwacom-0.8.5_p10/work/linuxwacom-0.8.5-10/src'       
make: *** [all-recursive] Error 1
Comment 7 Permjacov E. A. 2010-02-18 21:10:59 UTC
(In reply to comment #6)
>>***Note: Drivers not enabled as modules in your kernel config but requested
through configure are NOT built 

have you enabled a wacom kernel module in menuconfig ? 
Comment 8 Øystein Senneset Haaland 2010-02-19 09:53:58 UTC
It was enabled. I could see it in menuconfig and i could also see it in /usr/src/linux/.config and there was a module in /lib/modules that i tried first.

I nevertheless recompiled the kernel and it worked. Maybe the kernel sources was in a funny state.

The pen is now working nicely, but the touch part is very unreliable. Sometimes the cursor jumps around, sometimes it doesn't move at all an scrolling is the opposite way of what i would expect. But the pen part is the most important one for me, so I'm happy.
Comment 9 Øystein Senneset Haaland 2010-02-19 10:00:48 UTC
Created attachment 220327 [details]
Version bumped ebuild

Version bump of ebuild. Bamboo patch also commented out since it currently fails and release info indicates that support for recent bamboo devices have been added.

Pen part works, but touch is very flaky (on a laptop which also has the synaptics driver loaded).
Comment 10 Paweł Szymański 2010-04-19 13:33:10 UTC
Created attachment 228391 [details]
Version bump

Now the only available source is 0.8.5-12. It needs linuxwacom-0.8.5_p9-xf86config.patch. I didn't need the linuxwacom-0.8.5-9-bamboo-patch-set-v2.patch to make my CTH-661 (00d3) work.
Comment 11 Patrick McMunn 2010-07-26 14:21:22 UTC
I've been working on getting my CTH-460 (00d1) Bamboo Pen and Touch working under Gentoo for over a month now. The major issue with the newer tablets is that the kernel driver included in the linux kernel source is way behind what is available in the linuxwacom package. It is not actually necessary to install the linuxwacom package if you are running xorg-server 1.7 or higher. You can just use the xf86-input-wacom driver. However, it is necessary to extract the kernel module source code from the linuxwacom package and compile the kernel module from this and install it in the proper directory: i.e. /lib/modules/2.6.34-gentoo-r2/kernel/drivers/input/tablet/wacom.ko Either that, or, when installing the linux kernel sources automatically patch the wacom kernel module source code from the latest linuxwacom package. This would go a long way in getting a "plug and play" experience for Wacom tablet users in Gentoo.
Comment 12 Mike Auty (RETIRED) gentoo-dev 2010-08-18 21:10:03 UTC
Reassigning since I can't look after linuxwacom any more.
Comment 13 Lasse Lindner 2010-08-22 12:33:33 UTC
I'm running a Bamboo Pen & Touch (CTH-460) with xorg-server 1.7, kernel module from linuxwacom-0.8.8-8 and xf86-input-wacom-0.10.8. Pen was always working perfect, but touch part was unusable (cursor stopped moving, jumped around etc)
until I patched xf86-input-wacom-0.10.8.

In wcmCommon.c, changing the line:
  #define BAMBOO_TOUCH_JUMPED 30
to 
  #define BAMBOO_TOUCH_JUMPED 300
improved touch functionality drastically. Gestures now seems to working, too (I only tested scrolling).

Thanks to Chris from linuxwacom mailinglist for this suggestion: http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTikNeW5%2B7N8Cgfj%2B4NKt6dkJbd8ogQaih25CViPz%40mail.gmail.com&forum_name=linuxwacom-discuss
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2010-10-18 11:49:03 UTC
linuxwacom was removed from main tree.