Return-Path: Subject: Re: [Bluez-users] Apple bluetooth mouse From: Marcel Holtmann To: Elimar Riesebieter Cc: BlueZ Mailing List , debian-powerpc In-Reply-To: <20031230221526.GD946@samweis.home.lxtec.de> References: <20031228012502.GA16798@samweis.home.lxtec.de> <20031228170349.GA1460@samweis.home.lxtec.de> <20031230182456.GA3035@samweis.home.lxtec.de> <1072813766.2542.28.camel@pegasus> <20031230205918.GA946@samweis.home.lxtec.de> <1072818406.2542.33.camel@pegasus> <20031230221526.GD946@samweis.home.lxtec.de> Content-Type: multipart/mixed; boundary="=-kFBwy83UdveKwsHoMi2Q" Message-Id: <1072857870.26925.3.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 31 Dec 2003 09:04:30 +0100 --=-kFBwy83UdveKwsHoMi2Q Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi Elimar, > > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=05ac ProdID=1000 Rev= 9.01 > > C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid > > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms > > I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid > > E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms > > > > this looks like a Bluetooth HID proxy device from CSR. You can use the > > hid2hci program to switch it into HCI mode. However it seems that Apple > > is using its own vendor id, so you must change this in the source code. > > Where in the source code? This should be a useful info for Benjamin > Herrenschmidt as well. > > I found hid2hci In the CVS sourcecode from bluez-utils2. > hid2hci -(0|1) gives me > No devices in H(CI|DI) mode found ;-( you have to change the vendor id. The hid2hci.c source is not very complex and I thought it is easy to see where to change the vendor id. However the attached patch changes it for you. If it works I will write a version of hid2hci that will also find the Apple dongle. Regards Marcel --=-kFBwy83UdveKwsHoMi2Q Content-Disposition: attachment; filename=patch Content-Type: text/x-patch; name=patch; charset=iso-8859-15 Content-Transfer-Encoding: 7bit diff -urN utils2/hid/hid2hci.c utils2-mh/hid/hid2hci.c --- utils2/hid/hid2hci.c 2003-12-05 12:10:28.000000000 +0100 +++ utils2-mh/hid/hid2hci.c 2003-12-31 08:59:17.000000000 +0100 @@ -249,11 +249,11 @@ switch (mode) { default: case 0: - vendor = 0x0a12; + vendor = 0x05ac; product = 0x1000; break; case 1: - vendor = 0x0a12; + vendor = 0x05ac; product = 0x0001; break; } --=-kFBwy83UdveKwsHoMi2Q-- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users