Skip to contentSkip to conversation

bluetooth-alsa and Jabra BT800

Bluez-users Stefan Bellon 3 participants 10 messages Jan 26, 2005 – Jan 30, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi!

Today I got my Jabra BT800 and wanted to try it with bluetooth-alsa. The page lists the BT200 and BT250 as working, so I suspect it should be able to get the BT800 going as well.

However, I'm having trouble, and frankly, this is my first Bluetooth headset, so my experience is not that big.

I followed the instruction on the bluetooth-alsa page and include the output here. Hopefully somebody of you can shed some light on what I'm missing.

The Bluetooth adapter I'm using at the PC is a AVM BlueFritz USB 2.0

root@roma# hciconfig -a
hci0:   Type: USB
        BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN 
        RX bytes:2502 acl:1 sco:0 events:120 errors:0
        TX bytes:1029 acl:12 sco:0 commands:66 errors:0
        Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF PARK 
        Link mode: ACCEPT MASTER 
        Name: 'roma-0'
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x2005 LMP Ver: 1.1 (0x1) LMP Subver: 0x1805
        Manufacturer: AVM Berlin (31)
root@roma# hciconfig hci0 revision
hci0:   Type: USB
        BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20  SCO MTU: 64:0
        Unknown type
root@roma# hcitool info 00:07:A4:21:1D:86
Requesting information ...
        BD Address:  00:07:A4:21:1D:86
        Device Name: Jabra BT800
        LMP Version: 1.2 (0x2) LMP Subversion: 0x68d
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xfc 0xff 0x8b 0x78 0x08 0x08 0x00 0x80
                <encryption> <slot offset> <timing accuracy> <role switch> 
                <hold mode> <sniff mode> <park state> <RSSI> <channel quality> 
                <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> 
                <CVSD> <paging scheme> <transparent SCO> <broadcast encrypt> 
                <enhanced iscan> <interlaced iscan> <interlaced pscan> 
                <inquiry with RSSI> <AFH cap. slave> <AFH cap. master> 
                <extended features> 
sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Failed to connect to SDP server: Connection timed out
Assuming channel 2
Voice setting: 0x0060
Can't connect RFCOMM channel: Resource temporarily unavailable

The following is the hcidump for the btsco execution above:

root@roma# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 86 1d 21 a4 07 00 18 cc  02 00 00 00 00           ..!..........
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 05 04 ....

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

0000: 86 1d 21 a4 07 00 ..!...
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
0000: 86 1d 21 a4 07 00 91 19 02 dc fc bc 09 ee 46 a3 ..!...........F.
0010: 33 f2 01 d5 fc 1a 3.....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

0000: 01 0b 04 00 86 1d 21 a4 07 00 ......!...

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

0000: 00 05 00 86 1d 21 a4 07 00 01 01 .....!.....
< ACL data: handle 0x0005 flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 1 scid 0x0040

< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
0000: 05 00 0f 00 ....

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

0000: 00 05 00 18 cc .....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

0000: 01 0d 08 00 05 00 ......

Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

0000: 01 05 00 01 00 .....
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

