Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp744734pxx; Thu, 29 Oct 2020 13:25:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS/qrkwRT+Ky5Wlr6uT2KHiqTDkLJbs9BW5wJ0nPOLi1ByvcG0zAXBLqLtq9DCKU+p6Y8e X-Received: by 2002:aa7:d597:: with SMTP id r23mr5751919edq.19.1604003159275; Thu, 29 Oct 2020 13:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604003159; cv=none; d=google.com; s=arc-20160816; b=d7eGscOAGou8lXnwAE/3Mz1pK0yuQEKQ758+MMTvwJpUhGBSVh2S8lUG1LzIOpBofa OlSf6zEdsy8zhbZpD+8YKupPBIXmHmkcfxFa2yXldbdS1n39eUqwO908ZTW69nKImeSH k7ArXL36JqyKgj0X4tumpKhK2y9vq52SKKXrH1raxZ+yFcQny9hn5Xns4nTaYc0t7hBA ddsv5LH9TOP9TWzIJVD+yMxmy7yIcr031Ie5psnzycMz3EL5Kbdhw4IAcG/2GEbvuWJU cyWbsoEBUbZZ0fWiLH6MK3CXnCszc7vXFOXrNFQqMpK5IkjDkeM42+seUpsBpvsLAEAt zPmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=eZ2L/nu/4Pv/bD5pHeuNLuRqBsL633eLx9HyBVOPWvE=; b=Cp/c4k4paXm90YvdsznC2+dDetUNHrUXtS2zprY8nYc6en5OXNyPdEDpX02pYScin4 FbLLanj+CEJu8xscBsm8nIzOrQfB9kcg/QK42GjGkVTABvcL6WZO4vCbYD1XbdIDlJYb kZ+lQo3L1GUvkysa8OcaZosuIGWXfQp/mharWHXHLftrfkoqsV4KxvfSzJyaYgg8oEB0 6IXWpZWM9ri3+skAIn/c/89b+CaalgU0btxX8ocBl9brZ/3yPf+fMMHn5p4nBrpHg131 kVx8rD0xXOL0k4NXFnXTtlJAJ5AsM8ulc+yfu75cxFQRlmgNxjiEf+JSteb+9+8iezA8 UBNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si2577495ejr.549.2020.10.29.13.25.17; Thu, 29 Oct 2020 13:25:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726375AbgJ2UZJ (ORCPT + 99 others); Thu, 29 Oct 2020 16:25:09 -0400 Received: from mga18.intel.com ([134.134.136.126]:58305 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726246AbgJ2UZJ (ORCPT ); Thu, 29 Oct 2020 16:25:09 -0400 IronPort-SDR: zIkjX48c+gETLt2TBb2Y5V+zl9CkxJo8r3qUs+GTh1jrCA+8OWbVR+2SQDs7S/CmkKl6cWUnBM yiuqDBbqdbTA== X-IronPort-AV: E=McAfee;i="6000,8403,9789"; a="156280444" X-IronPort-AV: E=Sophos;i="5.77,430,1596524400"; d="scan'208";a="156280444" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 13:25:03 -0700 IronPort-SDR: qkiBrBl9kPnyTwVAcCCTn0TWYL9Q6vEBDmLySRd3wpasHNwSpsaHcmjv8bLpAZIPNZfgKnbrRA +PVdqJgTBcwg== X-IronPort-AV: E=Sophos;i="5.77,430,1596524400"; d="scan'208";a="526868873" Received: from han1-mac01.jf.intel.com (HELO linux.intel.com) ([10.7.201.135]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 13:25:02 -0700 Date: Thu, 29 Oct 2020 13:24:57 -0700 From: Tedd Ho-Jeong An To: David Zakarias Cc: "An, Tedd" , linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] Bluetooth: btusb: Add support for 0cb5:c547 Realtek 8822CE device Message-ID: <20201029202457.GA61415@linux.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.11.1 (2018-12-01) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi David, On 2020-10-29 at 17:57:49 +0100, David Zakarias wrote: > Hi Tedd, > > Is this what you are looking for? > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=1d6b ProdID=0002 Rev= 5.09 > S: Manufacturer=Linux 5.9.1 xhci-hcd > S: Product=xHCI Host Controller > S: SerialNumber=0000:02:00.3 > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA > I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms > > T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0cb5 ProdID=c547 Rev= 0.00 > S: Manufacturer=Realtek > S: Product=Bluetooth Radio > S: SerialNumber=00e04c000001 > C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA > I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms > This seems the right device and you just need to include this device info only. > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh= 2 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 > P: Vendor=1d6b ProdID=0003 Rev= 5.09 > S: Manufacturer=Linux 5.9.1 xhci-hcd > S: Product=xHCI Host Controller > S: SerialNumber=0000:02:00.3 > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA > I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms > > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=1d6b ProdID=0002 Rev= 5.09 > S: Manufacturer=Linux 5.9.1 xhci-hcd > S: Product=xHCI Host Controller > S: SerialNumber=0000:02:00.4 > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA > I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms > > T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh= 2 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1 > P: Vendor=1d6b ProdID=0003 Rev= 5.09 > S: Manufacturer=Linux 5.9.1 xhci-hcd > S: Product=xHCI Host Controller > S: SerialNumber=0000:02:00.4 > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA > I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms > > An, Tedd ezt írta (időpont: 2020. okt. 28., Sze, 22:26): > > > > Hi David > > > > On Tue, 2020-10-27 at 21:52 +0100, David Zakarias wrote: > > > My Redmibook 16 AMD laptop contains the RTL8822CE chip having the USB > > > identifier 0cb5:c547. This patch adds this Id to btusb.c's blacklist > > > table, enabling the loading of the Realtek firmware. > > > This, together with another patch by Edward Vear (hci_core: Fix > > > attempting to set RPA timeout when unsupported, see > > > https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2) makes my > > > bluetooth mouse work. > > > > > > Signed-off-by: David Zakarias > > > --- > > > --- bluetooth/drivers/bluetooth/btusb.c.orig 2020-10-27 21:24:51.331035974 > > > +0100 > > > +++ bluetooth/drivers/bluetooth/btusb.c 2020-10-27 21:21:46.000000000 +0100 > > > @@ -386,6 +386,7 @@ static const struct usb_device_id blackl > > > > > > /* Additional Realtek 8822CE Bluetooth devices */ > > > { USB_DEVICE(0x04ca, 0x4005), .driver_info = BTUSB_REALTEK }, > > > + { USB_DEVICE(0x0cb5, 0xc547), .driver_info = BTUSB_REALTEK }, > > > > > > /* Silicon Wave based devices */ > > > { USB_DEVICE(0x0c10, 0x0000), .driver_info = BTUSB_SWAVE }, > > > > Please include the content of /sys/kernel/debug/usb/devices for this device in > > the commit message. > > > > Regards, > > > > Tedd Ho-Jeong An Regards, Tedd