From owner-freebsd-mobile@FreeBSD.ORG Sat May 16 17:44:38 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 8F0A91065677 for ; Sat, 16 May 2009 17:44:38 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0BCA38FC0C for ; Sat, 16 May 2009 17:44:37 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz9 with SMTP id 9so2459009bwz.43 for ; Sat, 16 May 2009 10:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6zo/r1x+8KQbWOAMdzIELEoWrJQVEe2k2QiE0wgODto=; b=WLosBX2Gpu2g8Buw6eIlTcXKp6/JEs1AGdU3eA71Q9KcOrnuutkonClzdGaB2O9prX Dup5EmBE+V3ONNmn3GTJ13DmlK9N77fs717HhAe4SbX+wIBfwjG4hg5g+oanMWr4lpgP imt+HcsjsUu3cD8aW6psoA6zTLUSz7zg50VMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SBakWraZoJceGd4NFPC+amb9pC3McJTiXfMoyPS5cZWBaE8iWoJmrnru0thufj2yAy tgn5akhApsZ0mIcni8cCbvwr8IOVqdu+66zlx2YZKaPPHoHnTZdhcjBJoZ/wF/pCSTs4 cQ2cvnbmv+yIFn7EDyGFONU072S8azLmBa5nQ= MIME-Version: 1.0 Received: by 10.204.116.15 with SMTP id k15mr4665676bkq.118.1242495876919; Sat, 16 May 2009 10:44:36 -0700 (PDT) In-Reply-To: <3a142e750905161018y7d0921f8s409956c941c13ed5@mail.gmail.com> 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> Date: Sat, 16 May 2009 19:44:36 +0200 Message-ID: <3a142e750905161044i3ca51effs27f24c7e9f6540fc@mail.gmail.com> From: "Paul B. Mahol" To: Dan Langille 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:44:39 -0000 On 5/16/09, Paul B. Mahol wrote: > On 5/16/09, Dan Langille wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> 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 :) > >> - -- >> 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 >> >> iEYEARECAAYFAkoO6v0ACgkQCgsXFM/7nTxaWwCgn7dYtvWnQm+vY4UWndKN/nOy >> bJgAn3T2h9WzI6XAn2W4d5zYOqLcc3UQ >> =3v3U >> -----END PGP SIGNATURE----- >> 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. -- Paul