You are not logged in.

#1 2008-12-21 00:41:33

arch_nemesis
Member
Registered: 2008-12-19
Posts: 115

[SOLVED] Question about Touchpad procedure in the Wiki -- xorg.conf

Hi All.

So, I'd like to get scrolling and tapping working on my touchpad.

The "hotplugging enabled" section of the touchpad article in the wiki says this:

If you have chosen to use Xorg input hotplugging, then the next time you enter X, you will likely find that your touchpad works without any further configuration.

If it does not or you want to tweak the configuration, remove every related configuration from the xorg.conf file. Keep only the Load "synaptics" line.

So, I went to check and see what was in xorg.conf...

I have no line whatsoever that references Synaptics or a touchpad at all.  (My touchpad does work to move the mouse pointer -- I just can't tap or scroll with it, which sounds expected at this point in my build)

Can I continue on with the wiki instructions for getting my touchpad configured even though I have no "Load "synaptics"" line?

And, is it OK that I have this section even though there is no mouse attached to the system?'

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

My xorg.conf was autogenerated during nvidia driver installation, FWIW.

I just want to be sure that everything is as it should be before moving forward.  Thanks for any help!

Last edited by arch_nemesis (2008-12-21 05:18:00)

Offline

#2 2008-12-21 00:50:35

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: [SOLVED] Question about Touchpad procedure in the Wiki -- xorg.conf

Try this:  make sure you have installed xf86-input-synaptics and xf86-input-evdev, then create the file /etc/hal/fdi/policy/11-x11-synaptics.fdi and insert the following into it.

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains="Synaptics TouchPad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
    <!-- Arbitrary options can be passed to the driver using
         the input.x11_options property since xorg-server-1.5. -->
    <!-- EXAMPLE:
    -->
        <merge key="input.x11_options.AlwaysCore" type="string">true</merge>
        <merge key="input.x11_options.Protocol" type="string">auto-dev</merge>
        <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
        <merge key="input.x11_options.SHMConfig" type="string">false</merge>
        <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.BottomEdge" type="string">4200</merge>
        <merge key="input.x11_options.FingerLow" type="string">25</merge>
        <merge key="input.x11_options.FingerHigh" type="string">30</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.CornerCoasting" type="string">true</merge>
        <merge key="input.x11_options.CoastingSpeed" type="string">0.30</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">100</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.10</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">0.60</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.0020</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</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>
      </match>
      <match key="info.product" contains="AlpsPS/2 ALPS">
      </match>
      <match key="info.product" contains="appletouch">
      </match>
      <match key="info.product" contains="bcm5974">
      </match>
    </match>
  </device>
</deviceinfo>

Next, in the ServerLayout section of your /etc/X11/xorg.conf file, comment out the InputDevice lines.

Last edited by Wintervenom (2008-12-21 00:54:36)

Offline

#3 2008-12-21 05:16:54

arch_nemesis
Member
Registered: 2008-12-19
Posts: 115

Re: [SOLVED] Question about Touchpad procedure in the Wiki -- xorg.conf

Thanks for the help!

I just kept it simple, and used the merge lines from the wiki -- but it looks like you've put a bit more time than that into your config, so I'll take a closer look at it soon.  I was a little nervous about continuing on until your post, so I definitely appreciate it.  ATM I'm just trying to get the finishing touches on basic functionality.

If it's technically correct (and I don't know if it would apply in all situations) someone may want to change "Keep only the Load "synaptics" line." on the Touchpad/synaptics page of the wiki to instead read "Keep only the Load "synaptics" line, if it exists."  That would have saved this post from occurring. smile

Last edited by arch_nemesis (2008-12-21 05:18:51)

Offline

#4 2008-12-21 15:52:58

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [SOLVED] Question about Touchpad procedure in the Wiki -- xorg.conf

Someone? You're someone! Please feel free (obligated, even!) to correct any mistakes you see in the wiki!


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#5 2008-12-21 21:33:58

arch_nemesis
Member
Registered: 2008-12-19
Posts: 115

Re: [SOLVED] Question about Touchpad procedure in the Wiki -- xorg.conf

^^ LOL I almost anticipated that response. 

My concern is that I know my knowledge level isn't enough to be sure that it's *always* OK for that line to be missing.  XORG is very much still in the zone of "I hope some howto somewhere tells me what to put in there because darn if I'm going to be able to figure it out."

If it's OK for me to edit the wiki thinking it's OK but not really being sure, I'm happy to do so.  smile

Last edited by arch_nemesis (2008-12-21 22:39:23)

Offline

#6 2009-01-04 13:07:56

clarence
Member
From: fremantle.au
Registered: 2005-10-12
Posts: 294

Re: [SOLVED] Question about Touchpad procedure in the Wiki -- xorg.conf

Wintervenom :: thanks for your fdi. works brilliantly for me smile


fck art, lets dance.

Offline

Board footer

Powered by FluxBB