LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2009, 08:16 AM   #1
Sapfeer
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Rep: Reputation: 0
synaptics driver configuration in xorg.conf file


I'm trying to configure my Synaptics touchpad via xorg.conf file, but it doesn't work... Here is my settings:
Code:
Section "InputDevice"
  Identifier  "SynPS/2 Synaptics TouchPad"
  Driver    "synaptics"
  Option    "Device" "/dev/input/event9"
  Option    "SendCoreEvents"
  Option    "Protocol"          "auto-dev"
  Option    "SHMConfig"          "true" 
  Option    "LeftEdge"          "1700"  
  Option    "RightEdge"          "5300"  
  Option    "TopEdge"          "1700"  
  Option    "BottomEdge"        "4200"  
  Option    "FingerLow"          "25"    
  Option    "FingerHigh"        "30"    
  Option    "MaxTapTime"        "180"  
  Option    "VertEdgeScroll"      "true"  
  Option    "HorizEdgeScroll"      "true"  
  Option    "CornerCoasting"      "true"  
  Option    "CoastingSpeed"      "0.30"  
  Option    "CircularScrolling"    "true"  
  Option    "CircScrollTrigger"    "8"    
  Option    "VertScrollDelta"      "100"  
  Option    "HorizScrollDelta"    "100"  
  Option    "MinSpeed"          "0.10"  
  Option    "MaxSpeed"          "0.60"  
  Option    "AccelFactor"        "0.0020"    
  Option    "VertTwoFingerScroll"  "true"  
  Option    "HorizTwoFingerScroll"  "true"  
  Option    "TapButton1"        "1"
  Option    "TapButton2"        "2"
  Option    "TapButton3"        "3"
EndSection
and here is configuration options from lshal command:
Code:
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'
  info.capabilities = {'input', 'input.touchpad'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port'  (string)
  info.product = 'SynPS/2 Synaptics TouchPad'  (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 = 'SynPS/2 Synaptics TouchPad'  (string)
  input.x11_driver = 'synaptics'  (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)
and here is output of /proc/bus/input/devices file:
Code:
I: Bus=0011 Vendor=0002 Product=0007 Version=a5b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input9
U: Uniq=
H: Handlers=mouse1 event9 
B: EV=b
B: KEY=420 70000 0 0 0 0
B: ABS=11000003
I can't find out why settings, I put in xorg.conf don't apply to synaptics driver after reboot. I can add such settings in one of the hal configuration files, but I want to know why does my present configuration doesn't work...
 
Old 12-30-2009, 01:34 PM   #2
Dave_Devnull
Member
 
Registered: May 2009
Posts: 142

Rep: Reputation: 24
Which distro is this? I had some Ubuntu issues of this nature and ended up finding that xorg.conf was empty/depreciated. AFAIR my answers came in the .hal files like you say, but I'm not sure if this was Ubuntu specific. My memory is not good but it rings a bell.
 
Old 12-30-2009, 04:21 PM   #3
ewaller
LQ Newbie
 
Registered: Jul 2006
Location: Pasadena, Ca
Distribution: Arch / Gentoo
Posts: 14

Rep: Reputation: 1
Many distros now use hal fdi files for this purpose.

On Arch and Gentoo, the fdi files live in /etc/hal/fdi/policy/

on my system, my synaptics fdi file looks like:

/etc/hal/fdi/policy/11-x11-synaptics.fdi
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>                   
<deviceinfo version="0.2">                                    
  <device>                                                    
    <match key="info.product" contains="ETPS/2 Elantech Touchpad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>                                                                      
    </match>                                                              
    <match key="info.capabilities" contains="input.touchpad">             
        <merge key="input.x11_driver" type="string">synaptics</merge>     
        <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> 
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>                                                                         
        <!-- Arbitrary options can be passed to the driver using          
             the input.x11_options property since xorg-server-1.5. -->    
        <!-- EXAMPLES:                                                    
        Switch on shared memory, enables the driver to be configured at runtime                                                                     
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>                                                                         

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>                                                                        

        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>                                                                    

        Enable vertical scrolling when dragging with two fingers anywhere on the touchpad                                                           
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>                                                               

        Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
        <merge key="input.x11_options.CircScrollTrigger" type="string">3</merge>
        <merge key="input.x11_options.LBCornerButton" type="string">2</merge>
        <merge key="input.x11_options.RBCornerButton" type="string">3</merge>
        <merge key="input.x11_options.AccelFactor" type="string">2</merge>
    </match>
  </device>
</deviceinfo>
 
Old 12-31-2009, 01:55 AM   #4
Dave_Devnull
Member
 
Registered: May 2009
Posts: 142

Rep: Reputation: 24
Quote:
Originally Posted by ewaller View Post
Many distros now use hal fdi files for this purpose.

On Arch and Gentoo, the fdi files live in /etc/hal/fdi/policy/
Now there you go - I've learned something :-)
 
Old 12-31-2009, 07:03 AM   #5
Sapfeer
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks all for your answers!

Dave_Devnull
I'm using Ubuntu Netbook Remix 9.10.

ewaller
I have .fdi file in my hal policy directory too, but I just want to want, why don't settings in xorg.conf file apply to synaptics driver.

I suppose it is just because such settings are controlled by hal and not by X server... So, anyway, I can make my stuff work in other way.

Thanks a lot for your answers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] synaptics touchpad settings in xorg.conf not persisting upon reboot adityavpratap Slackware 20 05-17-2010 07:57 PM
Set Synaptics preferences when distro has no xorg.conf mrider Linux - Hardware 10 11-01-2009 05:14 PM
Synaptics driver on Xorg 7.3 rworkman Slackware 15 04-22-2008 05:52 PM
nvidia driver configuration not possible: my xorg.conf riccisit Linux - Hardware 5 01-22-2008 05:05 PM
Xorg synaptics driver problems... pda_h4x0r Linux - Software 19 09-09-2006 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration