From f32c56a9b2c0d2612f70020321fe883e311b1fa6 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 24 May 2014 15:31:40 +0200 Subject: [PATCH] - updated to 5.19 - removed outdated wacom-mode-2 patch (quirk exists in hid-wacom kernel module) --- bluez-wacom-mode-2.patch | 23 ----------------------- bluez.spec | 6 ++---- 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 bluez-wacom-mode-2.patch diff --git a/bluez-wacom-mode-2.patch b/bluez-wacom-mode-2.patch deleted file mode 100644 index 858dfbc..0000000 --- a/bluez-wacom-mode-2.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/profiles/input/device.c -+++ b/profiles/input/device.c -@@ -658,6 +658,19 @@ static int hidp_add_connection(const struct input_device *idev, - err = write(sk, buf, sizeof(buf)); - } - -+ if (req->vendor == 0x056a && req->product == 0x81) { -+ unsigned char buf[3]; -+ int sk = g_io_channel_unix_get_fd(idev->ctrl_io); -+ -+ buf[0] = 0x53; /* HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_FEATURE */ -+ buf[1] = 0x03; buf[2] = 0x00; -+ write(sk, buf, sizeof(buf)); -+ -+ buf[0] = 0x53; /* HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_FEATURE */ -+ /* 0x06 - high reporting speed, 0x05 - low speed */ -+ buf[1] = 0x05; buf[2] = 0x00; -+ write(sk, buf, sizeof(buf)); -+ } - err = ioctl_connadd(req); - - cleanup: - diff --git a/bluez.spec b/bluez.spec index 1f26fa3..27d6789 100644 --- a/bluez.spec +++ b/bluez.spec @@ -4,15 +4,14 @@ Summary: Bluetooth utilities Summary(pl.UTF-8): Narzędzia Bluetooth Name: bluez -Version: 5.18 +Version: 5.19 Release: 1 License: GPL v2+ Group: Applications/System Source0: https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz -# Source0-md5: 9c71404f86287cd9441e86783be3aae1 +# Source0-md5: 2d839c0bc9f8daaa6ca32e65d7701812 Source1: %{name}.init Source2: %{name}.sysconfig -Patch0: %{name}-wacom-mode-2.patch URL: http://www.bluez.org/ BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -147,7 +146,6 @@ aplikacji Bluetooth. %prep %setup -q -%patch0 -p1 %build %{__libtoolize} -- 2.44.0