From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 08:02:08 2003 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 1BAFC37B401 for ; Wed, 11 Jun 2003 08:02:08 -0700 (PDT) Received: from jane.spongocoel.com (jane.spongocoel.com [65.245.4.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29EE043FD7 for ; Wed, 11 Jun 2003 08:02:07 -0700 (PDT) (envelope-from scrotch@sprynet.com) Received: from sprynet.com (localhost [127.0.0.1]) by jane.spongocoel.com (8.12.9/8.12.6) with ESMTP id h5BF27PR002959 for ; Wed, 11 Jun 2003 10:02:08 -0500 (CDT) Date: Wed, 11 Jun 2003 10:02:07 -0500 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Scott Saunders To: freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: <200306110210.aa30548@salmon.maths.tcd.ie> Message-Id: X-Mailer: Apple Mail (2.552) Subject: Re: USB keyboard and KVM 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: Wed, 11 Jun 2003 15:02:08 -0000 On Tuesday, June 10, 2003, at 08:10 PM, Ian Dowse wrote: > In message , Scott > Saunders w > rites: >> ... >> I can SSH in (and maybe this will be the permanent solution). If I run >> kbdcontrol -k /dev/kbd0 < /dev/ttyv0 while it's 'locked up' I get: >> kbdcontrol: cannot open /dev/kbd0: Device busy >> >> So maybe it didn't close down the connection to the keyboard? If >> that's >> anything like how it actually works. >> ... >> Are you using a set up like this, Ian? > > No, I've only used a setup that had both PS/2 and USB keyboards. > Just reading the kbdcontrol man page, the other thing you could try > is the -K option to detach the keyboard. e.g: > > device "Keyboard" > devname "ukbd0" > attach "kbdcontrol -k /dev/kbd0 < /dev/ttyv0" > detach "kbdcontrol -K < /dev/ttyv0" > > (or experiment with kbdcontrol -K from ssh) > > BTW, what are the last few lines of `dmesg' after the keyboard stops > working? > > Ian Thank you again. I'm going to have to put this aside for a little while. I can't seem to get it working, and dmesg doesn't have any lines whatsoever about the keyboard, usb, etc after boot. In fact, if I boot and then switch the KVM before login, no lines appear in dmesg regarding the switch or anything else. I've also found a couple of discouraging suggestions online about usb devices not coming back up without solutions. I'm going to put this problem on the back burner for a while. I'll have to learn a little more about how keyboards and devices work. It's over my head at this point, and if I keep typing in commands I don't understand I'll break something terribly :) Thanks for your help though. Scott