evtouch: drag not works

Bug #357832 reported by Anton Anikin
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
xf86-input-evtouch (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I am running the Kubuntu 9.04 beta on the HP tx1000 series tablet/laptop.
I have installed evtouch for the eGalax touchscreen used in this laptop and calibrated it.
Taps and clicks work, but I can't drag object with stylus, can't scroll etc.

[lspci]
00:00.0 RAM memory [0500]: nVidia Corporation C51 Host Bridge [10de:02f0] (rev a2)
     Subsystem: Hewlett-Packard Company Device [103c:30bf]
00:05.0 VGA compatible controller [0300]: nVidia Corporation C51 [Geforce 6150 Go] [10de:0244] (rev a2)
     Subsystem: Hewlett-Packard Company Device [103c:30bf]

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi anton-anikin,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xf86-input-evtouch (Ubuntu):
status: New → Incomplete
Revision history for this message
jens_we (jens-westphal) wrote :
Download full text (3.6 KiB)

 I've a 17" Touchscreen iiyama T1730S
Bus 002 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen

I can not drag too.
 Xorg.0.log:
(**) Option "longtouched_button" "3"
(**) Option "LongtouchTimer" "750"

 It runs fine with:

echo "options usbtouchscreen swap_xy=1" | sudo tee /etc/modprobe.d/usbtouchscreen

sudo vi /usr/share/hal/fdi/policy/10osvendor/50-eGalax.fdi

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="eGalax">
      <match key="info.capabilities" contains="input">
        <merge key="input.x11_driver" type="string">evtouch</merge>
        <merge key="input.x11_options.minx" type="string">206</merge>
        <merge key="input.x11_options.miny" type="string">221</merge>
        <merge key="input.x11_options.maxx" type="string">3858</merge>
        <merge key="input.x11_options.maxy" type="string">3851</merge>
        <merge key="input.x11_options.taptimer" type="string">30</merge>
        <merge key="input.x11_options.longtouchtimer" type="string">350</merge>
        <merge key="input.x11_options.longtouched_action" type="string">down</merge>
        <merge key="input.x11_options.longtouched_button" type="string">1</merge>
        <merge key="input.x11_options.oneandhalftap_button" type="string">2</merge>
        <merge key="input.x11_options.movelimit" type="string">15</merge>
        <merge key="input.x11_options.touched_drag" type="string">1</merge>
        <merge key="input.x11_options.maybetapped_action" type="string">click</merge>
        <merge key="input.x11_options.maybetapped_button" type="string">1</merge>
   <!-- <merge key="input.x11_options.rotate" type="string">cw</merge> -->
   <!-- <merge key="input.x11_options.SwapAxes" type="string">1</merge> -->
        <merge key="input.x11_options.SwapY" type="string">1</merge>
        <merge key="input.x11_options.rotate" type="string">ccw</merge>
      </match>
    </match>
  </device>
</deviceinfo>

After restart the touch fails, maybe because i've a 1280x1024 screen i use at 1024x768 after reboot / switch on the pointer upper left is ok, but up to the lower right around 30% is missing (the mouse-cursor is behind my pen)

unplug the usb-touch and replug - voila (nearly) all is fine

(-:~$ grep ouch /var/log/Xorg.0.log
(II) config/hal: Adding input device eGalax Inc. USB TouchController
(II) LoadModule: "evtouch"
(II) Loading /usr/lib/xorg/modules/input//evtouch_drv.so
(II) Module evtouch: vendor="Kenan Esau"
(**) Option "longtouched_button" "3"
(**) Option "LongtouchTimer" "750"
(**) EVTouch TouchScreen: always reports core events
(II) XINPUT: Adding extended input device "EVTouch TouchScreen" (type: TOUCHSCREEN)
(**) EVTouch TouchScreen: (accel) keeping acceleration scheme 1
(**) EVTouch TouchScreen: (accel) filter chain progression: 2.00
(**) EVTouch TouchScreen: (accel) filter stage 0: 20.00 ms
(**) EVTouch TouchScreen: (accel) set acceleration profile 0

remove and replug touch usb-connector
(II) config/hal: removing device EVTouch TouchScreen
(II) UnloadModule: "evtouch"
(II) config/hal: Adding input device eGalax Inc. USB TouchController
(**)...

Read more...

Revision history for this message
Ramaddan (ramaddan) wrote :

I have an 10" eGalax touchscreen, and I have the same problem.

I cannot drag or scroll or any of that.

I can only tap.

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

I wrote in another bug that this feature relied in a patch written by the Debian X Task Force, and that patch hasn't been ported to evtouch-0.8.8. I tried to compile 0.8.8 in Intrepid, but I stopped because I didn't know how to port the patch. The patch is ready for download at http://ftp.de.debian.org/debian/pool/main/x/xf86-input-evtouch/xf86-input-evtouch_0.8.7-3.diff.gz . In bug 317127 , Ramadan reported that the patch is already ported, but isn't working. Perhaps it is compiling, but the patch now does nothing. Please, give it a double check and contact Debian X Task Force if necessary.

Revision history for this message
Anton Anikin (anton-anikin) wrote :

lspci -vvnn attached

Revision history for this message
Anton Anikin (anton-anikin) wrote :

sorry, the right lspci -vvnn result attached now

Revision history for this message
hackeron (hackeron) wrote :

Same here, can only tap :(

Revision history for this message
Bradley Bell (btb) wrote :

Here's the updated version of buttonless-device.patch which fixes this problem. It doesn't make long touch into right-click like the old one did, but that should be configurable by the end-user now I guess?

Revision history for this message
Ramaddan (ramaddan) wrote :

I added a fix to this problem here:

https://bugs.launchpad.net/ubuntu/+source/xf86-input-evtouch/+bug/357832

And long touch works as right click with me without changing anything else.

Can anyone look into the patch and changes made in my post as well as the changes that I could not implement and give us their feedback?

Thanks.

Revision history for this message
jens_we (jens-westphal) wrote :
Download full text (3.3 KiB)

 Hi

 a new installation for my 17" Touchscreen iiyama T1730S

Bus 002 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen

due to the lack of a cd-rom i've used Ubuntu 9.04 netbook remix usb-image for installation and, what a surprise:

 Drag works now! (after adjusting longtouched value), but:

 Calibrationtool didn't work for me
 Startup with other than native screen resolution is misscalibrated (did not resize to proper resolution) but works fine aufter disconnect&reconnect the usb-touch

change the longtouched value to hold-down mousekey1:

        <merge key="input.x11_options.longtouched_action" type="string">down</merge>
        <merge key="input.x11_options.longtouched_button" type="string">1</merge>

sudo vi /usr/share/hal/fdi/policy/20thirdparty/50-eGalax.fdi

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="eGalax">
      <match key="info.capabilities" contains="input">
        <merge key="input.x11_driver" type="string">evtouch</merge>
        <merge key="input.x11_options.minx" type="string">239</merge>
        <merge key="input.x11_options.miny" type="string">260</merge>
        <merge key="input.x11_options.maxx" type="string">3845</merge>
        <merge key="input.x11_options.maxy" type="string">3794</merge>
        <merge key="input.x11_options.taptimer" type="string">30</merge>
        <merge key="input.x11_options.longtouchtimer" type="string">750</merge>
        <merge key="input.x11_options.longtouched_action" type="string">down</merge>
        <merge key="input.x11_options.longtouched_button" type="string">1</merge>
        <merge key="input.x11_options.oneandhalftap_button" type="string">2</merge>
        <merge key="input.x11_options.movelimit" type="string">10</merge>
        <merge key="input.x11_options.touched_drag" type="string">1</merge>
        <merge key="input.x11_options.maybetapped_action" type="string">click</merge>
        <merge key="input.x11_options.maybetapped_button" type="string">1</merge>
        <merge key="input.x11_options.SwapX" type="string">1</merge>
        <merge key="input.x11_options.rotate" type="string">cw</merge>
      </match>
    </match>
  </device>
</deviceinfo>

II) UnloadModule: "evtouch"
(II) config/hal: Adding input device eGalax Inc. USB TouchController
(**) Option "longtouched_button" "1"
(**) Option "maybetapped_button" "1"
State: S_UNTOUCHED Action: No Action Button: 0
State: S_TOUCHED Action: No Action Button: 0
State: S_LONGTOUCHED Action: down Button: 1
State: S_MOVING Action: No Action Button: 0
State: S_MAYBETAPPED Action: click Button: 1
State: S_ONEANDAHALFTAP Action: down Button: 3
(**) Option "MinX" "239"
(**) Option "MaxX" "3845"
(**) Option "MinY" "260"
(**) Option "MaxY" "3794"
(**) Option "TapTimer" "30"
(**) Option "LongtouchTimer" "750"
(**) Option "MoveLimit" "10"
(**) Option "SwapX" "1"
(**) EVTouch TouchScreen: always reports core events
(II) XINPUT: Adding extended input device "EVTouch TouchScreen" (type: TOUCHSCREEN)
(**) EVTouch TouchScreen: (accel) keeping acceleration scheme 1
(**) EVTouch TouchScreen: (accel) filter chain progressi...

Read more...

Revision history for this message
Bradley Bell (btb) wrote :

Did you post the wrong link Ramaddan?
Anyway, I can confirm long touch/right click does work with my patch as well.

Revision history for this message
Ramaddan (ramaddan) wrote :
Bryce Harrington (bryce)
description: updated
Revision history for this message
Anton Anikin (anton-anikin) wrote :

The patch works for me.
But sometimes when using the touchscreen my laptop hangs.
Touchscreen, touchpad and keyboard not works after this, but I see the HDD activity...

Revision history for this message
Ramaddan (ramaddan) wrote :

The hang is from a different problem.

Check this link:
https://bugs.launchpad.net/bugs/365527

Revision history for this message
Anton Anikin (anton-anikin) wrote :

But I have not an intel video.
My chipset and integrated video are from Nvidia

Revision history for this message
Anton Anikin (anton-anikin) wrote :

Also, my laptop hangs ONLY when I am using touchscreen.
When I am not using it, it never hangs.
For example, I am using it with external monitor at home and it never hangs.

Revision history for this message
Ramaddan (ramaddan) wrote :

Hi,

Yeah, the same used to happen with me, it used to hang only when I used the touchscreen, but when I got the latest intel driver, but you don't have intel, so I have no idea what is happening.

It might really be a touchscreen driver issue.

I think you should open a new bug report specifically about this problem.

Changed in xf86-input-evtouch (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Ramaddan (ramaddan) wrote :

Hmm... I started to have the problem again.

Did it happen with you after some updates?

I also get it from the touchscreen. As long as I don't touch it, nothing happens.

Which was a problem I had from before anyways, but I thought was fixed.

Bryce Harrington (bryce)
tags: added: kubuntu
Revision history for this message
Anton Anikin (anton-anikin) wrote :

I just have reinstalled the OS and see that drag still not works by default as the patch is still not included in the package :(

Revision history for this message
Bryce Harrington (bryce) wrote :

The patch is included in the package, it's just disabled (but I could not tell you why...)

#02-buttonless-device.patch

Revision history for this message
dmayo2 (dmayo2) wrote :

Ok, newbie here...

I'm having the problem with Shuttle X50 -- in "normal" mode of eGalaxTouch, no click, no drag possible. So, the newbie part...how do I apply the patch? Do I need to recompile? Can someone provide step by step directions for this issue? Thanks.

Revision history for this message
olliy (mail-o-krieger) wrote :

I have the problem with a Shuttle X50, ubuntu 9.10 too. Click works but no drag.
my /usr/share/hal/fdi/policy/20thirdparty/50-eGalax.fdi contains the line
                            <merge key="input.x11_options.touched_drag" type="string">1</merge>
but it does not work :-(

If the patch is included in the package, how can I enable it?

thx

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

Evtouch is going to be removed from the archive starting in natty, closing bugs that become obsolete due to that. Use the 'evdev' driver for touchscreens.

Changed in xf86-input-evtouch (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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