From owner-freebsd-questions@FreeBSD.ORG Thu Apr 15 08:29:48 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 0DDA916A4CE for ; Thu, 15 Apr 2004 08:29:48 -0700 (PDT) Received: from hotmail.com (bay14-dav40.bay14.hotmail.com [64.4.48.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3DAB43D66 for ; Thu, 15 Apr 2004 08:29:47 -0700 (PDT) (envelope-from liamtohhu@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 15 Apr 2004 08:29:47 -0700 Received: from 61.187.54.11 by bay14-dav40.bay14.hotmail.com with DAV; Thu, 15 Apr 2004 15:29:47 +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:29:24 +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:29:47.0664 (UTC) FILETIME=[7C5BB900:01C422FE] 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-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: Thu, 15 Apr 2004 15:29:48 -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 ?