From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 09:08:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0975106564A for ; Sun, 3 Jul 2011 09:08:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A1EB38FC08 for ; Sun, 3 Jul 2011 09:08:43 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 49E203CB5C; Sun, 3 Jul 2011 11:08:42 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p6398fg7001557; Sun, 3 Jul 2011 11:08:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 3 Jul 2011 11:08:41 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20110703110841.9ce6c843.freebsd@edvax.de> In-Reply-To: References: <20110702090827.GA1032@tiny> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: YOSHIDA Shigeru Subject: Re: Mouse problem on ThinkPad X61 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 09:08:44 -0000 On Sat, 2 Jul 2011 21:56:33 -0600 (MDT), Warren Block wrote: > The T61 has both a touchpad and a trackpoint. Seems like on my T42, > only one works. Possibly there are settings for psm(4) or the synaptics > touchpad driver is needed. If both pointing decies are handled independently, e. g. psm0 representing the Trackpoint, while the fingerslimepad is accessed per ums0 (not sure, just an assumption!), it would maybe help to explicitely tell this to moused. Something like this could work: moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" If you also want to use the middle mouse button (a standard thing since the 70s, usually not working on "modern" glidepads), you could add (attention, try it, it's from my memory): moused_flags="-z 4" (But I'm not sure if you really need that, as I don't have it in my current config, but see below why.) And then add the following settings to xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Emulate3Buttons" "true" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "ZAxisMapping" "4 5" EndSection This is the configuration I'm using for a standard 3-button mouse (no wheel), a Sun Type 6 USB, but it also works with 3-button mice attached per PS/2 connector. In this setting, clicking the middle mouse button will _be_ the middle mouse button, and holding it down while moving the mouse in Y direction will be the wheel functionality, much smoother and more precise than a regular mouse wheel. And if required, you can press the left _and_ the right button at the same time which also means the middle mouse button. It should work wonders with the superior TrackPoint. > No, please stop recommending this. Here's the whole story: > http://www.wonkity.com/~wblock/docs/html/aei.html Important source of wisdom. > AEI is the wrong option. If you want to stop xorg from using HAL to > detect input devices, there are two good ways: > > 1. Set Option "AutoAddDevices" "Off" > 2. Build xorg-server with the HAL option disabled. I would suggest the last option. Build X without HAL, run -configure, modify xorg.conf as needed, and everything works. Especially if you need a non-US keyboard layout... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...