From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 21:50:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 677F616A4CE for ; Sun, 13 Mar 2005 21:50:45 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AE1A43D3F for ; Sun, 13 Mar 2005 21:50:42 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j2DLoVUQ007584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 13 Mar 2005 13:50:32 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j2DLoSMJ007582; Sun, 13 Mar 2005 13:50:28 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 13 Mar 2005 13:50:28 -0800 From: "Loren M. Lang" To: Mikko Ty?l?j?rvi Message-ID: <20050313215028.GN18080@alzatex.com> References: <20050313074746.GA17624@alzatex.com> <20050313104455.A54006@sotec.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jnYfR+Q8IWTs8BNa" Content-Disposition: inline In-Reply-To: <20050313104455.A54006@sotec.home> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: "Loren M. Lang" cc: FreeBSD Mailing list Subject: Re: Synaptics Touchpad driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 21:50:45 -0000 --jnYfR+Q8IWTs8BNa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 13, 2005 at 10:48:46AM -0800, Mikko Ty?l?j?rvi wrote: >=20 > Hi, >=20 > On Sat, 12 Mar 2005, Loren M. Lang wrote: >=20 > >It seems that FreeBSD 5.3 now has support in the kernel for the > >synaptics touchpad that my laptop has. Right now it's just running as a > >normal mouse, it looks like the support is disabled by default. In > >isa/psm.c, I can see the synaptics support in there, but it's disabled > >unless hw.psm.synaptics_support is set to 1. My question is how do I > >set it to one? It's setup as a TUNABLE_INT, but there is no sysctl for > >it. Does it only appear on boot? >=20 > It is not a sysctl, it is a kernel tunable. You control it from the > boot loader, for example by putting >=20 > hw.psm.synaptics_support=3D"1" >=20 > into /boot/loader.conf. See loader.conf(5) and /boot/defaults/loader.conf > for more information. That's what I was wondering and I tried to set it in the loader, but I haven't noticed a difference. No added sysctls to tune the touchpad, no kernel messages showing anything obvious, the touchpad still acts the same, etc. Also, I looked through the kernel sources for other TUNABLE_INT's: =2E.. /usr/src/sys/cam/scsi/scsi_all.c: TUNABLE_INT_FETCH("kern.cam.scsi_de= lay", &delay); /usr/src/sys/cam/scsi/scsi_cd.c:TUNABLE_INT("kern.cam.cd.changer.min_busy_s= econds", &changer_min_busy_seconds); /usr/src/sys/cam/scsi/scsi_cd.c:TUNABLE_INT("kern.cam.cd.changer.max_busy_s= econds", &changer_max_busy_seconds); /usr/src/sys/cam/scsi/scsi_cd.c: TUNABLE_INT_FETCH(tmpstr, &softc->m= inimum_command_size); /usr/src/sys/cam/scsi/scsi_da.c:TUNABLE_INT("kern.cam.da.retry_count", &da_= retry_count); /usr/src/sys/cam/scsi/scsi_da.c:TUNABLE_INT("kern.cam.da.default_timeout", = &da_default_timeout); /usr/src/sys/cam/scsi/scsi_da.c: TUNABLE_INT_FETCH(tmpstr, &softc->m= inimum_cmd_size); =2E.. sysctls -a|grep cam: kern.cam.scsi_delay: 15000 kern.cam.cd.changer.min_busy_seconds: 5 kern.cam.cd.changer.max_busy_seconds: 15 kern.cam.da.retry_count: 4 kern.cam.da.default_timeout: 60 It looks like all these tunables are also sysctls. >=20 > $.02, > /Mikko --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 =20 --jnYfR+Q8IWTs8BNa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCNLWkbTXoRwEYo9IRAhIvAJ9IBPI8bF0rVZRgX5eFyjsDnmnKIwCfXN0+ +daInZppReBjBU+dprbOTWg= =zJPc -----END PGP SIGNATURE----- --jnYfR+Q8IWTs8BNa--