From owner-freebsd-current@FreeBSD.ORG Sat Aug 6 21:31:50 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74ABE16A41F for ; Sat, 6 Aug 2005 21:31:50 +0000 (GMT) (envelope-from marcus@corp.grupos.com.br) Received: from mail.grupos.com.br (mail.grupos.com.br [200.203.183.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1009E43D46 for ; Sat, 6 Aug 2005 21:31:50 +0000 (GMT) (envelope-from marcus@corp.grupos.com.br) Received: from corp.grupos.com.br (unknown [150.162.166.55]) by mail.grupos.com.br (Postfix) with ESMTP id 45AD911E14C for ; Sat, 6 Aug 2005 18:31:49 -0300 (BRT) Received: from [192.168.1.3] (201-3-223-33.fnsce7004.dsl.brasiltelecom.net.br [201.3.223.33]) (Authenticated sender: marcus@corp.grupos.com.br) by corp.grupos.com.br (Postfix) with ESMTP id 070325569 for ; Sat, 6 Aug 2005 18:31:48 -0300 (BRT) Message-ID: <42F52C56.90205@corp.grupos.com.br> Date: Sat, 06 Aug 2005 18:32:06 -0300 From: Marcus Grando User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050722) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD installation and USB keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 21:31:50 -0000 Hi List, In FreeBSD installation, USB keyboard don't work. Proposed patch to sysinstall: --- usb.c.orig Fri May 12 00:01:17 2000 +++ usb.c Sat Aug 6 18:23:12 2005 @@ -40,5 +40,11 @@ variable_set2("usbd_enable", "YES", 1); vsystem("/stand/usbd"); + + if ((fd = open("/dev/ukbd0", O_RDONLY)) != -1) { + close(fd); + vsystem("kbdcontrol -k /dev/ukbd0 < /dev/console"); + } + restorescr(w); } -- Marcus Grando Grupos Internet S/A marcus(at)corp.grupos.com.br