public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Can't get headset to pair
@ 2008-03-06  0:59 TD
  2008-03-06  2:13 ` Brian Sammon
  2008-03-06 13:48 ` [Bluez-users] How to change the Hci packet size? Eng. Waleed Al-Rashoud
  0 siblings, 2 replies; 6+ messages in thread
From: TD @ 2008-03-06  0:59 UTC (permalink / raw)
  To: bluez-users


Trying to get a bluetooth headset (http://www.ebuyer.com/product/123000) to
work with bluez, so that I can access it from alsa.  Running Debian lenny
(2.6.22 kernel), bluez 3.24.

With the headset in pairing mode:
laptop:~# hcitool scan
Scanning ...
	00:02:5B:02:64:9D	VBH-006
laptop:~# hcitool cc 00:02:5B:02:64:9D
laptop:~#

System log reports:
Mar  6 00:44:19 laptop NetworkManager: <debug> [1204764259.628237]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/bluetooth_acl_25b02649d'). 
Mar  6 00:44:22 laptop NetworkManager: <debug> [1204764262.493448]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/bluetooth_acl_25b02649d').

The light on the hands-free doesn't start to flash, indicating that pairing
didn't take place.  My /etc/bluetooth/hcid.conf contains:
pin_helper /etc/bluetooth/feed-pin.sh;

and /etc/bluetooth/feed-pin.sh contains:
#!/bin/sh
echo "PIN:0000"

which runs fine as a shell script.

My normal user .asoundrc contains:
pcm.bluetooth {
   type bluetooth
   device 00:02:5B:02:64:9D
}

Have I missed something?  Do I need to pair the device before it will work?

TD


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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] Can't get headset to pair
  2008-03-06  0:59 [Bluez-users] Can't get headset to pair TD
@ 2008-03-06  2:13 ` Brian Sammon
  2008-03-06 13:48 ` [Bluez-users] How to change the Hci packet size? Eng. Waleed Al-Rashoud
  1 sibling, 0 replies; 6+ messages in thread
From: Brian Sammon @ 2008-03-06  2:13 UTC (permalink / raw)
  To: BlueZ users

The only way I could find to initiate pairing with my headphones was by 
following the instructions in http://wiki.bluez.org/wiki/HOWTO/Bonding in the 
"dbus-send" section.

I'd be interested in hearing if there's another way (that doesn't involve 
writing a program).

Also, make sure that there's a passkey/auth agent running (such as 
bluetooth-applet of bluez-gnome)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

* [Bluez-users] How to change the Hci packet size?
  2008-03-06  0:59 [Bluez-users] Can't get headset to pair TD
  2008-03-06  2:13 ` Brian Sammon
@ 2008-03-06 13:48 ` Eng. Waleed Al-Rashoud
  2008-03-06 14:53   ` Marcel Holtmann
  1 sibling, 1 reply; 6+ messages in thread
From: Eng. Waleed Al-Rashoud @ 2008-03-06 13:48 UTC (permalink / raw)
  To: BlueZ users

Hi, what it the largest packet size for the Hci? 
Is it a configuration in the BlueZ or is it a configuration in the adapter?
thanks
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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] How to change the Hci packet size?
  2008-03-06 13:48 ` [Bluez-users] How to change the Hci packet size? Eng. Waleed Al-Rashoud
@ 2008-03-06 14:53   ` Marcel Holtmann
  2008-03-06 23:11     ` Eng. Waleed Al-Rashoud
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2008-03-06 14:53 UTC (permalink / raw)
  To: BlueZ users

Hi,

> Hi, what it the largest packet size for the Hci?
> Is it a configuration in the BlueZ or is it a configuration in the  
> adapter?

don't bother in trying. The firmware inside the Bluetooth chip is  
responsible for doing this job. It will pick the packet type that is  
best suitable.

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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] How to change the Hci packet size?
  2008-03-06 14:53   ` Marcel Holtmann
@ 2008-03-06 23:11     ` Eng. Waleed Al-Rashoud
  2008-03-07 12:16       ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Eng. Waleed Al-Rashoud @ 2008-03-06 23:11 UTC (permalink / raw)
  To: BlueZ users

Thanks.. but I remember something in the Bluetooth standard like 'continue' 
flag in each HCI packet.. Who is responsible to fill this?
Thanks again marcel..


--------------------------------------------------
From: "Marcel Holtmann" <marcel@holtmann.org>
Sent: Thursday, March 06, 2008 5:53 PM
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] How to change the Hci packet size?

> Hi,
>
>> Hi, what it the largest packet size for the Hci?
>> Is it a configuration in the BlueZ or is it a configuration in the
>> adapter?
>
> don't bother in trying. The firmware inside the Bluetooth chip is
> responsible for doing this job. It will pick the packet type that is
> best suitable.
>
> Regards
>
> Marcel
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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] How to change the Hci packet size?
  2008-03-06 23:11     ` Eng. Waleed Al-Rashoud
@ 2008-03-07 12:16       ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2008-03-07 12:16 UTC (permalink / raw)
  To: BlueZ users

Hi,

> Thanks.. but I remember something in the Bluetooth standard like  
> 'continue'
> flag in each HCI packet.. Who is responsible to fill this?

the L2CAP layer will fill this in.

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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:[~2008-03-07 12:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06  0:59 [Bluez-users] Can't get headset to pair TD
2008-03-06  2:13 ` Brian Sammon
2008-03-06 13:48 ` [Bluez-users] How to change the Hci packet size? Eng. Waleed Al-Rashoud
2008-03-06 14:53   ` Marcel Holtmann
2008-03-06 23:11     ` Eng. Waleed Al-Rashoud
2008-03-07 12:16       ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox