From 9f90c36743e175cb1c390661431f1b9c0d435474 Mon Sep 17 00:00:00 2001 From: Jan Lübbe Date: Thu, 19 Feb 2009 18:28:52 +0000 Subject: bluez4: set SCORouting to PCM for om-gta02 --- packages/bluez/bluez4/set-scorouting-to-pcm.patch | 25 +++++++++++++++++++++++ packages/bluez/bluez4_4.30.bb | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 packages/bluez/bluez4/set-scorouting-to-pcm.patch diff --git a/packages/bluez/bluez4/set-scorouting-to-pcm.patch b/packages/bluez/bluez4/set-scorouting-to-pcm.patch new file mode 100644 index 0000000000..107145a68f --- /dev/null +++ b/packages/bluez/bluez4/set-scorouting-to-pcm.patch @@ -0,0 +1,25 @@ +From 42094659e2631cfb154690cefd8925b03e1984a3 Mon Sep 17 00:00:00 2001 +From: Jan Luebbe +Date: Thu, 19 Feb 2009 17:06:10 +0100 +Subject: [PATCH] Set SCORouting to PCM + +--- + audio/audio.conf | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/audio/audio.conf b/audio/audio.conf +index 33a84e1..7b30f05 100644 +--- a/audio/audio.conf ++++ b/audio/audio.conf +@@ -13,7 +13,7 @@ + + # SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA) + # Defaults to HCI +-#SCORouting=PCM ++SCORouting=PCM + + # Headset interface specific options (i.e. options which affect how the audio + # service interacts with remote headset devices) +-- +1.5.6.5 + diff --git a/packages/bluez/bluez4_4.30.bb b/packages/bluez/bluez4_4.30.bb index c66b14d754..9e5a16029c 100644 --- a/packages/bluez/bluez4_4.30.bb +++ b/packages/bluez/bluez4_4.30.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" DEPENDS = "gst-plugins-base alsa-lib libusb1 dbus-glib" HOMEPAGE = "http://www.bluez.org" LICENSE = "GPL" -PR = "r0" +PR = "r1" SRC_URI = "\ http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz \ @@ -12,6 +12,10 @@ SRC_URI = "\ file://sbc-thumb.patch;patch=1 \ file://hid2hci_usb_init.patch;patch=1 \ " + +# TODO use MACHINE specific variables to generate the config files +SRC_URI_append_om-gta02 = " file://set-scorouting-to-pcm.patch;patch=1" + S = "${WORKDIR}/bluez-${PV}" inherit autotools pkgconfig -- cgit 1.2.3-korg