From owner-freebsd-x11@FreeBSD.ORG Tue Jan 22 13:29:16 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97A1A16A420 for ; Tue, 22 Jan 2008 13:29:16 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id E3AE013C45B for ; Tue, 22 Jan 2008 13:29:15 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m0MD0uhr036371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Jan 2008 13:01:01 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <4795E95F.208@unsane.co.uk> Date: Tue, 22 Jan 2008 13:02:23 +0000 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Martin Cracauer References: <20080121213802.GA97348@cons.org> In-Reply-To: <20080121213802.GA97348@cons.org> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org Subject: Re: Synaptics touchpad working now X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 13:29:16 -0000 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: 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