From owner-freebsd-bluetooth@FreeBSD.ORG Sun Sep 5 00:31:48 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ED3C1065695 for ; Sun, 5 Sep 2010 00:31:48 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6978FC0A for ; Sun, 5 Sep 2010 00:31:47 +0000 (UTC) Received: by wyb33 with SMTP id 33so3864447wyb.13 for ; Sat, 04 Sep 2010 17:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=UERrh9IANvRxpS3DoS/IYzAollH4eRlKLjHp85HtHGI=; b=GbZC9zn/jmQ4jlf9F5St4Q2+NTe9Jg8xknB7zZr6f7yFEf8sQ1MNdzwfScpTL6tuCJ vfG8lMXeW4I95GJP844IOkjUHFUCsHNL7qM4spopzTEsm5S76lQWBWKBo72V77To6g3R VnBOou9ruDFWEqmlO98k7WqZx0gHD5qb+LlVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i1QIA7AxrjphV2ZgF+ypNOOjR8yWMMIAjOlDkx+c6EbVoDjMBBcw3ySYIj1iqUJ73Z /sfGS27WzwhuT4Wsm65nq+XeD7HVbaV1QogYspBwQ73a/Z1Ly/gecYKXQagByF/Sp2ZA CzpxNek+XC6LdvG7Kyi+x7mwaj3MzgTzkqnhE= MIME-Version: 1.0 Received: by 10.216.162.72 with SMTP id x50mr1039993wek.3.1283646707103; Sat, 04 Sep 2010 17:31:47 -0700 (PDT) Received: by 10.216.27.204 with HTTP; Sat, 4 Sep 2010 17:31:47 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Sep 2010 17:31:47 -0700 Message-ID: From: Maksim Yevmenkin To: Buganini Content-Type: multipart/mixed; boundary=001485f45414fe79d3048f784910 Cc: freebsd-bluetooth@freebsd.org Subject: Re: Non-standard bluetooth mouse? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 00:31:48 -0000 --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 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--