Date: Mon, 07 May 2001 12:02:46 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Alfred Perlstein <bright@wintelcom.net> Cc: freebsd-hackers@FreeBSD.org, Ingo Flaschberger <if@sil.at>, Ceri Storey <c.storey@student.umist.ac.uk> Subject: Re: no keyboard Message-ID: <XFMail.010507120246.jhb@FreeBSD.org> In-Reply-To: <20010505121008.E18676@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05-May-01 Alfred Perlstein wrote: > * Ceri Storey <c.storey@student.umist.ac.uk> [010505 11:59] wrote: >> On Sat, May 05, 2001 at 08:54:18PM +0200, Ingo Flaschberger wrote: >> > > Note : this is a way to kill your keyboard : an AT keyboard is not >> > > hot-plug compatible >> > >> > i have never killed a keyboard with un / plugging. >> > at linux it works. >> Well, it works, until your keyboard does actually break :) > > It can actually fry the entire motherboard. I doubt linux can > prevent that. > > FreeBSD 4.3 allows hotswap again. It never disallowed it, it is simply a flag for the atkbd(4) driver. You can always tweak it by turning off flag 0x1 on the atkbd0 device via a custom kernel or using a userconfig script. However, by default keyboards are actually probed and not assumed present on 4.3, so hotplug of a keyboard if the keyboard was not plugged in in 4.3 will not work out of the box. Note that hotplug of USB will work. A real fix would be to have the atkbdc0 driver attach a atkbd0 device in the case that a keyboard interrupt comes in (i.e. on the first keypress after plugging in the keyboard). -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010507120246.jhb>