Date: Tue, 23 Mar 2004 13:12:02 +0100 From: Ruben de Groot <mail25@bzerk.org> To: "Shaun T. Erickson" <ste@smxy.org> Cc: freebsd-questions@freebsd.org Subject: Re: disconnecting keyboard: big trouble !?! Message-ID: <20040323121202.GA1781@ei.bzerk.org> In-Reply-To: <405FD7BD.8060004@smxy.org> References: <405FCE37.5060104@users.sourceforge.net> <038c01c4109d$858a4dc0$1a01a8c0@blackstar.net> <405FD7BD.8060004@smxy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 23, 2004 at 01:22:53AM -0500, Shaun T. Erickson typed: > Steve Ireland wrote: > > >This is a PS/2 thing, not an operating system thing. You really can > >fry your motherboard plugging and unplugging PS/2 devices while the > >system is powered up. > > I suppose it's possible, but I know I 've never fry'd one. I'm always > unplugging and pluging mine back in. The key to getting the keyboard > re-initialized, when you plug it back in - at least under > 5.2.1-RELEASE-p3 - is to change > > hint.atkbd.0.flags="0x1" > > to > > hint.atkbd.0.flags="0x0" > > in /boot/device.hints and reboot. After that, you can plug and unplug to > your heart's content. I'm told this setting may have to be made in the > kernel, requiring a custom kernel, in 4.x releases. Yes. In 4.x GENERIC kernel, change the line: device atkbd0 at atkbdc? irq 1 flags 0x1 to: device atkbd0 at atkbdc? irq 1 recompile kernel and reboot. Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040323121202.GA1781>