0000: 01 25 0c 00 60 00 .%..`.
< ACL data: handle 0x0005 flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 3 scid 0x0040
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

0000: 01 05 00 01 00 .....
< HCI Command: Disconnect (0x01|0x0006) plen 3
0000: 05 00 13 ...

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 06 04 ....

Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

0000: 00 05 00 16 ....

sbellon@roma$ aplay -D plughw:Headset some.wav
Playing WAVE 'some.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
Aborted by signal Interrupt...

The following is the hcidump for the aplay execution above:

root@roma# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
Quoted 1 line

HCI Event: Connect Request (0x04) plen 10

0000: 86 1d 21 a4 07 00 0c 04 20 01 ..!..... .
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
0000: 86 1d 21 a4 07 00 00 ..!....

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 09 04 ....

Quoted 1 line

HCI Event: Role Change (0x12) plen 8

0000: 00 86 1d 21 a4 07 00 00 ...!....

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

0000: 86 1d 21 a4 07 00 ..!...
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
0000: 86 1d 21 a4 07 00 91 19 02 dc fc bc 09 ee 46 a3 ..!...........F.
0010: 33 f2 01 d5 fc 1a 3.....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

0000: 01 0b 04 00 86 1d 21 a4 07 00 ......!...

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

0000: 00 06 00 86 1d 21 a4 07 00 01 01 .....!.....
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
0000: 06 00 0f 00 ....

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

0000: 00 06 00 18 cc .....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

0000: 01 0d 08 00 06 00 ......
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
0000: 06 00 18 cc ....

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 0f 04 ....

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

0000: 00 06 00 18 cc .....

As you can see from the dmesg output, the snd-bt-sco module itself is loaded:

snd-bt-sco revision 1.4 $
snd-bt-sco: snd-bt-scod thread starting
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 8192
snd-bt-sco: playback_open
snd-bt-sco: capture_open
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: capture_prepare
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: playback_open
snd-bt-sco: capture_open
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: capture_prepare
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: playback_open
snd-bt-sco: capture_open
snd-bt-sco: prepare ok bps: 16000 size: 23808 count: 11904
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8002 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8002 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8002 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL

Thanks in advance for any help.

Greetings,
Stefan.

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#1 lore raw

did you put it in pairing mode (usually by holding down the power button until it beeps) just before running btsco?

Quoted 227 lines · Stefan Bellon

Hi!

Today I got my Jabra BT800 and wanted to try it with bluetooth-alsa. The page lists the BT200 and BT250 as working, so I suspect it should be able to get the BT800 going as well.

However, I'm having trouble, and frankly, this is my first Bluetooth headset, so my experience is not that big.

I followed the instruction on the bluetooth-alsa page and include the output here. Hopefully somebody of you can shed some light on what I'm missing.

The Bluetooth adapter I'm using at the PC is a AVM BlueFritz USB 2.0

root@roma# hciconfig -a
hci0:   Type: USB
        BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN 
        RX bytes:2502 acl:1 sco:0 events:120 errors:0
        TX bytes:1029 acl:12 sco:0 commands:66 errors:0
        Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF PARK 
        Link mode: ACCEPT MASTER 
        Name: 'roma-0'
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x2005 LMP Ver: 1.1 (0x1) LMP Subver: 0x1805
        Manufacturer: AVM Berlin (31)
root@roma# hciconfig hci0 revision
hci0:   Type: USB
        BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20  SCO MTU: 64:0
        Unknown type
root@roma# hcitool info 00:07:A4:21:1D:86
Requesting information ...
        BD Address:  00:07:A4:21:1D:86
        Device Name: Jabra BT800
        LMP Version: 1.2 (0x2) LMP Subversion: 0x68d
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xfc 0xff 0x8b 0x78 0x08 0x08 0x00 0x80
                <encryption> <slot offset> <timing accuracy> <role switch> 
                <hold mode> <sniff mode> <park state> <RSSI> <channel quality> 
                <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> 
                <CVSD> <paging scheme> <transparent SCO> <broadcast encrypt> 
                <enhanced iscan> <interlaced iscan> <interlaced pscan> 
                <inquiry with RSSI> <AFH cap. slave> <AFH cap. master> 
                <extended features> 
sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Failed to connect to SDP server: Connection timed out
Assuming channel 2
Voice setting: 0x0060
Can't connect RFCOMM channel: Resource temporarily unavailable

The following is the hcidump for the btsco execution above:

root@roma# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 86 1d 21 a4 07 00 18 cc  02 00 00 00 00           ..!..........
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 05 04 ....

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

0000: 86 1d 21 a4 07 00 ..!...
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
0000: 86 1d 21 a4 07 00 91 19 02 dc fc bc 09 ee 46 a3 ..!...........F.
0010: 33 f2 01 d5 fc 1a 3.....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

0000: 01 0b 04 00 86 1d 21 a4 07 00 ......!...

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

0000: 00 05 00 86 1d 21 a4 07 00 01 01 .....!.....
< ACL data: handle 0x0005 flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 1 scid 0x0040

< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
0000: 05 00 0f 00 ....

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

0000: 00 05 00 18 cc .....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

0000: 01 0d 08 00 05 00 ......

Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

0000: 01 05 00 01 00 .....
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

0000: 01 25 0c 00 60 00 .%..`.
< ACL data: handle 0x0005 flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 3 scid 0x0040
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

