Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synaptics touchpad not working properly with hal
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ihtruelsen
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 168
Location: Mill Bay, BC

PostPosted: Fri Mar 12, 2010 1:34 am    Post subject: Synaptics touchpad not working properly with hal Reply with quote

I am installing on an Acer Aspire One netbook. From all that I have researched about it, it has a Synaptics touchpad. I am trying to set that up with hal and evdev, but am not having a lot of luck.

Here is the hal fdi that I have for the touchpad:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo ve=rsion="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.MaxTapMove" type="string">2000</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.CircularScrolling" 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>
  </device>
</deviceinfo>


It looks like I am loading up properly through xorg:

Code:

(II) config/hal: Adding input device Macintosh mouse button emulation
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event4"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(**) SynPS/2 Synaptics TouchPad: always reports core events
(**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event6"
(II) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
(II) SynPS/2 Synaptics TouchPad: Found absolute axes
(II) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
(II) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
(II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
(**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
(**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
(II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.


I am not sure about the Macintosh button emulation, but the Synaptics part looks good. However, I do not have tap to click, no scrolling and the mouse is moving ridiculously fast.

Also, when I try to see what is going on with synclient, I get:

Code:

ian@micronaut ~ $ synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?


So, it seems like the driver is not loaded. I am not sure what to make of this. Any ideas?
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 252

PostPosted: Fri Mar 12, 2010 5:31 am    Post subject: Reply with quote

Hi, I have an AA1 AOA150

Code:
       <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>


that is my 11-x11-synaptics.fdi


apart from that I have :
[D] x11-drivers/xf86-input-synaptics-1.2.1 installed



and my xorg.conf

Code:

Section "ServerLayout"
       Identifier     "Default Layout"
       Screen      0  "Screen0" 0 0
       InputDevice    "Synaptics Mouse" "AlwaysCore"
       InputDevice    "Keyboard0" "CoreKeyboard"
       InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
       Option "AllowMouseOpenFail"  "true"
       Option "AutoAddDevices" "False"
EndSection

Section "Module"
   Load "dbe"
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx"
   Load "dri2"      
EndSection

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "keyboard"
       Option      "CoreKeyboard"
       Option "XkbRules" "xorg"
       Option "XkbModel" "pc105"
       Option "XkbLayout" "us"
       Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
       Identifier "Synaptics Mouse"
       Driver     "synaptics"
       Option     "Device" "/dev/psaux"
       Option     "Protocol" "auto-dev"
       Option     "LeftEdge"  "1700"
       Option  "RightEdge"     "5300"
       Option  "TopEdge"       "1700"
       Option  "BottomEdge"    "4200"
       Option  "FingerLow"     "25"
       Option  "FingerHigh"    "30"
       Option  "MaxTapTime"    "180"
       Option  "MaxTapMove"    "220"
       Option  "VertScrollDelta" "100"
       Option  "MinSpeed"      "0.09"
       Option  "MaxSpeed"      "0.28"
       Option  "AccelFactor"   "0.0025"
       Option  "SHMConfig"     "on"
# new in synaptics 0.99
       Option  "ClickFinger1"  "1"
       Option  "ClickFinger2"  "0"
       Option  "ClickFinger3"  "0"
       Option  "HorizEdgeScroll"       "1"
       Option  "VertEdgeScroll"        "1"
       Option  "HorizTwoFingerScroll"  "0"
       Option  "VertTwoFingerScroll"   "0"
       Option  "HorizScrollDelta"      "100"
       Option  "PressureMotionMinZ"    "10"
       Option  "FingerPress"   "256"
       Option  "PalmDetect"    "0"
       Option  "PalmMinWidth"  "10"
       Option  "PalmMinZ"      "200"
       Option  "MaxTapMove"    "220"
       Option  "MaxTapTime"    "180"
       Option  "MaxDoubleTapTime"      "200"
       Option  "TapButton1"    "1"
       Option  "TapButton2"    "0"
       Option  "TapButton3"    "0"
       Option  "RTCornerButton"        "2"
       Option  "RBCornerButton"        "3"
       Option  "LTCornerButton"        "0"
       Option  "LBCornerButton"        "0"
# Circular scrolling is uber-cool, but it might not be for everyone. Check out "gsynaptics".
#Option  "CircularScrolling" "1"
EndSection

Section "InputDevice"
       Identifier      "USB Mouse"
       Driver          "mouse"
       Option          "Device"                "/dev/input/mice"
       Option          "SendCoreEvents"        "true"
       Option          "Protocol"              "IMPS/2"
       Option          "ZAxisMapping"          "4 5"
       Option          "Buttons"               "5"
EndSection

Section "Monitor"
    Identifier "Monitor0"
   Modeline "1024x600" 50.40 1024 1048 1184 1344 600 600 619 625
   DisplaySize  195 113 # This will set correct DPI (96 x 96)
   # Option "Above" "Monitor1"
EndSection

Section "Device"
   Identifier  "Videocard0"
   Driver      "intel"
   VideoRam    261376
#   Option      "Clone" "true"
   Option      "MonitorLayout"     "LVDS,VGA"
   BusID       "PCI:0:2:0"
#   Option      "MigrationHeuristic" "greedy"
#   Option      "AccelMethod" "EXA"
   Option      "AccelMethod" "UXA"
   Option      "NoDDC" # You need this to set correct DPI (HUGE font issue).
#   Option      "DRI"           "On"
#   Option      "AccelMethod" "EXA"
#   Option      "RenderAccel" "true"
#   Option      "EnablePageFlip" "true"
#   Option      "MigrationHeuristic" "greedy"
#   Option      "ExaNoComposite" "false"
#   Option      "SWCursor"      "On"
   Option      "Tiling"        "true"
#   Option      "Tiling"        "No"
#   Option      "DDC"           "On"
#   Option      "XVideo"        "On"
#   Option      "PageFlip"      "On"
#   Option      "TripleBuffer"  "Off"
#   Option      "AccelMethod"   "EXA"
   Option      "XvMC"          "true"
#   Option      "MTRR"          "On"
EndSection

Section "Screen"
       Identifier "Screen0"
       Device     "Videocard0"
       Monitor     "Monitor0"
       DefaultDepth     24
       SubSection "Display"
               Viewport   0 0
               Depth     24
               Modes    "1024x600" "800x600" "640x480"
               Virtual 1024 600
       EndSubSection
EndSection

Section "DRI"
       Mode 0666
EndSection


Hope this helps.
:)
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Fri Mar 12, 2010 5:49 am    Post subject: This may also help Reply with quote

Look at my writeup on the gentoo wiki for the Dell Vostro. It also has a synaptics

http://en.gentoo-wiki.com/wiki/Dell_Vostro_A90
Back to top
View user's profile Send private message
ihtruelsen
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 168
Location: Mill Bay, BC

PostPosted: Fri Mar 12, 2010 4:12 pm    Post subject: Reply with quote

Okay, so I gave up on hal. It just didn't seem to be working for me. Using the setup in xorg.conf I have tap to click and edge scrolling back and the mouse is working at a sane speed. I do not, however, seem to be able to get two finger scrolling working.

Does anyone know of a way to check whether the touchpad has the capability to do two finger tapping/scrolling? Is there a program or proc listing that can show what the capabilities of the touchpad are?
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Sat Mar 13, 2010 12:07 am    Post subject: yep Reply with quote

look at that ubuntu reference I put in my wiki entry
Back to top
View user's profile Send private message
ihtruelsen
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 168
Location: Mill Bay, BC

PostPosted: Wed Mar 17, 2010 6:38 pm    Post subject: Reply with quote

I went through the ubuntu article, but I didn't see anything in there that detailed how to probe or otherwise check the touchpad hardware for its capabilities. Synclient will show the possible settings and what they are set to, but I don't think that shows capabilities. For example, I have set the two finger scrolling and it shows it as active in synclient, but it does not actually work. I think that the touchpad should be capable of it, as it was supposed to be able to do it in XP, but it just does not want to work.
Back to top
View user's profile Send private message
Zeerak
Apprentice
Apprentice


Joined: 27 Nov 2006
Posts: 239
Location: Aalborg, Denmark

PostPosted: Thu Mar 18, 2010 4:01 pm    Post subject: Reply with quote

Why not just try setting the option in your xorg.conf file, and backup the working file. The worst case scenario is your touchpad not working for the number of sessions between replacing the new config with the old config.

Here's the relevant bits of my xorg.conf, set up to have double finger tapping for right clicks, three finger taps for middle click, and single finger tap for left click. The rest of it pretty much says itself. :-)
Also for more options consult the manual page.

Code:
Section "InputDevice"
    Identifier     "TouchPad"
    Driver         "synaptics"
    Option         "SendCoreEvents"
    Option         "SHMConfig" "1"
    Option         "Protocol" "auto-dev"
    Option         "VertTwoFingerScroll" "1"
    Option         "HorizTwoFingerScroll" "1"
    Option         "HorizScrollDelta" "70"
    Option         "TapButton1" "1"
    Option         "TapButton2" "3"
    Option         "TapButton3" "2"
EndSection

_________________
Einstein was a great man, but he got one thing wrong with his theory of relativity. E= MC hammer. As far as logic goes, this is flawed, but as a show of wit, you can't touch this
Back to top
View user's profile Send private message
ihtruelsen
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 168
Location: Mill Bay, BC

PostPosted: Fri Mar 19, 2010 12:53 am    Post subject: Reply with quote

I've tried that, but for completeness, I copied you mouse section to my xorg.conf and restarted x. According to synclient, two finger scrolling and multifinger tapping are all enabled:

Code:

Parameter settings:
    LeftEdge                = 1752
    RightEdge               = 5192
    TopEdge                 = 1620
    BottomEdge              = 4236
    FingerLow               = 24
    FingerHigh              = 29
    FingerPress             = 255
    MaxTapTime              = 180
    MaxTapMove              = 221
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 280
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 100
    HorizScrollDelta        = 70
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 0.4
    MaxSpeed                = 0.7
    AccelFactor             = 0.00995223
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 29
    EdgeMotionMaxZ          = 159
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 401
    EdgeMotionUseAlways     = 0
    UpDownScrolling         = 1
    LeftRightScrolling      = 1
    UpDownScrollRepeat      = 1
    LeftRightScrollRepeat   = 1
    ScrollButtonRepeat      = 100
    TouchpadOff             = 0
    GuestMouseOff           = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 3
    TapButton3              = 2
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 199
    CoastingSpeed           = 0
    PressureMotionMinZ      = 29
    PressureMotionMaxZ      = 159
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0


But all that I have actually working is vertical edge scrolling and single finger tap to click.

Really not sure what the problem is.
Back to top
View user's profile Send private message
zlomek
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2009
Posts: 123

PostPosted: Mon Mar 22, 2010 11:43 am    Post subject: Reply with quote

everything if you using gnome.
System->Preferences->Mouse then set tap
[solved]? :D
Pozdrawiam zlomek
_________________
T7700, 4GB RAM, 100GB 7200rpm HD, 15.4in 1680x1050 LCD, 256MB nVIDIA Quadro FX 570M, CDRW/DVDRW, Intel 802.11agn, Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Fingerprint reader, 9c Li-Ion, WinVista Ultimate 32, GENTOO amd64,GNOME.
Back to top
View user's profile Send private message
ihtruelsen
Apprentice
Apprentice


Joined: 14 Mar 2003
Posts: 168
Location: Mill Bay, BC

PostPosted: Mon Mar 22, 2010 3:43 pm    Post subject: Reply with quote

I am not a gnome user, but according to synclient, all of the features that I want are already turned on. They just don't work.
Back to top
View user's profile Send private message
zlomek
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2009
Posts: 123

PostPosted: Mon Mar 22, 2010 3:55 pm    Post subject: Reply with quote

i had the same problem
one program override your fdi.
I have the same fdi as your where
before
synclient -l :
Quote:
TapButton = 0

when I changed System->Preferences->Mouse then set tap in Gnome
synclient -l :
Quote:
TapButton = 1

:)

fdi is okej don't change it

look for mouse preference in your Desktop Environment
Pozdrawiam zlomek
_________________
T7700, 4GB RAM, 100GB 7200rpm HD, 15.4in 1680x1050 LCD, 256MB nVIDIA Quadro FX 570M, CDRW/DVDRW, Intel 802.11agn, Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Fingerprint reader, 9c Li-Ion, WinVista Ultimate 32, GENTOO amd64,GNOME.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum