Sdpcontrol search timeout in Motorola HS805 headset.
faigozhu
faigozhu at fastmail.fm
Tue Nov 29 02:16:52 GMT 2005
Maksim Yevmenkin <maksim.yevmenkin at savvis.net> writes:
> >>> I have a Motorola HS805 headset and got the following
> >>> message. #sdpcontrol -a 00:0b:2e:32:65:12 search HSET Could not
> >>> execute
> >>> command "search". Operation timed out
> >> did you try to repeat this command several times? does it always
> >> fail with timeout?
> > yes.
>
> ok
>
> >>> It seems no response from the headset after sending
> >>> Link_Key_Reply?
> >> sigh... people, please, PLEASE, stop posting text hci dump. they
> >> are not very useful. they give me some idea, but what i really need
> >> is _binary_ hci dump.
> > Sorry for that. The attached file is a binary file of "hcidump -w
> hcidump.log".
>
> thanks. unfortunately, this binary dump did not reveal the
> problem. i'd like you to try the following:
>
> 1) reboot
>
> 2) attach usb bluetooth dongle and start bluetooth stack
# /etc/rc.bluetooth start ubt0
BD_ADDR: 00:0a:3a:63:de:86
Features: 0xff 0xfe 0xd 0x38 0x8 0x8 00 00
<3-Slot> <5-Slot> <Encryption> <Slot offset>
<Timing accuracy> <Switch> <Hold mode> <Sniff mode> <RSSI>
<Channel quality> <SCO link> <HV2 packets> <HV3 packets>
<u-law log> <A-law log> <CVSD> <Power control>
<Transparent SCO data>
Max. ACL packet size: 377 bytes
Number of ACL packets: 10
Max. SCO packet size: 16 bytes
Number of SCO packets: 0
# hcidump -w headset.dump2
HCIDump - HCI packet analyzer ver 1.5
device: any snap_len: 65535 filter: 0xffffffff
>
> 3) as root
> # hcidump -w headset.dump
>
> 4) as root
> # hccontrol -n ubt0hci create_connection 00:0b:2e:32:65:12
>
> make sure hccontrol succeeded and created baseband connection.
> it should print connection handle.
BD_ADDR: 00:0b:2e:32:65:12
Connection handle: 6
Encryption mode: Disabled [0]
>
> 5) wait a few seconds, and run
> % sdpcontrol -a 00:0b:2e:32:65:12 search HSET
Could not execute command "search". Operation timed out.
>
> you may try step 5) a couple more times. please wait few seconds
> between each try.
still timed out.
>
> 6) kill hcidump with ^c and send me the headset.dump file
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: headset.dump
Type: application/octet-stream
Size: 407 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20051129/f9ab6019/headset.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: headset.dump2
Type: application/octet-stream
Size: 407 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20051129/f9ab6019/headset-0001.obj
-------------- next part --------------
> also, i assume, you have paired less then 8 devices with this headset,
> correct?
yes.
>some headsets can only remember one host, but this one seems
> to be able to remember up to 8 (according to specs).
>
> also, if this is not too much trouble, you could reset the headset and
> try the steps 1-6 from above again.
>
> thanks,
> max
dmesg:
ubt0: Broadcom Belkin Bluetooth Device, rev 1.10/0.01, addr 2
ubt0: Broadcom Belkin Bluetooth Device, rev 1.10/0.01, addr 2
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320
ubt_bulk_in_complete2: ubt0 - Bulk-in xfer failed, IOERROR (13). No new xfer will be submitted!
# hcsecd -d
hcsecd[626]: Restored link key for the entry, remote bdaddr 00:0b:2e:32:65:12, name 'Motorola HS805'
<hccontrol -n ubt0hci create_connection 00:0b:2e:32:65:12>
hcsecd[626]: Got Link_Key_Request event from 'ubt0hci', remote bdaddr 00:0b:2e:32:65:12
hcsecd[626]: Found matching entry, remote bdaddr 00:0b:2e:32:65:12, name 'Motorola HS805', link key exists
hcsecd[626]: Sending Link_Key_Reply to 'ubt0hci' for remote bdaddr 00:0b:2e:32:65:12
<running sdpcontrol -a 00:0b:2e:32:65:12 search HSET>
hcsecd[626]: Got Link_Key_Request event from 'ubt0hci', remote bdaddr 00:0b:2e:32:65:12
hcsecd[626]: Found matching entry, remote bdaddr 00:0b:2e:32:65:12, name 'Motorola HS805', link key exists
hcsecd[626]: Sending Link_Key_Reply to 'ubt0hci' for remote bdaddr 00:0b:2e:32:65:12
Many thanks,
Faigozhu
More information about the freebsd-bluetooth
mailing list