All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Pairing with a Headset
@ 2008-10-12 11:36 John Frankish
  0 siblings, 0 replies; 4+ messages in thread
From: John Frankish @ 2008-10-12 11:36 UTC (permalink / raw
  To: BlueZ development

Hi,

I'm using bluez-4.12/bluez-gnome-1.8 and tried out pairing my laptop 
with a SE HBH-610 headset

A couple of questions:

Q1 Using bluetooth-wizard, I got this.

Connecting to null now...
Please enter the following PIN code: 0000

Since I could not enter anything on the headset, I waited 20-30s and 
then, as per bluetoothd -n, the pairing seemed to work:

bluetoothd[6061]: Discovery session 0xb96d4098 with :1.1 activated
bluetoothd[6061]: Discovery session 0xb96d4098 with :1.1 deactivated
bluetoothd[6061]: link_key_request (sba=00:10:C6:56:F4:9F, 
dba=00:12:EE:A6:1D:F4)
bluetoothd[6061]: pin_code_request (sba=00:10:C6:56:F4:9F, 
dba=00:12:EE:A6:1D:F4)
bluetoothd[6061]: link_key_notify (sba=00:10:C6:56:F4:9F, 
dba=00:12:EE:A6:1D:F4)
bluetoothd[6061]: Registered interface org.bluez.Headset on path 
/org/bluez/hci0/dev_00_12_EE_A6_1D_F4
bluetoothd[6061]: Registered interface org.bluez.Input on path 
/org/bluez/hci0/dev_00_12_EE_A6_1D_F4

If I pair the headset with a phone, I need to enter 0000 on the 
phone, after which there is a beeping in the headset until I press 
the headset  button and the pairing is complete.

Did I miss something in the setup to use a bt headset or is the 
bluez-gnome logic not quite right for a headset?

Q2 My os uses 2.6.26 and I have the following bt modules loaded:

Module                  Size  Used by
sco                     9472  2
bnep                   11264  2
rfcomm                 29328  4
l2cap                  17920  16 bnep,rfcomm
hci_usb                13084  3
bluetooth              42852  11 sco,bnep,rfcomm,l2cap,hci_usb

Do I need to apply the seven bt patches for 2.6.26 or will the 
headset work as is - i.e. is the btusb (?) module required for sco to work?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Pairing with a Headset
@ 2008-10-15 13:50 John Frankish
  0 siblings, 0 replies; 4+ messages in thread
From: John Frankish @ 2008-10-15 13:50 UTC (permalink / raw
  To: BlueZ development

At 15:36 12-10-08, you wrote:
>Hi,
>
>I'm using bluez-4.12/bluez-gnome-1.8 and tried out pairing my laptop
>with a SE HBH-610 headset
>
>A couple of questions:
>
>snip
>
>Q2 My os uses 2.6.26 and I have the following bt modules loaded:
>
>Module                  Size  Used by
>sco                     9472  2
>bnep                   11264  2
>rfcomm                 29328  4
>l2cap                  17920  16 bnep,rfcomm
>hci_usb                13084  3
>bluetooth              42852  11 sco,bnep,rfcomm,l2cap,hci_usb
>
>Do I need to apply the seven bt patches for 2.6.26 or will the
>headset work as is - i.e. is the btusb (?) module required for sco to work?
>-------------------------------------------------------------------------
So, after applying patch-mh7 and recompiling, I get the btusb module 
instead of hci_usb

When pairing using bluez-gnome, everything proceeds as normal up 
until the "pairing complete" message at which point the system 
freezes and the only way out is to switch off.

It's difficult to trouble-shoot as this system is totally ram based - 
did anybody else see this problem? 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Pairing with a Headset
@ 2008-10-20 12:28 John Frankish
  0 siblings, 0 replies; 4+ messages in thread
From: John Frankish @ 2008-10-20 12:28 UTC (permalink / raw
  To: BlueZ development

Tried again with bluez-4.15...

At 17:50 15-10-08, you wrote:
>At 15:36 12-10-08, you wrote:
> >Hi,
> >
> >I'm using bluez-4.12/bluez-gnome-1.8 and tried out pairing my laptop
> >with a SE HBH-610 headset
> >
> >A couple of questions:
> >
> >snip
> >
> >Q2 My os uses 2.6.26 and I have the following bt modules loaded:
> >
> >Module                  Size  Used by
> >sco                     9472  2
> >bnep                   11264  2
> >rfcomm                 29328  4
> >l2cap                  17920  16 bnep,rfcomm
> >hci_usb                13084  3
> >bluetooth              42852  11 sco,bnep,rfcomm,l2cap,hci_usb
> >
> >Do I need to apply the seven bt patches for 2.6.26 or will the
> >headset work as is - i.e. is the btusb (?) module required for sco to work?
> >-------------------------------------------------------------------------
>So, after applying patch-mh7 and recompiling, I get the btusb module
>instead of hci_usb
>
>When pairing using bluez-gnome, everything proceeds as normal up
>until the "pairing complete" message at which point the system
>freezes and the only way out is to switch off.
>
>It's difficult to trouble-shoot as this system is totally ram based -
>did anybody else see this problem?
>----------------------------------------

Output from bluetoothd -dn up until system freeze

hcid_dbus_bonding_process-complete: status 00
adapter_get_device (00:1E:45:8B:2A:33)
Releasing agent: 1:1 /org/bluez/agent/wizard
Probe devices for /org/bluez/hci0/dev_00_1E_45_8B_2A_33
adapter_get_device (00:1E:45:8B:2A:33)
adapter_handle_uuid: server not enabled for 
00001112-0000-1000-8000-00805f9b34fb (0x1112)
adapter_handle_uuid: server not enabled for 
0000111f-0000-1000-8000-00805f9b34fb (0x111f)
adapter_handle_uuid: server not enabled for 
0000110a-0000-1000-8000-00805f9b34fb (0x110a)
Found AV Target
Registered interface org.bluez.Control on path 
/org/bluez/hci0/dev_00_1E_45_8B_2A_33
Found AV Remote
Serial_probe: path /org/bluez/hci0/dev_00_1E_45_8B_2A_33
Registered interface org.bluez.Serial on path 
/org/bluez/hci0/dev_00_1E_45_8B_2A_33
Serial_probe: path /org/bluez/hci0/dev_00_1E_45_8B_2A_33
Network_probe: path /org/bluez/hci0/dev_00_1E_45_8B_2A_33
Registered interface org.bluez.Serial on path 
/org/bluez/hci0/dev_00_1E_45_8B_2A_33
Network_probe: path /org/bluez/hci0/dev_00_1E_45_8B_2A_33
[system freeze]

Any ideas would be welcome... 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Pairing with a Headset
@ 2008-11-02 13:44 John Frankish
  0 siblings, 0 replies; 4+ messages in thread
From: John Frankish @ 2008-11-02 13:44 UTC (permalink / raw
  To: BlueZ development

At 15:36 12-10-08, you wrote:
>Hi,
>
>I'm using bluez-4.12/bluez-gnome-1.8 and tried out pairing my laptop
>with a SE HBH-610 headset
>
>A couple of questions:
>
>Q1 Using bluetooth-wizard, I got this.
>
>Connecting to null now...
>Please enter the following PIN code: 0000
>
>Since I could not enter anything on the headset, I waited 20-30s and
>then, as per bluetoothd -n, the pairing seemed to work:
>
>bluetoothd[6061]: Discovery session 0xb96d4098 with :1.1 activated
>bluetoothd[6061]: Discovery session 0xb96d4098 with :1.1 deactivated
>bluetoothd[6061]: link_key_request (sba=00:10:C6:56:F4:9F,
>dba=00:12:EE:A6:1D:F4)
>bluetoothd[6061]: pin_code_request (sba=00:10:C6:56:F4:9F,
>dba=00:12:EE:A6:1D:F4)
>bluetoothd[6061]: link_key_notify (sba=00:10:C6:56:F4:9F,
>dba=00:12:EE:A6:1D:F4)
>bluetoothd[6061]: Registered interface org.bluez.Headset on path
>/org/bluez/hci0/dev_00_12_EE_A6_1D_F4
>bluetoothd[6061]: Registered interface org.bluez.Input on path
>/org/bluez/hci0/dev_00_12_EE_A6_1D_F4
>
>If I pair the headset with a phone, I need to enter 0000 on the
>phone, after which there is a beeping in the headset until I press
>the headset  button and the pairing is complete.
>
>Did I miss something in the setup to use a bt headset or is the
>bluez-gnome logic not quite right for a headset?
>
>Q2 My os uses 2.6.26 and I have the following bt modules loaded:
>
>Module                  Size  Used by
>sco                     9472  2
>bnep                   11264  2
>rfcomm                 29328  4
>l2cap                  17920  16 bnep,rfcomm
>hci_usb                13084  3
>bluetooth              42852  11 sco,bnep,rfcomm,l2cap,hci_usb
>
>Do I need to apply the seven bt patches for 2.6.26 or will the
>headset work as is - i.e. is the btusb (?) module required for sco to work?
--------------------------
To answer my own question, things now work with bluez-4.15, 
bluez-gnome-1.8 and the hci_usb module - the btusb module freezes my 
machine on completion of pairing.

Perhaps not a big deal, but I still think bluez-gnome 
(bluetooth-wizard) could be a bit more user friendly when connecting 
to a bt headset (or other device where the use cannot enter a pin) - 
why not give the message "press button on headset" rather than "enter 
PIN 0000"?

Anyway, the sound playback/recording quality seems good. 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2008-11-02 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-15 13:50 [Bluez-devel] Pairing with a Headset John Frankish
  -- strict thread matches above, loose matches on Subject: below --
2008-11-02 13:44 John Frankish
2008-10-20 12:28 John Frankish
2008-10-12 11:36 John Frankish

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.