From owner-freebsd-current@FreeBSD.ORG Thu Dec 4 06:51:00 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9141065675; Thu, 4 Dec 2008 06:51:00 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 087508FC13; Thu, 4 Dec 2008 06:50:59 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=fdHdtADQ4TgTJeP2FQNmMYbhuj5O1Qg+JLGW4YK3CWgCNsNRybsSGY1WNUKnXWJPnPnbUFSFF5DCfWAbbHoU0GZGtpEOQX6npwi3WzAY/rGF2tP7G+NOCLUc28qON3KEVT4m8an5IryoxcWa00sDcv585JFtxAQejOMYPjI9JoE=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1L8838-000ITa-Cs; Thu, 04 Dec 2008 09:50:58 +0300 Date: Thu, 4 Dec 2008 09:50:57 +0300 From: Eygene Ryabinkin To: Stanislav Sedov Message-ID: References: <870d2e5a0812022051q2007b46eq4fd2115f76f3e5d6@mail.gmail.com> <20081203110844.96cc9d0a.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RYJh/3oyKhIjGcML" Content-Disposition: inline In-Reply-To: <20081203110844.96cc9d0a.stas@FreeBSD.org> Sender: rea-fbsd@codelabs.ru Cc: freebsd-current@freebsd.org, k m Subject: Re: ASUS Eee PC S101 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 06:51:00 -0000 --RYJh/3oyKhIjGcML Content-Type: multipart/mixed; boundary="S1BNGpv0yoYahz37" Content-Disposition: inline --S1BNGpv0yoYahz37 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Stanislav, *, good day. Wed, Dec 03, 2008 at 11:08:44AM +0300, Stanislav Sedov wrote: > > % sysctl hw.psm.synaptics_support > > sysctl: unknown oid 'hw.psm.synaptics_support' > >=20 >=20 > This is not a sysctl variable, but kenv one. It should be set via > /boot/loader.conf. May be the attached patch for psm(4) will be good? I had seen some people who also tried to use sysctl here, because "hw.psm.synaptics_support" looks like sysctl node name and psm(4) was not explicitely stating where it should be set. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --S1BNGpv0yoYahz37 Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="rephrase-explanations-about-Synaptics-support.diff" Content-Transfer-Encoding: quoted-printable =46rom ee9bf63d30a518beced8ce449a89b40a7cbc730c Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Thu, 4 Dec 2008 09:44:23 +0300 Subject: [PATCH] psm(4): rephrase explanations about Synaptics support The previous explanation said 'at boot-time' and could be a bit unclear to people who aren't very familiar with the kenv, loader.conf and the company. Explicit words about /boot/loader.conf and the need for rebooting are a bit better ;)) Signed-off-by: Eygene Ryabinkin --- share/man/man4/psm.4 | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/share/man/man4/psm.4 b/share/man/man4/psm.4 index 15ee8e4..7012971 100644 --- a/share/man/man4/psm.4 +++ b/share/man/man4/psm.4 @@ -353,10 +353,12 @@ Extended support for Synaptics touchpads can be enabl= ed by setting .Va hw.psm.synaptics_support to .Em 1 -at boot-time. +in +.Pa /boot/loader.conf . This will enable .Nm to handle packets from guest devices (sticks) and extra buttons. +Reboot is needed to activate the handling of Synaptics touchpads. .Sh IOCTLS There are a few .Xr ioctl 2 @@ -840,6 +842,7 @@ Clicking any button without moving the mouse may also w= ork. .Xr mouse 4 , .Xr mse 4 , .Xr sysmouse 4 , +.Xr loader.conf 5 , .Xr moused 8 , .Xr syslogd 8 .Rs --=20 1.6.0.4 --S1BNGpv0yoYahz37-- --RYJh/3oyKhIjGcML Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk3fdEACgkQthUKNsbL7Yja3gCdHihJMWk29tGzvQVCYYObp2/5 2NwAoIXkjgRcZ4lfNjFl44TpOGDv8b3E =GqgX -----END PGP SIGNATURE----- --RYJh/3oyKhIjGcML--