From patchwork Fri Aug 14 01:30:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lamarque Vieira Souza X-Patchwork-Id: 41321 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 n7E1Upt4003086 for ; Fri, 14 Aug 2009 01:30:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751098AbZHNBat (ORCPT ); Thu, 13 Aug 2009 21:30:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751601AbZHNBat (ORCPT ); Thu, 13 Aug 2009 21:30:49 -0400 Received: from mail-yx0-f175.google.com ([209.85.210.175]:33661 "EHLO mail-yx0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbZHNBas (ORCPT ); Thu, 13 Aug 2009 21:30:48 -0400 Received: by yxe5 with SMTP id 5so1520904yxe.33 for ; Thu, 13 Aug 2009 18:30:49 -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=sZSTJUWNA2sOGOjPg2KszVVrm7+gUBR5qILaU1SL88s=; b=D9SyyUNTDIvSevWBrGSJc44ovyqY9AQzq0g2PRENBswanXOqeofdGSSCx3n8SAxBEF 0ldBtyC1Cb47ShbTpJ07mX8+iVpgGCuKkDfY1/yhNqIJ7h4SeLdUZmEqAehgtzs5BUom ZoDADHG5g9Dg51ncDttMxCEcZlRmV0E8EzZkc= 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=pkZJ5fOMpq1DEH9IBzzgLL07CP0Sjk8Zrzd3f58koObORUfN7z3nOOwdg1MNjtgH+1 Kx2utw/FiYL6GfPr8BdQ+vtJ6nWPRpJtUm3IWJbx1+ulRhf2rBw7dpyYiRQCqoaBPiJX 4FUBjBfx+fyHEHpPTolIiqWvlVOjTD+LkTT8E= Received: by 10.100.177.20 with SMTP id z20mr1442652ane.42.1250213449199; Thu, 13 Aug 2009 18:30:49 -0700 (PDT) Received: from evolucao.localdomain (187-0-179-3.viaceu.com.br [187.0.179.3]) by mx.google.com with ESMTPS id b29sm726440ana.11.2009.08.13.18.30.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Aug 2009 18:30:48 -0700 (PDT) From: Lamarque Vieira Souza To: Jiri Kosina Subject: Re: Problem with Acer Bluetooth Optical Rechargeable Mouse Date: Thu, 13 Aug 2009 22:30:30 -0300 User-Agent: KMail/1.12.0 (Linux/2.6.30.4-lvs; KDE/4.3.0; x86_64; ; ) Cc: linux-input@vger.kernel.org, Marcel Holtmann , Andrew Morton References: <200908062247.29254.lamarque@gmail.com> <200908132052.01012.lamarque@gmail.com> In-Reply-To: <200908132052.01012.lamarque@gmail.com> MIME-Version: 1.0 Message-Id: <200908132230.30833.lamarque@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Actually there is an error in the patch I sent in my last e-mail, this one works (just one line change patch :-)). It was more simpler fix than I have thought. Em Quinta-feira 13 Agosto 2009, Lamarque Vieira Souza escreveu: > I think I have found a good solution for my problem, see the attached > patch. I just need to find a better name for the define > USB_DEVICE_ID_KYE_58. 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) }, { } };