From owner-freebsd-bluetooth@freebsd.org Mon Sep 14 19:42:16 2015 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCE19A042A9 for ; Mon, 14 Sep 2015 19:42:16 +0000 (UTC) (envelope-from plunky@ogmig.net) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:c:538::195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BB881E45 for ; Mon, 14 Sep 2015 19:42:16 +0000 (UTC) (envelope-from plunky@ogmig.net) Received: from mfilter37-d.gandi.net (mfilter37-d.gandi.net [217.70.178.168]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 00886A80B0; Mon, 14 Sep 2015 21:42:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter37-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter37-d.gandi.net (mfilter37-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 170N2I9OM7m5; Mon, 14 Sep 2015 21:42:12 +0200 (CEST) X-Originating-IP: 31.68.69.76 Received: from galant.ogmig.net (unknown [31.68.69.76]) (Authenticated sender: plunky@ogmig.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A1E6EA80B4; Mon, 14 Sep 2015 21:42:11 +0200 (CEST) Received: by galant.ogmig.net (Postfix, from userid 1000) id 1B6A126026A; Mon, 14 Sep 2015 20:42:13 +0100 (BST) Date: Mon, 14 Sep 2015 20:42:13 +0100 (BST) From: Iain Hibbert To: Dirk Engling , freebsd-bluetooth@freebsd.org Subject: Re: Apple Magic Mouse In-Reply-To: <55F71919.1080606@erdgeist.org> Message-ID: References: <1437909200.57929.3.camel@yandex.com> <55F4362A.4050203@erdgeist.org> <55F71919.1080606@erdgeist.org> User-Agent: Alpine 2.11 (NEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 19:42:16 -0000 On Mon, 14 Sep 2015, Dirk Engling wrote: > On 14.09.15 19:18, Iain Hibbert wrote: > > > another option is to (in bthidcontrol) emit a fake descriptor which does > > contain information about reports you wish to handle.. > > That does not help me with the magic numbers in the init report which > needs to be sent on every attach. You can list a feature report in the descriptor, and send the init command (which is a feature report) when it appears in the descriptor. but perhaps it gets too convoluted and I don't remember why I didn't go down the fake descriptor route in the end but it could be all of that :) in any case, you have to know the DeviceID first anyway to decide if this device is special iain