Skip to contentSkip to conversation

Errors pairing with headset

Bluez-users Paolo Casaschi 2 participants 2 messages Nov 18, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Thanks for the hint.

Tried
sudo btsco -v aa:bb:cc:dd:ee:ff

At first, got this reply:
Error: hwdep next device (hw:0): Operation not permitted
Error: control open (hw:1): No such device
Error: Can't find device. Bail

Then, googling a bit, I thught I should load the snd_bt_sco module, after i did that, the btsco -v command above gives me back

btsco v0.42
Device is 1:0
Error: Failed to connect to SDP server: Permission denied Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied

What do I miss?

-- Paolo

----

From: Arthur <avandorp <at> gmail.com>

Subject: Re: Errors pairing with headset

Newsgroups: gmane.linux.bluez.user

Date: 2006-11-18 11:43:54 GMT
(22 minutes ago)

Hi Paolo

Trying to connect to my bluetooth headset on a new Ubuntu Edgy install (have'nt touched any of the /etc/bluetooth/*.conf files)

I looked at https://help.ubuntu.com/community/BluetoothSetup for guidance

When my headseat is in pairing mode, if try

    sudo hidd --search 

I get totally no output, not even the "No devices in range or visible" that I get when the headset is off.

But if I try
sudo hcitool scan
then my headest is recognized
aa:bb:cc:dd:ee:ff BT Headset-12

If I try then

      sudo hidd --connect  aa:bb:cc:dd:ee:ff

I get the error message
Can't get device information: Permission denied

I've never bothered with the hidd stuff. I do get the same "No devices..." message for hidd --search with my headset turned on even though it works just fine.

I've just install the bluez-btsco package (sudo aptitude install bluez-btsco). Try running btsco -v aa:bb:cc:dd:ee:ff
and see whether it can connect to your headset. The first time you do this, you should be prompted for the pin.

Good luck

Arthur

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw
Quoted 2 lines

Then, googling a bit, I thught I should load the snd_bt_sco module,

Ah, sorry, forgot about that. Just add it snd_bt_sco to your /etc/modules to make it load at boot time.

after i did that, the btsco -v command above gives me back

Quoted 10 lines

btsco v0.42
Device is 1:0
Error: Failed to connect to SDP server: Permission denied Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Permission denied

What do I miss?

I'd say that's where you should get asked for the pin. I'm using KDE together with kbluetoothd. There's also a process 'sdpd' running which handles service discovery (as far as I know). I can't remember having configured those manually. "/etc/init.d/bluez-utils start" gets called at startup. Also check with the documentation of your headset on how to initiate pairing. More doesn't come to my mind for the moment.

Regards

Arthur

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users