Howto fix touchpad problems in Sabayon 4

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Re: Howto fix touchpad problems in Sabayon 4

Postby madcow983 » Sun Jan 18, 2009 12:08

Hi, idon't know if it can help someone but...
to fix my problem was enought remove the comment on the line regarding SHMConfig
now with gsynaptics i can configure the touchpad, but ksynaptics.... doesn't work at all
madcow983
Growing Hen
 
Posts: 134
Joined: Tue Apr 10, 2007 20:09
Location: Bologna Italy

Re: Howto fix touchpad problems in Sabayon 4

Postby kodiakmax » Sat Jan 24, 2009 21:22

I was haveing issue's as well. It turns out that ksynaptics is no longer being developed and has dependancy issues. What I had to do was unmerge all packages that had to do with synaptics.

Code: Select all
emerge --search synaptics


make sure none of them are installed.
Then
Code: Select all
emerge x11-drivers/xf86-input-synaptics


Then run
Code: Select all
synclient -l | awk '/=/{printf "Option \"%s\" \"%s\"\n",$1,$3}'


Then edit your xorg.conf file to reflect what options synclient gave you. You can modify the synclient output results however you want your touchpad to respond.

Also add the following option to the "inputdevice" section of your xorg.conf file
Code: Select all
Option         "SHMConfig" "true"
If you check the wiki, use the search function and google you can find the answer to most of your questions.

Remember to mark your thread [Solved] if your issue is fixed.
kodiakmax
Advanced Hen
 
Posts: 278
Joined: Thu Oct 16, 2008 23:46

Re: Howto fix touchpad problems in Sabayon 4

Postby veitw » Wed Feb 11, 2009 3:24

i had a different problem that kept me bussy the whole afternoon. My curser was jumping like hell even when my finger was a 10th of a millimeter above the touchpad, pointing on something was realy hard, scrolling etc wasn't working at all.
i couldn't run synclient because it said alway can't access, SHMConfig not on.
After couple hours of fiddling around i removed this
Code: Select all
 <match key="info.capabilities" contains="input.touchpad">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>

out of /etc/hal/fdi/policy10-x11-input.fdi and voila after restarting hal and X the mouse wasn't accting up and i can access it with gsynaptics.

May be it helps someone.
i'm going for a big pizza now

cu Veit
veitw
Baby Hen
 
Posts: 1
Joined: Wed Feb 11, 2009 3:04
Location: Lethbridge Alberta

Re: Howto fix touchpad problems in Sabayon 4

Postby Disz » Thu Feb 12, 2009 4:47

veitw wrote:i had a different problem that kept me bussy the whole afternoon. My curser was jumping like hell even when my finger was a 10th of a millimeter above the touchpad, pointing on something was realy hard, scrolling etc wasn't working at all.
i couldn't run synclient because it said alway can't access, SHMConfig not on.
After couple hours of fiddling around i removed this
Code: Select all
 <match key="info.capabilities" contains="input.touchpad">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>

out of /etc/hal/fdi/policy10-x11-input.fdi and voila after restarting hal and X the mouse wasn't accting up and i can access it with gsynaptics.

May be it helps someone.
i'm going for a big pizza now

cu Veit


This is the exact problem I was having with mine. I fixed it via .fdi's and xorg.config - but I think I might roll that back and try this - thanks much! Enjoy the pizza :)

EDIT: This worked beautifully for me. Speed, scrolling and tapping are perfect.
##Current Spec##
Asus G60VX
Sabayon 5.3 x86_64
Disz
Baby Hen
 
Posts: 11
Joined: Tue Feb 03, 2009 5:29
Location: Everywhere

Re: Howto fix touchpad problems in Sabayon 4

Postby WarraWarra » Wed Apr 15, 2009 17:11

TY Joost you are my hero for killing this funky mousepad insanity.
The 2 finger scroll still works but no more lock / unlock glitching funny business.
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Re: Howto fix touchpad problems in Sabayon 4

Postby christo4 » Sun Apr 19, 2009 4:52

I arrived at veitw's fix on my own. It appears there's some conflict between the 10-x11-input.fdi and the 11-x11-synaptics.fdi configurations in the /etc/hal/fdi/policy folder.

The 10-x11-input.fdi file had the following line:
Code: Select all
<merge key="input.x11_driver" type="string">mouse</merge>

I believe this is a minor bug or an oversight. Anyway, I just changed it to say "synaptics" instead of "mouse" so that it would match what's in the synaptics.fdi config file. So, now that section looks like this:
Code: Select all
<match key="info.capabilities" contains="input.touchpad">

<merge key="input.x11_driver" type="string">synaptics</merge>

<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
</match>

And now the gnome touchpad utility works! By the way, I found this page to be helpful: http://en.gentoo-wiki.com/wiki/Synaptic ... d/Xorg_7.3
christo4
Baby Hen
 
Posts: 12
Joined: Sat Mar 07, 2009 20:52

Re: Howto fix touchpad problems in Sabayon 4

Postby joost » Sun Apr 19, 2009 7:23

Hmmm.

Looking at this file you might be quite right.

Code: Select all
   <match key="info.capabilities" contains="input.touchpad">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>


Here its saying that it should use evdev by default and fallback to the "mouse" driver if that somehow fails.

Tested it here on my laptop (where the touchpad was working anyway) and it kept on working, so the change in the file doesn't affect my allready working touchpad. I put this on the mailinglist so some Sabayon testers can see if it works good and get it perm fixed.
joost
Sagely Hen
 
Posts: 2569
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Howto fix touchpad problems in Sabayon 4

Postby joost » Mon Apr 20, 2009 7:12

