From owner-freebsd-current@FreeBSD.ORG Thu Aug 28 05:19:18 2003 Return-Path: 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 61E2016A4D9 for ; Thu, 28 Aug 2003 05:19:18 -0700 (PDT) Received: from chuggalug.clues.com (chuggalug.demon.co.uk [62.49.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64BB143FE1 for ; Thu, 28 Aug 2003 05:19:17 -0700 (PDT) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (localhost [127.0.0.1]) by chuggalug.clues.com (8.12.9/8.12.8) with ESMTP id h7SCFAVp096841 for ; Thu, 28 Aug 2003 12:15:10 GMT (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.12.9/8.12.8/Submit) id h7SCFASa096840 for current@freebsd.org; Thu, 28 Aug 2003 12:15:10 GMT Date: Thu, 28 Aug 2003 12:15:06 +0000 From: Geoff Buckingham To: current@freebsd.org Message-ID: <20030828121506.GB96069@chuggalug.clues.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: IBM HS20 blade and 5.1 release problems (USB) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 28 Aug 2003 12:19:18 -0000 I have come across the following issues with 5.1 and the IBM blades. They are likely to apply to 4.x too. The HS20 has a serial port, but it is only available as a header on board. The HS20 also has an AT keyboard controller but that seems not to be physically available anywhere. IBMs BladeCenter Chasis has two usb hubs which are switched bettween the blades by the managment module in the chassis. One hub has a CD and Floppy drive, this works fine. The other hub has a mouse and two usb keyboards. One usb keyboard is the PS2 keyboard connected to the managment module, the other is the keyboard element of the integrated IP KVM switch. These two usb keyboards are only ever attached to one of the fourteen blades at a time. However these two keyboards are the only input devices available to the console. IBM rely on all keyboard input ending up in the same place, as is the case in windows and presumably Linux. Is there a way to get syscons to listen to multiiple keyboards at the same time? I have been using usbd to detect the connection of the keyboards and configure syscons, however because multiple devices connect in the same event (ukbd1, umouse0) I discovered I was unable to trigger any action on the connection of the keyboard, only the mouse, so now when a mouse is attached usbd forces syscons to use kbd2. Is this a bug or feature of usbd? Finaly the loader uses the bios for keyboard interaction. However when booting single user you intialise syscons, but not usbd, is there some otherway to figure out if a usb keyboard is attached (remebering most of the time it will not be) and notify syscons?