2006-11-18 11:02:47

by Paolo Casaschi

[permalink] [raw]
Subject: [Bluez-users] Errors pairing with headset

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



Tried also
sudo hcitool cc aa:bb:cc:dd:ee:ff
but got error message
Can't create connection: Input/output error


Output of sudo hciconfig -a is:

hci0: Type: USB

BD Address: 00:09:DD:50:12:FA ACL MTU: 384:8 SCO MTU: 64:8

UP RUNNING PSCAN ISCAN

RX bytes:1694 acl:0 sco:0 events:62 errors:0

TX bytes:432 acl:0 sco:0 commands:32 errors:0

Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80

Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3

Link policy: RSWITCH HOLD SNIFF PARK

Link mode: SLAVE ACCEPT

Name: 'paolo-laptwo-0'

Class: 0x3e0100

Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio

Device Class: Computer, Uncategorized

HCI Ver: 2.0 (0x3) HCI Rev: 0x7a6 LMP Ver: 2.0 (0x3) LMP Subver: 0x7a6

Manufacturer: Cambridge Silicon Radio (10)



Tried to search the mailing list, but could not spot anything useful. Any help?



-- Paolo


-------------------------------------------------------------------------
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


2006-11-18 15:58:29

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-users] Errors pairing with headset

Paolo

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

For some reason, edgy has an hcid.conf that requires bluez-passkey-gnome
in order to work but they don't install the package by default. Check
your setup.

I wrote in some detail how to get audio working without the kernel
module. I linked it from the page you referenced.

https://help.ubuntu.com/community/BluetoothAudio

Brad

-------------------------------------------------------------------------
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

2006-11-18 11:43:54

by Arthur

[permalink] [raw]
Subject: Re: [Bluez-users] Errors pairing with headset

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


Attachments:
(No filename) (1.05 kB)
(No filename) (1.84 kB)
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments