new version request: 0.7.6-4

Bug #69163 reported by Justin Dugger
44
Affects Status Importance Assigned to Milestone
wacom-tools (Ubuntu)
Fix Released
Undecided
Timo Aaltonen

Bug Description

According to the upstream website, 7.6-4 has a lot of improvements that may fix bugs in this package, like half rotate (necessary to fix convertible laptops) or USB removal, as well as support for 2.6.17 and 2.6.18. Seeing how the current Ubuntu package is sitting at 7.2, it might be time for a refresh.

Revision history for this message
Michael Cohen (mcohen) wrote :

I'd like to second this request (and add that the current stable version now appears to be 0.7.6-2). Another feature that does not seem to be available in 0.7.2 but is in the current upstream doc is the ability to set a side button to cause a double-click with a single press. This is really handy because it can be difficult to double-click accurately with the tip of the stylus.

Revision history for this message
Joachim Beckers (jbeckers) wrote :

plus, all versions higher than 0.7.3 make it possible to hot-unplug usb tablets without crashing the kernel.

Changed in wacom-tools:
status: Unconfirmed → Confirmed
Revision history for this message
Tyrael (marco-crociani) wrote :

Now Feisty is in hard freeze right? So no 0.7.6 for feisty but hopefully for feisty+1?

description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

We need testers for the new wacom:

http://users.tkk.fi/~tjaalton/wacom/

note that you need to change the device paths from xorg.conf, but that will change soon.

Changed in wacom-tools:
assignee: nobody → tepsipakki
status: Confirmed → In Progress
Revision history for this message
Joachim Beckers (jbeckers) wrote : Re: new version request: 0.7.6-4 (or maybe even 0.7.7-7?)

I've tested the packages from http://users.tkk.fi/~tjaalton/wacom/, and they work correctly.

the kernel modules do not build however, at least not on 2.6.20-13-lowlatency.

note that kernel 2.6.20 is not officially supported by the wacom 0.7.6-4 driver, but it's been reported to work with the 0.7.7-7 development driver. maybe it's better to update to that version. (after feisty is released?)

Revision history for this message
Loïc Martin (loic-martin3) wrote :

Joachim, what is the model of your Wacom tablet?

Did you change anything to the default feisty configuration , and what (changes to xorg.cong, etc...)?

Since I haven't been able to make them work, could you please send me your xorg.conf (or better, attach it here)?

Thanks a lot

Revision history for this message
Ulisse (ulipo) wrote :

Loïc: in order to get the tablet working it could be enough to change the device path in xorg.conf from /dev/wacom to /dev/input/wacom.

Here is a working xorg.conf where I added the "pad" section to get workin the pad buttons and wheel of my graphire4 (and swapped the stylus button, but it is only personal taste)

Revision history for this message
Jürgen Kreileder (jk) wrote :

I had to rebuild xserver-xorg-input-wacom_0.7.6.4-0ubuntu1 with -fno-stack-protector to get the module loaded on feisty.

Revision history for this message
Joachim Beckers (jbeckers) wrote :

it seems it's broken here too. hadn't noticed the messages is Xorg.log

Revision history for this message
Kees Cook (kees) wrote :

Joachim, can you attached the log with the errors? Juergen, can you attach the diff you used to make it work? (Did this work in Edgy? Edgy used -fstack-protector by default as well...)

Revision history for this message
Joachim Beckers (jbeckers) wrote :
Revision history for this message
Loïc Martin (loic-martin3) wrote :

Juergen, it might be the problem I'm facing.Yes, I've added /dev/input/wacom in xorg.conf :)

Juergen, could you attach here your xserver-xorg-input-wacom_0.7.6.4-0ubuntu1 and wacom-tools packages ? That way I'd be able to test them and see if that's the solution to Timo's packages problems with my Intuos.

Thanks

Revision history for this message
Jürgen Kreileder (jk) wrote :

Nah, it just was a quick and dirty hack: I hardcoded it in debian/rules

Besides, I had problems with kernel module too. The main problem probably probably is with my kernel (2.6.21-rc5). But there are packaging issues as well: "make-kpkg modules_image" didn't really work. The most obvious problem is that only root can write in /usr/src/modules/wacom.
The user I use for building only is the src group. This works fine with other stuff, like the nvidia module. (The nvidia package just provides a tarball. When unpacking the tarball, the directories inherit proper access rights for group src.)

