From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 15 08:33:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14CCB16A4D0 for ; Thu, 15 Apr 2004 08:33:09 -0700 (PDT) Received: from hotmail.com (bay14-dav32.bay14.hotmail.com [64.4.48.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBF8943D41 for ; Thu, 15 Apr 2004 08:33:08 -0700 (PDT) (envelope-from liamtohhu@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 15 Apr 2004 08:33:08 -0700 Received: from 61.187.54.11 by bay14-dav32.bay14.hotmail.com with DAV; Thu, 15 Apr 2004 15:33:08 +0000 X-Originating-IP: [61.187.54.11] X-Originating-Email: [liamtohhu@hotmail.com] X-Sender: liamtohhu@hotmail.com From: "HU Xiang-hua" To: Date: Thu, 15 Apr 2004 23:32:50 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 15 Apr 2004 15:33:08.0835 (UTC) FILETIME=[F443FB30:01C422FE] X-Mailman-Approved-At: Fri, 16 Apr 2004 05:09:11 -0700 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: how to disable/enable kbd during kernel startup? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 15:33:09 -0000 hi, I have tried to display a progress bar during FreeBSD5.2 startup. = The method is based on splash_bmp and insert several PROGRESS like Linux = Progress Patch into mi_startup and rc.sysinit. It is urgly ,but it do = work! :-) Now the problem is: any key pressed during kernel startup will ruin the = splash progress, and disable to show "login:".=20 So I want to disable keyboard for the period of kernel startup. I = comment out kbd_enable in kbd_atttach(), but how can I enable it ?