Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 19:35:20 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Lonnie Santella <lonniesantella@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Device Hints vs. FreeBSD 4.10 Release
Message-ID:  <20040602183520.GA52752@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <BAY15-F15sJbBVVI6x900023465@hotmail.com>
References:  <BAY15-F15sJbBVVI6x900023465@hotmail.com>

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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040602183520.GA52752>