From owner-p4-projects@FreeBSD.ORG Fri Jul 13 14:16:07 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 3157516A404; Fri, 13 Jul 2007 14:16:07 +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 C78A716A400 for ; Fri, 13 Jul 2007 14:16:06 +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 38D5A13C467 for ; Fri, 13 Jul 2007 14:16:06 +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 61AC1690DC8; Fri, 13 Jul 2007 15:10:35 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 2E22C690DE4; Fri, 13 Jul 2007 15:10:35 +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 9B356690DC8; Fri, 13 Jul 2007 15:10:34 +0100 (WEST) Message-ID: <46978923.6010009@fnop.net> Date: Fri, 13 Jul 2007 15:16:03 +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> <4697815C.2080103@fnop.net> <200707131604.22648.hselasky@c2i.net> In-Reply-To: <200707131604.22648.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 14:16:07 -0000 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! Well, I can do that but it will take some time. Regarding to the keyboard, it's not a descriptor but an HID usage: hid_locate(desc, size, HID_USAGE2(HUP_CUSTOM, UC_FNKEY) hid_input, &sc->sc_loc_fn, &flags)) > Have you configured your system to detect Bluetooth Keyboard and Mouse ? No. I'm not using them. -- Rui Paulo