From patchwork Tue Sep 22 16:19:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lamarque Vieira Souza X-Patchwork-Id: 49349 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8MGJqxU018000 for ; Tue, 22 Sep 2009 16:19:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752698AbZIVQTs (ORCPT ); Tue, 22 Sep 2009 12:19:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752472AbZIVQTs (ORCPT ); Tue, 22 Sep 2009 12:19:48 -0400 Received: from mail-yx0-f199.google.com ([209.85.210.199]:35044 "EHLO mail-yx0-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752698AbZIVQTr (ORCPT ); Tue, 22 Sep 2009 12:19:47 -0400 Received: by yxe37 with SMTP id 37so4402062yxe.33 for ; Tue, 22 Sep 2009 09:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :message-id; bh=m56P+IyrgIAZfIJQwa2XA+BCLgkmhLWyAVIzyc7zWlI=; b=Rb3AFCwJlk/M29D4bszQZ13TYekcY4BFNzfcD5c2NayOiCWihdR8Q1tU1FuVpc2Qbx Y3hMqk+kCAP0eUWGzggC2k1TQO4RxyRLTeFk3ahFAQi7w61MIxEAD3Uqs99efATm3E8g G3UIWCIEmRPhuLphBoF70/3OktMcLHEI0AWfs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id; b=ZC8JldopMw1FuoXednZuUK3IEF42iy0wIjPRqdlY0YqyAdEF6/dhWr2jmVepFtSdTC nfKzaN0ffy2UYPHidT7KkkTscstOmIkOWV8IZZEUf2+WBJ8MiQy1oGNoOgz4+so5mAws qkt4gbp0rY+8hRTYBQmiB9Pptc8Hh7lZ6d2zw= Received: by 10.101.46.15 with SMTP id y15mr1195104anj.4.1253636391471; Tue, 22 Sep 2009 09:19:51 -0700 (PDT) Received: from evolucao.localdomain ([187.0.179.12]) by mx.google.com with ESMTPS id d12sm985and.18.2009.09.22.09.19.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Sep 2009 09:19:50 -0700 (PDT) From: Lamarque Vieira Souza To: Jiri Kosina Subject: Re: Problem with Acer Bluetooth Optical Rechargeable Mouse Date: Tue, 22 Sep 2009 13:19:44 -0300 User-Agent: KMail/1.12.1 (Linux/2.6.30.5-lvs; KDE/4.3.1; x86_64; ; ) Cc: linux-input@vger.kernel.org, Marcel Holtmann , Andrew Morton References: <200908062247.29254.lamarque@gmail.com> <200909152144.37847.lamarque@gmail.com> In-Reply-To: MIME-Version: 1.0 Message-Id: <200909221319.45013.lamarque@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Em Terça-feira 22 Setembro 2009, Jiri Kosina escreveu: > Hi, > > could you please resend your patch? It has either been lost somewhere on > the way, or in the dark depths of my inbox, so I am not really sure which > one you are referring to, sorry. Marks Acer Bluetooth Optical Rechargeable Mouse from Ferrari 4005 notebook to be ignored by hid core. This change makes hid core to use input session instead of hid session with that mouse. With hid session the mouse cursor moves too laggy, using input session corrects this problem. Signed-off-by: Lamarque V. Souza }; diff -Nru --show-c-function a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c --- a/drivers/hid/hid-core.c 2009-08-13 20:45:11.000000000 -0300 +++ b/drivers/hid/hid-core.c 2009-08-13 22:25:54.504677594 -0300 @@ -1636,6 +1636,7 @@ static const struct hid_device_id hid_ig { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_1_PHIDGETSERVO_20) }, { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_8_8_4_IF_KIT) }, { HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) }, + { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_KYE, 0x0058) }, { } };