From owner-freebsd-current@FreeBSD.ORG Wed Nov 17 11:48:29 2004 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 5AF0316A4CE; Wed, 17 Nov 2004 11:48:29 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id B232F43D31; Wed, 17 Nov 2004 11:48:28 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.0.5] (adsl-68-250-184-205.dsl.wotnoh.ameritech.net [68.250.184.205]) (authenticated bits=0)iAHBT2UJ004704 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 17 Nov 2004 06:29:04 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-current@freebsd.org Date: Wed, 17 Nov 2004 06:51:05 -0500 User-Agent: KMail/1.7 References: <419B2B01.9050803@FreeBSD.org> In-Reply-To: <419B2B01.9050803@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3118907.eLkp9xaBRL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411170651.17091.mistry.7@osu.edu> X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on crumpet.united-ware.com cc: Sergey Matveychuk Subject: Re: two devices on one USB channel 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: Wed, 17 Nov 2004 11:48:29 -0000 --nextPart3118907.eLkp9xaBRL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 17 November 2004 05:42 am, Sergey Matveychuk wrote: > I've bought a KVM switch (2computers->1display,mouse,keyboard(PS/2 > both)). It has one USB output (Windows sees USB mouse and USB keyboard). > > I've rebuilt my kernel with this options: > options KBD_INSTALL_CDEV > device uhci > device ohci > device usb > device ugen > device uhid > device umass > device ukbd # Keyboard > device ums # Mouse > > Keyboard is working now. But mouse don't. > > dmesg: > usb1: OHCI version 1.0, legacy support > usb1: SMM does not respond, resetting > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 3 ports with 3 removable, self powered > ukbd0: vendor 0x10d5 M02 1.6, rev 1.10/0.00, addr 2, iclass 3/1 > kbd1 at ukbd0 > ums0: vendor 0x10d5 M02 1.6, rev 1.10/0.00, addr 2, iclass 3/1 > ums0: 5 buttons and Z dir. > > usbdevs -vd: > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > nVidia(0x0000), rev 1.00 > uhub0 > port 1 powered > port 2 powered > port 3 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > nVidia(0x0000), rev 1.00 > uhub1 > port 1 powered > port 2 addr 2: low speed, power 100 mA, config 1, M02 1.6(0x0116), > vendor 0x10d5(0x10d5), rev 0.00 > ukbd0 > ums0 > port 3 powered > > moused is runned by usbd (/usr/sbin/moused -p /dev/ums0 -I > /var/run/moused.ums0.pid ; /usr/sbin/vidcontrol -m on). > > How can I fix it please? The patch I posted here should fix your problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/63837 =2D-=20 Anish Mistry --nextPart3118907.eLkp9xaBRL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBmzs1xqA5ziudZT0RAlkyAKCj/AG2m4QYLsM1hD9mE67RUNopeACfcHrQ MCeGDxlTaORTQdDDwxc5V5E= =ss6O -----END PGP SIGNATURE----- --nextPart3118907.eLkp9xaBRL--