All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Errors pairing with headset
@ 2006-11-18 11:02 Paolo Casaschi
  2006-11-18 11:43 ` Arthur
  2006-11-18 15:58 ` Brad Midgley
  0 siblings, 2 replies; 6+ messages in thread
From: Paolo Casaschi @ 2006-11-18 11:02 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Errors pairing with headset
  2006-11-18 11:02 [Bluez-users] Errors pairing with headset Paolo Casaschi
@ 2006-11-18 11:43 ` Arthur
  2006-11-18 15:58 ` Brad Midgley
  1 sibling, 0 replies; 6+ messages in thread
From: Arthur @ 2006-11-18 11:43 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1881 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Errors pairing with headset
@ 2006-11-18 12:14 Paolo Casaschi
  2006-11-18 13:40 ` Arthur
  0 siblings, 1 reply; 6+ messages in thread
From: Paolo Casaschi @ 2006-11-18 12:14 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Errors pairing with headset
  2006-11-18 12:14 Paolo Casaschi
@ 2006-11-18 13:40 ` Arthur
  0 siblings, 0 replies; 6+ messages in thread
From: Arthur @ 2006-11-18 13:40 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1400 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Errors pairing with headset
  2006-11-18 11:02 [Bluez-users] Errors pairing with headset Paolo Casaschi
  2006-11-18 11:43 ` Arthur
@ 2006-11-18 15:58 ` Brad Midgley
  1 sibling, 0 replies; 6+ messages in thread
From: Brad Midgley @ 2006-11-18 15:58 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] Errors pairing with headset
@ 2006-11-18 17:03 Paolo Casaschi
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Casaschi @ 2006-11-18 17:03 UTC (permalink / raw)
  To: BlueZ users

Thanks!
bluez-passkey-gnome was the missing item!
Now I can use the bluetooth headset with Skype!

Thanks.

-- Paolo

----- Original Message ----
From: Brad Midgley <bmidgley@xmission.com>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Saturday, November 18, 2006 3:58:29 PM
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users




-------------------------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-18 17:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-18 11:02 [Bluez-users] Errors pairing with headset Paolo Casaschi
2006-11-18 11:43 ` Arthur
2006-11-18 15:58 ` Brad Midgley
  -- strict thread matches above, loose matches on Subject: below --
2006-11-18 12:14 Paolo Casaschi
2006-11-18 13:40 ` Arthur
2006-11-18 17:03 Paolo Casaschi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.