LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-28-2009, 02:59 AM   #1
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Rep: Reputation: 32
synaptics touchpad settings in xorg.conf not persisting upon reboot


Hi,
I have installed Slackware 13.0 over my Slackware 12.2 install. ATI drivers do not work. Not that it is a problem, radeon works. I have observed that xorg.conf was missing in /etc/X11. Instead I had xorg.conf-vesa,instead. /var/log/Xorg.0.log shows that the "built-in" settings were being used. But every thing was working fine, except synaptics touchpad. So I copied xorg.conf-vesa to xorg.conf in /etc/X11 and made the usual changes to it, in the "Modules", "InputDevice" and "SeverLayout" section, killed X and restarted it.
However, Vertical Scrolling was not functioning, neither were left click or right click taps. I had to do -
$synclient VertEdgeScroll=1
$synclient TapButton1=1
to get the missing functionality. But middle mouse click button which is usually mapped to Right hand top corner of the touchpad, was still missing.
However each time I reboot, the touchpad again looses its functionality.
Any suggestions?
Thanking in advance,
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-28-2009, 03:10 AM   #2
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
In Slackware 13.0 this type of configuration has changed.
You most likely do not need any xorg.conf file.
Input stuff is now handled by hal, to edit these settings first copy over /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi to /etc/hal/fdi/policy
Then take a look at that file, it's fairly obvious if you follow the examples.
 
2 members found this post helpful.
Old 09-28-2009, 09:34 AM   #3
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
Ok!

I copied the file to /etc/hal/fdi/policy/ but it is not having any effect. I did
# /etc/rc.d/hald restart
but it did not have any effect. I even rebooted without any effect.
Where am I going wrong?
 
Old 09-28-2009, 10:10 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hello adityavpratap,

did you make any changes in the 11-x11-synaptics.fdi file? I have an Asus laptop and the configuration of the touchpad works very well for me. If youre not sure about changing the file, please post it here.

Also be aware that your kernel has to support the touchpad of your laptop. There are many special modules available in the kernelsources to support different laptops.

Markus
 
Old 09-28-2009, 10:48 AM   #5
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
Thanks for the prompt reply. I am using the default kernel that comes along with Slackware 13 - 2.6.29.6-smp.and I think it supports my touchpad as it is working, but with reduced functionality. I have made changes to the default .fdi file. Here is the file -
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.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. -->
<!-- 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.VertEdgeScroll" 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>

Enable left click
<merge key="input.x11_options.TapButton1" 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
-->
</match>
</device>
</deviceinfo>

What I feel is the .fdi file is not being read.
 
Old 09-28-2009, 11:15 AM   #6
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
Ok, I got it now.

The changes that I had made were in the Examples block (I suppose that qualifies me as the dumbest poster on this forum :-) ). Here is what I did, I changed the name of the file from 10-x11-synaptics.fdi to 99-x11-synaptics.fdi and changed the file as follows -

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.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. -->
<!-- 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.VertEdgeScroll" 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>

Enable left click
<merge key="input.x11_options.TapButton1" type="string">1</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.SHMConfig" type="string">true</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>

</match>
</device>
</deviceinfo>

The changes are in italics.

After this I unloaded and reloaded psmouse. And it worked!

Last edited by adityavpratap; 09-28-2009 at 11:17 AM.
 
2 members found this post helpful.
Old 09-28-2009, 12:34 PM   #7
jowski
LQ Newbie
 
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
You two are amazing!!! I just had a similar problem before google sent me here and it was thw quickest fix I've ever had. Thanks for making my life a whole lot easier today.

Jim
 
Old 09-28-2009, 02:20 PM   #8
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 292

Rep: Reputation: 75
Thanks for the information. The touchpad now works the way it did in Slackware 12.2. Unfortunately, after a few minutes of using it I started to hate the tap click functionality along with the sidebar scrolling feature. It kept on getting in my way. So, I disabled it again.
 
Old 10-03-2009, 07:41 AM   #9
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Slackware, Mepis LiveCD
Posts: 146

Rep: Reputation: 15
Thanks for the very useful information guys. I have just installed Slack 13.0 for testing purposes on my laptop and discovered that unlike versions 12.0 - 12.2 where the Synaptics touchpad worked fine, some functionality (e.g tap to click) was missing in 13.0.
 
Old 10-03-2009, 10:47 AM   #10
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 159

Rep: Reputation: 21
Quote:
Originally Posted by adityavpratap View Post
Ok, I got it now.

The changes that I had made were in the Examples block (I suppose that qualifies me as the dumbest poster on this forum :-) ). Here is what I did, I changed the name of the file from 10-x11-synaptics.fdi to 99-x11-synaptics.fdi and changed the file as follows -




The changes are in italics.

After this I unloaded and reloaded psmouse. And it worked!
Well, I'm right there with you because I did exactly the same thing several weeks ago when I was getting the touchpad working as I wanted. Took me an age to realize the entire thing was a comment block. 8^)
 
Old 11-25-2009, 08:06 PM   #11
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Great thread ! worked for me!
 
Old 12-19-2009, 12:22 AM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
FWIW, the reason for the Tap-to-click behavior change was an upstream change (and one which I happen to *strongly* agree with).
In recent build of xf86-input-synaptics, if a touchpad has *real* buttons associated with it, tap-to-click is disabled by default in the driver.
 
Old 12-19-2009, 12:25 PM   #13
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
@rworkman

Yes I can see the logic/argument to go that route.

For my needs, on my little netbooks, my buttons are on the 'side' of the touchpad, and their not the best buttons in the world. They're very hard to press and are tiny so for me the touch to click is a must.

Yet, my wife hates it, she always hits/clicks with here palms as she's typing. So yea, I can see the issue/argument here at my place for both sides of the issue.
 
Old 01-01-2010, 10:47 AM   #14
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Rep: Reputation: 92
Hi all,

I have followed this thread with some interest as I decided to treat myself to a new laptop from PCWorld, (where I managed to negotiate a refund for the Windows 7 software, but that's a story for another day).

Anyway, sorry to digress. As I said, have been following this as I too have problems with my touchpad. Specifically with vertical scrolling not operating. I have tried the 11-x11-synaptics.fdi modification, and that kills my touchpad entirely. I have also tried modifying xorg.conf (needed for the ATI 4200HD graphics card) to include the mouse settings, but for some reason, the part of xorg.conf doesn't seem to get read. So at the moment, I am running without vertical scrolling which is a PITA quite frankly.

Now I do know its possible for it to work, as it works under Knoppix, and Suse Live. So I copied their xorg.conf files to slack just to try it out and guess what? no touchpad again. Now removing what's left of my rapidly diminishing hair, so all suggestions gratefully received.

TIA
 
Old 01-02-2010, 06:28 PM   #15
butzi
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
Synaptics

Thanks lads! Editing the 1-x11-synaptics.fdi file worked like a charm for me. Thank you again!
 
  


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
Dell Inspiron 1520 Synaptics touchpad not working in Xorg/X11 elliottcable Linux - Hardware 0 04-29-2009 10:25 PM
Synaptics touchpad not recognised by synaptics driver (12.1) bogzab Slackware 13 03-22-2009 09:23 PM
Help with xorg.conf settings dwhitney67 Linux - Software 8 01-11-2008 01:57 PM
Xorg: Wacom tablet causes conflict with synaptics touchpad Tzolkin Linux - Laptop and Netbook 3 10-29-2007 07:48 AM
xorg.conf updates not taking effect/Laptop Touchpad Issues tubatodd Ubuntu 9 12-08-2006 02:52 AM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration