Date: Sat, 4 Sep 2010 17:31:47 -0700 From: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> To: Buganini <buganini@gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: Non-standard bluetooth mouse? Message-ID: <AANLkTimf-xbOdHatsxZd9C6pW4S5f=pLb2K%2BnVH0KFLj@mail.gmail.com> In-Reply-To: <AANLkTikdEVDkwwXOLu7m0a-amhuuJi=ZUy2vo2OzPY1c@mail.gmail.com> References: <AANLkTik=Ew3vR3_SfoqD2UOZRHULzHh1CGq-Cc8TvikV@mail.gmail.com> <AANLkTimQYHNLjp3C43pg6E4QN_bi%2BmOMWPEib7_yWZTG@mail.gmail.com> <AANLkTim8-mU2M8%2BM9Aq5R%2BP=Lb0ubb-x%2BTeV%2BVjh8q52@mail.gmail.com> <AANLkTikdEVDkwwXOLu7m0a-amhuuJi=ZUy2vo2OzPY1c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--001485f45414fe79d3048f784910 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ok... could you please try the attached patch? if it does not work, please send sdp trace again. thanks max On Sat, Sep 4, 2010 at 3:37 PM, Maksim Yevmenkin <maksim.yevmenkin@gmail.com> wrote: > hi, > > thanks for the trace. let's take a look.... > > [...] > >> < ACL data: handle 0x000c flags 0x02 dlen 38 >> =A0 =A0L2CAP(d): cid 0x40 len 34 [psm 1] >> =A0 =A0 =A0 =A0SDP SSA Req: tid 0x0 len 0x1d >> =A0 =A0 =A0 =A0 =A0pat uuid-16 0x1124 (HID) >> =A0 =A0 =A0 =A0 =A0max 0xffff >> =A0 =A0 =A0 =A0 =A0aid(s) 0x0004 (ProtocolDescList) 0x000d (IconURL) 0x0= 205 - >> 0x0206 0x0209 (unknown) 0x020d (unknown) >> =A0 =A0 =A0 =A0 =A0cont 00 > > so here we request sdp attributes 0x0004, 0x000d, 0x0205, 0x0206, > 0x0209 and 0x020d. that is obviously consistent with the bthidcontrol > sdp code. > >>> ACL data: handle 0x000c flags 0x02 dlen 66 >> =A0 =A0L2CAP(d): cid 0x40 len 62 [psm 1] >> =A0 =A0 =A0 =A0SDP SSA Rsp: tid 0x0 len 0x39 >> =A0 =A0 =A0 =A0 =A0cnt 0x36 >> =A0 =A0 =A0 =A0 =A0srv rec #0 >> =A0 =A0 =A0 =A0 =A0 =A0aid 0x0004 (ProtocolDescList) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 < < uuid-16 0x0100 (L2CAP) uint 0x11 > < >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 uuid-16 0x0011 (HIDP) > > >> =A0 =A0 =A0 =A0 =A0 =A0aid 0x000d (IconURL) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 < < < uuid-16 0x0100 (L2CAP) uint 0x13 > < u= uid-16 >> 0x0011 (HIDP) > > > >> =A0 =A0 =A0 =A0 =A0 =A0aid 0x0209 (unknown) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bool 0x1 >> =A0 =A0 =A0 =A0 =A0 =A0aid 0x020d (unknown) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bool 0x0 >> >> =A0 =A0 =A0 =A0 =A0cont 00 > > and here is the response from the mouse. as you can see, we only got > back attributes 0x0004, 0x000d, 0x0209 and 0x020d. we did not get back > attributes 0x0205 and attributes 0x0206. interesting that attributes > 0x0205 and 0x0206 requested as range, where as all other attributes > requested individually. perhaps your mouse is not liking this. i'll > try to prepare some patches for you later today. > > thanks, > max > --001485f45414fe79d3048f784910 Content-Type: text/plain; charset=US-ASCII; name="bthidcontrol.sdp.patch.txt" Content-Disposition: attachment; filename="bthidcontrol.sdp.patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gdp63oyo0 SW5kZXg6IHNkcC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHNkcC5jCShyZXZpc2lvbiAyMTIxMTgpCisrKyBz ZHAuYwkod29ya2luZyBjb3B5KQpAQCAtNTQsNyArNTQsOSBAQAogU0RQX0FUVFJfUkFOR0UJKFNE UF9BVFRSX0FERElUSU9OQUxfUFJPVE9DT0xfREVTQ1JJUFRPUl9MSVNUUywKIAkJU0RQX0FUVFJf QURESVRJT05BTF9QUk9UT0NPTF9ERVNDUklQVE9SX0xJU1RTKSwKIFNEUF9BVFRSX1JBTkdFKAkw eDAyMDUsCQkvKiBISURSZWNvbm5lY3RJbml0aWF0ZSAqLwotCQkweDAyMDYpLAkvKiBISUREZXNj cmlwdG9yTGlzdCAqLworCQkweDAyMDUpLAorU0RQX0FUVFJfUkFOR0UoCTB4MDIwNiwJCS8qIEhJ RERlc2NyaXB0b3JMaXN0ICovCisJCTB4MDIwNiksCiBTRFBfQVRUUl9SQU5HRSgJMHgwMjA5LAkJ LyogSElEQmF0dGVyeVBvd2VyICovCiAJCTB4MDIwOSksCiBTRFBfQVRUUl9SQU5HRSgJMHgwMjBk LAkJLyogSElETm9ybWFsbHlDb25uZWN0YWJsZSAqLwpAQCAtMTQ5LDcgKzE1MSw3IEBACiAJfQog CiAJaWYgKGNvbnRyb2xfcHNtID09IC0xIHx8IGludGVycnVwdF9wc20gPT0gLTEgfHwKLQkgICAg cmVjb25uZWN0X2luaXRpYXRlID09IC0xIHx8IG5vcm1hbGx5X2Nvbm5lY3RhYmxlID09IC0xIHx8 CisJICAgIHJlY29ubmVjdF9pbml0aWF0ZSA9PSAtMSB8fAogCSAgICBoaWRfZGVzY3JpcHRvciA9 PSBOVUxMIHx8IGhpZF9kZXNjcmlwdG9yX2xlbmd0aCA9PSAtMSkKIAkJaGlkX3NkcF9xdWVyeV9l eGl0KEVOT0FUVFIpOwogCg== --001485f45414fe79d3048f784910--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimf-xbOdHatsxZd9C6pW4S5f=pLb2K%2BnVH0KFLj>