Date: Thu, 4 Dec 2008 12:30:15 +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: <emNn6GRyyD7NKxux7lIRK0HkS0Q@Ygd1c9Ysaj5L1jAr7uLel4OlP0w> In-Reply-To: <20081204111702.998fa59b.stas@FreeBSD.org> References: <870d2e5a0812022051q2007b46eq4fd2115f76f3e5d6@mail.gmail.com> <20081203110844.96cc9d0a.stas@FreeBSD.org> <O4WBHpaBARTT1fU0aPJMo%2BNNpqA@ZMrWpYfqYuBOAl/VDVr8navA5fA> <20081204111702.998fa59b.stas@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--GBDnBH7+ZvLx8QD4 Content-Type: multipart/mixed; boundary="kjpMrWxdCilgNbo1" Content-Disposition: inline --kjpMrWxdCilgNbo1 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thu, Dec 04, 2008 at 11:17:02AM +0300, Stanislav Sedov wrote: > The manual page clearly states it should be set at boot. Yes, but how? It will be friendly to the reader of psm who wants Synaptics support to provide the reference right in the manual. > The /boot/loader.conf isn't the single possible way to achive > this, you can aslo set this manually in loaded, Point taken, the attached patch says about it. > or there might be another ways to set kenv variables in another > bootloaders. Hmm, I think that it is out of the scope for psm(4). We can even write some kernel module that will hack the psm driver to activate Synaptics, but it is not the thing that should be mentioned in the psm(4) ;)) > Claiming that the variable should be set in /boot/loader.conf > isn't good, I think. OK, but what about the modified patch for psm(4) page? Thanks. --=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 {_.-``-' {_/ # --kjpMrWxdCilgNbo1 Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="rephrase-explanations-about-Synaptics-support.diff" Content-Transfer-Encoding: quoted-printable =46rom 131cd7a637a168e3cb3a698031a8b297a148abdf 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 | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/share/man/man4/psm.4 b/share/man/man4/psm.4 index 15ee8e4..3b4268e 100644 --- a/share/man/man4/psm.4 +++ b/share/man/man4/psm.4 @@ -353,10 +353,15 @@ 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 +or setting it at the boot time via the +.Xr loader 8 +command line. 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 +845,8 @@ 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 loader 8 , .Xr moused 8 , .Xr syslogd 8 .Rs --=20 1.6.0.4 --kjpMrWxdCilgNbo1-- --GBDnBH7+ZvLx8QD4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk3oycACgkQthUKNsbL7YjBywCfeVEVL10veQBGCoNSrg7y+jCZ hUQAn2sBERvZCoJqgvvcbyOFjvJbkgQH =zKka -----END PGP SIGNATURE----- --GBDnBH7+ZvLx8QD4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?emNn6GRyyD7NKxux7lIRK0HkS0Q>