]> git.pld-linux.org Git - packages/bluez.git/blobdiff - bluez-wacom-mode-2.patch
- updated to 5.19
[packages/bluez.git] / bluez-wacom-mode-2.patch
diff --git a/bluez-wacom-mode-2.patch b/bluez-wacom-mode-2.patch
deleted file mode 100644 (file)
index 858dfbc..0000000
+++ /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:
-
This page took 0.083868 seconds and 4 git commands to generate.