Page 8 of 21 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 201

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

  1. #71
    Join Date
    Jun 2009
    Beans
    8
    Distro
    Ubuntu

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

    the patch "worked" on my asus UL30A running ubunut 10.04. However, after applying the patch, tapping the touchpad with two fingers changed to button 3 (prior to patching, it was button 2). Do you know how to switch that back, or alternatively (and this could be another work-around), a useful script that would disable a mouse (ps/2 mouse prior to patching) while typing?

  2. #72
    Join Date
    Oct 2008
    Beans
    100

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

    Yes, see the last page for the reversed buttons. You can do it with your xorg.conf or synclient:
    Code:
    synclient TapButton2=2
    synclient TapButton3=3
    To disable the touchpad while typing, you can either do it from your mouse preferences, or with:
    Code:
    syndaemon -i 1 -d

  3. #73
    Join Date
    Oct 2008
    Beans
    100

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

    Sorry to double post.

    To get the touchpad hotkey to work (Fn+F9), edit /etc/acpi/asus-touchpad.sh:
    Code:
    sudo gedit /etc/acpi/asus-touchpad.sh
    On (or around) line 16 where it says Synaptics change it to this:
    Code:
    XINPUTNUM=`xinput list | grep 'ETPS/2 Elantech Touchpad' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'`
    Edit: Also make sure to xinput is installed:
    Code:
    sudo apt-get install xinput
    Here's the full script with a tweak added from Felixoid so that using syndaemon doesn't re-enable the touchpad if you have disabled it with Fn+F9. If you don't use syndaemon, just the change above is enough, and the script below will enable syndaemon if you disable and re-enable the touchpad. However, if you do use syndaemon, you can replace the entire script with this so that everything works smoothly:
    Code:
    #!/bin/sh
    [ -f /usr/share/acpi-support/state-funcs ] || exit 0 
    
    . /usr/share/acpi-support/power-funcs
    
    if (! test -x /usr/bin/xinput)
    then
    logger "Error: Please install package xinput to enable toggling of touchpad devices."
    exit 0
    fi
    
    # if this is the right behavior, then this should be moved out of acpi-support
    # to hal (or whatever is replacing hal for such events)
    getXconsole
    
    XINPUTNUM=`xinput list | grep 'ETPS/2 Elantech Touchpad' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'`
    
    [ -f /usr/share/acpi-support/state-funcs ] || exit 0
    
    # get the current state of the touchpad
    TPSTATUS=`xinput list-props $XINPUTNUM | awk '/Synaptics Off/ { print $NF }'`
    
    # if getting the status failed, exit
    test -z $TPSTATUS && exit 1
    
    if [ $TPSTATUS = 0 ]; then
       sinp=`ps -A|grep syndaemon| awk '{print$1}'`
       xinput set-int-prop $XINPUTNUM "Synaptics Off" 8 1
       kill $sinp
       if [ -e /sys/class/leds/asus::touchpad/brightness ]; then
            echo 0 > /sys/class/leds/asus::touchpad/brightness
       fi
    else
       xinput set-int-prop $XINPUTNUM "Synaptics Off" 8 0
       syndaemon -i 1 -d
       if [ -e /sys/class/leds/asus::touchpad/brightness ]; then
            echo 1 > /sys/class/leds/asus::touchpad/brightness
       fi
    fi
    Last edited by ALLurGroceries; June 21st, 2010 at 01:04 PM. Reason: added script tweak from user Felixoid

  4. #74
    Join Date
    May 2010
    Beans
    10

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

    Quote Originally Posted by benbeel View Post
    the patch "worked" on my asus UL30A running ubunut 10.04. However, after applying the patch, tapping the touchpad with two fingers changed to button 3 (prior to patching, it was button 2). Do you know how to switch that back, or alternatively (and this could be another work-around), a useful script that would disable a mouse (ps/2 mouse prior to patching) while typing?
    Patch also worked on my ul30a. However my twofingerscroll is not working any more. If I modify this with synclient it gets re-enabled but this method is not persistent after a reboot. I tried to modify this in xorg.conf but i got the feeling I am doing something wrong. This option I indicate is right but it does not affect the touchpad. Below I posted my xorg.conf. Any1 can tell me what is going wrong. Just to be clear I previously used an usb mouse in ubuntu maybe this is the cause of the interference with the touchpad settings in xorg.conf. Ubuntu lucid btw...


    Code:
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "built-ins"
    EndSection
    
    Section "Module"
        Load  "dbe"
        Load  "glx"
        Load  "dri2"
        Load  "extmod"
        Load  "dri"
        Load  "record"
    EndSection
    
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    EndSection
    
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/input/mice"
        Option        "ZAxisMapping" "4 5 6 7"
        Option        "PalmDetect" "1"
        Option        "VertTwoFingerScroll" "1"
        Option        "HorizTwoFingerScroll" "1"
    EndSection
    
    Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection
    
    Section "Device"
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
            ### [arg]: arg optional
            #Option     "NoAccel"                # [<bool>]
            #Option     "SWcursor"               # [<bool>]
            #Option     "ColorKey"               # <i>
            #Option     "CacheLines"             # <i>
            #Option     "Dac6Bit"                # [<bool>]
            #Option     "DRI"                    # [<bool>]
            #Option     "NoDDC"                  # [<bool>]
            #Option     "ShowCache"              # [<bool>]
            #Option     "XvMCSurfaces"           # <i>
            #Option     "PageFlip"               # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
    EndSection
    
    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection
    Last edited by Orcie; May 12th, 2010 at 08:25 AM.

  5. #75
    Join Date
    Oct 2008
    Beans
    100

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

    Your mouse section should have synaptics instead of mouse for the driver.

    Don't you have Mouse (or touchpad) Preferences under System->Preferences? In Debian I have a Touchpad tab with an option for Two Finger Scrolling. That's by far the easiest way.

  6. #76
    Join Date
    May 2010
    Beans
    10

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

    Quote Originally Posted by ALLurGroceries View Post
    Your mouse section should have synaptics instead of mouse for the driver.

    Don't you have Mouse (or touchpad) Preferences under System->Preferences? In Debian I have a Touchpad tab with an option for Two Finger Scrolling. That's by far the easiest way.
    I have the menu but the scrolling does not work option does not work (on or off makes no difference). It work with synclient therefore I think I am not pointing my settings in xorg.conf to the right direction however I do not know how to verify this. Changing the driver to synaptics in xorg.conf does not work (tried a reboot aswell). Is the Option "Device" "/dev/input/mice" correct?

    Next to that grep -i elantech /var/log/syslog gives:

    May 12 09:39:50 maarten-laptop kernel: [ 2.829415] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio4/input/input7
    Last edited by Orcie; May 12th, 2010 at 08:46 AM.

  7. #77
    Join Date
    Oct 2008
    Beans
    100

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

    Mine is /dev/input/mouse0 but /dev/psaux should also work. Look at your /var/log/Xorg.0.log for error messages. For starters look for lines with EE:
    Code:
    grep EE /var/log/Xorg.0.log
    As long as it works with synclient, the patches have worked, and that's all this thread is really about. Depending on your setup you will need to tweak one thing or another to get synaptics settings to persist. Good luck.

    Edit: You could try commenting out your entire mouse's inputdevice section (add a # at the beginning of each line) since it should autodetect anyway . You don't need to reboot to test if the setting will persist - just hit Ctrl+Alt+F1, log in and run sudo /etc/init.d/gdm restart
    Last edited by ALLurGroceries; May 12th, 2010 at 10:11 AM.

  8. #78
    Join Date
    May 2010
    Beans
    10

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

    ALLurGroceries many thanks for the patches aswell as the explanation to enable disable touchpad fn button. Both work excellent!

  9. #79
    Join Date
    Dec 2009
    Beans
    38
    Distro
    Ubuntu 9.10 Karmic Koala

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

    Id also like to say this also works for me now too ! Its been quite a while, but you came thru with the gold on this.

    A few things i will add and query, my "2 finger scrolling" doesnt work anymore. 2-finger-tap has the on-screen scroll icon and you move the mouse up and down to "autoscroll" but id really like to be able to move 2 fingers up and down for autoscroll.. Anyone know a setting for that ?

    If i do:
    Code:
    synclient TapButton2=2
    synclient TapButton3=3
    My tapping works, but no scrolling the way i want it, BUT if i go to system -> preferences -> Touchpad
    Theres no option for it, and it INSTANTLY removes / undoes my TapButton fix. Ideas for this ?
    Is it something i need to put into my xorg.conf file to make the settings last ?

    Im sure im just needed to fix a setting somewhere for my 2 finger auto scroll, and some way to stop it changing settings. Least i can now:

    Code:
    syndaemon -i 1 -d
    Again. Cheers heaps, and can you help this last part of my problem ?
    If i ever meet you, ill buy you a beer !
    Last edited by QuanTime; May 12th, 2010 at 12:34 PM.

  10. #80
    Join Date
    Oct 2008
    Beans
    100

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

    I think you are talking about
    Code:
    synclient VertTwoFingerScroll=1
    and maybe
    Code:
    synclient HorizTwoFingerScroll=1
    The massively annoying part is no matter if you are using xorg.conf or udev rules, the mouse preferences in Gnome overrides it. So for example if you want tapping for three fingers but not one, you have to make a shell script. With my udev rules, I have to have tapping enabled under preferences and then I disable the first mouse button tap with a script that has synclient TapButton1=0 in it.

Page 8 of 21 FirstFirst ... 67891018 ... 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
  •