← Back to team overview

asus-ul30 team mailing list archive

UL30 elantech touchpad fixed

 

I built a new kernel from git and it does in fact work (I probably could have gotten away with only building modules?)

It does not work for me with out passing the force_elantech string to the psmouse driver after removing the driver like this:

sudo modprobe -r psmouse
sudo modprobe -v psmouse force_elantech=1

I've yet to research setting this var by default but thought I'd share now that I can type again with out evdaemon :)

I also found that the same person made a rough patch to an existing driver here: http://www.spinics.net/lists/linux-input/msg08277.html

However, the fresh kernel seems more complete and has the following commits:

git log elantech.c
commit 1d7aec304147aadcbc66ef9ab691208f9f22b6a8
Merge: 5157b4a 26a6931
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed May 5 07:53:18 2010 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dt
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: joydev - allow binding to button-only devices
      Input: elantech - ignore high bits in the position coordinates
      Input: elantech - allow forcing Elantech protocol
      Input: elantech - fix firmware version check
      Input: ati_remote - add some missing devices from lirc_atiusb
      Input: eeti_ts - cancel pending work when going to suspend
      Input: Add support of Synaptics Clickpad device
      Revert "Input: ALPS - add signature for HP Pavilion dm3 laptops"
      Input: psmouse - ignore parity error for basic protocols

commit e938fbfd4a7ac829d48b767c4dc365535d5c4f97
Author: Florian Ragwitz <rafl@xxxxxxxxxx>
Date:   Mon May 3 23:29:37 2010 -0700

    Input: elantech - ignore high bits in the position coordinates
:
commit 1d7aec304147aadcbc66ef9ab691208f9f22b6a8
Merge: 5157b4a 26a6931
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed May 5 07:53:18 2010 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: joydev - allow binding to button-only devices
      Input: elantech - ignore high bits in the position coordinates
      Input: elantech - allow forcing Elantech protocol
      Input: elantech - fix firmware version check
      Input: ati_remote - add some missing devices from lirc_atiusb
      Input: eeti_ts - cancel pending work when going to suspend
      Input: Add support of Synaptics Clickpad device
      Revert "Input: ALPS - add signature for HP Pavilion dm3 laptops"
      Input: psmouse - ignore parity error for basic protocols

commit e938fbfd4a7ac829d48b767c4dc365535d5c4f97
Author: Florian Ragwitz <rafl@xxxxxxxxxx>
Date:   Mon May 3 23:29:37 2010 -0700

    Input: elantech - ignore high bits in the position coordinates
    
    In older versions of the elantech hardware/firmware those bits always
    were unset, so it didn't actually matter, but newer versions seem to
    use those high bits for something else, screwing up the coordinates
    we report to the input layer for those devices.
    
    Signed-off-by: Florian Ragwitz <rafl@xxxxxxxxxx>
    Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>

commit f81bc788ff91d4efd4baf88b2c29713838caa8e5
Author: Florian Ragwitz <rafl@xxxxxxxxxx>
Date:   Tue Apr 27 00:47:04 2010 -0700

    Input: elantech - allow forcing Elantech protocol
    
    Apparently hardware vendors now ship elantech touchpads with different version
    magic. This options allows for them to be tested easier with the current driver
    in order to add their magic to the whitelist later.
    
    Signed-off-by: Florian Ragwitz <rafl@xxxxxxxxxx>
    Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>

commit 225c61aad38b12924b3df5f4ef43150c0d6bae8c


Good luck :)



Follow ups