2005-03-26 18:05:24

by Administrator TOOTAI

[permalink] [raw]
Subject: [Bluez-users] B-Speech Vitac Headset

Hi list,

I try to use the Vitac headset with my Linksys USB bluetooth dongle. I
face the following output:

nomade:/usr/src/modules/btsco# sdptool browse 00:00:fd:02:f3:7a
Failed to connect to SDP server on 00:00:FD:02:F3:7A: Permission denied

after having been asked for the PIN code

nomade:/home/user# hcitool info 00:00:fd:02:f3:7a
Requesting information ...
Can't create connection: Input/output error

after having been asked for the PIN code

Relevant part of hcidump -x for the above command:

nomade:~# hcidump -x
HCI sniffer - Bluetooth packet analyzer ver 1.17
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
7A F3 02 FD 00 00 18 CC 02 00 00 00 01
> HCI Event: Command Status (0x0f) plen 4
00 01 05 04
> HCI Event: Link Key Request (0x17) plen 6
7A F3 02 FD 00 00
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
7A F3 02 FD 00 00
> HCI Event: Command Complete (0x0e) plen 10
01 0C 04 00 7A F3 02 FD 00 00
> HCI Event: PIN Code Request (0x16) plen 6
7A F3 02 FD 00 00
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
7A F3 02 FD 00 00 04 31 32 33 34 00 00 00 00 00 00 00 00 00
00 00 00
> HCI Event: Command Complete (0x0e) plen 10
01 0D 04 00 7A F3 02 FD 00 00
> HCI Event: Connect Complete (0x03) plen 11
05 29 00 7A F3 02 FD 00 00 01 00

Note the Link Key Request Negative Reply.

Thanks for help.


My setup is like this

nomade:/usr/src/modules/btsco# hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:0C:41:E2:4C:B0 ACL MTU: 192:8 SCO MTU: 64:8
HCI 16.4
Chip version: BlueCore02-External
Max key size: 56 bit
SCO mapping: HCI

nomade:/usr/src/modules/btsco# cat /proc/bus/usb/devices

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10custom.2 ehci_hcd
S: Product=Silicon Integrated Systems [SiS] USB 2.0 Controller
S: SerialNumber=0000:00:03.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 43/900 us ( 5%), #Int= 1, #Iso= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10custom.2 ohci_hcd
S: Product=Silicon Integrated Systems [SiS] USB 1.0 Controller (#3)
S: SerialNumber=0000:00:03.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10custom.2 ohci_hcd
S: Product=Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
S: SerialNumber=0000:00:03.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10custom.2 ohci_hcd
S: Product=Silicon Integrated Systems [SiS] USB 1.0 Controller
S: SerialNumber=0000:00:03.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
--
Daniel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-03-27 03:33:59

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] B-Speech Vitac Headset

Hi Daniel,

> I try to use the Vitac headset with my Linksys USB bluetooth dongle. I
> face the following output:
>
> nomade:/usr/src/modules/btsco# sdptool browse 00:00:fd:02:f3:7a
> Failed to connect to SDP server on 00:00:FD:02:F3:7A: Permission denied
>
> after having been asked for the PIN code
>
> nomade:/home/user# hcitool info 00:00:fd:02:f3:7a
> Requesting information ...
> Can't create connection: Input/output error
>
> after having been asked for the PIN code
>
> Relevant part of hcidump -x for the above command:
>
> nomade:~# hcidump -x
> HCI sniffer - Bluetooth packet analyzer ver 1.17
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> 7A F3 02 FD 00 00 18 CC 02 00 00 00 01
> > HCI Event: Command Status (0x0f) plen 4
> 00 01 05 04
> > HCI Event: Link Key Request (0x17) plen 6
> 7A F3 02 FD 00 00
> < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
> 7A F3 02 FD 00 00
> > HCI Event: Command Complete (0x0e) plen 10
> 01 0C 04 00 7A F3 02 FD 00 00
> > HCI Event: PIN Code Request (0x16) plen 6
> 7A F3 02 FD 00 00
> < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> 7A F3 02 FD 00 00 04 31 32 33 34 00 00 00 00 00 00 00 00 00
> 00 00 00
> > HCI Event: Command Complete (0x0e) plen 10
> 01 0D 04 00 7A F3 02 FD 00 00
> > HCI Event: Connect Complete (0x03) plen 11
> 05 29 00 7A F3 02 FD 00 00 01 00
>
> Note the Link Key Request Negative Reply.

I am sick of decoding this all by myself and thus the newer hcidump
versions support verbose decoding (hcidump -X -V). Install the new
bluez-hcidump-1.19 package and redo that dump.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users