Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 14:28:40 +0200
From:      Ivan Rokotov <ivan.rokotov.bsd@gmail.com>
To:        Anthony Jenkins <Scoobi_doo@yahoo.com>
Cc:        Eric McCorkle <eric@metricspace.net>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>
Subject:   Re: [Patch] psm(4) ClickPad detection (was Re: Lenovo W540 so far)
Message-ID:  <CAOTTJKHsAyiXnKL3kad6hJ_PbgvHU1TG%2B_J40jKvcSv81MYoqA@mail.gmail.com>
In-Reply-To: <53A23DAF.7030201@yahoo.com>
References:  <539DA73B.7050709@metricspace.net> <CAOTTJKEamc=tsFJxz0H43wxhJpowy0Nm-4JBCjozzi%2Brfcp=6Q@mail.gmail.com> <1402931204.35984.YahooMailNeo@web140703.mail.bf1.yahoo.com> <58DCAA2E-44DA-48F3-87B3-366301F55138@metricspace.net> <CAOTTJKFwXJOyaW-7fX3300jfBu4WQYqgte%2BuE9cvej_NxULAPw@mail.gmail.com> <53A02532.60201@metricspace.net> <53A03BAF.3020807@yahoo.com> <CAOTTJKFLbwUj0q9vyFZf4kWf95NgF_SqN2nWurp_aD8qbVg54g@mail.gmail.com> <CAOTTJKFCEjUL6zUy6e18Yn0YTJ7CBa9FFAML3xMSU0Vad2o1zA@mail.gmail.com> <53A080D3.2000207@yahoo.com> <CAOTTJKF6-W0w3jtLsC1SyoZmWCeUY-TZemewePpXY7JEJd14xw@mail.gmail.com> <53A23DAF.7030201@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, with patched synaptics driver + patched kernel = no touchpad at
all, no keyboard (Ctrl+Alt+F1 worked). With patched synaptics +
unpatched kernel = everything works as earlier. (Bluetooth mouse works
all time time.)

I post the relevant part of the logs + my xorg.conf, just for the case.

# cat dmesg.today | grep psm0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0

# grep '\(keyboard\|kbd\)' Xorg.0.log
[    32.694] (II) LoadModule: "kbd"
[    32.695] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[    32.695] (II) Module kbd: vendor="X.Org Foundation"

# cat messages | grep atkbd
Jun 19 14:00:47 thorium kernel: atkbdc0: <Keyboard controller (i8042)>
port 0x60,0x64 irq 1 on acpi0
Jun 19 14:00:47 thorium kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jun 19 14:00:47 thorium kernel: kbd0 at atkbd0
Jun 19 14:00:47 thorium kernel: atkbd0: [GIANT-LOCKED]
Jun 19 14:00:47 thorium kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0

# cat /etc/X11/xorg.conf | grep -v '^[[:space:]]*#' | sed 's/#.*$//'
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Touchpad0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
Option "DontZap" "off"
Option "AutoAddDevices" "off"
Option "AllowEmptyInput" "off"
Option         "AIGLX" "true"
EndSection

Section "Server Flags"
    Option               "IgnoreABI"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath     "/usr/local/lib/X11/fonts/misc/"
FontPath     "/usr/local/lib/X11/fonts/TTF/"
FontPath     "/usr/local/lib/X11/fonts/OTF"
FontPath     "/usr/local/lib/X11/fonts/Type1/"
FontPath     "/usr/local/lib/X11/fonts/100dpi/"
FontPath     "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/Droid/"
FontPath "/usr/local/lib/X11/fonts/LinLibertineG/"
FontPath "/usr/local/lib/X11/fonts/Liberation/"
FontPath "/usr/local/lib/X11/fonts/GentiumBasic/"
EndSection

Section "Module"
Load  "dbe"
Load  "dri"
Load  "dri2"
Load  "extmod"
Load  "record"
Load  "glx"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier     "Mouse0"
   Driver         "mouse"
   Option         "Protocol" "auto"
   Option         "Device" "/dev/sysmouse"
   Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
   Identifier  "Touchpad0"
   Driver      "synaptics"
   Option       "SHMConfig" "On"
   Option       "Protocol" "psm"
   Option       "Device"   "/dev/psm0"
   Option      "SendCoreEvents" "true"
        Option "ClickPad" "1"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "ClickFinger1" "1"
        Option "ClickFinger2" "3"
        Option "ClickFinger3" "2"
        Option "VertTwoFingerScroll" "1"
        Option "HorizTwoFingerScroll" "1"
        Option "VertScrollDelta" "-50"
        Option "HorizScrollDelta" "-60"
        Option "EmulateMidButtonTime" "0"
        Option "EdgeMotionMinSpeed" "30"
        Option "EdgeMotionMaxZ" "60"
        Option "FingerLow" "29"
        Option "FingerHigh" "38"
        Option "MaxTapTime" "250"
        Option "MaxTapMove" "100"
        Option "MaxDoubleTapTime" "100"
        Option "ClickTime" "100"
        Option "SingleTapTimeout" "200"
        Option "MaxSpeed" "1.8"
        Option "HorizHysteresis" "32"
        Option "VertHysteresis" "32"
        Option "AccelFactor" "0.04"
        Option "LockedDrags" "1"
        Option "LockedDragTimeout" "200"
        Option "PalmDetect" "1"
        Option "PalmMinWidth" "10"
        Option "PalmMinZ" "130"
        Option "CoastingSpeed" "0.3"

       Option "VertEdgeScroll" "on"
       Option "HorizEdgeScroll" "on"

EndSection

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

Section "Device"
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "3rd Gen Core processor Graphics Controller"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Option         "AddARGBGLXVisuals" "True"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Extensions"
   Option         "Composite" "Enable"
EndSection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOTTJKHsAyiXnKL3kad6hJ_PbgvHU1TG%2B_J40jKvcSv81MYoqA>