From owner-p4-projects@FreeBSD.ORG Wed Jul 25 17:07:53 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3AA1116A41A; Wed, 25 Jul 2007 17:07:53 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C520E16A417 for ; Wed, 25 Jul 2007 17:07:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC1013C461 for ; Wed, 25 Jul 2007 17:07:52 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe01.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 536513550; Wed, 25 Jul 2007 18:52:50 +0200 From: Hans Petter Selasky To: Rui Paulo Date: Wed, 25 Jul 2007 18:52:54 +0200 User-Agent: KMail/1.9.7 References: <200707121918.l6CJIFkI094946@repoman.freebsd.org> <200707131604.22648.hselasky@c2i.net> <46A5FF7A.1090803@fnop.net> In-Reply-To: <46A5FF7A.1090803@fnop.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707251852.55254.hselasky@c2i.net> Cc: Perforce Change Reviews Subject: Re: PERFORCE change 123399 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 17:07:53 -0000 On Tuesday 24 July 2007, Rui Paulo wrote: > Hans Petter Selasky wrote: > > Remove all USB device drivers from your kernel config file, except > > "device ugen". All your USB devices should show up like "ugenX" devices. > > Then install "/usr/ports/sysutils/udesc_dump" and run this command on all > > /dev/ugenX instances. Redirect the contents to a set of files and upload > > them somewhere. I want to have a look at the descriptors. Maybe there is > > a USB descriptor that you can detect, that makes a keyboard an Apple > > keyboard. That will be more generic than adding these quirks! > > The output of udesc_dump is attached. ugen3 is what you really wanted to > take a look. > Yes, there it is. I suggest you do the following. Try to cat the various interrupt endpoints, for example /dev/ugen3.X and see if you get anything. Really, I think that FreeBSD 7-current should be able to handle more than one inputdevice! Second, compile your kernel with "options USB_DEBUG". Then "sysctl hw.usb.ums.debug=15". On which mouse device do you get data when you move the mouse ? Or maybe you get no data at all. Anyway, I would object to your patch. Try to get moused fixed or whatever so that it works. --HPS