Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Synaptic Touchpad - editing with udev

  1. #1
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Synaptics Touchpad - WhatPulse - editing with udev

    Note: The fix can be found on page 2 of this thread.

    Hello,

    I want to install the WhatPulse client on my laptop running Ubuntu 10.04. However, there seems to be an issue with the ability to grab clicks from the touchpad, as described at http://jmrk.whatpulse.org/. The solution described there is one for 9.10 (or earlier) and as such not relevant anymore since a HAL has been dropped in favor of udev rules.

    So, after some research I came across this thread and used
    Code:
    synclient GrabEventDevice=0
    to successfully change that setting. Successfully in the sense that doing
    Code:
    synclient -l
    shows the line "GrabEventDevice = 1".

    However, when clicking the buttons of my touchpad, the clicks still aren't registered by my touchpad. So I used the udev configuration in hopes of fixing it that way. Adding the file /etc/udev/rules.d/touchpad.rules with the following contents
    Code:
    ACTION!="add|change", GOTO="touchpad_end"
    KERNEL!="event*", GOTO="touchpad_end"
    ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="touchpad_end"
    ENV{x11_options.GrabEventDevice}="0"
    LABEL="touchpad_end"
    Then I rebooted in hopes of seeing the effect, but using
    Code:
    synclient -l
    doesn't even show GrabEventDevice as being set to 0. I'm not sure what I do wrong here, I don't really have any experience with udev. The part that troubles me most is that even setting the key-value from the command line doesn't seem to effect my ability to register clicks.


    edit: may also prove useful: https://wiki.ubuntu.com/X/Config/Inp...ntu%2010.04%29
    Last edited by Wardje; June 13th, 2010 at 01:09 PM. Reason: Added link to fix on page 2

  2. #2
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Re: Synaptic Touchpad - editing with udev

    bump

  3. #3
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Re: Synaptic Touchpad - editing with udev

    Anyone?

  4. #4
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Synaptic Touchpad - editing with udev

    you are not running Ubuntu 10.04. You are running Ubuntu 10.04 beta that is ment for testing. so maybe you will find more support in some testing forums.

  5. #5
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

    Re: Synaptic Touchpad - editing with udev

    Quote Originally Posted by Wardje View Post
    Hello,

    I want to install the WhatPulse client on my laptop running Ubuntu 10.04. However, there seems to be an issue with the ability to grab clicks from the touchpad, as described at http://jmrk.whatpulse.org/. The solution described there is one for 9.10 (or earlier) and as such not relevant anymore since a HAL has been dropped in favor of udev rules.

    So, after some research I came across this thread and used
    Code:
    synclient GrabEventDevice=0
    to successfully change that setting. Successfully in the sense that doing
    Code:
    synclient -l
    shows the line "GrabEventDevice = 1".

    However, when clicking the buttons of my touchpad, the clicks still aren't registered by my touchpad. So I used the udev configuration in hopes of fixing it that way. Adding the file /etc/udev/rules.d/touchpad.rules with the following contents
    Code:
    ACTION!="add|change", GOTO="touchpad_end"
    KERNEL!="event*", GOTO="touchpad_end"
    ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="touchpad_end"
    ENV{x11_options.GrabEventDevice}="0"
    LABEL="touchpad_end"
    Then I rebooted in hopes of seeing the effect, but using
    Code:
    synclient -l
    doesn't even show GrabEventDevice as being set to 0. I'm not sure what I do wrong here, I don't really have any experience with udev. The part that troubles me most is that even setting the key-value from the command line doesn't seem to effect my ability to register clicks.


    edit: may also prove useful: https://wiki.ubuntu.com/X/Config/Inp...ntu%2010.04%29
    Have you tried:
    Code:
    ACTION!="add|change", GOTO="touchpad_end"
    KERNEL!="event*", GOTO="touchpad_end"
    ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="touchpad_end"
    ENV{x11_options.SHMConfig}="on"
    ENV{x11_options.GrabEventDevice}="0"
    LABEL="touchpad_end"
    It has been a while since I have configured synaptics, but I think that you need to have SHMConfig turned on but I could be wrong.

  6. #6
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Re: Synaptic Touchpad - editing with udev

    Nop, still doesn't seem to do the trick.

    I went into /var/log/udev to see if things got triggered. It did, but I also noticed some other events that might be relevant (might as in: I really got no clue). So I edited the udev rule to

    Code:
    ACTION!="add|change", GOTO="touchpad_end"
    ENV{DEVPATH}!="/devices/platform/i8042/serio4/input/input7*", GOTO="touchpad_end"
    ENV{x11_options.SHMConfig}="on"
    ENV{x11_options.GrabEventDevice}="0"
    LABEL="touchpad_end"
    In hopes that would cover them all, which it did, going by /var/log/udev
    Code:
    UDEV  [1273146397.853934] add      /devices/platform/i8042/serio4/input/input7 (input)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/devices/platform/i8042/serio4/input/input7
    SUBSYSTEM=input
    PRODUCT=11/2/7/12b1
    NAME="SynPS/2 Synaptics TouchPad"
    PHYS="isa0060/serio4/input0"
    EV==b
    KEY==6420 0 7000f 0 0 0 0 0 0 0 0
    ABS==11000003
    MODALIAS=input:b0011v0002p0007e12B1-e0,1,3,k100,101,102,103,110,111,112,145,14A,14D,14E,ra0,1,18,1C,mlsfw
    SEQNUM=1644
    x11_options.SHMConfig=on
    x11_options.GrabEventDevice=0
    
    UDEV  [1273146397.856284] add      /devices/platform/i8042/serio4/input/input7/mouse1 (input)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/devices/platform/i8042/serio4/input/input7/mouse1
    SUBSYSTEM=input
    DEVNAME=/dev/input/mouse1
    SEQNUM=1645
    ID_INPUT=1
    ID_INPUT_TOUCHPAD=1
    ID_SERIAL=noserial
    ID_PATH=platform-i8042-serio-4
    x11_options.SHMConfig=on
    x11_options.GrabEventDevice=0
    MAJOR=13
    MINOR=33
    DEVLINKS=/dev/char/13:33 /dev/input/by-path/platform-i8042-serio-4-mouse
    
    UDEV  [1273146397.856702] add      /devices/platform/i8042/serio4/input/input7/event7 (input)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/devices/platform/i8042/serio4/input/input7/event7
    SUBSYSTEM=input
    DEVNAME=/dev/input/event7
    SEQNUM=1646
    ID_INPUT=1
    ID_INPUT_TOUCHPAD=1
    ID_SERIAL=noserial
    ID_PATH=platform-i8042-serio-4
    DMI_VENDOR=Acer, inc.
    x11_options.SHMConfig=on
    x11_options.GrabEventDevice=0
    MAJOR=13
    MINOR=71
    DEVLINKS=/dev/char/13:71 /dev/input/by-path/platform-i8042-serio-4-event-mouse
    However, the WhatPulse program still doesn't seem to notice any clicks I make.

  7. #7
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Re: Synaptic Touchpad - editing with udev

    Anyone got a clue? :O

  8. #8
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

    Re: Synaptic Touchpad - editing with udev

    It looks like it is missing:
    Code:
    ENV{x11_driver}="synaptics"

  9. #9
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Re: Synaptic Touchpad - editing with udev

    Quote Originally Posted by Ayuthia View Post
    It looks like it is missing:
    Code:
    ENV{x11_driver}="synaptics"
    Sadly enough, that also didn't do the trick

  10. #10
    Join Date
    Oct 2007
    Location
    Brussels, Belgium
    Beans
    81
    Distro
    Xubuntu

    Re: Synaptic Touchpad - editing with udev

    Bump

Page 1 of 2 12 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
  •