VectorLinux
October 23, 2014, 11:26:59 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2 3 4
  Print  
Author Topic: trying to install wacom drivers - Resolved (via a patch in wine)  (Read 14303 times)
blurymind
Packager
Vectorian
****
Posts: 1082



« on: December 23, 2007, 04:03:53 am »

trying to install linuxwacom:
http://linuxwacom.sourceforge.net/index.php/dl
tried with
linuxwacom-0.7.8-3.tar.bz2   -   2007-08-15   Supports new tablet, Bamboo. Provides prebuilt Wacom X driver and its utility programs for x86_32 and x86_64 systems. Adds many new xsetwacom options.
linuxwacom-0.7.6-4.tar.bz2   -   2006-12-01   Updated xsetwacom and support kernel 2.6.17/18, Intuos3 4x6 and on-the-fly tablet rotation.

./configure --enable-wacom
make fails:
Quote
In file included from /usr/include/xorg/regionstr.h:53,
                 from /usr/include/xorg/region.h:51,
                 from /usr/include/xorg/window.h:52,
                 from /usr/include/xorg/input.h:55,
                 from /usr/include/xorg/xf86str.h:38,
                 from /usr/include/xorg/xf86.h:45,
                 from ./xf86Wacom.h:66,
                 from ./xf86Wacom.c:65:
/usr/include/xorg/miscstruct.h:54:20: error: pixman.h: No such file or directory
make[3]: *** [xf86Wacom.o] Error 1
make[3]: Leaving directory `/home/aqui/Downloads/downloads-crap/compile/linuxwacom-0.7.6-4/src/xdrv'

any risk idea what to do? Do i have to recompile libpixman?
« Last Edit: May 27, 2008, 02:14:07 pm by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #1 on: December 23, 2007, 05:14:07 am »

compiled and installed libpixman1 and managed to compile 0.7.6.4 and did what this howto says:
http://www.linuxquestions.org/questions/slackware-14/wacom-graphire3-setup-with-slack-12-586784/page2.html

It still cant load the module:

Quote
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input//wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
   compiled for 4.3.99.902, module version = 1.0.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.5
(EE) module ABI major version (0) doesn't match the server's version (2)
(II) UnloadModule: "wacom"
(II) Unloading /usr/lib/xorg/modules/input//wacom_drv.so
(EE) Failed to load module "wacom" (module requirement mismatch, 0)

seems like vector doesnt like wacoms
i tried editing xorg.conf,rebooted many times, even rebuilt nvidia drivers (latest) -no luck.. If i cant get the wacom to work,i'll have to find another distro for this machine (sadly)  Sad

its extremely sad that we dont have a prebuilt package like most major distros do. There you just apt-get or urpmi it and edit xorg.conf. This is a major pain in the neck.
I really wanted to manage installing it and making a package or a howto,so others and i wouldnt have to go through it every time. Undecided

I think something didnt built quite right with that libpixman. It doesnt want to build at all with the one from the repo.

many distros come with these drivers on the install cd by default.
« Last Edit: December 23, 2007, 05:27:51 am by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #2 on: December 23, 2007, 06:23:55 am »

is this in 5.9 ?
Logged
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #3 on: December 23, 2007, 12:31:54 pm »

is this in 5.9 ?
yes.

ok guys,heres an update on the problem. I figured out that the kernel is too edgy for the stable linuxwacom drivers, so that being the reason for previous error, i installed the development version (latest).
0.7.9-4

and no luck.Here is from Xorg.log

Quote
(WW) Option "XkbVariant" requires an string value
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(EE) No Input driver matching `wacom'
(EE) No Input driver matching `wacom'
(EE) No Input driver matching `wacom'
(EE) No Input driver matching `wacom'

also,for some reason wacdump /dev/input/wacom shows that everything is alright with the driver/device- it sees the wacom's model,shows stats for pressure level,xyz coordinates,etc,pressed buttons... i dont get it. Seems like Xorg does not want to accept it. I tried with modprobe wacom, still not loading it. Damn it. Undecided
« Last Edit: December 23, 2007, 12:38:30 pm by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #4 on: December 23, 2007, 01:38:09 pm »

alright,update. I noticed that when running dmesg:

Quote
dmesg | grep wacom
usbcore: registered new interface driver wacom
drivers/input/tablet/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver
it gives me that, when everywhere else they say it should be giving me wacom.c
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #5 on: December 23, 2007, 01:53:33 pm »

using the stable driver try this

Open /usr/include/xorg/miscstruct.h with an editor (as root).
Line 54 looks like this:

#include <pixman.h>

Edit it to look like this:

#include <pixman-1/pixman.h>

then try compiling it.
HTH,
Uelsk8s
Logged
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #6 on: December 23, 2007, 02:12:54 pm »

using the stable driver try this

Open /usr/include/xorg/miscstruct.h with an editor (as root).
Line 54 looks like this:

#include <pixman.h>

Edit it to look like this:

#include <pixman-1/pixman.h>

then try compiling it.
HTH,
Uelsk8s

thanks,uel...i did that hours ago..but it seems that the stable driver doesnt support the kernel that 59 (...22) gold has. I need an older kernel to compile the stable driver,or i'll get the error from the second post after i install it. (or was it when installing an even older driver)

i'll try that again and report though... i must be missing something
« Last Edit: December 23, 2007, 02:17:41 pm by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #7 on: December 23, 2007, 02:14:48 pm »

i get this at make when compiling the stable driver:

Quote
./wcmCommon.c: In function 'xf86WcmEvent':
./wcmCommon.c:1099: error: 'pDev' undeclared (first use in this function)
./wcmCommon.c:1099: error: (Each undeclared identifier is reported only once
./wcmCommon.c:1099: error: for each function it appears in.)
make[3]: *** [wcmCommon.o] Error 1
make[3]: Leaving directory `/home/aqui/wacom/linuxwacom-0.7.8-3/src/xdrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aqui/wacom/linuxwacom-0.7.8-3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aqui/wacom/linuxwacom-0.7.8-3'
make: *** [all] Error 2
can somebody compile it with configure --enable-wacom ?
anybody getting the same error?

