Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Delay the touchpad tap while typing

  1. #1
    Join Date
    Mar 2007
    Beans
    191

    Delay the touchpad tap while typing

    laptop: Dell Inspiron 11z with xubuntu 9.10
    My touchpad works, but I try to delay or disable the touchpad tap while I type.
    when I type: syndaemon -t
    I see
    Code:
    'unable to find a synaptics device'.
    when I type gsynaptics
    I see:
    Code:
    GSynaptics couldn't initialize.
    You have to set 'SHMConfig' 'true' in xorg.conf or XF86Config to use GSynaptics
    touchfreeze application is not working as well.

    I had no entry for touchpad in xorg and someone told me to add 2 sections there and to add this line: Option "SHMConfig" "true".
    I did it but it didn't help.
    I read here that adding /etc/hal/fdi/policy/shmconfig.fdi with some xml stuff will help but it didn't do anything.
    Here is the shmconfig.dfi:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
      <device>
        <match key="input.x11_driver" string="synaptics">
          <merge key="input.x11_options.SHMConfig" type="string">on</merge>
        </match>
      </device>
    </deviceinfo>
    Here is my xorg.conf (the last 2 sections are the ones I added):
    Code:
    Section "Device"
            Identifier "Configured Video Device"
    EndSection
    
    Section "Monitor"
            Identifier "Configured Monitor"
    EndSection
    
    Section "Screen"
            Identifier "Default Screen"
            Monitor "Configured Monitor"
            Device "Configured Video Device"
    EndSection
    
    Section "InputDevice"
            Identifier "Synaptics Touchpad"
            Driver "synaptics"
            Option "SendCoreEvents" "true"
            Option "Device" "/dev/psaux"
            Option "Protocol" "auto-dev"
            Option "HorizScrollDelta" "0"
            Option "SHMConfig" "true"
    EndSection
    
    Section "ServerLayout"
            Identifier "Layout0"
            InputDevice "Synaptics Touchpad" "Core Pointer"
            Screen "Default Screen"
    EndSection
    Is my xorg.conf ok?

    I also see this issue mentioned on launchpad-
    https://bugs.launchpad.net/ubuntu/+s...cs/+bug/132627
    Last edited by orengolan; December 7th, 2009 at 05:37 AM.

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

    Re: Delay the touchpad tap while typing

    ubuntu 9.10 x64
    Same problem.. I have a Asus K70IC series mantop (mantop is a 17" or bigger laptop.. anyways..)

    Code:
    quantime@allenkey:~$ tpconfig
    Could not open PS/2 Port [/dev/psaux].
    Code:
    quantime@allenkey:~$ syndaemon 
    Unable to find a synaptics device.
    Code:
    Section "Screen"
        Identifier    "Default Screen"
        DefaultDepth    24
    EndSection
    
    Section "Module"
        Load    "glx"
        Load    "synaptics"
    EndSection
    
    Section "Device"
        Identifier    "Default Device"
        Driver    "nvidia"
        Option    "NoLogo"    "True"
    EndSection
    
    Section "InputDevice"
        Identifier     "Configured Mouse"
        #Driver         "mouse"
        #Option         "CorePointer"
        #Option         "Device" "/dev/input/mice"
        #Option         "Protocol" "ExplorerPS/2"
        #Option         "ZAxisMapping" "4 5"
        #Option         "Emulate3Buttons" "false"
    
        Driver      "synaptics"
       Option       "CorePointer"
       Option       "Device"        "/dev/psaux"
       Option       "Protocol"      "auto-dev"
       Option       "LeftEdge"      "1700"
       Option       "RightEdge"     "5300"
       Option       "TopEdge"       "1700"
       Option       "BottomEdge"    "4200"
       Option       "FingerLow"     "25"
       Option       "FingerHigh"    "30"
       Option       "MaxTapTime"    "180"
       Option       "MaxTapMove"    "220"
       Option       "VertScrollDelta" "100"
       Option       "MinSpeed"      "0.06"
       Option       "MaxSpeed"      "0.12"
       Option       "AccelFactor" "0.0010"
       Option       "SHMConfig"     "on"
    EndSection
    Code:
    quantime@allenkey:~$ xinput list
    "Virtual core pointer"    id=0    [XPointer]
        Num_buttons is 32
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
            Min_value is -1
            Max_value is -1
            Resolution is 0
        Axis 1 :
            Min_value is -1
            Max_value is -1
            Resolution is 0
    "Virtual core keyboard"    id=1    [XKeyboard]
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Power Button"    id=2    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Sleep Button"    id=3    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Asus Laptop extra buttons"    id=4    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Video Bus"    id=5    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Power Button"    id=6    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "ImPS/2 Logitech Wheel Mouse"    id=7    [XExtensionPointer]
        Type is MOUSE
        Num_buttons is 7
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
        Axis 1 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
    "AT Translated Set 2 keyboard"    id=8    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "CNF7129"    id=9    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Macintosh mouse button emulation"    id=10    [XExtensionPointer]
        Type is MOUSE
        Num_buttons is 5
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
        Axis 1 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
    Thats as far as i can get now.. Whats your outputs like ? Maybe i need to change my input device to reflect what xinput is reporting ?

  3. #3
    Join Date
    Mar 2007
    Beans
    191

    Re: Delay the touchpad tap while typing

    xinput list
    Code:
    "Virtual core pointer"	id=0	[XPointer]
    	Num_buttons is 32
    	Num_axes is 2
    	Mode is Relative
    	Motion_buffer is 256
    	Axis 0 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 0
    	Axis 1 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 0
    "Virtual core keyboard"	id=1	[XKeyboard]
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "ImPS/2 Logitech Wheel Mouse"	id=2	[XExtensionPointer]
    	Type is MOUSE
    	Num_buttons is 7
    	Num_axes is 2
    	Mode is Relative
    	Motion_buffer is 256
    	Axis 0 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    	Axis 1 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    "Dell WMI hotkeys"	id=3	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "AT Translated Set 2 keyboard"	id=4	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "Integrated Webcam"	id=5	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "Power Button"	id=6	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "Video Bus"	id=7	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "Power Button"	id=8	[XExtensionKeyboard]
    	Type is KEYBOARD
    	Num_keys is 248
    	Min_keycode is 8
    	Max_keycode is 255
    "Macintosh mouse button emulation"	id=9	[XExtensionPointer]
    	Type is MOUSE
    	Num_buttons is 5
    	Num_axes is 2
    	Mode is Relative
    	Motion_buffer is 256
    	Axis 0 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    	Axis 1 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    "Dynex Wired Optical Mouse"	id=10	[XExtensionPointer]
    	Type is MOUSE
    	Num_buttons is 13
    	Num_axes is 2
    	Mode is Relative
    	Motion_buffer is 256
    	Axis 0 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1
    	Axis 1 :
    		Min_value is -1
    		Max_value is -1
    		Resolution is 1

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

    Re: Delay the touchpad tap while typing

    i see your device at ID 9 is the same as my ID 10 device.
    Maybe this is the clue ? Not sure about it being 5 button though.

    -----
    EDIT
    -----
    lshal > list.txt
    These are the only things relating to mouse inputs. I read somewhere it should be identified as a synaptic device.. Ideas or fixes ?

    Code:
    udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'
      info.capabilities = {'input', 'input.mouse'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port'  (string)
      info.product = 'ImPS/2 Logitech Wheel Mouse'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'  (string)
      input.device = '/dev/input/event9'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port'  (string)
      input.product = 'ImPS/2 Logitech Wheel Mouse'  (string)
      input.x11_driver = 'evdev'  (string)
      linux.device_file = '/dev/input/event9'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/platform/i8042/serio4/input/input9/event9'  (string)
    
    udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'
      info.capabilities = {'input', 'input.mouse'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
      info.product = 'Macintosh mouse button emulation'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'  (string)
      input.device = '/dev/input/event4'  (string)
      input.product = 'Macintosh mouse button emulation'  (string)
      input.x11_driver = 'evdev'  (string)
      linux.device_file = '/dev/input/event4'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/virtual/input/input4/event4'  (string)
    Last edited by QuanTime; December 7th, 2009 at 08:16 AM.

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

    Re: Delay the touchpad tap while typing

    bump for help. i still cant solve this. I use gnome ubuntu.. but it seems its relevant to kbuntu too.

  6. #6
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Delay the touchpad tap while typing

    touchfreeze in synaptic will delay the touchpad and a little more.

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

    Re: Delay the touchpad tap while typing

    when you say that, how do you mean touchfreeze ? i DONT have synaptic registering my touchpad.. Far as i can guess, its ps2 mouse.
    In System -> Preferences -> Touchpad.

    When i click it, i get

    GSynaptics couldn't initialize.
    You have to set 'SHMConfig' 'true' in xorg.conf or XF86Config to use GSynaptics

    Ive enabled SHMConfig and tried all sorts of solutions, but my touchpad just wont recognise for some reason.. It works, but i cant alter anything..

    Ideas ?

  8. #8
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Delay the touchpad tap while typing

    touchfreeze is a program in synaptic go system-administration-synaptic package manager.

  9. #9
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: Delay the touchpad tap while typing

    Is it a real Synaptics pad, then? If not, chances are the synaptics driver won't work for you - and as you listed it's recognized as a normal PS/2 mouse.

    It's technically possible to modify the synaptics driver to make it accept a different pad as a "real" Synaptics pad (as patsissions did in this thread), but there's *no* guarantee it will work. Much like you can't really use ATI drivers with an Nvidia card.

    I'm not sure if ALPS pads work with the Synaptics driver, but at least Sentelic pads need drivers of their own.

    If yours is indeed a Synaptics pad and it's just not being recognized as one, the driver will have to be updated to include its device ID. That's a legitimate bug and should be filed against the driver package xserver-xorg-input-synaptics (or directly upstream).
    ...

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

    Re: Delay the touchpad tap while typing

    Its fairly obvious now that its NOT a synaptics device.. Any way to identify what it is and get some use out of it ? its starting to drive me b@tsh!t crazy...

    Code:
    quantime@allenkey:~$ touchfreeze 
    SynDaemon::SynDaemon 
    
    set daemon true 
    set pad true 
    using typing delay of 500 ms 
    "/usr/bin/synclient" 
    initial state is TouchpadOff= 0 
    Segmentation fault
    quantime@allenkey:~$

Page 1 of 3 123 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
  •