public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Bluetooth audio via pulse doesn't function unless I chant the magic incantations
@ 2009-11-04  8:14 Russ Dill
  2009-11-04 13:29 ` Bastien Nocera
  0 siblings, 1 reply; 7+ messages in thread
From: Russ Dill @ 2009-11-04  8:14 UTC (permalink / raw)
  To: linux-bluetooth

I have ubuntu lucid (its just karmic+2.6.32-rc5) and I can only get
pulseaudio to detect my Sony DR-BT50 headset if I send some dbus
commands:

addr=00:1a:80:67:63:2c
hci=$(dbus-send --print-reply --system --dest=org.bluez /
org.bluez.Manager.DefaultAdapter | tail -n 1 | cut -f 2 -d '"')
dev=$(dbus-send --print-reply --system --dest=org.bluez $hci
org.bluez.Adapter.FindDevice string:$addr | tail -n 1 | cut -f 2 -d
'"')
dbus-send --print-reply --system --dest=org.bluez $dev org.bluez.Audio.Connect

Additionally, the device shows up under the gnome bluetooth-properties
applet under "Known devices" with the gold star and the keys. The
connected plug doesn't appear until I exec the above commands.
Clicking the plug without the above commands does nothing.

bluez 4.51-0ubuntu2
libbluetooth3 4.51-0ubuntu2
pulseaudio 1:0.9.19-0ubuntu4
pulseaudio-module-bluetooth 1:0.9.19-0ubuntu4

hci0:	Type: USB
	BD Address: 00:16:CF:F7:04:20 ACL MTU: 1017:8 SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN
	RX bytes:142026 acl:16520 sco:0 events:10116 errors:0
	TX bytes:33958806 acl:39854 sco:0 commands:73 errors:0

(after above commands)

Connections:
	< ACL 00:1A:80:67:63:2C handle 11 state 1 lm MASTER

How can I get my machine to automatically pair with this headset?

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

end of thread, other threads:[~2009-11-11  8:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04  8:14 Bluetooth audio via pulse doesn't function unless I chant the magic incantations Russ Dill
2009-11-04 13:29 ` Bastien Nocera
2009-11-05  2:13   ` Russ Dill
2009-11-05  2:49     ` Bastien Nocera
2009-11-11  6:51       ` russ.dill
2009-11-11  6:58         ` russ.dill
2009-11-11  8:33       ` Russ Dill

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