mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
bluez: update to 5.66
This commit is contained in:
parent
408a963726
commit
1977f62b5a
@ -3,8 +3,8 @@
|
|||||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="bluez"
|
PKG_NAME="bluez"
|
||||||
PKG_VERSION="5.65"
|
PKG_VERSION="5.66"
|
||||||
PKG_SHA256="2565a4d48354b576e6ad92e25b54ed66808296581c8abb80587051f9993d96d4"
|
PKG_SHA256="39fea64b590c9492984a0c27a89fc203e1cdc74866086efb8f4698677ab2b574"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.bluez.org/"
|
PKG_SITE="http://www.bluez.org/"
|
||||||
PKG_URL="https://www.kernel.org/pub/linux/bluetooth/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
PKG_URL="https://www.kernel.org/pub/linux/bluetooth/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||||
|
@ -23,6 +23,17 @@ Last-Update: 2017-04-05
|
|||||||
int init_speed = 0;
|
int init_speed = 0;
|
||||||
int send_break = 0;
|
int send_break = 0;
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
|
--- a/tools/hciattach.h
|
||||||
|
+++ b/tools/hciattach.h
|
||||||
|
@@ -44,7 +45,7 @@
|
||||||
|
#define HCI_UART_VND_DETECT 5
|
||||||
|
|
||||||
|
#ifndef FIRMWARE_DIR
|
||||||
|
-#define FIRMWARE_DIR "/etc/firmware"
|
||||||
|
+#define FIRMWARE_DIR "/lib/firmware"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int read_hci_event(int fd, unsigned char *buf, int size);
|
||||||
--- a/tools/hciattach_bcm43xx.c
|
--- a/tools/hciattach_bcm43xx.c
|
||||||
+++ b/tools/hciattach_bcm43xx.c
|
+++ b/tools/hciattach_bcm43xx.c
|
||||||
@@ -36,6 +36,7 @@
|
@@ -36,6 +36,7 @@
|
||||||
@ -33,15 +44,6 @@ Last-Update: 2017-04-05
|
|||||||
|
|
||||||
#include "lib/bluetooth.h"
|
#include "lib/bluetooth.h"
|
||||||
#include "lib/hci.h"
|
#include "lib/hci.h"
|
||||||
@@ -44,7 +45,7 @@
|
|
||||||
#include "hciattach.h"
|
|
||||||
|
|
||||||
#ifndef FIRMWARE_DIR
|
|
||||||
-#define FIRMWARE_DIR "/etc/firmware"
|
|
||||||
+#define FIRMWARE_DIR "/lib/firmware"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FW_EXT ".hcd"
|
|
||||||
@@ -303,9 +304,23 @@
|
@@ -303,9 +304,23 @@
|
||||||
static int bcm43xx_locate_patch(const char *dir_name,
|
static int bcm43xx_locate_patch(const char *dir_name,
|
||||||
const char *chip_name, char *location)
|
const char *chip_name, char *location)
|
||||||
|
@ -29,9 +29,9 @@ index 939fed7..f6baea7 100644
|
|||||||
+ else
|
+ else
|
||||||
+ btd_device_set_pnpid(device, cp->source, cp->vid, cp->pid, cp->version);
|
+ btd_device_set_pnpid(device, cp->source, cp->vid, cp->pid, cp->version);
|
||||||
+
|
+
|
||||||
btd_device_set_trusted(device, false);
|
|
||||||
btd_device_set_temporary(device, true);
|
btd_device_set_temporary(device, true);
|
||||||
|
|
||||||
|
closure = g_new0(struct authentication_closure, 1);
|
||||||
diff --git a/profiles/input/sixaxis.h b/profiles/input/sixaxis.h
|
diff --git a/profiles/input/sixaxis.h b/profiles/input/sixaxis.h
|
||||||
index 8e6f3cc..321a918 100644
|
index 8e6f3cc..321a918 100644
|
||||||
--- a/profiles/input/sixaxis.h
|
--- a/profiles/input/sixaxis.h
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
From 40c6e7c5a0d81a781c94e5a64661848018c1f8be Mon Sep 17 00:00:00 2001
|
|
||||||
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
|
||||||
Date: Thu, 19 Sep 2019 22:55:09 +0100
|
|
||||||
Subject: [PATCH] sixaxis autotrust
|
|
||||||
|
|
||||||
---
|
|
||||||
plugins/sixaxis.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
|
|
||||||
index f6baea7..c166304 100644
|
|
||||||
--- a/plugins/sixaxis.c
|
|
||||||
+++ b/plugins/sixaxis.c
|
|
||||||
@@ -371,7 +371,7 @@ static bool setup_device(int fd, const char *sysfs_path,
|
|
||||||
else
|
|
||||||
btd_device_set_pnpid(device, cp->source, cp->vid, cp->pid, cp->version);
|
|
||||||
|
|
||||||
- btd_device_set_trusted(device, false);
|
|
||||||
+ btd_device_set_trusted(device, true);
|
|
||||||
btd_device_set_temporary(device, true);
|
|
||||||
|
|
||||||
closure = g_new0(struct authentication_closure, 1);
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user