Skip to contentSkip to conversation

btsco and Jabra Headset

Bluez-users Gunter Ohrner 2 participants 4 messages Jun 3, 2005 – Jun 5, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi!

I've had a hard time trying to get my headset working but had no success so far. :-(

I've found single report on the syptoms I get on the net
(http://www.linuxforen.de/forums/archive/index.php/t-182494.html), but unfortunately no solution/follow up posting...

I'm also happy abaout RTFMs, maybe I missed something - these are my first steps with bluetooth.

I'm running a vanilla 2.6.11.11 kernel with all those bluetooth drivers compiled as modules. (Further systems details can be found at the end of this mail.) The bluetooth USB stick is recognized and driven by the ohci driver, so it's probably no ehci issue...

These are the symptoms:

***

# btsco -v 00:07:A4:05:2E:14
btsco v0.4c
Device is 2:0
Error: Failed to connect to SDP server: Permission denied
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied
CoriCelesti:/usr/src#
***

This happens no matter if I run it as root or my normal user. (which is in group dialup, all the /dev/rfcomm1 belong to group dialup) The btsco is a CVS checkout from yesterday.

The bluetooth dongle:

***
kernel: usb 1-7: new full speed USB device using ohci_hcd and address 10
***

***

CoriCelesti:/usr/src# hciconfig -a
hci0:   Type: USB
        BD Address: 00:09:DD:10:62:ED ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:107 acl:0 sco:0 events:14 errors:0
        TX bytes:300 acl:0 sco:0 commands:13 errors:0
        Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'CoriCelesti-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing, Object Transfer,
Audio
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x639 LMP Ver: 1.1 (0x1) LMP Subver:
0x639
        Manufacturer: Cambridge Silicon Radio (10)

CoriCelesti:/usr/src#
***

Device scan (headset in pairing mode):

***

gunter@CoriCelesti:~$ hcitool scan
Scanning ...
        00:07:A4:05:2E:14       JABRA BT200
gunter@CoriCelesti:~$
***

Info fails:

*** (as gunter)

gunter@CoriCelesti:~$ hcitool info 00:07:A4:05:2E:14
Requesting information ...
Can't create connection: Operation not permitted
gunter@CoriCelesti:~$
*** (as root)
CoriCelesti:/usr/src# hcitool info 00:07:A4:05:2E:14
Requesting information ...
Can't create connection: Input/output error
CoriCelesti:/usr/src#
***

I already tried to delete /etc/bluetooth/pin and to write the default pin into it, to no avail.

strace says btsco fails during a connect call:

***
connect(4, {sa_family=AF_BLUETOOTH, sa_data="\1\0\24 \5\244\7\0\0\0\0\0\0\0"}, 10) = -1 EACCES (Permission denied)
close(4) = 0
write(2, "Error: ", 7Error: ) = 7
write(2, "Failed to connect to SDP server:"..., 70Failed to connect to SDP
server: Permission denied
***

Are there any obvious mistakes or does anyone have any hints? As I said I'm new to this whole bluetooth technology so maybe I'm missing something really obvious... :-/

I really appreciate any help!

Greetings,

Gunter

System:
Athlon64 3000+ at Asus A8N SLI Board, nVidia NForce4 Chipset

Distribution:
Debian SID, 'Pure64' platform
custom-compiled 2.6.11.11 vanilla kernel

Signature · 15 lines
"There is a considerable overlap in intelligence between the smarter 
perl scripts and the dumber users."        -- Wolfgang Rupprecht
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#1 lore raw

Gunter,

something fundamental is wrong if you can find the headset using hcitool scan but can't use sdp to examine it. try the command-line sdp scan:

sdptool search --bdaddr <bdaddr> 0x1108

I suspect it will fail but I'm not sure why that would happen. If the *connection* was failing, I'd tell you to try removing /etc/bluetooth/link_key to reset the pairing. But the pairing is irrelevant for sdp queries.

Brad

Quoted 113 lines · Gunter Ohrner

Hi!

I've had a hard time trying to get my headset working but had no success so far. :-(

I've found single report on the syptoms I get on the net
(http://www.linuxforen.de/forums/archive/index.php/t-182494.html), but unfortunately no solution/follow up posting...

I'm also happy abaout RTFMs, maybe I missed something - these are my first steps with bluetooth.

I'm running a vanilla 2.6.11.11 kernel with all those bluetooth drivers compiled as modules. (Further systems details can be found at the end of this mail.) The bluetooth USB stick is recognized and driven by the ohci driver, so it's probably no ehci issue...

These are the symptoms:

***

# btsco -v 00:07:A4:05:2E:14
btsco v0.4c
Device is 2:0
Error: Failed to connect to SDP server: Permission denied
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied
CoriCelesti:/usr/src#
***

This happens no matter if I run it as root or my normal user. (which is in group dialup, all the /dev/rfcomm1 belong to group dialup) The btsco is a CVS checkout from yesterday.

The bluetooth dongle:

***
kernel: usb 1-7: new full speed USB device using ohci_hcd and address 10
***

***

CoriCelesti:/usr/src# hciconfig -a
hci0:   Type: USB
        BD Address: 00:09:DD:10:62:ED ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:107 acl:0 sco:0 events:14 errors:0
        TX bytes:300 acl:0 sco:0 commands:13 errors:0
        Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'CoriCelesti-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing, Object Transfer,
Audio
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x639 LMP Ver: 1.1 (0x1) LMP Subver:
0x639
        Manufacturer: Cambridge Silicon Radio (10)

CoriCelesti:/usr/src#
***

Device scan (headset in pairing mode):

***

gunter@CoriCelesti:~$ hcitool scan
Scanning ...
        00:07:A4:05:2E:14       JABRA BT200
gunter@CoriCelesti:~$
***

Info fails:

*** (as gunter)

gunter@CoriCelesti:~$ hcitool info 00:07:A4:05:2E:14
Requesting information ...
Can't create connection: Operation not permitted
gunter@CoriCelesti:~$
*** (as root)
CoriCelesti:/usr/src# hcitool info 00:07:A4:05:2E:14
Requesting information ...
Can't create connection: Input/output error
CoriCelesti:/usr/src#
***

I already tried to delete /etc/bluetooth/pin and to write the default pin into it, to no avail.

strace says btsco fails during a connect call:

***
connect(4, {sa_family=AF_BLUETOOTH, sa_data="\1\0\24 \5\244\7\0\0\0\0\0\0\0"}, 10) = -1 EACCES (Permission denied)
close(4) = 0
write(2, "Error: ", 7Error: ) = 7
write(2, "Failed to connect to SDP server:"..., 70Failed to connect to SDP
server: Permission denied
***

Are there any obvious mistakes or does anyone have any hints? As I said I'm new to this whole bluetooth technology so maybe I'm missing something really obvious... :-/

I really appreciate any help!

Greetings,

Gunter

Quoted 7 lines

System:
Athlon64 3000+ at Asus A8N SLI Board, nVidia NForce4 Chipset

Distribution:
Debian SID, 'Pure64' platform
custom-compiled 2.6.11.11 vanilla kernel

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 12 lines · Brad Midgley
Quoted 11 lines

***

# btsco -v 00:07:A4:05:2E:14
btsco v0.4c
Device is 2:0
Error: Failed to connect to SDP server: Permission denied
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied
CoriCelesti:/usr/src#
***

Quoted 6 lines

sdptool search --bdaddr <bdaddr> 0x1108

I suspect it will fail but I'm not sure why that would happen. If the *connection* was failing, I'd tell you to try removing /etc/bluetooth/link_key to reset the pairing. But the pairing is irrelevant for sdp queries.

*** (as gunter)

gunter@CoriCelesti:~$ sdptool search --bdaddr 00:07:A4:05:2E:14 0x1108
Class 0x1108
Failed to connect to SDP server on 00:07:A4:05:2E:14: Permission denied
gunter@CoriCelesti:~$
*** (as root)
CoriCelesti:/usr/src/linux-2.6.11.11# sdptool search --bdaddr
00:07:A4:05:2E:14 0x1108
Class 0x1108
Failed to connect to SDP server on 00:07:A4:05:2E:14: Permission denied
CoriCelesti:/usr/src/linux-2.6.11.11#
***

Maybe I made an error when configuring the kernel?

***
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_BCSP_TXCRC=y
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
***

***

CoriCelesti:/usr/src/linux-2.6.11.11# lsmod
Module                  Size  Used by
snd_bt_sco             14848  0
snd_hwdep              10336  1 snd_bt_sco
hci_usb                16264  2
rfcomm                 42288  0
l2cap                  25928  5 rfcomm
bluetooth              53252  7 hci_usb,rfcomm,l2cap
(...)
snd_pcm                99020  6
snd_bt_sco,snd_ca0106,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
(...)
snd                    57832  19
snd_bt_sco,snd_hwdep,snd_ca0106,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              11040  1 snd
snd_page_alloc         11464  4 snd_bt_sco,snd_ca0106,snd_intel8x0,snd_pcm
ehci_hcd               35080  0
usbhid                 35776  0
ohci_hcd               22024  0
(...)
CoriCelesti:/usr/src/linux-2.6.11.11#
***

Thanks for your comments!

Greetings,

Gunter

Signature · 16 lines
If the Creator had said, "Let there be light" in Ankh-Morpork, he'd 
have gotten no further because of all the people saying "What colour?"  
      -- (Terry Pratchett, Men At Arms)
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#3 lore raw
In reply to Gunter Ohrner
Quoted 6 lines · Gunter Ohrner

These are the symptoms:
***

# btsco -v 00:07:A4:05:2E:14
btsco v0.4c
Device is 2:0
Error: Failed to connect to SDP server: Permission denied

I also tried using a different bluetooth USB stick but this one does not seem to be supported:

***

CoriCelesti:~# hciconfig hci0 revision
hci0:   Type: USB
        BD Address: 00:11:67:03:D9:89 ACL MTU: 678:8 SCO MTU: 48:5
        Unsupported manufacturer
CoriCelesti:~#
***

So I probaly do not need to make further tests with this one, I guess?

I quick initial test with this stick was not too promising, although the error message changed:

***

gunter@CoriCelesti:~$ btsco -v 00:07:A4:05:2E:14
btsco v0.4c
Device is 2:0
Error: Failed to connect to SDP server: Connection timed out
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Resource temporarily unavailable gunter@CoriCelesti:~$
***

Unfortunately I do not have any different remote USB device to test against... :-(

Does anyone have any additional ideas of what may be going wrong or should I post to -devel instead?

Greetings,

Gunter

PS: Details about the other (unsupported?) USB stick:

***

CoriCelesti:~# hciconfig -a
hci0:   Type: USB
        BD Address: 00:11:67:03:D9:89 ACL MTU: 678:8 SCO MTU: 48:5
        UP RUNNING PSCAN ISCAN
        RX bytes:422 acl:0 sco:0 events:22 errors:0
        TX bytes:349 acl:0 sco:0 commands:18 errors:0
        Features: 0xff 0xff 0x0d 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'CoriCelesti-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing, Object Transfer,
Audio
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x1a4 LMP Ver: 1.1 (0x1) LMP Subver:
0x1a4
        Manufacturer: Integrated System Solution Corp. (57)
CoriCelesti:~#
***
Signature · 16 lines
If the Creator had said, "Let there be light" in Ankh-Morpork, he'd 
have gotten no further because of all the people saying "What colour?"  
      -- (Terry Pratchett, Men At Arms)
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users