Page 5 of 21 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 201

Thread: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

  1. #41
    Join Date
    Dec 2009
    Beans
    38
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    tried pi/roman's suggestion, couldnt get it to work the way i wanted.. Forgot to post.. Sorry about that.

    @orengolan
    All those links dont work for me.. And im not surprised 10.04 doesnt have any fixes for this issue. Theres lots of other "important" stuff which goes on. Wish they fully supported some of the common hardware tho, would be nice.

    Guess ill keep waiting and complaining.

  2. #42
    Join Date
    Oct 2008
    Beans
    100

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    See comment 24 for a patchset: https://bugs.launchpad.net/ubuntu/+s...ux/+bug/512192

    I also submitted a quick and dirty patch for this in comment 25, but it's not as nice as the patchset in comment 24.

    This should fix the issue. Good luck.

    P.S. I also posted about this here: http://forum.notebookreview.com/showthread.php?t=478755

    Edit:

    Quote Originally Posted by pi/roman View Post
    I'm still not sure what the leds_asus_touchpad device is exactly.
    It's for the ASUS G50 and others(?) that have electroluminescent lighting around the touchpad. It gets false positives on a lot of machines that don't have this feature like my G51J. Note that this is NOT the same as the touchpad lights on some U series notebooks. It's for a single light that is on the border of the touchpad, not lights that are actually on the touchpad itself.
    Last edited by ALLurGroceries; April 25th, 2010 at 04:55 PM. Reason: add bit about leds

  3. #43
    Join Date
    Dec 2009
    Beans
    38
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    id love to install it and give it a go, if only i knew how.

    Point me in the direction of a guide / tutorial ? Not much experience on this sort of patching. Cheers for the work tho !! hugely appreciated !

  4. #44
    Join Date
    Oct 2008
    Beans
    100

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    UPDATE: This patch set (3/4 of it at least) has been included in 2.6.34-rc7
    To find out your kernel version, run: uname -r
    If you are running 2.6.34-rc7 or later, create /etc/modprobe.d/psmouse.conf and add the line: options psmouse force_elantech=1
    DO NOT do the above if you are running an older kernel than 2.6.34! Proceed directly below to Step 1.

    Step 1
    IMPORTANT: BACK UP THE EXISTING MODULE FIRST! You can revert to the .backup copy if things go wrong.
    Code:
    sudo cp /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko.backup
    DO NOT run the above command twice. You may lose your good backup copy of the module; to restore the backup see 'IF SOMETHING GOES WRONG' at the bottom of this post.

    Note: I modified this post to work for stock kernels. If you're running a custom kernel that you built from source, you don't need to go through all of this. Instead, cd to your source directory, make sure the elantech option is on in your .config (step 4), apply the patches (step 5) and make drivers/input/mouse/psmouse.ko then insmod it (step 7) to see if it works. You can continue to step 8 if you want to make the change permanent.

    Step 2
    Get the kernel source and headers for your installed kernel along with some prerequisites:
    Code:
    sudo apt-get install linux-source linux-headers-`uname -r` build-essential libncurses5 libncurses5-dev kernel-package fakeroot
    (Note: You don't need kernel-package or fakeroot for this, but if you want to build your entire kernel after this for a separate reason, you will have everything you need.)

    If you get a warning saying linux-source is a virtual package, install the specific source package for your installed kernel, such as linux-source-2.6.31, linux-source-2.6.32, linux-source-2.6.33, etc. To find out what kernel version you are running, run uname -r.

    Step 3
    Now extract the kernel sources to a folder named src in your home directory, where VERSION is the version of your kernel sources. If you aren't sure, just do a ls /usr/src/linux-source*.bz2 to find it:
    Code:
    mkdir ~/src
    cd ~/src
    tar jxvf /usr/src/linux-source-VERSION.tar.bz2
    cd linux-source-VERSION
    Then copy your config file in and make oldconfig:
    Code:
    cp /boot/config-`uname -r` .config
    make oldconfig
    Step 4
    Make sure that the elantech option is on:
    Code:
    grep -i elantech .config
    It should return this if it is set:
    CONFIG_MOUSE_PS2_ELANTECH=y

    If it is not set it will return:
    # CONFIG_MOUSE_PS2_ELANTECH is not set

    If the elantech option is not set, run make menuconfig and navigate to Device Drivers->Input device support->Mice and press space on the Elantech PS/2 protocol extension so that it has an asterisk like this:[*]. Then press the right arrow and enter repeatedly to back out of the menus, and then answer YES to save your config.

    Step 5
    Get and apply the patches:
    Code:
    wget -O elantechpatch1 https://patchwork.kernel.org/patch/94862/raw/
    wget -O elantechpatch2 https://patchwork.kernel.org/patch/94863/raw/
    wget -O elantechpatch3 https://patchwork.kernel.org/patch/94861/raw/
    wget -O elantechpatch4 https://patchwork.kernel.org/patch/94864/raw/
    patch -p1 < elantechpatch1
    patch -p1 < elantechpatch2
    patch -p1 < elantechpatch3
    patch -p1 < elantechpatch4
    Step 5.5 - DELL MINI ONLY
    For the Dell Mini (not sure about others), you will need to force version 2 by editing drivers/input/mouse/elantech.c after applying the original 4 patches, go to line 675 and remove these two lines:
    Code:
    if ((etd->fw_version_maj == 0x02 && etd->fw_version_min >= 0x30) ||
                                               etd->fw_version_maj > 0x02) {
    ...and replace them with with this line:
    Code:
    if (1) {
    Reference: https://bugs.launchpad.net/ubuntu/+s...92/comments/43

    Step 6
    Next, build the module:
    Code:
    make -C /usr/src/linux-headers-`uname -r` SUBDIRS=`pwd` drivers/input/mouse/psmouse.ko
    Step 7
    Try the new module to see if it works:
    Code:
    sudo modprobe -r psmouse
    sudo insmod drivers/input/mouse/psmouse.ko
    If it doesn't work, DO NOT continue to step 8. You can reload the psmouse module and your touchpad will function again:
    Code:
    sudo modprobe -r psmouse
    sudo modprobe psmouse
    There are no permanent changes to your system until step 8 below.

    Step 8
    Note: This step will make a persistent change to your system.

    If the patched module worked, you can move it into its place in /lib/modules/ if you want to keep using it:
    Code:
    sudo cp drivers/input/mouse/psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko
    It'd be a good idea to try this copy of the module to make sure it works:
    Code:
    sudo modprobe -r psmouse
    sudo modprobe psmouse
    IF SOMETHING GOES WRONG
    If for some reason your touchpad will not work after following these directions, move the backup back into place and you should be fine:
    Code:
    sudo cp /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko.backup /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko
    sudo modprobe -r psmouse
    sudo modprobe psmouse
    IF IT WORKED
    For ASUS machines, see page 8 for details on switching the tap buttons and a tweak to get Fn+F9 to work to toggle the touchpad on/off.

    For the Dell Mini 10, or machines which have integrated buttons (if you press down on the touchpad surface to click), you may want to set AreaBottomEdge to 600 via xorg.conf, a udev rule, or synclient (see below). This will prevent the problem described here by disabling a lower border of the touchpad area. The value can be adjusted up or down to find the optimal setting. If this breaks things just set it back to 0.
    Code:
    synclient AreaBottomEdge=600
    Similarly, AreaLeftEdge or AreaRightEdge (depending on orientation) can be set to disable the left or right hand border, if desired. A suggested starting value is 50:
    Code:
    synclient AreaLeftEdge=50
    References

    Bug reports:
    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/512192
    https://bugs.launchpad.net/ubuntu/+bug/418282

    Original patches (only apply to 2.6.34-rc6 or earlier):
    https://patchwork.kernel.org/patch/94862/
    https://patchwork.kernel.org/patch/94863/
    https://patchwork.kernel.org/patch/94861/
    https://patchwork.kernel.org/patch/94864/

    Linus' 2.6.34-rc7 LKML post with the accepted patches:
    http://lkml.org/lkml/2010/5/9/179
    Last edited by ALLurGroceries; September 29th, 2010 at 05:08 PM. Reason: change AreaBottomEdge value on advice from Dell Mini owner vesayth

  5. #45
    Join Date
    Jul 2008
    Beans
    135
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    These instructions didn't work for me and now my touchpad doesn't work at all.

    When executing the last instruction, I get:
    Code:
    tyson@tyson-netbook:~/src/linux-source-2.6.31$ sudo modprobe psmouse
    FATAL: Error inserting psmouse (/lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko): Invalid module format
    Why didn't it work?

    (It case this information is important, I have a custom wifi driver that I installed from here via the "Karmic (9.10) - New Method".)

  6. #46
    Join Date
    Oct 2008
    Beans
    100

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    Quote Originally Posted by Bender2k14 View Post
    These instructions didn't work for me and now my touchpad doesn't work at all.

    When executing the last instruction, I get:
    Code:
    tyson@tyson-netbook:~/src/linux-source-2.6.31$ sudo modprobe psmouse
    FATAL: Error inserting psmouse (/lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko): Invalid module format
    Why didn't it work?

    (It case this information is important, I have a custom wifi driver that I installed from here via the "Karmic (9.10) - New Method".)
    Just use the last part I posted to restore the backup module to its place... then your touchpad will work like it did. Here again:

    Undo information
    Code:
    sudo cp /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko.backup /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko
    sudo modprobe -r psmouse
    sudo modprobe psmouse
    Edit: I broke up step 4 into more steps so that you test the module before installing it, etc...
    Last edited by ALLurGroceries; April 26th, 2010 at 06:23 PM.

  7. #47
    Join Date
    Jul 2008
    Beans
    135
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    Crap...

    When your commands didn't work for me the first time, I tried them again without thinking what I was executing...so I lost my backup

  8. #48
    Join Date
    Oct 2008
    Beans
    100

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    Quote Originally Posted by Bender2k14 View Post
    Crap...

    When your commands didn't work for me the first time, I tried them again without thinking what I was executing...so I lost my backup
    Uhg. In that case I'm going to heavily modify my previous post to prevent that.

    To get the original module back on your system you're going to have to do:
    Code:
    wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.31-20-generic_2.6.31-20.58_amd64.deb
    dpkg --fsys-tarfile linux-image-2.6.31-20-generic_2.6.31-20.58_amd64.deb | tar -xf - ./lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko
    sudo install -m755 lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko /lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko
    sudo modprobe -r psmouse
    sudo modprobe psmouse
    Edit: I'm assuming you're runing 64 bit, if not, download this deb instead: http://security.ubuntu.com/ubuntu/po...20.58_i386.deb

    In a nutshell that's download the deb, extract the module from it, move it back, and reload the module.
    Last edited by ALLurGroceries; April 26th, 2010 at 06:53 PM.

  9. #49
    Join Date
    Jul 2008
    Beans
    135
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    I tried your newest commands (with i386 replacing amd64 since I have a 32 bit system) and I still get the same module format error when executing the last command.

  10. #50
    Join Date
    Oct 2008
    Beans
    100

    Re: Elantech touchpad improperly recognized as “ImPS/2 Logitech Wheel Mouse”

    Quote Originally Posted by Bender2k14 View Post
    I tried your newest commands (with i386 replacing amd64 since I have a 32 bit system) and I still get the same module format error when executing the last command.
    Are you sure you're replacing it in both places?

    Code:
    wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.31-20-generic_2.6.31-20.58_i386.deb
    dpkg --fsys-tarfile linux-image-2.6.31-20-generic_2.6.31-20.58_i386.deb| tar -xf - ./lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko
    sudo install -m755 lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko /lib/modules/2.6.31-20-generic/kernel/drivers/input/mouse/psmouse.ko
    sudo modprobe -r psmouse
    sudo modprobe psmouse

Page 5 of 21 FirstFirst ... 3456715 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •