I have an Acer Aspire 4730z Laptop running FreeBSD 9.1-RELEASE. It works well as a desktop, with XFCE4 and X11 configured automatically without any/etc/X11/xorg.conf (in which case the touchpad is recognized as a PS/2 mouse).
However, I wanted to run the touchpad with the synaptics driver, mostly because this will allow me to disable tap clicking, which lets me type without accidently relocating the pointer with my thumbs. I know that the touchpad works with the synaptics driver under Xubuntu.
Searching the forums and google, I've found some limited suggestions on how to set it up, but it's still not working correctly. What I have now, results in the touchpad being recognized by XFCE4's Mouse Settings as Touchpad0. Both synclient and gsynaptics can be used to change associated variables, but I don't know which ones to change, or to what values, that it might solve my problem. I can navigate the desktop with the keyboard keys, but the pointer is stuck in the middle of the screen and won't move. It is responding to button pushes by bringing up menus on the desktop.
I installed /usr/ports/x11-drivers/xf86-input-synaptics.
/boot/loader.conf has the line:
/etc/rc.conf has the following:
I've tried several variations of rc.conf. Enabling and disabling moused, dbus, and hald. The settings I've posted here come closest to getting the touchpad recognized, while still having a working keyboard, provided I have the following xorg.conf.
/etc/X11/xorg.conf
The above setup results in the following in /var/log/Xorg.0.log (Please let me know if I've left out pertinent portions.)
I've noticed that if I comment out the ZAxisMapping option in the Touchpad0 InputDevice section of xorg.conf, the four (--) invalid lines don't appear in the log, but the pointer still doesn't move. Perhaps if I change that option it will work, but to what?
I'm open to suggestions, and hope something in this post will provide a clue to others trying to solve the same problem.
However, I wanted to run the touchpad with the synaptics driver, mostly because this will allow me to disable tap clicking, which lets me type without accidently relocating the pointer with my thumbs. I know that the touchpad works with the synaptics driver under Xubuntu.
Searching the forums and google, I've found some limited suggestions on how to set it up, but it's still not working correctly. What I have now, results in the touchpad being recognized by XFCE4's Mouse Settings as Touchpad0. Both synclient and gsynaptics can be used to change associated variables, but I don't know which ones to change, or to what values, that it might solve my problem. I can navigate the desktop with the keyboard keys, but the pointer is stuck in the middle of the screen and won't move. It is responding to button pushes by bringing up menus on the desktop.
I installed /usr/ports/x11-drivers/xf86-input-synaptics.
/boot/loader.conf has the line:
Code:
hw.psm.synaptics_support="1"
/etc/rc.conf has the following:
Code:
moused_enable="NO"
hald_enable="YES"
dbus_enable="YES"
I've tried several variations of rc.conf. Enabling and disabling moused, dbus, and hald. The settings I've posted here come closest to getting the touchpad recognized, while still having a working keyboard, provided I have the following xorg.conf.
/etc/X11/xorg.conf
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Touchpad0" "CorePointer"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "no"
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/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "dri"
Load "dri2"
Load "glx"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "UseShm" "true"
Option "SHMConfig" "On"
Option "Protocol" "alps" #"auto" does not work
Option "Device" "/dev/psm0" # "/dev/sysmouse"
Option "SendCoreEvents" "true"
Option "ZAxisMapping" "4 5 6 7" #Varying this might help?
Option "FingerLow" "26"
Option "FingerHigh" "51"
Option "FingerPress" "254"
Option "HorizEdgeScroll" "1"
Option "MinSpeed" "0.10"
Option "MaxSpeed" "0.20"
Option "RTCornerButton" "2"
Option "RBCornerButton" "3"
Option "TapButton2" "2"
Option "TapButton3" "3"
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 "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
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
The above setup results in the following in /var/log/Xorg.0.log (Please let me know if I've left out pertinent portions.)
Code:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.1-RELEASE amd64
Current Operating System: FreeBSD Acer.no-ip.org 9.1-RELEASE FreeBSD
9.1-RELEASE #3 r245703: Mon Jan 21 05:31:59 PST 2013
root@Acer.no-ip.org:/usr/obj/usr/src/sys/ACER amd64
Build Date: 22 January 2013 01:32:58AM
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 27 08:50:02 2013
(==) Using config file: "/etc/X11/xorg.conf"
...
(II) LoadModule: "synaptics"
(II) Loading /usr/local/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.5.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
...
(II) LoadModule: "synaptics"
(II) Reloading /usr/local/lib/xorg/modules/input/synaptics_drv.so
...
(**) Option "Protocol" "alps"
(**) Option "Device" "/dev/psm0"
(--) invalid x-axis range. defaulting to 1615 - 5685
(--) invalid y-axis range. defaulting to 1729 - 4171
(--) invalid pressure range. defaulting to 0 - 255
(--) invalid finger width range. defaulting to 0 - 15
(**) Option "SHMConfig" "On"
(**) Option "FingerLow" "26"
(**) Option "FingerHigh" "51"
(**) Option "FingerPress" "254"
(**) Option "HorizEdgeScroll" "1"
(**) Option "RTCornerButton" "2"
(**) Option "RBCornerButton" "3"
(**) Option "TapButton2" "2"
(**) Option "TapButton3" "3"
(**) Option "MinSpeed" "0.10"
(**) Option "MaxSpeed" "0.20"
(**) Option "SendCoreEvents" "true"
(**) Option "CorePointer"
(**) Touchpad0: always reports core events
(II) XINPUT: Adding extended input device "Touchpad0" (type: TOUCHPAD)
(**) (accel) MinSpeed is now constant deceleration 10.0
(**) MaxSpeed is now 2.00
(**) AccelFactor is now 0.042
(**) Touchpad0: (accel) keeping acceleration scheme 1
(**) Touchpad0: (accel) acceleration profile 1
(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.7.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Option "Device" "/dev/psm0"
(==) PS/2 Mouse: Protocol: "Auto"
(**) PS/2 Mouse: always reports core events
(**) Option "Device" "/dev/psm0"
(EE) xf86OpenSerial: Cannot open device /dev/psm0
Device busy.
(EE) PS/2 Mouse: cannot open input device
(II) UnloadModule: "mouse"
(EE) PreInit returned NULL for "PS/2 Mouse"
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device AT Keyboard
(**) AT Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Option "XkbRules" "base"
(**) Option "XkbModel" "pc105"
(**) Option "XkbLayout" "us"
(II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)
...
(II) UnloadModule: "kbd"
(II) UnloadModule: "synaptics"
(II) UnloadModule: "kbd"
I've noticed that if I comment out the ZAxisMapping option in the Touchpad0 InputDevice section of xorg.conf, the four (--) invalid lines don't appear in the log, but the pointer still doesn't move. Perhaps if I change that option it will work, but to what?
I'm open to suggestions, and hope something in this post will provide a clue to others trying to solve the same problem.