From patchwork Mon Sep 28 02:05:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leann Ogasawara X-Patchwork-Id: 34360 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id BA416B7BE0 for ; Mon, 28 Sep 2009 12:06:33 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1Ms5dD-0000hQ-UQ; Mon, 28 Sep 2009 03:06:27 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1Ms5d7-0000gC-S9 for kernel-team@lists.ubuntu.com; Mon, 28 Sep 2009 03:06:21 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Ms5d7-0001vr-QP for ; Mon, 28 Sep 2009 03:06:21 +0100 Received: from remote.hgimontreal.com ([69.70.156.234] helo=[10.3.88.23]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ms5d6-0000p7-By for kernel-team@lists.ubuntu.com; Mon, 28 Sep 2009 03:06:21 +0100 Subject: [PATCH] [Karmic] HID: completely remove apple mightymouse from blacklist From: Leann Ogasawara To: kernel-team Date: Sun, 27 Sep 2009 22:05:50 -0400 Message-Id: <1254103550.3738.17.camel@emiko> Mime-Version: 1.0 X-Mailer: Evolution 2.27.92 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.8 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com Hi All, Upstream commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343 was intended to fix an inverted horizontal scroll for the bluetooth version of Apple Mighty Mouse, however, it was incomplete. If Apple Mighty Mouse (bluetooth version) is removed from the list of apple_devices in drivers/hid/hid-apple.c it must also be removed from the hid_blacklist in drivers/hid/hid-core.c as well. The following cherry-pick from upstream (42960a13001aa6df52ca9952ce996f94a744ea65) completes the fix by removing the apple mighty mouse from the hid_blacklist. This was reported via Launchpad bug 428111 and will prevent a regression from Jaunty. This patch was tested by the original bug reporter and has been confirmed to fix the issue. Please consider carrying for Karmic. Thanks, Leann The following changes since commit 75c05d736ae66c8c726f7e8cd5cadf6737798060: Tim Gardner (1): UBUNTU: Ubuntu-2.6.31-11.36 are available in the git repository at: git://kernel.ubuntu.com/ogasawara/ubuntu-karmic.git lp428111 Jan Scholz (1): HID: completely remove apple mightymouse from blacklist drivers/hid/hid-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) >From 9d5f41acc0973c4019175e27b33472c35977dc35 Mon Sep 17 00:00:00 2001 From: Jan Scholz Date: Wed, 26 Aug 2009 13:18:51 +0200 Subject: [PATCH] HID: completely remove apple mightymouse from blacklist Commit fa047e4f6fa63a6e9d0ae4d7749538830d14a343 "HID: fix inverted wheel for bluetooth version of apple mighty mouse" is incomplete. If we remove Apple MightyMouse (bluetooth version) from the list of apple_devices in drivers/hid/hid-apple.c we have to remove it from hid_blacklist in drivers/hid/hid-core.c as well. Signed-off-by: Jan Scholz Signed-off-by: Jiri Kosina (cherry picked from commit 42960a13001aa6df52ca9952ce996f94a744ea65) Signed-off-by: Leann Ogasawara --- drivers/hid/hid-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 5eb10c2..047844d 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1319,7 +1319,6 @@ static const struct hid_device_id hid_blacklist[] = { { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) }, { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) }, - { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, 0x030c) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) }, { } };