You are not logged in.

#1 2010-03-06 13:12:42

noMaster
Member
Registered: 2009-07-05
Posts: 70

Touchpad don't turn off when I plug in a mouse

My problem is touchpad config. I read a lot about hal and xorg.conf but really dont know how set touchpad auto off when I plug a mouse. There are my '11-x11-synaptics' and 'xorg.conf'

<?xml version="1.0" encoding="UTF-8"?>
 <deviceinfo version="0.2">
  <device>

   <!-- Type -->
   <match key="info.product" contains="Synaptics TouchPad">
      <merge key="input.x11_driver" type="string">synaptics</merge>

      <!-- Enable -->
      <merge key="input.x11_options.TouchpadOff" type="string">0</merge>

      <!-- Run-time Configuration Allow -->
      <merge key="input.x11_options.SHMConfig" type="string">on</merge>

      <!-- Edge Limits -->
      <merge key="input.x11_options.LeftEdge" type="string">1700</merge>
      <merge key="input.x11_options.RightEdge" type="string">5300</merge>
      <merge key="input.x11_options.TopEdge" type="string">1700</merge>
      <merge key="input.x11_options.ButtonEdge" type="string">4200</merge>

      <!-- Speed -->
      <merge key="input.x11_options.MinSpeed" type="string">0.10</merge>
      <merge key="input.x11_options.MaxSpeed" type="string">0.70</merge>
      <merge key="input.x11_options.AccelFactor" type="string">0.2500</merge>

      <!-- Pressure -->
      <merge key="input.x11_options.FingerLow" type="string">25</merge>
      <merge key="input.x11_options.FingerHigh" type="string">30</merge>

      <!-- Tapping -->
      <!-- Disable -->
      <merge key="input.x11_options.MaxTapTime" type="string">0</merge>

      <!-- Buttons (number of fingers) -->
      <merge key="input.x11_options.TapButton1" type="string">1</merge>
      <merge key="input.x11_options.TapButton2" type="string">2</merge>
      <merge key="input.x11_options.TapButton3" type="string">3</merge>

      <!-- Tap Dragging -->
      <merge key="input.x11_options.LockedDrags" type="string">0</merge>
      <merge key="input.x11_options.LockedDragTimeout" type="string">5000</merge>

      <!-- Scrolling -->
      <!-- Vertical (Right Edge)-->
      <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
      <merge key="input.x11_options.VerteScrollDelta" type="string">100</merge>
      <!-- Horizontal (Bottom Edge)-->
      <merge key="input.x11_options.HorizEdgeScroll" type="string">false</merge>
      <merge key="input.x11_options.HorizScrollDelta" type="string">1</merge>
      <!-- Circular Scrolling -->
      <merge key="input.x11_options.CircularScrolling" type="string">false</merge>
      <merge key="input.x11_options.CircScrollDelta" type="string">0.1</merge>
      <merge key="input.x11_options.CircScrollTrigger" type="string">0</merge>
      <merge key="input.x11_options.CircScrollTrigger" type="string">0</merge>
      <!-- Two Finger -->
      <merge key="input.x11_options.VertTwoFingerScroll" type="string">false</merge>
      <merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</merge>
      <!-- Corner Coasting -->
      <merge key="input.x11_options.CornerCoasting" type="string">false</merge>
      <merge key="input.x11_options.CoastingSpeed" type="string">0</merge>
      <!-- Multi-function Buttons -->
      <merge key="input.x11_options.ClickFinger1" type="string">1</merge>
      <merge key="input.x11_options.ClickFinger2" type="string">1</merge>
      <merge key="input.x11_options.ClickFinger3" type="string">1</merge>

      <!-- Emulations -->
      <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">120</merge>
      <merge key="input.x11_options.EmulateTwoFingerMinW" type="string">7</merge>

      <merge key="input.x11_options.FastTaps" type="string">1</merge> 
   </match>
 </device>
</deviceinfo>
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
  Option "DontZap"    "false"
  Option "off time" "1"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
      FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
        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"
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>]
        Option "AccelMethod" "exa"           #new
        Option "MigrationHeuristic" "greedy" #new
        #Option "XvMC" "true"
    Option "EnablePageFlip" "off"
        Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GME Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Monitor"
  Identifier "Monitor0"
  VendorName "ASUS"
  ModelName  "eeePC 1000he"
  Modeline   "1024x600" 48.86 1024 1064 1168 1312 600 601 604 622 -Hsync +Vsync
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
        DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes  "1024x600" "1024x768" "1280x1024" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes  "1024x600" "1024x768" "1280x1024" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes  "1024x600" "1024x768" "1280x1024" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes  "1024x600" "1024x768" "1280x1024" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes  "1024x600" "1024x768" "1280x1024" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes  "1280x1024" "1024x600" "1024x768" "1280x1024" "800x600" "640x480"
        Virtual 1280 1024 #Set to resolution of CRT/External
        EndSubSection
EndSection

Offline

#2 2010-03-06 13:47:47

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Touchpad don't turn off when I plug in a mouse

you need to add a udev rule, but as of late, a rule that used to work for me doesnt work anymore. so i guess its pointless to post it.

i havent had time to look into the issue.

Offline

#3 2010-03-06 19:12:01

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Touchpad don't turn off when I plug in a mouse

This is the rule I think eldragon is talking about:

http://wiki.archlinux.org/index.php/Syn … _detection

if it is, it doesn't work for me anymore either.  Not sure why.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#4 2010-03-07 02:25:12

noMaster
Member
Registered: 2009-07-05
Posts: 70

Re: Touchpad don't turn off when I plug in a mouse

Gen2ly wrote:

This is the rule I think eldragon is talking about:

http://wiki.archlinux.org/index.php/Syn … _detection

if it is, it doesn't work for me anymore either.  Not sure why.

I did it before posted there. Any ideas?

Offline

#5 2010-03-07 15:52:23

noMaster
Member
Registered: 2009-07-05
Posts: 70

Re: Touchpad don't turn off when I plug in a mouse

eldragon wrote:

you need to add a udev rule, but as of late, a rule that used to work for me doesnt work anymore. so i guess its pointless to post it.

i havent had time to look into the issue.

Could you show me you xorg.conf and 11-x11-synaptics.fdi, say kernel version?

Offline

Board footer

Powered by FluxBB