Skip site navigation (1)Skip section navigation (2)
Date:      29 Nov 2005 02:17:18 +0000
From:      faigozhu <faigozhu@fastmail.fm>
To:        Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: Sdpcontrol search timeout in Motorola HS805 headset.
Message-ID:  <86ek5019ld.fsf@fastmail.fm>
In-Reply-To: <438B9E3E.5020905@savvis.net>
References:  <863blgzdz0.fsf@fastmail.fm> <438B7FB0.5030704@savvis.net> <86psok1jl6.fsf@fastmail.fm> <438B9E3E.5020905@savvis.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> >>> 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
> 

[-- Attachment #2 --]
Aµ‹C>9	
e2.LAµ‹Cºõ		Dµ‹CV	e2.Dµ‹C²V	e2.' Öƒœ@æçÌÿÌü
Dµ‹C&ö	
e2.Dµ‹C”µ
e2.Dµ‹C˜µ

	Dµ‹CÉ

Dµ‹Cš„Zµ‹C`¾ @Zµ‹Ccì	Zµ‹Cõ£e2.Zµ‹C„¤e2.' Öƒœ@æçÌÿÌü
Zµ‹C‰·
e2.›µ‹C}º›µ‹CKV›µ‹C·g
[-- Attachment #3 --]
Ŷ‹C
e2.LŶ‹C Ï	ƶ‹Ci­e2.ƶ‹C®e2.' Öƒœ@æçÌÿÌü
ƶ‹C‘M
e2.ƶ‹Cñe2.ƶ‹Có
	ƶ‹Cx 
ƶ‹CÇ;Ò¶‹C™µ @Ò¶‹Cöâ	Ò¶‹Cˆše2.Ò¶‹C›e2.' Öƒœ@æçÌÿÌü
Ò¶‹C®
e2.·‹C¶²·‹CßL·‹CzV
[-- Attachment #4 --]
>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
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ek5019ld.fsf>