Hi,
I actually tried that before, but it didn't work, but due to your email, I
tried again, but something different.
My original settings were as follows in the following file:
"/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">130</merge>
        <merge key="input.x11_options.miny" type="string">197</merge>
        <merge key="input.x11_options.maxx" type="string">3945</merge>
        <merge key="input.x11_options.maxy" type="string">3894</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">click</merge>
        <merge key="input.x11_options.longtouched_button"
type="string">3</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>
      </match>
    </match>
  </device>
</deviceinfo>
At first, I tried adding the following options:
<merge
key="input.x11_options.rotate" type="string">cw</merge>
<merge key="input.x11_options.swapx"
type="bool">false</merge>
<merge
key="input.x11_options.swapy" type="bool">false</merge>
For
each change I did, I had to restart HAL by running:
sudo /etc/init.d/hal
restart
Then pressing Ctrl+Alt+Backspace to restart Gnome for
changes to take effect.
For the rotation, I tried cw and ccw, and as
expected,
did not resolve my problem, but the options did take
effect.
I tried turning swapy at first, as that seemed the most
obvious, and then swapx,
and these options made no difference whether
they were set to true or false.
At this point I was goig to give up,
until I decided to try things manually,
as in why not manually switch Y
values?
So I changed the following values as
folows:
        <merge
key="input.x11_options.miny"
type="string">3894</merge>
       
<merge key="input.x11_options.maxy"
type="string">197</merge>
Restart HAL and Gnome, and this
time it worked. YEY!
The touch calibration was a bit off, so I tried
againt the calibration tool that came with Ubuntu UMPC.
It did not
do anything, even after restart, as it also did not do anything when
I
tried it the first time I noticed the problem.
However, I used the
tool to my advantage.
I read the coordinates spewed out when I
clicked on the top left corner cross,
and then the bottom right corner
cross.
I wrote those down and then applied them to the fdi file as
follows:
<merge key="input.x11_options.minx"
type="string">120</merge>
<merge
key="input.x11_options.miny" type="string">3830</merge>
<merge key="input.x11_options.maxx"
type="string">4025</merge>
<merge
key="input.x11_options.maxy" type="string">148</merge>
All
in all, my final modifications were as follows:
<?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">120</merge>
<merge
key="input.x11_options.miny" type="string">3830</merge>
<merge key="input.x11_options.maxx"
type="string">4025</merge>
<merge
key="input.x11_options.maxy" type="string">148</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">click</merge>
<merge
key="input.x11_options.longtouched_button"
type="string">3</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>
</match>
</match>
</device>
</deviceinfo>
And then all worked great and precise after that.
So I still need to report a bug for this driver, or should I report a bug
for the calibration tool instead?
Thanks for the help.
Jeff <yam...@gmail.com> wrote on 9 Mar 2009, 09:39 AM:
Subject: Re: Ubuntu UMPC status
Here is a link about fixing the ts
http://www.mp3car.com/vbulletin/linux/126173-lilliput-screen-ubuntu.html
let me know how it goes
yam125
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
________________________________ 
Free POP3 Email from www.gawab.com 
Sign up NOW and get your account @gawab.com!!

-----------------------------------------------------------------------------------------------------------------------
Send big files for free. Simple steps. No registration.
Visit now http://www.nawelny.com
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to