rpms/bluez/devel bluez-activate-wacom-mode2.patch, NONE, 1.1 bluez.spec, 1.49, 1.50
Bastien Nocera
hadess at fedoraproject.org
Fri Mar 13 18:09:08 UTC 2009
- Previous message (by thread): rpms/tracker/devel tracker-deskbar_dir.patch, NONE, 1.1 .cvsignore, 1.13, 1.14 sources, 1.13, 1.14 tracker-gmime-2.4.patch, 1.3, 1.4 tracker.spec, 1.47, 1.48 tracker-0.6.6-fix-deskbar.patch, 1.1, NONE
- Next message (by thread): rpms/wlassistant/devel wlassistant-0.5.7-inline.patch, NONE, 1.1 wlassistant.spec, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hadess
Update of /cvs/pkgs/rpms/bluez/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4819
Modified Files:
bluez.spec
Added Files:
bluez-activate-wacom-mode2.patch
Log Message:
* Fri Mar 13 2009 - Bastien Nocera <bnocera at redhat.com> - 4.32-9
- Switch Wacom Bluetooth tablet to mode 2
bluez-activate-wacom-mode2.patch:
--- NEW FILE bluez-activate-wacom-mode2.patch ---
diff --git a/input/device.c b/input/device.c
index 0090bd4..8d65148 100644
--- a/input/device.c
+++ b/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(iconn->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] = 0x71; /* HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_FEATURE */
+ /* 0x06 - high reporting speed, 0x05 - low speed */
+ buf[1] = 0x06; buf[2] = 0x00;
+ write(sk, buf, sizeof(buf));
+ }
err = ioctl_connadd(req);
cleanup:
Index: bluez.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez/devel/bluez.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- bluez.spec 9 Mar 2009 19:31:52 -0000 1.49
+++ bluez.spec 13 Mar 2009 18:08:38 -0000 1.50
@@ -1,7 +1,7 @@
Summary: Bluetooth utilities
Name: bluez
Version: 4.32
-Release: 8%{?dist}
+Release: 9%{?dist}
License: GPLv2+
Group: Applications/System
Source: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
@@ -18,6 +18,8 @@
Patch4: bluez-fix-sdp-copy-for-strings-with-nulls.patch
# http://thread.gmane.org/gmane.linux.bluez.kernel/1688/focus=1712
Patch5: bluez-port-cups-to-bluez4.patch
+# Adapted from http://cs.ozerki.net/zap/wacom-bt/
+Patch6: bluez-activate-wacom-mode2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.bluez.org/
@@ -108,6 +110,7 @@
%patch3 -p1 -b .nulls-in-sdp-text
%patch4 -p1 -b .more-nulls-in-sdp-text
%patch5 -p1 -b .cups-bluez4
+%patch6 -p1 -b .wacom
%build
%configure --enable-cups --enable-hid2hci --enable-dfutool --enable-tools --enable-bccmd --enable-gstreamer --enable-hidd --enable-pand --enable-dund
@@ -200,6 +203,9 @@
%{_libdir}/alsa-lib/*.so
%changelog
+* Fri Mar 13 2009 - Bastien Nocera <bnocera at redhat.com> - 4.32-9
+- Switch Wacom Bluetooth tablet to mode 2
+
* Mon Mar 09 2009 - Bastien Nocera <bnocera at redhat.com> - 4.32-8
- Port CUPS backend to BlueZ 4.x
- Previous message (by thread): rpms/tracker/devel tracker-deskbar_dir.patch, NONE, 1.1 .cvsignore, 1.13, 1.14 sources, 1.13, 1.14 tracker-gmime-2.4.patch, 1.3, 1.4 tracker.spec, 1.47, 1.48 tracker-0.6.6-fix-deskbar.patch, 1.1, NONE
- Next message (by thread): rpms/wlassistant/devel wlassistant-0.5.7-inline.patch, NONE, 1.1 wlassistant.spec, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list