From owner-freebsd-mobile@FreeBSD.ORG Sat May 16 17:56:35 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2DC1065672 for ; Sat, 16 May 2009 17:56:35 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id DD67A8FC19 for ; Sat, 16 May 2009 17:56:29 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id D3BE2509A3; Sat, 16 May 2009 18:56:28 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x6BE7OWRo4cv; Sat, 16 May 2009 18:56:26 +0100 (BST) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 68EBC509A2 ; Sat, 16 May 2009 18:56:26 +0100 (BST) Message-ID: <4A0EFE41.5020705@langille.org> Date: Sat, 16 May 2009 13:56:17 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.21 (X11/20090422) MIME-Version: 1.0 To: "Paul B. Mahol" References: <4A0DE5C1.3070808@langille.org> <44a99a465da3d2724e186d159984e679.squirrel@10.1.1.10> <3a142e750905160502v53c3891bq2fd852c1aafd2f1e@mail.gmail.com> <4A0EE57A.7010909@langille.org> <4A0EEAFE.4070901@langille.org> <3a142e750905161018y7d0921f8s409956c941c13ed5@mail.gmail.com> <3a142e750905161044i3ca51effs27f24c7e9f6540fc@mail.gmail.com> In-Reply-To: <3a142e750905161044i3ca51effs27f24c7e9f6540fc@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Nenhum_de_Nos , freebsd-mobile@freebsd.org Subject: Re: eeePC - disabling tap X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 17:56:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul B. Mahol wrote: > On 5/16/09, Paul B. Mahol wrote: >> On 5/16/09, Dan Langille wrote: > Dan Langille wrote: >>>>> Paul B. Mahol wrote: >>>>>> On 5/16/09, Nenhum_de_Nos wrote: >>>>>>> On Fri, May 15, 2009 18:59, Dan Langille wrote: >>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>>> Hash: SHA1 >>>>>>>> >>>>>>>> Folks: I wish to disable the tap feature[1] for the touchpad on an >>>>>>>> EeePC >>>>>>>> 1000HE. Does anyone know how to do that? >>>>>>>> >>>>>>>> [1] - when you tap the touchpad, you select or double click on an >>>>>>>> object. We don't want that. :) >>>>>>>> >>>>>>>> Thank you. >>>>>>>> >>>>>>>> - -- >>>>>>>> Dan Langille >>>>>>> quite the opposite, I'd like to enable tap on mine, turion based asus >>>>>>> notebook. :) >>>>>>> >>>>>>> just waiting for the answer to do the opposite :) >>>>>> How is your touchpad detected? >>>>>> Maybe you need to use X11 synaptic driver(guessing). >>>>> Following up.... reading http://wiki.freebsd.org/AsusEee under "Touchpad >>>>> (synaptics) configuration" it says: >>>>> >>>>> - Disable moused in rc.conf >>>>> - Add hw.psm.synaptics_support=1 to loader.conf >>>>> - pkg_add -r synaptics and edit Xorg.conf according to synaptic's >>>>> pkg-message >>>>> >>>>> I think the package information is out of date. I see no synaptics >>>>> package. Likely candidates include: >>>>> >>>>> x11-drivers/xf86-input-synaptics >>>>> x11/libsynaptics >>>>> x11/gsynaptics >>>>> >>>>> Only the latter seems to have a pkg-message. I tried that. It (and >>>>> about 50 other packages) installed cleanly. >>>>> >>>>> I altered the mouse input device in /etc/X11/xorg/conf: >>>>> >>>>> Section "InputDevice" >>>>> Identifier "Mouse0" >>>>> # Driver "mouse" >>>>> Driver "synaptics" >>>>> Option "SHMConfig" "on" >>>>> >>>>> Option "Protocol" "auto" >>>>> Option "Device" "/dev/sysmouse" >>>>> Option "ZAxisMapping" "4 5 6 7" >>>>> EndSection >>>>> >>>>> and made the changes contained >>>>> within/usr/ports/x11/gsynaptics/pkg-message: >>>>> >>>>> - /etc/rc.conf >>>>> - /boot/loader.conf >>>>> - downside of that is I get no cursor on the console >>> In console mouse can only work via moused(8) & sysmouse(4) combination >>> using syscons(4). >>> Probbably psm(4) could have sysctl "tapping_disabled" feature implemented >>> for synaptics case. >>> >>>>> reboot. >>>>> >>>>> I see this output from sysctl: >>>>> >>>>> hw.psm.synaptics.directional_scrolls: 1 >>>>> hw.psm.synaptics.low_speed_threshold: 20 >>>>> hw.psm.synaptics.min_movement: 2 >>>>> hw.psm.synaptics.squelch_level: 3 >>>>> >>>>> I ran gsynaptics and unchecked "enable tapping". I can still tap. >>>>> Restarted X. Can still tap. >>>>> >>>>> I wonder if the init process is failing, because if I run this from the >>>>> console, I get: >>>>> >>>>> $ gsynaptics-init >>>>> >>>>> (gsynaptics-init:1097): Gtk-WARNING **: cannot open display: > Interesting bits from /var/log/Xorg.0.log > > > (II) No default mouse found, adding one > (**) |-->Input Device "" > > > (II) Synaptics touchpad driver version 0.99.3 > (**) Option "Device" "/dev/sysmouse" > (**) Option "SHMConfig" "on" > Query no Synaptics: 000000 > (--) Mouse0: no supported touchpad found > (**) Option "CorePointer" > (**) Mouse0: always reports core events > (II) XINPUT: Adding extended input device "Mouse0" (type: TOUCHPAD) > (**) Mouse0: (accel) keeping acceleration scheme 1 > (**) Mouse0: (accel) filter chain progression: 2.00 > (**) Mouse0: (accel) filter stage 0: 20.00 ms > (**) Mouse0: (accel) set acceleration profile 0 > Query no Synaptics: 000000 > (--) Mouse0: no supported touchpad found >>> It looks to me that HAL is doing its job :) >>> >>> > Well I tried it myself and it works(more or less), I dont like > touchpad precision ... > add "hw.psm.synaptics_support=1" to /boot/loader.conf and reboot, (oh > why this is not plug and play > , should be reported as bug, so that rebooting is not required) > install xf86-input-synaptics, disable moused, and edit xorg.conf(mine > is with HAL disabled during compile): > Section "InputDevice" > Identifier "Mouse1" > Driver "synaptics" > Option "Protocol" "psm" > Option "Device" "/dev/psm0" > Option "TouchpadOff" "2" > EndSection > Now only replace Mouse0 with Mouse1 in your xorg.conf in right Section ;) > Dunno what HAL may do if you compiled Xorg with it, > in that case you should have xorg.conf completly removed.... > and HAL should be smart enough to do this on its own way. > Going to undo this soon ... I prefer sysmouse(4)/moused(4) combo. I can confirm, this disables the touch pad. :) Perhaps I should just buy my mother an external mouse. - -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoO/kEACgkQCgsXFM/7nTzOzgCdGGSw9Kn3qkOh9N64LHul4XvQ DQMAoPlahO3ZSpPtI8FqOaU9RCmvup3U =XCg4 -----END PGP SIGNATURE-----