From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 04:09:42 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 A994016A4CE for ; Tue, 23 Mar 2004 04:09:42 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 929FF43D41 for ; Tue, 23 Mar 2004 04:09:41 -0800 (PST) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.10/8.12.10) with ESMTP id i2NCC2Uv002254; Tue, 23 Mar 2004 13:12:03 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.10/8.12.10/Submit) id i2NCC2Hu002253; Tue, 23 Mar 2004 13:12:02 +0100 (CET) (envelope-from mail25@bzerk.org) X-Authentication-Warning: ei.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Tue, 23 Mar 2004 13:12:02 +0100 From: Ruben de Groot To: "Shaun T. Erickson" Message-ID: <20040323121202.GA1781@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , "Shaun T. Erickson" , freebsd-questions@freebsd.org References: <405FCE37.5060104@users.sourceforge.net> <038c01c4109d$858a4dc0$1a01a8c0@blackstar.net> <405FD7BD.8060004@smxy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <405FD7BD.8060004@smxy.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: disconnecting keyboard: big trouble !?! 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: Tue, 23 Mar 2004 12:09:42 -0000 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