Comment 11 for bug 357832

Revision history for this message
jens_we (jens-westphal) wrote :

 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 progression: 2.00
(**) EVTouch TouchScreen: (accel) filter stage 0: 20.00 ms
(**) EVTouch TouchScreen: (accel) set acceleration profile 0
(**) Option "Device" "/dev/input/event4"