rpms/bluez-utils/F-8 bluez-utils-3.20-hid-oops.patch, NONE, 1.1 bluez-utils.spec, 1.86, 1.87
Bastien Nocera (hadess)
fedora-extras-commits at redhat.com
Wed Mar 26 12:10:30 UTC 2008
Author: hadess
Update of /cvs/pkgs/rpms/bluez-utils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13940
Modified Files:
bluez-utils.spec
Added Files:
bluez-utils-3.20-hid-oops.patch
Log Message:
* Wed Mar 26 2008 - Bastien Nocera <bnocera at redhat.com> - 3.20-7
- Add patch to avoid a kernel oops when switching from HID to HCI mode
(#228755)
bluez-utils-3.20-hid-oops.patch:
--- NEW FILE bluez-utils-3.20-hid-oops.patch ---
--- hid2hci.c 2007/09/09 01:11:32 1.16
+++ hid2hci.c 2007/12/09 17:47:22 1.17
@@ -138,7 +138,7 @@
uref.field_index = 0;
uref.usage_index = i;
uref.usage_code = 0xff000001;
- uref.value = buf[i];
+ uref.value = buf[i] & 0x000000ff;
err = ioctl(fd, HIDIOCSUSAGE, &uref);
if (err < 0)
return err;
Index: bluez-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-utils/F-8/bluez-utils.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- bluez-utils.spec 25 Jan 2008 13:36:56 -0000 1.86
+++ bluez-utils.spec 26 Mar 2008 12:09:50 -0000 1.87
@@ -1,7 +1,7 @@
Summary: Bluetooth utilities
Name: bluez-utils
Version: 3.20
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2+
Group: Applications/System
Source: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
@@ -13,6 +13,7 @@
Source9: bluetooth.conf
Patch0: bluez-utils-2.3-conf.patch
Patch1: bluez-utils-oui-usage.patch
+Patch2: bluez-utils-3.20-hid-oops.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.bluez.org/
@@ -74,6 +75,9 @@
%setup -q
%patch0 -p1
%patch1 -p0 -b .oui
+pushd tools/
+%patch2 -p0 -b .oops
+popd
%build
%configure --with-bluez-libs=%{_libdir} --enable-pie --enable-debug \
@@ -157,6 +161,10 @@
%{_libdir}/alsa-lib/*.so
%changelog
+* Wed Mar 26 2008 - Bastien Nocera <bnocera at redhat.com> - 3.20-7
+- Add patch to avoid a kernel oops when switching from HID to HCI mode
+ (#228755)
+
* Fri Jan 25 2008 - Bastien Nocera <bnocera at redhat.com> - 3.20-6
- Avoid dund and pand starting too early (#429489)
More information about the fedora-extras-commits
mailing list