0000: 01 05 00 01 00 .....
< HCI Command: Disconnect (0x01|0x0006) plen 3
0000: 05 00 13 ...

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 06 04 ....

Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

0000: 00 05 00 16 ....

sbellon@roma$ aplay -D plughw:Headset some.wav
Playing WAVE 'some.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
Aborted by signal Interrupt...

The following is the hcidump for the aplay execution above:

root@roma# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
Quoted 1 line

HCI Event: Connect Request (0x04) plen 10

0000: 86 1d 21 a4 07 00 0c 04 20 01 ..!..... .
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
0000: 86 1d 21 a4 07 00 00 ..!....

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 09 04 ....

Quoted 1 line

HCI Event: Role Change (0x12) plen 8

0000: 00 86 1d 21 a4 07 00 00 ...!....

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

0000: 86 1d 21 a4 07 00 ..!...
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
0000: 86 1d 21 a4 07 00 91 19 02 dc fc bc 09 ee 46 a3 ..!...........F.
0010: 33 f2 01 d5 fc 1a 3.....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

0000: 01 0b 04 00 86 1d 21 a4 07 00 ......!...

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

0000: 00 06 00 86 1d 21 a4 07 00 01 01 .....!.....
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
0000: 06 00 0f 00 ....

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

0000: 00 06 00 18 cc .....

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

0000: 01 0d 08 00 06 00 ......
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
0000: 06 00 18 cc ....

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 01 0f 04 ....

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

0000: 00 06 00 18 cc .....

As you can see from the dmesg output, the snd-bt-sco module itself is loaded:

snd-bt-sco revision 1.4 $
snd-bt-sco: snd-bt-scod thread starting
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 8192
snd-bt-sco: playback_open
snd-bt-sco: capture_open
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: capture_prepare
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: playback_open
snd-bt-sco: capture_open
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: capture_prepare
snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 512
snd-bt-sco: playback_open
snd-bt-sco: capture_open
snd-bt-sco: prepare ok bps: 16000 size: 23808 count: 11904
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8002 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8002 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8002 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL

Quoted 5 lines

Thanks in advance for any help.

Greetings,
Stefan.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 2 lines · Brad Midgley

did you put it in pairing mode (usually by holding down the power button until it beeps) just before running btsco?

I tried that as well. Doesn't make any difference. But the headset and the PC are already paired. Do you have to put the headset into pairing mode every time you start btsco?

Anyway, even that would be acceptable if it worked. ;-}

On http://www.dcs.gla.ac.uk/~jp/snd-bt-sco/README there's the hint to find out about the channel to use with btsco. But I get:

root@roma# sdptool search --bdaddr 00:07:A4:21:1D:86 0x1108
Class 0x1108
Failed to connect to SDP server on 00:07:A4:21:1D:86: Connection timed out

Is this a problem? What else can I do to track down the problem? TIA.

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#3 lore raw
Quoted 13 lines · Stefan Bellon
Quoted 2 lines · Brad Midgley

did you put it in pairing mode (usually by holding down the power button until it beeps) just before running btsco?

I tried that as well. Doesn't make any difference. But the headset and the PC are already paired. Do you have to put the headset into pairing mode every time you start btsco?

Anyway, even that would be acceptable if it worked. ;-}

On http://www.dcs.gla.ac.uk/~jp/snd-bt-sco/README there's the hint to find out about the channel to use with btsco. But I get:

Quoted 6 lines
root@roma# sdptool search --bdaddr 00:07:A4:21:1D:86 0x1108
Class 0x1108
Failed to connect to SDP server on 00:07:A4:21:1D:86: Connection
timed out

Is this a problem? What else can I do to track down the problem? TIA.

Tomorrow I have some time I could spend on tracking that problem down. But I could need a bit of help here. What else could I try to debug? I really want to get my Jabra BT800 going with bluetooth-alsa.

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#4 lore raw

Stefan,

How do you know you're using the right address? No sdp available doesn't look good.

Is the headset paired with a cellphone that is in range? Some embedded bluetooth radios will only talk to one device... if it discovers the paired phone at power on then your laptop typically won't be able to talk to it.

