Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 2010 15:37:12 -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:  <AANLkTikdEVDkwwXOLu7m0a-amhuuJi=ZUy2vo2OzPY1c@mail.gmail.com>
In-Reply-To: <AANLkTim8-mU2M8%2BM9Aq5R%2BP=Lb0ubb-x%2BTeV%2BVjh8q52@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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) 0x02=
05 -
> 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 > < uu=
id-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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikdEVDkwwXOLu7m0a-amhuuJi=ZUy2vo2OzPY1c>