Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2008 09:50:57 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        freebsd-current@freebsd.org, k m <m.k12015@gmail.com>
Subject:   Re: ASUS Eee PC S101
Message-ID:  <O4WBHpaBARTT1fU0aPJMo%2BNNpqA@ZMrWpYfqYuBOAl/VDVr8navA5fA>
In-Reply-To: <20081203110844.96cc9d0a.stas@FreeBSD.org>
References:  <870d2e5a0812022051q2007b46eq4fd2115f76f3e5d6@mail.gmail.com> <20081203110844.96cc9d0a.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <rea-fbsd@codelabs.ru>
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 <rea-fbsd@codelabs.ru>
---
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?O4WBHpaBARTT1fU0aPJMo%2BNNpqA>