Date: Tue, 22 Jan 2008 13:02:23 +0000 From: Vince Hoffman <jhary@unsane.co.uk> To: Martin Cracauer <cracauer@cons.org> Cc: freebsd-x11@freebsd.org Subject: Re: Synaptics touchpad working now Message-ID: <4795E95F.208@unsane.co.uk> In-Reply-To: <20080121213802.GA97348@cons.org> References: <20080121213802.GA97348@cons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Cracauer wrote: > I couldn't make this work before, in case anybody else has this > problem: In my Thinkpad R40 I have a touchpad that can use the middle > mouse button (used not to work in PSM mode) and where the right border > of the touchpad is a scroll control. > > I use a Thinkpad R40, FreeBSD-6.3-stable/i386. > > Here's what to do: > - install Xorg-7.3 > - install usr/ports/x11-drivers/synaptics > > Follow pkg-message, in particular > > 1) > - /boot/loader.conf > hw.psm.synaptics_support=1 > and reboot > > Then I get > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Synaptics Touchpad, device ID 0 > > 2) > > Make sure moused doesn't sit on the psm device. > > 3) > > /etc/X11/xorg.conf: > Section "InputDevice" > Identifier "pad" > Driver "synaptics" > Option "Device" "/dev/psm0" > Option "Protocol" "psm" > EndSection > > The trick here, and it is not mentioned in pkg-message, is that you > must not have protocol set to "auto". The required event device > doesn't exist. Forcing protocol "psm" made it work for me. > It does give a sample Section "InputDevice" which has this set. > I now seem to get the full capabilities that I get under Linux when > using it under X11, but synclient still doesn't work. synclient seem > to be hardcoded to use SHM but Xorg under FreeBSD doesn't. > > Could somebody check whether this works for them? pkg-message should > be edited but I'd like another vote. > I have been using mine on 7.0 for a while. /etc/X11/xorg.conf Section "InputDevice" Identifier "Synaptics_Touchpad" Driver "synaptics" Option "Device" "/dev/psm0" Option "Protocol" "psm" Option "SHMConfig" "on" EndSection With this I can use x11/gsynaptics which uses synclient fine. I also have InputDevice "Mouse0" "CorePointer" InputDevice "Synaptics_Touchpad" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" and Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection so I can have both the synaptic pad and the usb mouse active at the same time (saves reconfiguring when I have an external mouse plugged in.) Vince > Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4795E95F.208>