From owner-freebsd-current Mon Aug 13 2:23:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 4427537B40B; Mon, 13 Aug 2001 02:23:06 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.143.29.Dial1.SanJose1.Level3.net [209.245.143.29]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id CAA03394; Mon, 13 Aug 2001 02:23:03 -0700 (PDT) Message-ID: <3B779CA1.F06B06FE@mindspring.com> Date: Mon, 13 Aug 2001 02:23:45 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: current@FreeBSD.org, Sean Kelly , Kazutaka YOKOTA , Matt Dillon , Mike Smith , Nate Williams Subject: Re: FreeBSD's aggressive keyboard probe/attach References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin wrote: > > My suggestion for a probe in this case would be to set up > > a different handler for the reset signal, and then ask the > > keyboard to send the reset signal. If it does, then there > > is a keyboard present. > > Yeah, and resetting the controller works fine on machines that don't > have keyboards, so it returns false positives. I don't *want* the controller reset: that's what makes the LEDs flash and screw up the KVM's. > > More ideally, the FreeBSD box would detect whether or not > > the video card had been disabled, and use _that_ to decide > > whether or not to use a keyboard. It would become the job > > of the video driver -- be it a regular driver, or be it an > > LCD driver -- to make the distinction. > > This might be practical except that lots of motherboards ship with > built-in video these days. I think that disabling this in AMI BIOS, at least, will result in the carry flag being set to indicate INT 10 call failures. > What dance? Works great for me. If SRM uses serial console, so > does FreeBSD. If SRM uses vidconsole, so does FreeBSD. In fact, > this is the _only_ way it can work on the Alpha since SRM just > gives you one console device handle and one boot device handle. > > Have you actually used an Alpha before? :-P Yes, I've used a Miata and a Multia with FreeBSD, and several others with DEC UNIX, and had a PC164 at one time. Surprisingly, setting "vidconsole" in the SRM didn't make my TGA work in FreeBSD. 8-p. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message