From owner-freebsd-usb@FreeBSD.ORG Sun Jul 3 00:40:06 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB88B16A564; Sun, 3 Jul 2005 00:40:05 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EE3144260; Sun, 3 Jul 2005 00:24:55 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id B8355626BC; Sat, 2 Jul 2005 17:20:28 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id A6B3E5C9CA; Wed, 9 Mar 2005 11:11:27 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 1A69F56BA5; Wed, 9 Mar 2005 19:11:27 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 634A316A4DB; Wed, 9 Mar 2005 19:11:23 +0000 (GMT) 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 5E22F16A4CE for ; Wed, 9 Mar 2005 19:11:19 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD34643D55 for ; Wed, 9 Mar 2005 19:11:18 +0000 (GMT) (envelope-from theawel@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so306716wra for ; Wed, 09 Mar 2005 11:11:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=EM6+41lsSkw01xh336Cwu8agizsiwqkLQKKz8qvwh6EODWSJf1A9uWjAYsDpci8Eycr27Z8K+d1f7/21onExaFkGdWzdXpgdBaom+PmnGZG8VZukwwesQoaR5RC3puVjOyBXYYsnCvrofcZyZfkjv1V5Yp3Bb3InR8zGWEN71g4= Received: by 10.54.71.17 with SMTP id t17mr995992wra; Wed, 09 Mar 2005 11:10:53 -0800 (PST) Received: by 10.54.24.11 with HTTP; Wed, 9 Mar 2005 11:10:49 -0800 (PST) Message-ID: From: Alex Welycz To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on elvis.mu.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.2 X-Spam-Level: Cc: Subject: KVM USB X-BeenThere: freebsd-usb@freebsd.org Reply-To: Alex Welycz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 00:40:06 -0000 X-Original-Date: Wed, 9 Mar 2005 14:10:49 -0500 X-List-Received-Date: Sun, 03 Jul 2005 00:40:06 -0000 All, I'm using FreeBSD 5.3 and I've run into a bit of a problem. I am using a KVM switch that does not keep a live connection to the computer when switching between computers ie. the computers show that the usb keyboard/mouse are unplugged when you switch between them. My problem occurs when the i switch from my Windows box back to my FreeBSD box. The USB deamon on the BSD box shows that the keyboard is recognized and loads it but when i try to use the keyboard nothing comes up. The USB keyboard does work when I reboot the BSD box and dont switch between computers. Now how I get the USB keyboard to work when i switch between computers I have to run this script. sleep 15 kbdcontrol -k /dev/kbd1 < /dev/ttyv0 > /dev/null Apparently when I reboot the box everything works fine, the USB keyboard is accessed as kbd0 -> ukbd0 but when I switch between boxes and switch back the keyboard doesnt get mounted at kbd0 -> ukbd0 but instead is mounted at kbd1 -> ukbd1. So my question is how do I get FreeBSD to always mount the keyboard as kbd0 -> ukbd0 and not kbd1 -> ukbd1 Because upon bootup my kbdcontrol is called as: kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null and cannot be called wih kbd1 because at bootup that device does not exist, and also that device disappears when I swicth to my other computer so kbdcontrol sets itself back to kbd0. I also use hint.atkbd.0.disabled="1" in loader.conf since I have no PS/2 device _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"