[Pkg-bluetooth-maintainers] Bug#538769: bluez: bluetooth audio does not work on freerunner
Sebastian Reichel
elektranox at gmail.com
Sun Jul 26 21:02:44 UTC 2009
Package: bluez
Version: 4.42-2
Severity: important
Because of bug #532098 I wrote myself a small script, which will connect to my
bluetooth headset:
-------------------------------------------------------------------
#!/bin/sh
BT_BDADDR='XX:XX:XX:XX:XX:XX'
### stop editing ###
_BT_ADAPTER=`dbus-send --system --print-reply --dest=org.bluez / \
org.bluez.Manager.DefaultAdapter|awk '/object path/ {print $3}'`
BT_ADAPTER=${_BT_ADAPTER//\"/}
echo "Adapter: $BT_ADAPTER"
_BT_DEVICE=`dbus-send --system --print-reply --dest=org.bluez $BT_ADAPTER \
org.bluez.Adapter.FindDevice string:$BT_BDADDR |awk '/object path/ {print $3}'`
BT_DEVICE=${_BT_DEVICE//\"/}
echo "Headset: $BT_DEVICE"
dbus-send --system --print-reply --dest=org.bluez $BT_DEVICE \
org.bluez.AudioSink.Connect
-------------------------------------------------------------------
This script runs just fine on my notebook and my desktop (both are
amd64 systems and both are using bluez 4.x from debian unstable).
After executing the script on these systems I can use
mplayer->alsa->bluetooth to play music/sound/...
But on my Openmoko Freerunner (arm based) I get the following error
message:
elektranox at freerunner ~ % bluetooth-audio
Adapter: /org/bluez/1775/hci0
Headset: /org/bluez/1775/hci0/dev_XX_XX_XX_XX_XX_XX
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.AudioSink" doesn't exist
My systems are fully upgraded to bluez 4 stack of course:
elektranox at freerunner ~ % dpkg -l | grep bluez
ii bluez 4.42-2 Bluetooth tools and daemons
ii bluez-alsa 4.42-2 Bluetooth ALSA support
ii bluez-audio 4.42-2 Transitional package
ii bluez-gstreamer 4.42-2 Bluetooth GStreamer support
ii bluez-utils 4.42-2 Transitional package
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armel (armv4tl)
Kernel: Linux 2.6.29-20090702.gitd1c828aa (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages bluez depends on:
ii dbus 1.2.16-2 simple interprocess messaging syst
ii libbluetooth3 4.42-2 Library to use the BlueZ Linux Blu
ii libc6 2.9-19 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libglib2.0-0 2.20.4-1 The GLib library of C routines
ii libnl1 1.1-5 library for dealing with netlink s
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii module-init-tools 3.9-2 tools for managing Linux kernel mo
ii udev 0.141-1 /dev/ and hotplug management daemo
bluez recommends no packages.
Versions of packages bluez suggests:
ii python-dbus 0.83.0-1 simple interprocess messaging syst
ii python-gobject 2.16.1-1 Python bindings for the GObject li
-- no debconf information
More information about the Pkg-bluetooth-maintainers
mailing list