From 41a171f750231fe55179fcdaa889bd6692074194a98c419465ee9fda9582dbb8 Mon Sep 17 00:00:00 2001 From: Vladimir Botka Date: Mon, 19 Oct 2009 16:29:47 +0000 Subject: [PATCH] Accepting request 22597 from home:vbotka:branches:Base:System Copy from home:vbotka:branches:Base:System/bluez via accept of submit request 22597 revision 3. Request was accepted with message: It is OK, I have test it OBS-URL: https://build.opensuse.org/request/show/22597 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=27 --- 001-remove-rule-dell-mouse.patch | 11 +++++++++++ bluez.changes | 6 ++++++ bluez.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 001-remove-rule-dell-mouse.patch diff --git a/001-remove-rule-dell-mouse.patch b/001-remove-rule-dell-mouse.patch new file mode 100644 index 0000000..8d0fe43 --- /dev/null +++ b/001-remove-rule-dell-mouse.patch @@ -0,0 +1,11 @@ +--- a/scripts/bluetooth-hid2hci.rules 2009-10-16 20:29:22.000000000 +0200 ++++ b/scripts/bluetooth-hid2hci.rules 2009-10-16 20:28:35.000000000 +0200 +@@ -8,7 +8,7 @@ + # 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" ++# 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" + + # 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" diff --git a/bluez.changes b/bluez.changes index 8ac0f32..2e21a63 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 19 10:39:02 CEST 2009 - vlado@suse.cz + +- 001-remove-rule-dell-mouse.patch added to disable udev action + for dell mouse; bnc 522287 + ------------------------------------------------------------------- Sat Oct 10 23:26:37 CEST 2009 - seife@opensuse.org diff --git a/bluez.spec b/bluez.spec index 7115cc2..0fda1f7 100644 --- a/bluez.spec +++ b/bluez.spec @@ -37,6 +37,7 @@ Source4: bluetooth.sh Source6: README.SUSE Source7: bluetooth.modprobe Patch1: bluez-4.44-udev-use-helperscript.diff +Patch2: 001-remove-rule-dell-mouse.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: bluez-utils = 3.36 Obsoletes: bluez-utils <= 3.36 @@ -166,6 +167,7 @@ Authors: %prep %setup -q %patch1 -p1 +%patch2 -p1 cp %{S:6} . %{?suse_update_config:%{suse_update_config -f . }} mkdir dbus-apis