From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 11:35:30 2004 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 B010816A4CE for ; Wed, 2 Jun 2004 11:35:30 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 397D743D1D for ; Wed, 2 Jun 2004 11:35:29 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i52IZLqr052908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jun 2004 19:35:21 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i52IZKGL052903; Wed, 2 Jun 2004 19:35:20 +0100 (BST) (envelope-from matthew) Date: Wed, 2 Jun 2004 19:35:20 +0100 From: Matthew Seaman To: Lonnie Santella Message-ID: <20040602183520.GA52752@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Lonnie Santella , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040525, clamav-milter version 0.71 X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Device Hints vs. FreeBSD 4.10 Release 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: Wed, 02 Jun 2004 18:35:30 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2004 at 06:06:14PM +0000, Lonnie Santella wrote: > I've switched from FreeBSD 5.2 to FreeBSD 4.10 Release. I've lost the=20 > ability to edit the /boot/device.hints file, since it no longer exists in= =20 > ver 4.10. This is critical to me since I need to add the mouse flag: >=20 > hint.psm.0.flags=3D"0x100" >=20 > This turns off the sync check which is what causes my mouse to jump all= =20 > over the screen when I wiggle it. It's a PS/2 mouse - but plugged in via = a=20 > Avocent 8-port KVM switch. >=20 > Is there another way to implement this type of port flag? Yes, but you have to compile a custom kernel. Instructions for doing that are here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-= building.html What you need to do is take your kernel configuration file, and find the line that says: device psm0 at atkbdc? irq 12 and modify it to read: device psm0 at atkbdc? irq 12 flags 0x100 If you think that the 5.x device.hint line is suspiciously similar to that bit of kernel config, then you are right. The 5.x 'device.hints' mechanism is an interface to allow you to change such settings in the kernel without actually having to recompile. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAvh3oiD657aJF7eIRAgNQAKCDgI8CDH1fNONgBYB2r4A9y1CVaQCfWNJH f/oqEjjUI7rJLbIkrgE0r/s= =RhLs -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--