You are not logged in.

#1 2009-10-14 16:21:58

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

[SOLVED] Can't install linuxwacom from AUR with latest X Server

I am unable to reinstall linuxwacom, which I had reinstalled perfectly the day before the big update from testing yesterday, which, among many other things, updated X Server to 1.7.0.901-1.

Here is the error output (am installing linuxwacom 0.8.4-6 from the AUR). I'm including everything that apears (to me) to be associated with the error, but if there should be more or less, let me know:

In file included from /usr/include/xorg/xf86str.h:38,
                 from /usr/include/xorg/xf86.h:46,
                 from ./xf86Wacom.h:68,
                 from ./xf86Wacom.c:93:
/usr/include/xorg/input.h:79:1: warning: this is the location of the previous definition
./xf86Wacom.c: In function 'xf86WcmInitialCoordinates':
./xf86Wacom.c:368: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:395: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c: In function 'xf86WcmRegisterX11Devices':
./xf86Wacom.c:630: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
/usr/include/xorg/input.h:274: note: expected 'Atom *' but argument is of type 'CARD8 *'
./xf86Wacom.c:630: error: too few arguments to function 'InitButtonClassDeviceStruct'
./xf86Wacom.c:670: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
/usr/include/xorg/input.h:280: note: expected 'Atom *' but argument is of type 'int'
./xf86Wacom.c:670: error: too few arguments to function 'InitValuatorClassDeviceStruct'
./xf86Wacom.c:712: warning: implicit declaration of function 'InitKeyClassDeviceStruct'
./xf86Wacom.c:720: warning: implicit declaration of function 'InitKbdFeedbackClassDeviceStruct'
./xf86Wacom.c:751: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:756: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:757: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:765: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:766: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:772: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:773: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:781: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:786: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:790: error: too few arguments to function 'InitValuatorAxisStruct'
make[2]: *** [xf86Wacom.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-sara/aur-linuxwacom/linuxwacom/src/linuxwacom-0.8.4-3/src/xdrv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-sara/aur-linuxwacom/linuxwacom/src/linuxwacom-0.8.4-3/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build linuxwacom package.

Error: unable to update linuxwacom

Because of this, I can no longer use my pen or touchscreen. My tablet is a Lenovo X61t.

This is probably due to the testing repo as the package's maintainer (gwash) was unable to reproduce this with the latest updates from core and extra installed.

[edit] Perhaps this is because this package is designed to be compatible with version 1.6 of X Server, and I'm using 1.7 (the latest in testing). Are any other tablet users in testing experiencing this problem? [/edit]

[edit] And as I thought, downgrading xorg-server to 1.6 fixed this (this also required downgrading evdev and the intel driver). So it's just linuxwacom's incompatibility with verison 1.7, which will hopefully be fixed soon. Marking the subject line as SOLVED, though the real solution is an update to linuxwacom. [/edit]

Last edited by Sara (2011-06-08 22:43:19)


Registed Linux User 483618

Offline

#2 2009-10-24 23:59:55

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

I can confirm that I get this error too.


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#3 2009-10-31 19:07:45

tashtego
Member
Registered: 2009-07-07
Posts: 10

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

xorg-server 1.7 now in extra, but problem persist.  Is there any fix?

Offline

#4 2009-10-31 20:41:05

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

Sara wrote:

So it's just linuxwacom's incompatibility with verison 1.7, which will hopefully be fixed soon.[/edit]

@tashtego: The "problem" does not persist despite 1.7 being in extra now, but because of it. The fix is simple, linuxwacom needs to implement compatibility with xorg-server 1.7, which has been released just a few days ago. Give them some time... btw, linuxwacom-cvs has the same issues, so it seems they have not yet done it the development version, either. For now the only fix is to either fix it yourself and submit a patch upstream, or downgrade xorg-server to the last 1.6 version.

Offline

#5 2009-11-02 15:04:38

ido50
Member
From: Israel
Registered: 2009-03-14
Posts: 25
Website

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

Man, I just got my Wacom Bamboo Fun today and I was really looking forward to using it. Well, I'll have to wait a little more.

I sent a message to the Linux Wacom project asking if they know about the issue (they probably do), will post back if I get any reply.

Offline

#6 2009-11-02 15:26:01

tashtego
Member
Registered: 2009-07-07
Posts: 10

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

Well, i've try gentoo-patch found here:http://bugs.gentoo.org/show_bug.cgi?id=291191, and linuxwacom compiled ok, but still doesn't work:

$ sudo cat /var/log/kdm.log |tail
(EE) No input driver matching `wacom'
(EE) config/hal: NewInputDeviceRequest failed (15)
(EE) module ABI major version (4) doesn't match the server's version (7)
(EE) Failed to load module "wacom" (module requirement mismatch, 0)
(EE) No input driver matching `wacom'
(EE) config/hal: NewInputDeviceRequest failed (15)
(EE) module ABI major version (4) doesn't match the server's version (7)
(EE) Failed to load module "wacom" (module requirement mismatch, 0)
(EE) No input driver matching `wacom'
(EE) config/hal: NewInputDeviceRequest failed (15)

Offline

#7 2009-11-02 16:00:14

tashtego
Member
Registered: 2009-07-07
Posts: 10

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

Sorry, i was wrong - it works ok. Because of some misconfiguration i was need to copy wacom.ko to /lib/modules/2.6.31-ARCH/kernel/drivers/input/tablet/ manually. On another computer yaourt do it well.

Offline

#8 2009-11-02 17:16:41

ido50
Member
From: Israel
Registered: 2009-03-14
Posts: 25
Website

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

I got a message from the author that he is working on the issue. He referred me to the xf86-input-driver page (http://cgit.freedesktop.org/%7Ewhot/xf86-input-wacom) and told me to see how it goes (which I didn't, yet).

Weird thing is, there's an xf86-input-wacom package in the AUR, but it's just the same as linuxwacom, with version 0.8.4, while the above page has version 0.9.1.

Last edited by ido50 (2009-11-02 17:17:12)

Offline

#9 2009-11-05 09:53:33

schuschu
Member
Registered: 2009-06-06
Posts: 17

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

Could someone put a PKGBUILD with patch into the AUR please?

Offline

#10 2009-11-05 23:11:44

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

schuschu wrote:

Could someone put a PKGBUILD with patch into the AUR please?

I've added the patch to the linuxwacom-cvs package.

Offline

#11 2009-11-06 02:18:32

Aidenn
Member
Registered: 2006-03-20
Posts: 57

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

this package from AUR works fine. the bamboo patches just add functionality, nothing is removed, so it's safe to use for everyone. at least my Intuos 3 works. ;)

-- edit --

by the way, does anyone's pad (that is, the keys and strips on your tablet) work atm? mine is detected fine, shows up in xidump, reacts to presses, but I can't get it to do keypresses. it does mouse clicks fine (albeit only when the stylus isn't interfering and far from the tablet, previously it worked independently), but if I assign a letter or any keyboard key for that matter, it does nothing.

-- edit 2 --

nvm, I asked on the linuxwacom ML, they're working on it.

Last edited by Aidenn (2009-11-06 13:57:47)

Offline

#12 2009-11-06 10:27:14

ido50
Member
From: Israel
Registered: 2009-03-14
Posts: 25
Website

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

N30N wrote:
schuschu wrote:

Could someone put a PKGBUILD with patch into the AUR please?

I've added the patch to the linuxwacom-cvs package.

Thanks, but I still can't build it:

patching file src/xdrv/xf86Wacom.c                                                             
Hunk #1 succeeded at 100 with fuzz 2 (offset 10 lines).                                        
Hunk #2 succeeded at 367 (offset -36 lines).                                                   
Hunk #3 succeeded at 397 (offset -33 lines).                                                   
Hunk #4 succeeded at 555 (offset -33 lines).                                                   
Hunk #5 succeeded at 611 (offset -22 lines).                                                   
Hunk #6 succeeded at 649 (offset -22 lines).                                                   
Hunk #7 succeeded at 667 (offset -22 lines).                                                   
Hunk #8 succeeded at 683 (offset -22 lines).                                                   
Hunk #9 succeeded at 723 (offset -22 lines).                                                   
Hunk #10 succeeded at 750 (offset -22 lines).                                                  
Hunk #11 succeeded at 781 (offset -22 lines).                                                  
Hunk #12 succeeded at 791 (offset -22 lines).                                                  
Hunk #13 succeeded at 823 (offset -22 lines).                                                  
Hunk #14 succeeded at 849 (offset -22 lines).
Hunk #15 FAILED at 881.
1 out of 15 hunks FAILED -- saving rejects to file src/xdrv/xf86Wacom.c.rej

Offline

#13 2009-11-06 13:07:34

newyew
Member
Registered: 2009-08-17
Posts: 4

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

I can confirm that. Same problem here.

Offline

#14 2009-11-06 17:22:12

gwash
Member
From: Cairo, Egypt
Registered: 2008-07-15
Posts: 27

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

schuschu wrote:

Could someone put a PKGBUILD with patch into the AUR please?

http://aur.archlinux.org/packages.php?ID=16912

Offline

#15 2009-11-06 17:27:37

ido50
Member
From: Israel
Registered: 2009-03-14
Posts: 25
Website

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

gwash wrote:
schuschu wrote:

Could someone put a PKGBUILD with patch into the AUR please?

http://aur.archlinux.org/packages.php?ID=16912

I can confirm this builds and installs fine. Thanks.

linuxwacom-bamboo-cth-ctl also builds and installs fine.

One thing though, the .install file for all linuxwacom packages in the AUR says you can run the supplied update-kernel-drivers.sh script. However, upon completing the installation via yaourt, this file, and all other related files, are deleted, so the only way to run this script is installing the package manually via makepkg, as noted here earlier. Any way to avoid this, or even integrating the update script into the post installation script?

Last edited by ido50 (2009-11-06 17:33:33)

Offline

#16 2009-11-06 18:12:37

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

ido50 wrote:

Thanks, but I still can't build it

Patch has been updated again (I must have got the files in a muddle or something).
Sorry about that guys.

Offline

#17 2009-11-06 19:44:57

gwash
Member
From: Cairo, Egypt
Registered: 2008-07-15
Posts: 27

Re: [SOLVED] Can't install linuxwacom from AUR with latest X Server

ido50 wrote:

One thing though, the .install file for all linuxwacom packages in the AUR says you can run the supplied update-kernel-drivers.sh script. However, upon completing the installation via yaourt, this file, and all other related files, are deleted, so the only way to run this script is installing the package manually via makepkg, as noted here earlier. Any way to avoid this, or even integrating the update script into the post installation script?

EDIT:

Try upgrading (from yaourt) now. smile

Last edited by gwash (2009-11-06 21:43:54)

Offline

Board footer

Powered by FluxBB