Revision history for this message
Jürgen Kreileder (jk) wrote :

I've attached the X module package, the other should be OK.
Sorry, I didn't change the version number.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

please test 0.7.7.7:

http://users.tkk.fi/~tjaalton/dpkg

I haven't built it without SSP, but will do so if it won't load.

Where is the kernel module needed?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

duh, I added "-fno-stack-protector" to the CFLAGS, since we don't have much time to test these! Freeze is on Thursday..

Revision history for this message
Joachim Beckers (jbeckers) wrote :

one bug I can see already:

Setting up wacom-kernel-source (0.7.7.7-0ubuntu1) ...
/var/lib/dpkg/info/wacom-kernel-source.postinst: line 49: [: too many arguments
Warning: kernel headers don't match running Linux version.
Building wacom modules for Linux _CODE 13262 (this may take a few minutes)...dpkg: error processing wacom-kernel-source (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 wacom-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

So the kernel modules still don't build, but I might just be because of the "line 49: [: too many arguments" problem

Will test if the x driver loads in a minute.

Revision history for this message
Joachim Beckers (jbeckers) wrote :

ok, the kernel modules build fine using module-assistant. wonderful!

Revision history for this message
Loïc Martin (loic-martin3) wrote :

Timo, your new packages work here (Intuos 3 usb), that's great.

Hot plugging doesn't work - unplugging the tablet means that if you plug it again you'll have to restart X. Also, the first time you plug the tablet, you'll have to restart X (it's as if the tablet needs to be plugged in before X starts). That behavior also occurred with Juergen xserver package.
I don't know what's the problem (0.7.4 and above should support hot plugging).

However, overall the functionnality is the same or better than 0.7.2, and since the current 0.7.2 is broken in Feisty (at least for maybe, maybe for other USB users) I think getting the UVF should be a no-brainer. Support for tablets that weren't supported by 0.7.2 and for rotation should also be better, but I don't have the hw to test it :)

Thanks a lot

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

from the postinst:

head -n 1 $ksrc/include/linux/version.h | cut -c 22- | rev | cut -c 2- | rev

check what that gives you (substitute $ksrc with the path)

Revision history for this message
Joachim Beckers (jbeckers) wrote :

hot (un)plugging is broken here too, but at least the kernel doesn't freeze as with 0.7.2

the "/var/lib/dpkg/info/wacom-kernel-source.postinst: line 49: [: too many arguments" is caused by incorrect parsing of the kernel version. I'm guessing that other kernel module packages do this correctly. we can copy-paste the code from there.

thanks a lot for the hard work. this fixes a lot of bugs against wacom-tools!

Revision history for this message
Joachim Beckers (jbeckers) wrote :

hotplugging workaroud:

http://linuxwacom.sourceforge.net/index.php/faq

bottom of the page. switching terminals works here.

Revision history for this message
Loïc Martin (loic-martin3) wrote :

Switching terminals doesn't work for me (CTRL-Alt-F1 then CTRL-Alt-F7). When I unplug the tablet, plug it again, then switch terminals, it still doesn't work (I'm using Timo's 0.7.7 packages)

Revision history for this message
Joachim Beckers (jbeckers) wrote :

joachim@madkeunnen:~$ head -n 1 /usr/src/linux-headers-2.6.20-13-lowlatency/include/linux/version.h | cut -c 22- | rev | cut -c 2- | rev
_CODE 13262
joachim@madkeunnen:~$

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

The postinst expects $kver = `uname -r`, whjch sucks. There should be a better way to determine if the headers exist.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Fixed by this upload:

 wacom-tools (1:0.7.7.7-0ubuntu1) feisty; urgency=low
 .
   * Merge with Debian unstable, remaining changes:
      - Bump the epoch because of old Ubuntu packaging.
      debian/control:
       - xserver-xorg-input-wacom: Provides xserver-xorg-input.
       - Change the Maintainer address.
      debian/wacom.postinst:
       - Remove old files.
      debian/xserver-xorg-input-wacom.init.d, debian/rules:
       - Initscript for serial devices.
   * debian/xserver-xorg-input-wacom.init.d:
     - Change the device path to /dev/input/wacom
     - Move the initscript from wacom-tools to the driver, so the driver
       doesn't need to depend on wacom-tools.
   * debian/rules:
     - copy the manpage to the builddir before configuration, otherwise
       the build fails.
     - build with -fno-stack-protector.

Changed in wacom-tools:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.