2008-03-06 00:59:00

by TD

[permalink] [raw]
Subject: [Bluez-users] Can't get headset to pair


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2008-03-06 02:13:26

by Brian Sammon

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get headset to pair

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users