Brad

Quoted 26 lines · Stefan Bellon
Quoted 22 lines · Stefan Bellon
Quoted 2 lines · Brad Midgley

did you put it in pairing mode (usually by holding down the power button until it beeps) just before running btsco?

I tried that as well. Doesn't make any difference. But the headset and the PC are already paired. Do you have to put the headset into pairing mode every time you start btsco?

Anyway, even that would be acceptable if it worked. ;-}

On http://www.dcs.gla.ac.uk/~jp/snd-bt-sco/README there's the hint to find out about the channel to use with btsco. But I get:

root@roma# sdptool search --bdaddr 00:07:A4:21:1D:86 0x1108
Class 0x1108
Failed to connect to SDP server on 00:07:A4:21:1D:86: Connection
timed out
Quoted 7 lines
Quoted 1 line

Is this a problem? What else can I do to track down the problem? TIA.

Tomorrow I have some time I could spend on tracking that problem down. But I could need a bit of help here. What else could I try to debug? I really want to get my Jabra BT800 going with bluetooth-alsa.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
Quoted 1 line · Brad Midgley

How do you know you're using the right address?

Well, because of this:

root@roma# hcitool info 00:07:A4:21:1D:86
Requesting information ...
        BD Address:  00:07:A4:21:1D:86
        Device Name: Jabra BT800
        LMP Version: 1.2 (0x2) LMP Subversion: 0x68d
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xfc 0xff 0x8b 0x78 0x08 0x08 0x00 0x80
                <encryption> <slot offset> <timing accuracy> <role switch> 
                <hold mode> <sniff mode> <park state> <RSSI> <channel quality> 
                <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> 
                <CVSD> <paging scheme> <transparent SCO> <broadcast encrypt> 
                <enhanced iscan> <interlaced iscan> <interlaced pscan> 
                <inquiry with RSSI> <AFH cap. slave> <AFH cap. master> 
                <extended features> 

Isn't that enough?

Quoted 1 line

No sdp available doesn't look good.

Hm, is this a mis-feature of the headset then? How does a handy talk to the headset then?

Quoted 4 lines

Is the headset paired with a cellphone that is in range? Some embedded bluetooth radios will only talk to one device... if it discovers the paired phone at power on then your laptop typically won't be able to talk to it.

The Jabra BT800 can be paired with 8 devices. You see a list in the display and can choose which one it talks to. I can verify that switching the communication devices works. If I select my SonyEricsson P900 and press the "answer" key, then voice dial on the P900 is initiated. If I select the computer and press the "answer" key, then the second light of my USB Bluetooth dongle lights up and hcidump displays a connection handshake whereas my P900 stays silent.

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#6 lore raw
Quoted 1 line · Stefan Bellon

How does a handy talk to the headset then?

s/handy/mobile/

Sorry, in German we use the term "handy" and mean cellular/mobile phone. It's in such a regular use that it's hard to remember that it's not the correct English term. :-}

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#7 lore raw
In reply to Stefan Bellon
Quoted 10 lines · Stefan Bellon
Quoted 1 line · Brad Midgley

How do you know you're using the right address?

Well, because of this:

root@roma# hcitool info 00:07:A4:21:1D:86
Requesting information ...
        BD Address:  00:07:A4:21:1D:86
        Device Name: Jabra BT800

[snip]

Quoted 4 lines
Quoted 1 line

No sdp available doesn't look good.

Hm, is this a mis-feature of the headset then? How does a handy talk to the headset then?

I have partial success here!

Don't ask me what I did change. I plugged the USB Bluetooth dongle into my Windows notebook in order to see whether I can get the headset to work there. Afterwards I plugged the same dongle into my GNU/Linux box and now I get this (which didn't work previously!):

root@roma# sdptool search --bdaddr 00:07:A4:21:1D:86 0x1108
Class 0x1108
Searching for 0x1108 on 00:07:A4:21:1D:86 ...
Service Name: Headset
Service RecHandle: 0x10000
Service Class ID List:
  "Headset" (0x1108)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

So, after all, the headset is not that silent when asked for a service.

When I start btsco, I now get the following:

sbellon@roma$ btsco 00:07:A4:21:1D:86  
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT*GNMK
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+CKPD=200
disconnected SCO channel

However, I can only start btsco once, then it doesn't work. If I query hciconfig after one btsco run, it tells me:

root@roma# hciconfig -a
hci0:   Type: USB
        BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN 
        RX bytes:1170749 acl:51 sco:22922 events:74 errors:0
        TX bytes:1338 acl:39 sco:0 commands:31 errors:0
        Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF PARK 
        Link mode: ACCEPT MASTER 
Can't read local name on hci0. Connection timed out(110)

Removing the USB Bluetooth dongle and inserting it again is a way to get it working again. Then, btsco runs (but looks slightly different to the one above):

sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
speaker volume: 11 mic volume: 0
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+CKPD=200
disconnected SCO channel

Ok, so far so good. However, when btsco is running, aplay should work. But it doesn't:

sbellon@roma$ aplay -D plughw:Headset some.wav
Playing WAVE 'some.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono

Nothing to be heard in the headset (yes, I have set the volumes to max in alsamixer).

Ok, I think we're not too far from the point where it works and where you could add the BT800 to the list of working headsets. But what am I missing now?

TIA.

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#8 lore raw

Dne ne 30. ledna 2005 20:15 Stefan Bellon napsal(a):

Quoted 100 lines
Quoted 9 lines · Stefan Bellon
Quoted 1 line · Brad Midgley

How do you know you're using the right address?

Well, because of this:

root@roma# hcitool info 00:07:A4:21:1D:86
Requesting information ...
        BD Address:  00:07:A4:21:1D:86
        Device Name: Jabra BT800

[snip]

Quoted 4 lines
Quoted 1 line

No sdp available doesn't look good.

Hm, is this a mis-feature of the headset then? How does a handy talk to the headset then?

I have partial success here!

Don't ask me what I did change. I plugged the USB Bluetooth dongle into my Windows notebook in order to see whether I can get the headset to work there. Afterwards I plugged the same dongle into my GNU/Linux box and now I get this (which didn't work previously!):

root@roma# sdptool search --bdaddr 00:07:A4:21:1D:86 0x1108
Class 0x1108
Searching for 0x1108 on 00:07:A4:21:1D:86 ...
Service Name: Headset
Service RecHandle: 0x10000
Service Class ID List:
  "Headset" (0x1108)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

So, after all, the headset is not that silent when asked for a service.

When I start btsco, I now get the following:

sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT*GNMK
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+CKPD=200
disconnected SCO channel

However, I can only start btsco once, then it doesn't work. If I query hciconfig after one btsco run, it tells me:

root@roma# hciconfig -a
hci0:   Type: USB
        BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:1170749 acl:51 sco:22922 events:74 errors:0
        TX bytes:1338 acl:39 sco:0 commands:31 errors:0
        Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: ACCEPT MASTER
Can't read local name on hci0. Connection timed out(110)

Removing the USB Bluetooth dongle and inserting it again is a way to get it working again. Then, btsco runs (but looks slightly different to the one above):

sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
speaker volume: 11 mic volume: 0
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+CKPD=200
disconnected SCO channel

Ok, so far so good. However, when btsco is running, aplay should work. But it doesn't:

sbellon@roma$ aplay -D plughw:Headset some.wav
Playing WAVE 'some.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
Quoted 8 lines

Nothing to be heard in the headset (yes, I have set the volumes to max in alsamixer).

Ok, I think we're not too far from the point where it works and where you could add the BT800 to the list of working headsets. But what am I missing now?

TIA.

Hi,

I had the same problem with my headset. I always need to pres +/- sound button directly on headset.

Try it :)

Signature · 14 lines
S pozdravem

Michal Semler


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#9 lore raw
Quoted 2 lines · Michal Semler

I had the same problem with my headset. I always need to pres +/- sound button directly on headset.

Will try it later on (waiting for an urgent phone call at the moment, therefore the headset is connected to the phone rather than the computer).

But I doubt this is the solution in my case. If it was, I suspect the aplay command should return after the time the WAV file takes to play. But the aplay command just hangs there forever.

Signature · 12 lines
Stefan Bellon


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users