rpms/bluez/F-11 bluez-correct-udev-dell-mouse-rules.patch, NONE, 1.1 bluez.spec, 1.70, 1.71
Bastien Nocera
hadess at fedoraproject.org
Wed Sep 16 09:59:31 UTC 2009
Author: hadess
Update of /cvs/pkgs/rpms/bluez/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18931
Modified Files:
bluez.spec
Added Files:
bluez-correct-udev-dell-mouse-rules.patch
Log Message:
* Wed Sep 16 2009 Bastien Nocera <bnocera at redhat.com> 4.42-6
- Fix hid2hci rules (#517088)
bluez-correct-udev-dell-mouse-rules.patch:
bluetooth-hid2hci.rules | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- NEW FILE bluez-correct-udev-dell-mouse-rules.patch ---
>From linux-bluetooth-owner at vger.kernel.org Wed Sep 16 08:35:32 2009
Return-Path: <linux-bluetooth-owner at vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
bungle.evilgeniuses.org.uk
X-Spam-Level:
X-Spam-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,
RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5
X-Original-To: hadess at hadess.net
Delivered-To: hadess at bungle.evilgeniuses.org.uk
Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by
bungle.evilgeniuses.org.uk (Postfix) with ESMTP id BC0161C3BCC0 for
<hadess at hadess.net>; Wed, 16 Sep 2009 08:35:32 +0100 (BST)
Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand id
S1751251AbZIPHf1 (ORCPT <rfc822;hadess at hadess.net>); Wed, 16 Sep 2009
03:35:27 -0400
Received: (majordomo at vger.kernel.org) by vger.kernel.org id
S1751490AbZIPHf1 (ORCPT <rfc822;linux-bluetooth-outgoing>); Wed, 16 Sep
2009 03:35:27 -0400
Received: from mga01.intel.com ([192.55.52.88]:35513 "EHLO mga01.intel.com"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbZIPHf0
(ORCPT <rfc822;linux-bluetooth at vger.kernel.org>); Wed, 16 Sep 2009 03:35:26
-0400
Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by
fmsmga101.fm.intel.com with ESMTP; 16 Sep 2009 00:31:16 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.44,396,1249282800";
d="scan'208,223";a="493920533"
Received: from unknown (HELO yangyi-dev.bj.intel.com) ([172.16.180.135]) by
fmsmga002.fm.intel.com with ESMTP; 16 Sep 2009 00:27:42 -0700
Date: Wed, 16 Sep 2009 15:33:59 +0800
From: Yi Yang <yi.y.yang at intel.com>
To: linux-bluetooth at vger.kernel.org
Subject: [PATCH resent] bluez: correct udev rule for Dell mouse
Message-ID: <20090916073359.GA22265 at yangyi-dev.bj.intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.18 (2008-05-17)
Sender: linux-bluetooth-owner at vger.kernel.org
Precedence: bulk
List-ID: <linux-bluetooth.vger.kernel.org>
X-Mailing-List: linux-bluetooth at vger.kernel.org
X-Evolution-Source: imap://hadess@bungle.evilgeniuses.org.uk/
Content-Transfer-Encoding: 8bit
>From dbcfcf5dfbdef2377f64c7cd737886e31ae17615 Mon Sep 17 00:00:00 2001
From: Yi Yang <yi.y.yang at intel.com>
Date: Wed, 16 Sep 2009 15:19:13 +0800
Subject: [PATCH] Correct udev rule for Dell mouse
Note: this rule should just for Dell bluetooth mouse, but it
does function for Dell general USB mouse, such as this one:
ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse
We should let it just function for Dell bluetooth mouse, udev
144 and later has included rules for hid2hci
extras/hid2hci/70-hid2hci.rules which has correct one, so we
should use that one
---
scripts/bluetooth-hid2hci.rules | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/scripts/bluetooth-hid2hci.rules b/scripts/bluetooth-hid2hci.rules
index 1b231d1..eb63292 100644
--- a/scripts/bluetooth-hid2hci.rules
+++ b/scripts/bluetooth-hid2hci.rules
@@ -8,7 +8,8 @@
# 413c:8154
# 413c:8158
# 413c:8162
-ACTION=="add", ENV{ID_VENDOR}=="413c", ENV{ID_CLASS}=="mouse", ATTRS{bmAttributes}=="e0", KERNEL=="mouse*", RUN+="/usr/sbin/hid2hci --method dell -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci"
+ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \
+ RUN+="hid2hci --method dell -v $attr{idVendor} -p $attr{idProduct} --mode hci"
# Logitech devices
ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c703" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci"
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Index: bluez.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez/F-11/bluez.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -p -r1.70 -r1.71
--- bluez.spec 11 Aug 2009 13:57:02 -0000 1.70
+++ bluez.spec 16 Sep 2009 09:59:29 -0000 1.71
@@ -1,7 +1,7 @@
Summary: Bluetooth utilities
Name: bluez
Version: 4.42
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPLv2+
Group: Applications/System
Source: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
@@ -23,6 +23,8 @@ Patch7: 0002-Actually-read-the-CreateDev
# http://thread.gmane.org/gmane.linux.bluez.kernel/3106/focus=3114
Patch8: 0001-Allow-lp-CUPS-to-talk-to-bluetoothd.patch
Patch9: 0002-Mark-Bluetooth-printers-as-being-local.patch
+# http://thread.gmane.org/gmane.linux.bluez.kernel/3430
+Patch10: bluez-correct-udev-dell-mouse-rules.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.bluez.org/
@@ -117,6 +119,7 @@ use in Bluetooth applications.
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
%build
%configure --enable-cups --enable-hid2hci --enable-dfutool --enable-tools --enable-bccmd --enable-gstreamer --enable-hidd --enable-pand --enable-dund
@@ -211,6 +214,9 @@ fi
%{_sysconfdir}/alsa/bluetooth.conf
%changelog
+* Wed Sep 16 2009 Bastien Nocera <bnocera at redhat.com> 4.42-6
+- Fix hid2hci rules (#517088)
+
* Tue Aug 11 2009 Bastien Nocera <bnocera at redhat.com> 4.42-5
- More upstream CUPS fixes
More information about the fedora-extras-commits
mailing list