Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with touchpad
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Siphon
n00b
n00b


Joined: 27 May 2009
Posts: 27

PostPosted: Sun May 31, 2009 11:53 am    Post subject: Problem with touchpad Reply with quote

I want to use synaptics to have scrolling etc. working, but it seems that the touchpad is not correctly recognized.
The kernel has Event interface and PS/2 mouse built-in support.

Look at the following output:
Code:
synclient -h
Hardware properties:
    Can't detect hardware properties.
    This is normal if you are running linux kernel 2.6.
    Check the kernel log for touchpad hardware information.
Driver version: 10000

Searched the web, found no real solution to it.
Code:
dmesg | grep -i Touchpad
[    2.778025] Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1c0b1, caps: 0xd04791/0xb00000
[    2.819443] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6

Code:
dmesg | grep -i Synaptics
[    2.778025] Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1c0b1, caps: 0xd04791/0xb00000
[    2.778087] serio: Synaptics pass-through port at isa0060/serio1/input0
[    2.819443] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6


Code:
cat /proc/bus/input/devices
...
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse1 event6
B: EV=b
B: KEY=6420 0 70000 0 0 0 0 0 0 0 0
B: ABS=11000003

however, "cat /dev/input/mouse1" does not result in any output. The trackpoint and the USB mouse however give output.

What else can I do?
Ah, the xorg.conf
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
#   InputDevice    "Mouse0" "CorePointer"
#   InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "xtrap"
   Load  "extmod"
   Load  "record"
   Load  "dbe"
   Load  "glx"
   Load  "dri"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "synaptics"
   Option      "SHMConfig" "on"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "synaptics"
#   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
   Option        "SHMConfig" "on"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "CacheLines"            # <i>
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "DRI"                   # [<bool>]
        #Option     "NoDDC"                 # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "XvMCSurfaces"          # <i>
        #Option     "PageFlip"              # [<bool>]
   Identifier  "Intel GMA x4500MHD"
   Driver      "intel"
   VendorName  "Intel Corporation"
   Option      "AccelMethod"   "UXA"
   BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Intel GMA x4500MHD"
   Monitor    "Monitor0"
EndSection


I can move the mouse with the touchpad, however tapping or scrolling does not work.
Code:
symclient -l
LeftEdge                = 1632
    RightEdge               = 5312
    TopEdge                 = 1575
    BottomEdge              = 4281
    FingerLow               = 10
    FingerHigh              = 15
    FingerPress             = 255
    MaxTapTime              = 480
    MaxTapMove              = 221
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 1
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 280
    VertScrollDelta         = 5
    HorizScrollDelta        = 5
    VertEdgeScroll          = 0
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 0
    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              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 1
    CircularScrolling       = 0
    CircScrollDelta         = 0.01
    CircScrollTrigger       = 4
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 199
    CoastingSpeed           = 0
    PressureMotionMinZ      = 29
    PressureMotionMaxZ      = 159
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1


Anyone with suggestions? http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad#Touchpad_device_file tells me only this "if there is no output at
all, either the device file is the wrong one, or the kernel driver isn't loaded" but I don't know what else to do.
Back to top
View user's profile Send private message
geenux
n00b
n00b


Joined: 15 Mar 2008
Posts: 40

PostPosted: Sun May 31, 2009 11:55 am    Post subject: Reply with quote

In /etc/hal/fdi/policy/11-x11-synaptics.fdi
You can put
Code:
<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>

<!-- Active la fonction de fasttapping -->
<merge key="input.x11_options.FastTaps" type="string">1</merge>

<merge key="input.x11_options.MaxTapTime" type="string">180</merge>
<!-- Maximum movement of the finger for detecting a tap -->
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
<!-- Tapping -->
<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.FastTaps" type="string">1</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 -->
</match>

To have clicks support (left, right, middle), scroll...

I have exactly the same message with synclient -h, and as the message says, this is normal.
Back to top
View user's profile Send private message
Siphon
n00b
n00b


Joined: 27 May 2009
Posts: 27

PostPosted: Sun May 31, 2009 12:16 pm    Post subject: Reply with quote

Unfortunately that didn't change anything.
Back to top
View user's profile Send private message
geenux
n00b
n00b


Joined: 15 Mar 2008
Posts: 40

PostPosted: Sun May 31, 2009 12:21 pm    Post subject: Reply with quote

Even after rebooting ?
Both hal and xorg needs to be restarted.

My xorg section is
Code:
Section "InputDevice"
   Driver         "synaptics"
   Identifier "TouchPad"
   Option         "SendCoreEvents"
   Option         "Protocol" "auto-dev"
EndSection
Back to top
View user's profile Send private message
Siphon
n00b
n00b


Joined: 27 May 2009
Posts: 27

PostPosted: Sun May 31, 2009 12:41 pm    Post subject: Reply with quote

Turned out I had no Touchpad device in xorg.conf, but still not working, even after reboot...

Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "SendCoreEvents"
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice   "Touchpad0" "CorePointer"
#   InputDevice    "Mouse0" "CorePointer"
#   InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "xtrap"
   Load  "extmod"
   Load  "record"
   Load  "dbe"
   Load  "glx"
   Load  "dri"
EndSection

Section "InputDevice"
   Driver         "synaptics"
   Identifier      "TouchPad0"
   Option         "SendCoreEvents"
   Option         "Protocol" "auto-dev"
   Option      "SHMConfig" "on"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "synaptics"
   Option      "SHMConfig" "on"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "synaptics"
#   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
   Option        "SHMConfig" "on"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "CacheLines"            # <i>
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "DRI"                   # [<bool>]
        #Option     "NoDDC"                 # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "XvMCSurfaces"          # <i>
        #Option     "PageFlip"              # [<bool>]
   Identifier  "Intel GMA x4500MHD"
   Driver      "intel"
   VendorName  "Intel Corporation"
   Option      "AccelMethod"   "UXA"
   BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Intel GMA x4500MHD"
   Monitor    "Monitor0"
EndSection
Back to top
View user's profile Send private message
Siphon
n00b
n00b


Joined: 27 May 2009
Posts: 27

PostPosted: Mon Jun 01, 2009 5:37 pm    Post subject: Reply with quote

Anyone with any advice what I can do? That touchpad needs to work... I still have Ubuntu on my system, but so far had no luck finding any configution that might be helpful.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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