From 2519809a6ed09883eb7c080a81c48f52bf076cf83ece3a52af5817bc2911f9f1 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Thu, 11 Jul 2019 16:53:48 +0000 Subject: [PATCH] Accepting request 714538 from home:acho:branches:openSUSE:Factory fix for RPi3 bluetooth support (bsc#1140688) OBS-URL: https://build.opensuse.org/request/show/714538 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=267 --- ...-the-43xx-firmware-into-lib-firmware.patch | 25 +++++++++++++++++++ bluez.changes | 6 +++++ bluez.spec | 3 +++ 3 files changed, 34 insertions(+) create mode 100644 RPi-Move-the-43xx-firmware-into-lib-firmware.patch diff --git a/RPi-Move-the-43xx-firmware-into-lib-firmware.patch b/RPi-Move-the-43xx-firmware-into-lib-firmware.patch new file mode 100644 index 0000000..984daf2 --- /dev/null +++ b/RPi-Move-the-43xx-firmware-into-lib-firmware.patch @@ -0,0 +1,25 @@ +From 72a2a6a6fd0e623c4048d105b34d221bde87eb74 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 23 Feb 2016 17:52:29 +0000 +Subject: [PATCH] Move the 43xx firmware into /lib/firmware + +--- + tools/hciattach_bcm43xx.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c +index f3231ec..21450ac 100644 +--- a/tools/hciattach_bcm43xx.c ++++ b/tools/hciattach_bcm43xx.c +@@ -43,7 +43,7 @@ + #include "hciattach.h" + + #ifndef FIRMWARE_DIR +-#define FIRMWARE_DIR "/etc/firmware" ++#define FIRMWARE_DIR "/lib/firmware" + #endif + + #define FW_EXT ".hcd" +-- +2.9.3 + diff --git a/bluez.changes b/bluez.changes index dff7be9..3963769 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 11 04:29:46 UTC 2019 - Al Cho + +- Fix 43xx firmware path for RPi3 bluetooth support (bsc#1140688) + - Add RPi-Move-the-43xx-firmware-into-lib-firmware.patch + ------------------------------------------------------------------- Wed Jul 10 06:02:54 UTC 2019 - Jiri Slaby diff --git a/bluez.spec b/bluez.spec index a0b445f..8fe9979 100644 --- a/bluez.spec +++ b/bluez.spec @@ -44,6 +44,8 @@ Patch7: 0001-policy-Add-logic-to-connect-a-Sink.patch Patch8: bluez-5.50-a2dp-backports.patch # PATCH-FIX-UPSTREAM tools: Fix build after y2038 changes in glibc Patch9: 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch +# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 +Patch10: RPi-Move-the-43xx-firmware-into-lib-firmware.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) @@ -168,6 +170,7 @@ desktop specific applets like blueman or GNOME or KDE applets). %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %patch101 -p1 %patch102 -p1 mkdir dbus-apis