evtouch calibrate tool does not detect mouse position

Bug #317127 reported by Vishal Rao
52
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xf86-input-evtouch (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm running Jaunty (alpha3-ish) on an HP Pavilion tx1302au tablet PC.

The calibrate tool that comes with xf86-input-evtouch 0.8.8-ubuntu1 runs but does not seem to detect mouse position, only the taps are registered.

As a result, after calibration, tapping anywhere on the screen results in the pointer going to the top-left corner.

Attaching some output and log files to the bug, please let me know if anything else is needed...

Revision history for this message
Vishal Rao (vishalrao) wrote :
Revision history for this message
Vishal Rao (vishalrao) wrote :
Revision history for this message
Vishal Rao (vishalrao) wrote :
Revision history for this message
Vishal Rao (vishalrao) wrote :
Bryce Harrington (bryce)
Changed in xf86-input-evtouch:
status: New → Confirmed
Revision history for this message
Vishal Rao (vishalrao) wrote :

Did a fresh reinstall of Jaunty alpha 5, the evtouch package isn't updated and I still see the problem. I'm hoping now that Xorg is stable at 1.6 released the evtouch package will be fixed any time now.

Revision history for this message
Tom Jaeger (thjaeger) wrote :

Wow, the calibrate tool is a mess. No point in cleaning it up, though, since evdev seems to be the future.

I've added a package to my PPA that will hopefully resolve the issue. Can you check if that's the case?

https://launchpad.net/~thjaeger/+archive/ppa

Revision history for this message
Vishal Rao (vishalrao) wrote :

I tried installing from your PPA xserver-xorg-input-evtouch based on xf86-input-evtouch - 0.8.8-0ubuntu2+thjaeger1 but the same problem occurs. While calibration (and also during normal use) the min/max/x/y numbers printed on screen don't change when tapping/moving the stylus around, the taps themselves are registered but the position is unrecognised.

Revision history for this message
Tom Jaeger (thjaeger) wrote :

The calibrate tool starts a second instance of the X server to do its thing. Can you attach the log file corresponding to that (probably /var/log/Xorg.1.log, but make sure that it has recently been created)?

Revision history for this message
Vishal Rao (vishalrao) wrote :

Here it is...

Revision history for this message
Tom Jaeger (thjaeger) wrote : Re: [Bug 317127] Re: evtouch calibrate tool does not detect mouse position

Thanks. I've uploaded another package to my PPA. Can you test it?

Vishal Rao wrote:
> Here it is...
>
> ** Attachment added: "xorg log"
> http://launchpadlibrarian.net/23718691/Xorg.1.0.log
>

Revision history for this message
Vishal Rao (vishalrao) wrote :

Still no luck, attaching xorg.1.log again which was run with the -thjaeger2 version of the package, thanks for looking into this!
Same issue, taps are registered but the min_max.cur_x (large negative value) and min_max.cur_y (zero) numbers remain unchanged where ever I tap or move the pen...

Revision history for this message
Tom Jaeger (thjaeger) wrote :

Can you try again? I mistook ABI_XINPUT_VERSION for the XInput version,
so the last change didn't actually do anything.

Vishal Rao wrote:
> Still no luck, attaching xorg.1.log again which was run with the -thjaeger2 version of the package, thanks for looking into this!
> Same issue, taps are registered but the min_max.cur_x (large negative value) and min_max.cur_y (zero) numbers remain unchanged where ever I tap or move the pen...
>
> ** Attachment added: "xorg log against thjaeger2 package"
> http://launchpadlibrarian.net/23741705/Xorg.1.0.log
>

Revision history for this message
Vishal Rao (vishalrao) wrote :

OK, some progress! When I did a package update it got the thjaeger3 version, then I only restarted X (gdm). Now the taps were also going to the right locations and the cursor following the pen movements! Except the calibration was off a little. So I tried running the calibrate tool and it would immediately return to the main session (with a quick text flash which I think is the standard warning that you have another X session running).

So I rebooted my tablet, but now again the taps have again lost the ability to detect the position and the calibrate tool fails to run. It worked before the reboot. Could it be some HAL fdi files conflict with some other (evdev maybe) packages?

Attaching an archive with 2 xorg logs, one when attempting to run calibrate after reboot, the .old one was run before reboot but just with an X restart... let me know if other info needed.

Revision history for this message
Vishal Rao (vishalrao) wrote :

OK I tried running the calibrate tool from the terminal and got the following output:

root@silverbird:/usr/lib/xf86-input-evtouch# ./calibrate.sh > calibrate.log

X: warning; process set to priority -1 instead of requested priority 0

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-16-server x86_64 Ubuntu
Current Operating System: Linux silverbird 2.6.28-9-generic #29-Ubuntu SMP Sun Mar 8 02:02:39 UTC 2009 x86_64
Build Date: 07 March 2009 02:19:24AM
xorg-server 2:1.6.0-0ubuntu1 (<email address hidden>)
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Markers: [ 0.002578] (--) probed, [ 0.002607] (**) from config file, [ 0.002630] (==) default setting,
 [ 0.002651] (++) from command line, [ 0.002676] (!!) notice, [ 0.002694] (II) informational,
 [ 0.002718] (WW) warning, [ 0.002737] (EE) error, [ 0.002758] (NI) not implemented, [ 0.002777] (??) unknown.
[ 0.002988] (==) Log file: "/var/log/Xorg.1.0.log", Time: Wed Mar 11 13:15:15 2009
[ 0.003132] (==) Using config file: "/etc/X11/xorg.conf"
[ 0.394813] (EE) Failed to load module "type1" (module does not exist, 0)
[ 0.395802] (EE) Failed to load module "freetype" (module does not exist, 0)
State: S_UNTOUCHED Action: No Action Button: 0
State: S_TOUCHED Action: No Action Button: 0
State: S_LONGTOUCHED Action: click Button: 3
State: S_MOVING Action: No Action Button: 0
State: S_MAYBETAPPED Action: click Button: 1
State: S_ONEANDAHALFTAP Action: down Button: 3
XReadBitmapFile - could not open file '/usr/share/xf86-input-evtouch/empty_cursor.xbm'.
X Error of failed request: BadPixmap (invalid Pixmap parameter)
  Major opcode of failed request: 93 (X_CreateCursor)
  Resource id in failed request: 0x71dd557f
  Serial number of failed request: 18
  Current serial number in output stream: 20

waiting for X server to shut down ddxSigGiveUp: Closing log

Revision history for this message
Josh Ancill (mempf) wrote :

I am having pretty much the exact same issue as reported in this bug except all taps go to the bottom right corner for me.

I have a HP tx1000. I will try the PPA packages soon and report back.

Thanks!

Revision history for this message
Tom Jaeger (thjaeger) wrote :

> XReadBitmapFile - could not open file '/usr/share/xf86-input-evtouch/empty_cursor.xbm'.
> X Error of failed request: BadPixmap (invalid Pixmap parameter)
> Major opcode of failed request: 93 (X_CreateCursor)
> Resource id in failed request: 0x71dd557f
> Serial number of failed request: 18
> Current serial number in output stream: 20
>
> waiting for X server to shut down ddxSigGiveUp: Closing log
>

My bad. I adjusted the path for the cursor to be able to do testing and
forgot to revert the change. I'll update the package in my PPA, but for
now you should be able to just copy the file
/usr/share/xf86-input-evtouch/empty_cursor.xbm into your current
directory and then run the script.

Revision history for this message
Vishal Rao (vishalrao) wrote :

OK calibrate works with the cursor in current directory, but only the X axis (horizontal) portion is correct. The Y axis shows max as 6998 but doesnt get reset to the actual max which is displaying as 3939. Plus I think the min Y is also off... as a result tapping the pen anywhere on the screen and the X (horizontal) position is correct, but the Y (vertical) position of the cursor remains near the top third of the screen in a small margin...

Terminal from calibrate tool:

root@silverbird:~# calibrate_touchscreen
/usr/bin/ev_calibrate
evalibrate located at /usr/bin/ev_calibrate
xinit located at /usr/bin/xinit
xserver located at /usr/bin/X
Creating FIFO...
Starting calibration program...

X: warning; process set to priority -1 instead of requested priority 0

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-16-server x86_64 Ubuntu
Current Operating System: Linux silverbird 2.6.28-9-generic #29-Ubuntu SMP Sun Mar 8 02:02:39 UTC 2009 x86_64
Build Date: 07 March 2009 02:19:24AM
xorg-server 2:1.6.0-0ubuntu1 (<email address hidden>)
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Markers: [ 0.002828] (--) probed, [ 0.002864] (**) from config file, [ 0.002893] (==) default setting,
 [ 0.002921] (++) from command line, [ 0.002945] (!!) notice, [ 0.002972] (II) informational,
 [ 0.002999] (WW) warning, [ 0.003022] (EE) error, [ 0.003046] (NI) not implemented, [ 0.003073] (??) unknown.
[ 0.003302] (==) Log file: "/var/log/Xorg.1.0.log", Time: Wed Mar 11 13:58:44 2009
[ 1.256455] (==) Using default built-in configuration (39 lines)
[ 1.332577] (EE) open /dev/fb0: No such file or directory
[ 1.815063] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
State: S_UNTOUCHED Action: No Action Button: 0
State: S_TOUCHED Action: No Action Button: 0
State: S_LONGTOUCHED Action: click Button: 3
State: S_MOVING Action: No Action Button: 0
State: S_MAYBETAPPED Action: click Button: 1
State: S_ONEANDAHALFTAP Action: down Button: 3
min = (48/105) max =(4029/6998)

(X0/Y0) = (8, 4)
=> dx0 = -3 / dy0 = 1
(X1/Y1) = (644, 7)
=> dx1 = -4 / dy1 = -2
(X2/Y2) = (1272, 8)
=> dx2 = 3 / dy2 = -3
(X3/Y3) = (8, 225)
=> dx3 = -3 / dy3 = 175
(X4/Y4) = (644, 228)
=> dx4 = -4 / dy4 = 172
(X5/Y5) = (1273, 229)
=> dx5 = 2 / dy5 = 171
(X6/Y6) = (13, 451)
=> dx6 = -8 / dy6 = 344
(X7/Y7) = (644, 448)
=> dx7 = -4 / dy7 = 347
(X8/Y8) = (1272, 448)
=> dx8 = 3 / dy8 = 347

waiting for X server to shut down error setting MTRR (base = 0xd0000000, size = 0x08000000, type = 1) Invalid argument (22)
 ddxSigGiveUp: Closing log

Revision history for this message
Vishal Rao (vishalrao) wrote :

Ok, I edited /etc/evtouch/config and changed the MaxY from 6998 to 3939 and restarted X/GDM but no luck - probably something to do with the d(x/y) numbers. But I rebooted and reran the calibration and this time it also detected the MaxY and apparently as a result also set the dy values much better... still not 100% accurate (few pixels off) but much better!

Revision history for this message
Daniel Sandlian (sandliman) wrote :

I tried out the package from your ppa and it fixed the problem, but it only provides tap. No slide. Hope this helps you. Let me know if you want any more info.

Revision history for this message
zemj (zemj) wrote :

I have eGalax too.
After installation of your PPA (version +4) ... the calibration was without problem, but after restart works correctly only moving left to right and right to left. Up and down moves about 25% slower and also tapping is updown-way inaccurate.
Are there any logs, that I can make that should help you?

Revision history for this message
awechris (pcdoctor-psifio) wrote :

I installed your package - and after playing a bit with it (with calibration) i managed to get it working perfectly fine (even after system reboot). Of course there are some glitches , like it won't be perfectly accurate near edges but overall it's very nice to have it working again :)
The strange thing is that i had the same problem with the Y axis (just moved at 1/3th of the screen) at the very first few calibrations, but then it went away (after a calibration where i didn't touch the edges. I marked the upper Y and lower Y on screen with soft pen (since the mouse pointer would only move to 1/3 th of the screen) and then calibrated but instead of upper left corner i touched the the upper left soft pen mark on my screen). Then , after that, recalibrated and it worked ! :)
I mean - i was touching the Cross marks as they were displayed on screen , and after a restart of X it worked as intended.

Revision history for this message
Tom Jaeger (thjaeger) wrote :

You'll need to contact the upstream author. It doesn't look like the remaining issues have anything to do with the xserver-1.5 to xserver-1.6 transition.

Revision history for this message
zemj (zemj) wrote :

Miracle !!! It works ... but only solution is few restarts and that is odd.
I took the /etc/evtouch/config and manualy editted MAXX and MAXY to number I found in calibration (me 4094/4072) and all other parameters I gave =0. After restart it works perfectly, include edges where innacuracy is about +- 2px (that is I think sufficient enought).
Even this I tried again the calibration from "Tom Jaeger +4 pack" and in config there are parameters +-4 ni X1..8 and Y1..8 ... so I thint this is maybe solved and problem is somewhere else.
... I confirm, that my MSI U100 with Ubuntu 9.04 and evtouch works with touch now correctly(thanks Tom) ... not work: right click emulation (that is maybe some my wrong xorg HAL configuration)

Revision history for this message
awechris (pcdoctor-psifio) wrote :

My right click emulation works fine with Tom's package :) Using jaunty 9.04 too on a TX1000 series laptop :)

Revision history for this message
Vishal Rao (vishalrao) wrote :

Tom,

We will try to contact upstream author for any further fixups, but since this is working quite well anyway,
I hope this evtouch package with your fixes will be included in Jaunty normal archives, is that correct?

Can you assign this bug to the relevant person(s) so that it gets in for Jaunty? Is there any further action
required from us users/testers at this time?

Thanks much for fixing it so far!

Regards,
Vishal

Revision history for this message
Tom Jaeger (thjaeger) wrote :

I'm attaching a .debdiff containing the fixes that are in my PPA. Could someone sponsor this? Thanks.

--

xf86-input-evtouch (0.8.8-0ubuntu3) jaunty; urgency=low

  * 21_more_calibration_fixups.patch: Make calibration work on xserver-1.6

 -- Thomas Jaeger <email address hidden> Sun, 22 Mar 2009 20:58:58 -0400

Revision history for this message
Iain Lane (laney) wrote :

Thanks for your work. Has this patch been accepted or received positively upstream? If so then I will sponsor.

Revision history for this message
Bob Busters (dolman23) wrote :

HP TX1000 series with ubuntu 9.04 beta
I have the same problem with evtouch, mouse pointer goes to the top left corner. Has this been patched yet?.

Revision history for this message
Daniel Sandlian (sandliman) wrote : Re: [Bug 317127] Re: evtouch calibrate tool does not detect mouse position
  • dmesg.txt Edit (39.5 KiB, text/plain; charset=US-ASCII; name="dmesg.txt")

The PPA package fixed the mouse position problem, however, there is still a
problem in that it only accepts taps and nothing else. For example, cell
writer is only accessible through the built in keyboard because writing
doesn't work. web browsing is difficult because slider bars can't be slid.
And there is no ability to drag-and-drop. Can anyone else confirm this
problem? Is this an evtouch problem or should I send it elsewhere?

Revision history for this message
awechris (pcdoctor-psifio) wrote :

I confirm the problem/bug of slider bars can't be slid or not being able to drag icons etc using touchscreen as described by Danies Sandlian (right above)

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

xf86-input-evtouch (0.8.8-0ubuntu3) jaunty; urgency=low

  * 21_more_calibration_fixups.patch: Make calibration work on xserver-1.6
                                                                                               Date: Sun, 22 Mar 2009 20:58:58 -0400
Changed-By: Thomas Jaeger <email address hidden>
Maintainer: Ubuntu Developers <email address hidden>
Signed-By: Timo Aaltonen <email address hidden>
https://launchpad.net/ubuntu/jaunty/+source/xf86-input-evtouch/0.8.8-0ubuntu3

==

Announcing to <email address hidden>

Thank you for your contribution to Ubuntu.

Changed in xf86-input-evtouch (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Anton Anikin (anton-anikin) wrote :

I confirm the problem of slider bars can't be slid or not being able to drag-and-drop icons etc too.

Revision history for this message
Ernesto Manriquez (alejandronova) wrote :

As far as I know, the ability to drag and drop was never implemented upstream. In Ubuntu Intrepid Ibex, drag and drop relied in a patch written by the Debian X Task Force, and you'll have to port that patch to evtouch-0.8.8. I found the same issue trying to compile evtouch-0.8.8 for Intrepid Ibex, and I stopped there because I didn't know how to port the damn patch.

Revision history for this message
Daniel Sandlian (sandliman) wrote :

I can't find the patch. Do you have a link?

Revision history for this message
Ernesto Manriquez (alejandronova) wrote :

++xf86-input-evtouch-0.8.7.orig/debian/patches/02-buttonless-device.patch

You can download the patch from http://ftp.de.debian.org/debian/pool/main/x/xf86-input-evtouch/xf86-input-evtouch_0.8.7-3.diff.gz

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi,

I'm having the same issues with an eGalax touch screen. will the patches from Tom Jaeger and the Debian X Task force be ported to Jaunty?

Thanks.

Revision history for this message
Ernesto Manriquez (alejandronova) wrote :

I don't know when those patches will be ported. One thing is for sure: the original evtouch design requires a button (attached to the pen) to slide, and our eGalax touchscreens do not have such button; that's why the patch is called "02-buttonless-device". This is actually preventing me from installing Jaunty (I'm with Windows 7 now, and I sorely need Jaunty because I got bitten by the nVidia issue, and I need Linux to ensure that it won't happen again after repair)

Revision history for this message
Ramaddan (ramaddan) wrote :

I looked into the source of the xf86-input-evtouch package in Jaunty.

They were already updated, and have the patches applied for jaunty from intrepid, but the problem persists:
- Drag and drop, scroll, select many files, etc... still doe snot work for eGalax touchscreen.
- Calibration is off in the Y coordinations

Revision history for this message
hackeron (hackeron) wrote :

Is there any solution for this other than downgrading? :(

Revision history for this message
hackeron (hackeron) wrote :

Got it working!

Ramaddan, all the patches are there, but if you look in debian/patches/series, most of the patches are commented out including the patch required for this: 02-buttonless-device.patch

This is how to get it working:

apt-get build-dep xserver-xorg-input-evtouch
apt-get source xserver-xorg-input-evtouch
cd xf86-input-evtouch-0.8.8
patch -p1 < debian/patches/02-buttonless-device.patch
# A few chunks will fail, but ignore that, it's fine :)
dpkg-buildpackage
dpkg -i ../xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb

Voila :)

Revision history for this message
Doug Brunner (madengineer10) wrote :

Hackeron, this doesn't work for me...I did the build process as you described on a fresh install of Xubuntu Jaunty (on a car PC with an eGalax touchscreen), and got the build to complete with no errors except for the failed chunks in the patch that you said to expect. I then installed the .deb and got no change in the system's behavior, even after a reboot. Looking at the code, it doesn't look like anything is actually going to set the 'buttonless' variable in the private struct, but even when I tried replacing all instances of priv->buttonless with 1 to force it on, nothing changed. I'm out of ideas at this point...anything occur to you?

Revision history for this message
Doug Brunner (madengineer10) wrote :

Followup: it looks like for some reason it was building using the contents of ../xf86-input-evtouch_0.8.8.orig.tar.gz. I don't really know my way around dpkg, so I just uninstalled the xserver-xorg-input-evtouch package, then did a ./configure, make, and make install in the source directory, which did the trick.

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi hackeron, thanks for the input.

I looked into the patch, and you're right, it was not applying.

However, I was thrown off before, because I looked into the source and some patches were applied, due to the new code and version difference I think, but not all.

So I looked into it more, and even though it might work, I'm still trying to figure out how to apply the patch properly, as it seems important code has changed since version 0.8.3 (which the patch seems to be for) and version 0.8.8, which might be why it was commented out, and thus some things are not patching due to code change.

Before continuing, I am trying to figure the patch out, and see if it can be updated, and any help from developers would be appreciated, as it is better to know exactly what is being done and happening, so as to be able to make an official and proper patch.

Thanks

Revision history for this message
Ramaddan (ramaddan) wrote :

hi,

My moving, scrolling, dragging, and so on are finally working.

I made a new patch file for the changes I made attached to this message.

The patch file can replace the "02-buttonless-device.patch" file that comes with the downloaded source file from the Jaunty repository in "debian/patches", and you need to remove the uncomment (#) symbol in front of the "02-buttonless-device.patch" before building package for the patch to work, or you can just apply the patch manually.

I manually applied all the changes that were in the old patch file which seems to there since the 0.8.3 version of "xserver-xorg-input-evtouch".

I had to compensate for some slight changes in versions in order to fully implement the patch changes to the evtouch.c file.

However, I could only apply one of the changes to the libtouch.c file, as I was not sure how to implement the other two changes.

Here are the other two changes which were not implemented from the old file:

begin---------------------------------------

@@ -336,13 +344,13 @@ static void enter_longtouched(LibTouchRe
 {
         disable_timers(priv);
         /* FIXME: Make Longtouch-Event configurable*/
- /* for now issue an LB down */
- DBG(4, ErrorF("LibTouch: Issuing Button-press 1\n"));
+ /* for now issue an RB down */
+ DBG(4, ErrorF("LibTouch: Issuing Button-press 3\n"));
         xf86PostButtonEvent(priv->local->dev, TRUE,
- 1, 1, 0, 2,
+ 3, 1, 0, 2,
                             priv->cur_x,
                             priv->cur_y);
- priv->pressed_btn_stat |= 1 << 1;
+ priv->pressed_btn_stat |= 1 << 3;
 }

@@ -515,7 +523,7 @@ static int handle_oneandahalftap(LibTouc

                 /* FIXME: Make OneAndHalf-Event configurable */
                 /* for now RB down */
- DBG(4, ErrorF("LibTouch: Issuing Button-press 1\n"));
+ DBG(4, ErrorF("LibTouch: Issuing Button-press 3\n"));
                 xf86PostButtonEvent (priv->local->dev, TRUE,
                                      3, 1, 0, 2,
                                      priv->cur_x,

end -----------------------------------------------------------------------

If anyone can take a look at the patch file I made and confirm whether the changes are safe and sane, I would appreciate it.

Also, if anyone could take a look into the unimplemented changes and elaborate on them and clarify as to what they leave out, if anything. Thanks.

Revision history for this message
Ramaddan (ramaddan) wrote :

Forgot to mention that long touch works as right click still as well.

Revision history for this message
thejinx0r (thejinx0r) wrote :

Hi Ramaddan,
Your patch worked.
Do you have the issue where the there is a delay before the input is delayed?

Revision history for this message
thejinx0r (thejinx0r) wrote :

Oops. made a bad typo.
What I meant too say was:
Do you have the issue where the there is a delay before the input is ---detected----

Revision history for this message
awechris (pcdoctor-psifio) wrote :

Ramaddan, can u upload the *patched xserver-xorg-input-evtouch .deb package ?

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi,

thejinx0r: I'm not sure about a delay, but in general, the touchscreen does seem to be slower than your average mouse in responding to touch or repeated touches, and it would be nice to know if response time can be improved. I just did not really take any time to look into it.

awechris: I have a package which I built upon the current package present in Jaunty, but I would rather not make it public, as no one checked over how sane the patch is yet, nor what the missing pieces are for which I posted in my earlier message.

I can send it to you to your email if you would like that.

Revision history for this message
thejinx0r (thejinx0r) wrote :

I mean, have you tried it with Xournal? (It's a note taking program) I
can't write at all. It keeps missing half of the strokes I do.

On Fri, May 15, 2009 at 6:21 PM, Ramaddan <email address hidden> wrote:
> Hi,
>
> thejinx0r: I'm not sure about a delay, but in general, the touchscreen
> does seem to be slower than your average mouse in responding to touch or
> repeated touches, and it would be nice to know if response time can be
> improved. I just did not really take any time to look into it.
>
> awechris: I have a package which I built upon the current package
> present in Jaunty, but I would rather not make it public, as no one
> checked over how sane the patch is yet, nor what the missing pieces are
> for which I posted in my earlier message.
>
> I can send it to you to your email if you would like that.
>
> --
> evtouch calibrate tool does not detect mouse position
> https://bugs.launchpad.net/bugs/317127
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xf86-input-evtouch” source package in Ubuntu: Fix Released
>
> Bug description:
> I'm running Jaunty (alpha3-ish) on an HP Pavilion tx1302au tablet PC.
>
> The calibrate tool that comes with xf86-input-evtouch 0.8.8-ubuntu1 runs but does not seem to detect mouse position, only the taps are registered.
>
> As a result, after calibration, tapping anywhere on the screen results in the pointer going to the top-left corner.
>
> Attaching some output and log files to the bug, please let me know if anything else is needed...
>

Revision history for this message
Morgan Tørvolt (morgan-torvolt) wrote :

I just tested the patch from Ramaddan. It works very well on my car-pc. The procedure was like mentioned above by hackeron, but with some additions. Here is the complete list of what I did. From any folder (I like to use /tmp, as that is flushed clean on every boot) do this:

cd /tmp
sudo apt-get build-dep xserver-xorg-input-evtouch
apt-get source xserver-xorg-input-evtouch
cd xf86-input-evtouch-0.8.7/
rm debian/patches/02-buttonless-device.patch
wget -O debian/patches/02-buttonless-device.patch http://launchpadlibrarian.net/26529094/02-buttonless-device.patch
echo 02-buttonless-device.patch >> debian/patches/series
dpkg-buildpackage
sudo dpkg -i ../xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb

That exact procedure worked very well for me. You can copy all of these lines and paste them in your console in one go. Press enter on the last line if you do not get the last enter in your copy, and then restart your X to make it work.

Revision history for this message
edu (eduard-gmx) wrote :

The procedure works very good for me, works all as expected (901go with eGalax / jaunty).

But I can only use the touchpad for a while, then the system freezes (with bothxserver-xorg-input-evtouch-versions the original jounty one and the one from Ramaddan)

Strangely the system never freezed with 8.10

Revision history for this message
Ramaddan (ramaddan) wrote : Re: [Bug 317127] Re: evtouch calibrate tool does not detect mouse position

Hi,
This is a separate problem relating to the X server intel driver, if your
PC uses an intel driver.
Try the solution mentioned here:
https://bugs.launchpad.net/bugs/365527
Regards,
Ramaddan
edu <email address hidden> wrote on 16 May 2009, 03:35 PM:
Subject: [Bug 317127] Re: evtouch calibrate tool does not detect mouse
position
>The procedure works very good for me, works all as expected (901go with
>eGalax / jaunty).
>
>But I can only use the touchpad for a while, then the system freezes
>(with bothxserver-xorg-input-evtouch-versions the original jounty one
>and the one from Ramaddan)
>
>Strangely the system never freezed with 8.10
>
>--
>evtouch calibrate tool does not detect mouse position
>https://bugs.launchpad.net/bugs/317127
>You received this bug notification because you are a direct subscriber
>of the bug.
>

-----------------------------------------------------------------------------------------------------------------------
Send big files for free. Simple steps. No registration.
Visit now http://www.nawelny.com

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi thejinx0r,

I tried using Xournal. It works fine with me. Did you try changing the sensitivity settings and so on?

Revision history for this message
elypter (undefined-web) wrote :

I used the solution from hackeron,
it works ( I have a tx1000 series tablet pc )

Thanks !

little note:
on a 64 bit system you must use:
dpkg -i ../xserver-xorg-input-evtouch_0.8.8-0ubuntu3_amd64.deb
instead of
dpkg -i ../xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb

rather self-explanatory but imporant not to forget if someone wants to write a script or a tutorial

Revision history for this message
thejinx0r (thejinx0r) wrote : Re: [Bug 317127] Re: evtouch calibrate tool does not detect mouse position

Hi Rammadan,

I did not know that was possible.
How do I go about doing that?

On Sat, May 16, 2009 at 4:23 PM, Ramaddan <email address hidden> wrote:
> Hi thejinx0r,
>
> I tried using Xournal. It works fine with me. Did you try changing the
> sensitivity settings and so on?
>
> --
> evtouch calibrate tool does not detect mouse position
> https://bugs.launchpad.net/bugs/317127
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xf86-input-evtouch” source package in Ubuntu: Fix Released
>
> Bug description:
> I'm running Jaunty (alpha3-ish) on an HP Pavilion tx1302au tablet PC.
>
> The calibrate tool that comes with xf86-input-evtouch 0.8.8-ubuntu1 runs but does not seem to detect mouse position, only the taps are registered.
>
> As a result, after calibration, tapping anywhere on the screen results in the pointer going to the top-left corner.
>
> Attaching some output and log files to the bug, please let me know if anything else is needed...
>

Revision history for this message
Format C (yeutterg) wrote :

Hi everyone, I just tried the patch and am happy to say that I can now draw and drag objects. However, the system seems to wait for some time after you apply the pen before it starts sliding. For example, in xournal, if I was to draw an S, the top part of it would never show up as ink, even though I saw the pointer move with the pen. Any ideas on what could be causing this?

Thanks,
Greg

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi @thejinx0r and Format C,

I have no idea what this problem is from, and I can't reproduce it, because I don't seem to have it.

Did you try to see if pressure sensitivity is turned on or off in Options in Xournal and if it makes any difference?

What type of touchscreens do you have (model, size, type, etc)?

If you install the package attached to this post, do you still have the problem?

Revision history for this message
Format C (yeutterg) wrote :

Hi Ramaddan, I tried turning on pressure sensitivity in xournal and it still has the problem. This problem also occurs in cellwriter, so I assume it is system-wide.

I installed the new package above and rebooted, to no avail.

I am running an HP TX1000 with the 12.1 inch touchscreen. I don't know anything else about the screen.

Thanks a lot!
Greg

Revision history for this message
Zander (deus-ex-zander) wrote :

Hi everyone, I applied the patch and could happily drag things arround and draw on my hp tx1000, but I also have that problem that it takes a little while (about half a second) between the time I touch the screen and slide the pen and the time the holded click is applied, in any way, like dragging a window arround or dragging images in firefox and so on.

Also, almost randomly, the computer "freezes" whenever I use the touchscreen, but it isn't actually frozen: any running process (like a song being played or a disk being burned) keeps going until its completed, but then nothing else happens (like playing the next song on the list), and while those processes keep running, any input won't do anything and the image on the screen is frozen, but i cant tell wheter compiz or the X server was stoped/paused or just the image isn't rendered any more.

Also, back in Ubuntu 8.10, and in 9.04 before I applied the patch, it wouldn't froze at all, however, it also froze the same way in Ubuntu 8.10 when I used the manufacturer's driver, the "touchkit", instead of evtouch, so, could it be a hardware related issue somehow?

I have a HP TX1332 tablet, eGalax 12.2" touchscreen, wich is connected internally via usb (that's all i know about it) and 64-bit Ubuntu (I don't know if the architecture matters at all, but i'll say it just in case)

Finally, i'm not a native english speaker, so sorry for any bad english. Thank you.

Revision history for this message
thejinx0r (thejinx0r) wrote :

Hi Ramaddan,

I have moved on to using Linux Mint 7 RC 1 and now it responds better.
Unfortunately, it seems to be a lot less accurate now than it was when
I was on ubuntu.

Thank you for your time,
   Eric

On Fri, May 22, 2009 at 7:56 PM, Ramaddan <email address hidden> wrote:
> Hi @thejinx0r and Format C,
>
> I have no idea what this problem is from, and I can't reproduce it,
> because I don't seem to have it.
>
> Did you try to see if pressure sensitivity is turned on or off in
> Options in Xournal and if it makes any difference?
>
> What type of touchscreens do you have (model, size, type, etc)?
>
> If you install the package attached to this post, do you still have the
> problem?
>
> ** Attachment added: "xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb"
>   http://launchpadlibrarian.net/27068715/xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb
>
> --
> evtouch calibrate tool does not detect mouse position
> https://bugs.launchpad.net/bugs/317127
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xf86-input-evtouch” source package in Ubuntu: Fix Released
>
> Bug description:
> I'm running Jaunty (alpha3-ish) on an HP Pavilion tx1302au tablet PC.
>
> The calibrate tool that comes with xf86-input-evtouch 0.8.8-ubuntu1 runs but does not seem to detect mouse position, only the taps are registered.
>
> As a result, after calibration, tapping anywhere on the screen results in the pointer going to the top-left corner.
>
> Attaching some output and log files to the bug, please let me know if anything else is needed...
>

Revision history for this message
thejinx0r (thejinx0r) wrote :

Actually, it's not that it's less accurate, it doesn't want to get
calibrated anymore :S

I keep getting this error now when I run the calibrate program from
the terminal as root (sudo):
"waiting for X server to shut down .error setting MTRR (base =
0xd0000000, size = 0x10000000, type = 1) Invalid argument (22)
 ddxSigGiveUp: Closing log"

On Sat, May 23, 2009 at 12:30 AM, Eric Yen <email address hidden> wrote:
> Hi Ramaddan,
>
> I have moved on to using Linux Mint 7 RC 1 and now it responds better.
> Unfortunately, it seems to be a lot less accurate now than it was when
> I was on ubuntu.
>
> Thank you for your time,
>   Eric
>
>
>
> On Fri, May 22, 2009 at 7:56 PM, Ramaddan <email address hidden> wrote:
>> Hi @thejinx0r and Format C,
>>
>> I have no idea what this problem is from, and I can't reproduce it,
>> because I don't seem to have it.
>>
>> Did you try to see if pressure sensitivity is turned on or off in
>> Options in Xournal and if it makes any difference?
>>
>> What type of touchscreens do you have (model, size, type, etc)?
>>
>> If you install the package attached to this post, do you still have the
>> problem?
>>
>> ** Attachment added: "xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb"
>>   http://launchpadlibrarian.net/27068715/xserver-xorg-input-evtouch_0.8.8-0ubuntu3_i386.deb
>>
>> --
>> evtouch calibrate tool does not detect mouse position
>> https://bugs.launchpad.net/bugs/317127
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “xf86-input-evtouch” source package in Ubuntu: Fix Released
>>
>> Bug description:
>> I'm running Jaunty (alpha3-ish) on an HP Pavilion tx1302au tablet PC.
>>
>> The calibrate tool that comes with xf86-input-evtouch 0.8.8-ubuntu1 runs but does not seem to detect mouse position, only the taps are registered.
>>
>> As a result, after calibration, tapping anywhere on the screen results in the pointer going to the top-left corner.
>>
>> Attaching some output and log files to the bug, please let me know if anything else is needed...
>>
>

Revision history for this message
Vishal Rao (vishalrao) wrote :

i just happened to try netbook remix (UNR) 9.04 on my HP tx1000 series tx1302au tablet and even the live image boot has touchscreen working with taps and dragging working, the calibrate tool also works, although i didnt "save and reboot" the live session! how/why does UNR work fine while plain ubuntu 9.04 desktop not have the fixed package? or am i missing something?

Revision history for this message
Zander (deus-ex-zander) wrote :

i've been trying the evtouch package without the patch and it is now freezing without it, or i've didn't noticed it before i apllied it, yet its not a hardware issue because it doesn't happen in windows. I also tried the ubuntu netbook remix and it didn't drag and drop. Also, while I used the UNR it didnit freeze, but i guess i didn't use it long enough to have that problem

Revision history for this message
Bob Busters (dolman23) wrote :

Has there been any updates on this issue. I've not seen anything for awhile, I was hoping it would be done by now. Ubuntu 9.10 will be here soon, is there anything happening with that release to get this bug sorted or is this just a dead subject and i shoulden even bother with it. can someone please give me some info. I've tried the different ways of getting it working which did work for a bit until it crashed.

Revision history for this message
Vishal Rao (vishalrao) wrote :

Nothing for Jaunty apparently but for Karmic see the following for info on a
new meta bug if you want to help out:
http://idlethread.blogspot.com/2009/08/touchscreen-fail.html

Revision history for this message
hackeron (hackeron) wrote :

Upgraded to karmic and this is still an issue.

tsm124 (tsm1248)
Changed in xf86-input-evtouch (Ubuntu):
status: Fix Released → New
status: New → Fix Released
Revision history for this message
hackeron (hackeron) wrote :

It seems in Lucid this patch is still commented out in debian/patches/series and it doesn't compile at all in Lucid :(

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.