@christo4
A synaptics update in Entropy now fixes this problem.
joost
Sagely Hen
 
Posts: 2569
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Howto fix touchpad problems in Sabayon 4

Postby E.M.G. » Tue May 19, 2009 14:39

No joy on my wifes dell inspiron 1720 ... cannot get the mouse(touchpad) to scroll ... tapping works ... I have edited the hal policy file commenting out the different scroll lines other than the vertical scroll line and tap button lines, still not working ... the touchpad is a type of bluetooth device looks to be called rfcomm .... I'm not at the laptop right now. It works fine with 3.5 but not with 4.1K ... anyone else have an inspiron 1720 that has scrolling working? Will try changing the evdev driver from "mouse" to "synaptics" to see if that works but as it doesn't see any synaptics hardware I have my doubts ... any suggestions or ideas ??

Thanks

Erick
E.M.G.
Simple Hen
 
Posts: 80
Joined: Tue Jun 24, 2008 18:50
Location: 42.44°N 73.11°W

Re: Howto fix touchpad problems in Sabayon 4

Postby bakters » Mon Jun 08, 2009 22:19

I'm using S3.5, but hence the problems seem to be roughly the same in both versions, I'll describe how I managed to make my Alps touchpad work.

First, you must make sure that you use working drivers, x86-input-synaptics that is. emerge and so on, it was already covered. Then you need to copy more or less working policy file into /etc/hal/fdi/policy/11-x11-synaptics.fdi. An example which comes with the driver should be fine for starters, just make sure that
<merge key="input.x11_options.SHMConfig" type="string">true</merge> is there.

Here's mine
Code: Select all
<?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>
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>
        <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
        <merge key="input.x11_options.LeftEdge" type="string">130</merge>
        <merge key="input.x11_options.RightEdge" type="string">840</merge>
        <merge key="input.x11_options.TopEdge" type="string">130</merge>
        <merge key="input.x11_options.BottomEdge" type="string">640</merge>
        <merge key="input.x11_options.FingerLow" type="string">7</merge>
        <merge key="input.x11_options.FingerHigh" type="string">8</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.MinTapTime" type="string">110</merge>
        <merge key="input.x11_options.ClickTime" type="string">0</merge>
        <merge key="input.x11_options.EmulateMidButtonTime" type="string">75</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">20</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.40</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">0.95</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.030</merge>
        <merge key="input.x11_options.EdgeMotionMinSpeed" type="string">200</merge>
        <merge key="input.x11_options.EdgeMotionMaxSpeed" type="string">200</merge>
        <merge key="input.x11_options.UpDownScrolling" type="string">1</merge>
        <merge key="input.x11_options.CircularScrolling" type="string">1</merge>
        <merge key="input.x11_options.CircScrollDelta" type="string">0.1</merge>
        <merge key="input.x11_options.CircScrollTrigger" type="string">3</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.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.RTCornerButton" type="string">2</merge>
      </match>
    </device>
</deviceinfo>


Then you need to restart hal (/etc/init.d/hald restart) and restart X (/etc/init.d/xdm restart).

With that covered, see which event your touchpad is actually using. Do cat /proc/bus/input/devices and search for the section with your touchpad. In my case it's recognized as N: Name="AlpsPS/2 ALPS GlidePoint" and it is assigned to S: Sysfs=/class/input/input5 and H: Handlers=mouse1 event5.

That means that my touchpad works on event5.

Now you go to your /etc/X11/xorg.conf and put there more or less working section. Below is mine:
Code: Select all
Section "InputDevice"
        Identifier      "Alps Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/event5"
        Option          "Protocol"              "event"

        Option "TapButton1"     "1"

        Option "LeftEdge" "130"
        Option "RightEdge" "840"
        Option "TopEdge" "130"
        Option "BottomEdge" "640"
        Option "FingerLow" "7"
        Option "FingerHigh" "8"
        Option "MaxTapTime" "180"
        Option "MaxTapMove" "110"
        Option "ClickTime" "20"
        Option "EmulateMidButtonTime" "75"
        Option "VertScrollDelta" "20"
        Option "HorizScrollDelta" "20"
        Option "MinSpeed" "0.5"
        Option "MaxSpeed" "2.0"
        Option "AccelFactor" "0.5"
        Option "EdgeMotionMinSpeed" "200"
        Option "EdgeMotionMaxSpeed" "200"
        Option "UpDownScrolling" "1"
#        Option "LeftRightScrolling" "1"
        Option "CircularScrolling" "0"
        Option "CircScrollDelta" "0.1"
        Option "CircScrollTrigger" "2"
        Option "FastTaps"       "1"
        Option "SHMConfig" "on"
EndSection

Note, that I use the event to which hal assigned my touchpad, that is I have Option "Device" "/dev/input/event5" in my relevant section. Also, I have Option "SHMConfig" "on", which allows me to do some extra tuning later on.

Once you do all this properly, you should have your touchpad mostly working. Tapping on, scrolling on etc, but you need to tune it up a bit, to suit your hardware and/or specific requirements. Here comes synclient. Run synclient -l to see which options are on. Once you do it, you can see specific settings, which you can tune by hand using commands. For example you'll see something like MinSpeed = 0.1. Let's say, that it's way too slow for you. You can change that by issuing "synclient MinSpeed=0.5" command, and see if it worked with synclient -l command again. Do that until you find settings which work for you. (ATM there is no working GUI application, so there is no other way of doing it.)

Once you find which settings work for you, be sure to put them into your xorg.conf and restart X to check if it all still works. It very well should, as far as I can say.

Good luck.
bakters
Young Hen
 
Posts: 23
Joined: Thu Jan 24, 2008 16:37

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

cron