From owner-p4-projects@FreeBSD.ORG Fri Jul 13 13:42:56 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 61AFD16A412; Fri, 13 Jul 2007 13:42:56 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D301B16A407 for ; Fri, 13 Jul 2007 13:42:55 +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 5EF7113C4BC for ; Fri, 13 Jul 2007 13:42:55 +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 B18FE690DC8; Fri, 13 Jul 2007 14:37:24 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 7ED8B690DE4; Fri, 13 Jul 2007 14:37:24 +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.2 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_DSBL autolearn=no version=3.1.7 Received: from epsilon.local (87-196-53-163.net.novis.pt [87.196.53.163]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id 1C640690DC8; Fri, 13 Jul 2007 14:37:24 +0100 (WEST) Message-ID: <4697815C.2080103@fnop.net> Date: Fri, 13 Jul 2007 14:42:52 +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> <200707130713.14525.hselasky@c2i.net> In-Reply-To: <200707130713.14525.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: Fri, 13 Jul 2007 13:42:56 -0000 Hans Petter Selasky wrote: > On Thursday 12 July 2007 21:18, Rui Paulo wrote: >> http://perforce.freebsd.org/chv.cgi?CH=123399 >> >> Change 123399 by rpaulo@rpaulo_epsilon on 2007/07/12 19:18:01 >> >> For some reason, moused confuses sysmouse after attaching to the >> HID version of the MacBook Bluetooth device. >> For now, blacklist the product id of the Bluetooth controller >> (in HID mode) inside ums(4). > > You plan to remove this Quirk at some point? Yes. > > I personally don't like all these quirks. What do you mean by "all these quirks" ? This is the only quirk that can be overcome. The other fix I added for the Fn key in Apple USB keyboards is not optional. > Could you provide a "udesc_dump" from your MacBook and all its devices, so > that we can have a look? When I switch my bluetooth controller from HID mode to HCI mode, I see: ukbd1: at uhub3 port 1 (addr 2) disconnected ukbd1: detached ums1: at uhub3 port 1 (addr 2) disconnected ums1: detached uhid2: at uhub3 port 1 (addr 2) disconnected uhid2: detached ubt0: on uhub3 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 If I start X after that, there's something fishy going on that prevents me from using the keyboard and the other usb mouses that I have attached. The workaround is to restart all moused instances. I don't really understand why this happens, because when the bluetooth controller is switched, the moused on ums1 dies. -- Rui Paulo