oh and when i try the prebuilt:
Quote
root:# ./install 
Installing Wacom man page......
Installed under /usr/share/man/man4

Installing wacom_drv....
wacom_drv.o installed under /usr/X11R6/lib/modules/input

Installing utility programs (wacdump, xidump, xsetwacom....)
Installed under /usr/local/bin

Installing wacomcpl......
Installed under /usr/local/bin


You need to compile and install wacom.(k)o manually if your kernel is out of date.

and still same error at xorg.log ((EE) No Input driver matching `wacom') i read at ubuntu forums that people having this problem fixed it by installing xserver-xorg-input-wacom,which i saw includes a couple of files,that are present at the source too
« Last Edit: December 23, 2007, 02:27:08 pm by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #8 on: December 23, 2007, 02:42:57 pm »

ok guys. I seem to resolved it...through brute force. I had to install two versions of the driver:

the stable and unstable one.
Here is what i did:

untared 0.7.8-3, failed at make, so i cd-ed to prebuilt/32 and ran
Quote
./uninstall
./install
(as root)
i knew i was missing  wacom.(k)o, and that i can get that file only with a successfull make>make install...

so,tired of a whole day of googling and pure pain in the arse (from sitting), i untared the unstable development tarball (0.7.9-4) and compile it successfully (mith Uel's hack,which i found at a slackware forum earlier,which was for another thing,i think), so with make install,i had all the files i need from the two packages.

i tried that earlier (the two steps on the development package and it didnt work,idk why)

Now it loads,but i must see if it will after a reboot.

The reason for this whole pain is not vector itself,but the version of kernel,which is really bleeding edge enough not to be supported by current stable wacom drivers. Sad

I guess this is a pretty dirty hack and its not worth a howto. When they officially release a stable driver supporting vec59g's linux kernel,i will reinstall it the clean way and write a how to.
Untill then,the link in the second post is a good howto+this i hope,if somebody else stumbles on this trouble.

I did lots of things before this,so i cant retrack all my steps and im not entirely sure whats needed to get a wacom running.
Maybe tomorow i will try it again on the laptop,which also has vec59g
« Last Edit: December 23, 2007, 02:48:39 pm by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #9 on: December 23, 2007, 02:54:16 pm »

yes it works. I will try a cleaner way tomorow. Undecided

1.get development version
2. instal prebuilt with scripts (uninstall-->install)
3.copy file wacom_drv.o
4.configure make install
5.Symlink wacom at /dev/input
6.add lines to xorg.conf
reboot and hope it will work

if you want to see if kernel version is supported by driver, go to its "src" folder,where there are kernel folders.
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #10 on: December 26, 2007, 01:50:42 pm »

yes it works. I will try a cleaner way tomorow. Undecided

1.get development version
2. instal prebuilt with scripts (uninstall-->install)
3.copy file wacom_drv.o
4.configure make install
5.Symlink wacom at /dev/input
6.add lines to xorg.conf
reboot and hope it will work

if you want to see if kernel version is supported by driver, go to its "src" folder,where there are kernel folders.

ok,this seems to work too on a clean install. I think i can make a package too. But its the development version of the driver that only works.
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #11 on: December 26, 2007, 02:01:31 pm »

get a package put together and I'll give it a try.

Thanks
Uelsk8s
Logged
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #12 on: January 01, 2008, 12:20:25 pm »

i however found that the development version has its downfalls:

1.its diagnostic applications dont work at all
2.Wine doesnt pick pressure sensitivity
3.its not compatable with expresskeys, expresskeys doesnt work at all- tablet multymedia keys are not working at all without expresskeys.

thus i dont think its worthy to package.I must get these to work,they are important.

another thing is that i need someone who has a wacom to test it too,after i package it. A wacom tablet must be plugged in. Sad
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #13 on: January 01, 2008, 12:54:31 pm »

I have a wacom tablet so i can try it out if you get it packaged.
Logged
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #14 on: January 02, 2008, 09:29:44 am »

i am sorry uel,but curently they're not worth packaging. I get a half-working build from the development version.

su
wacdump /dev/input/wacom
spills out zeros, which means that it didnt build quite right. Pressure sensitivity works,but expresskeys  doesnt seem to see the tablet,thus the buttons are not working and i cant assign them as keyboard shortcuts in gimp.

Wine doesnt seem to see the tablet at all,which is a big pitty,because there is some great graphics software that works flawlessly with wine and is perfect for tablets. Sad

we have two options here:
1. try to get the development release of linuxwacom to full functionality and expresskeys to work
2.wait a couple of months untill the stable version of the driver supports the bleeding edge kernel that vec59 has and try again,

and then,after we have expresskeys working, tablet pressure working in wine, and wacdump showing tablet's diagnostics correctly..then its worth packaging. Undecided

If you (or somebody else with a wacom) manage to get all that to work as it works on other major distros and package it,i will very gladly test out and report.
I myself think of waiting for the next stable driver to come out and try again.Sorry,but i lost a couple of days and hours in hedache tries. Embarrassed  BUT I HAVENT GIVVEN UP YET  Tongue
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!