From owner-p4-projects@FreeBSD.ORG Thu Jul 26 08:54:27 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AD42B16A41A; Thu, 26 Jul 2007 08:54:27 +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 6991E16A419 for ; Thu, 26 Jul 2007 08:54:27 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id EFD9D13C458 for ; Thu, 26 Jul 2007 08:54:26 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id CA19F690EB1; Thu, 26 Jul 2007 09:47:50 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 8AF9E690EB5; Thu, 26 Jul 2007 09:47:50 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RCVD_IN_SORBS_WEB autolearn=no version=3.1.7 Received: from epsilon.local (unknown [83.144.140.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id D788D690EB1; Thu, 26 Jul 2007 09:47:49 +0100 (WEST) Message-ID: <46A8613D.8020601@fnop.net> Date: Thu, 26 Jul 2007 09:54:21 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.4 (X11/20070704) MIME-Version: 1.0 To: Hans Petter Selasky References: <200707121918.l6CJIFkI094946@repoman.freebsd.org> <200707131604.22648.hselasky@c2i.net> <46A5FF7A.1090803@fnop.net> <200707251852.55254.hselasky@c2i.net> In-Reply-To: <200707251852.55254.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP 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: Thu, 26 Jul 2007 08:54:28 -0000 Hans Petter Selasky wrote: > 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! I think there's a communication problem here. I didn't say that there was something broken WRT handling multiple devices. That works just fine. The problem is about this specific device. For some reason yet to be found, running moused on this device and then making it detach (via HID to HCI) makes it impossible to interact with X11 using any other pointer device (internal USB touchpad, external mouse, etc.). The device in fact is not a real mouse, but a Bluetooth controller in HID mode. Either way, I'll see what I can do to fix this. Regards. -- Rui Paulo