From: Grazvydas Ignotas Date: Sat, 27 Feb 2016 22:10:34 +0000 (+0200) Subject: bluez4: enable socket API by default X-Git-Tag: sz_176~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f8c14616b3395349822b3b5ba9fb668159cddc2;p=openembedded.git bluez4: enable socket API by default that's how BT audio is used in most cases on pandora --- diff --git a/recipes/bluez/bluez4-4.99/enable_socket_api.patch b/recipes/bluez/bluez4-4.99/enable_socket_api.patch new file mode 100644 index 0000000000..2f069edcf2 --- /dev/null +++ b/recipes/bluez/bluez4-4.99/enable_socket_api.patch @@ -0,0 +1,22 @@ +diff -ur bluez-4.99_/audio/audio.conf bluez-4.99/audio/audio.conf +--- bluez-4.99_/audio/audio.conf 2010-08-25 08:10:02.000000000 +0300 ++++ bluez-4.99/audio/audio.conf 2016-02-27 23:55:24.076560166 +0200 +@@ -3,6 +3,9 @@ + # This section contains options which are not specific to any + # particular interface + [General] ++# comment this out if you need to use bluez Media DBus API ++# see http://www.lightofdawn.org/blog/?viewDetailed=00031 ++Enable=Socket + + # Switch to master role for incoming connections (defaults to true) + #Master=true +@@ -19,7 +22,7 @@ + # connections. Some headsets that support both profiles will only connect the + # other one automatically so the default setting of true is usually a good + # idea. +-#AutoConnect=true ++AutoConnect=true + + # Headset interface specific options (i.e. options which affect how the audio + # service interacts with remote headset devices) diff --git a/recipes/bluez/bluez4_4.99.bb b/recipes/bluez/bluez4_4.99.bb index 0487632808..8969349dff 100644 --- a/recipes/bluez/bluez4_4.99.bb +++ b/recipes/bluez/bluez4_4.99.bb @@ -1,6 +1,6 @@ require bluez4.inc -PR = "r12" +PR = "r13" SRC_URI += "file://bluetooth.conf \ file://sbc_mmx.patch;patch=1 \ @@ -12,6 +12,7 @@ SRC_URI += "file://bluetooth.conf \ file://fix_encrypt_collision.patch;patch=1 \ file://0001-hciattach_tialt-Implement-texas_change_speed-functio.patch;patch=1 \ file://firmware_path.patch;patch=1 \ + file://enable_socket_api.patch;patch=1 \ " SRC_URI[md5sum] = "570aa10692ed890aa0a4297b37824912"