Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp578151pxv; Thu, 22 Jul 2021 07:23:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl/EB3KMFGPPfM7DSldfRSNSZkVPgGMWuDxSJGo/RRQ270iWbBAPEiLaX54liZYeEiZwrK X-Received: by 2002:a17:906:f104:: with SMTP id gv4mr141941ejb.193.1626963793789; Thu, 22 Jul 2021 07:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626963793; cv=none; d=google.com; s=arc-20160816; b=jDDy3pKPqodL8hsfA25DIAmaij4XNa+ZKIIHo1EPkUpM2jVvciyUV+8FXmm5itizCA DE3+MHuZwuvwVrOP3bSUShnFr4bLZx/UMnyjvwseVjiC95HRb15sVue+SHE115+AFA3A 0J2Fc3INDEfJX8WQ2swHuRKcofuyH7GJ+eBYQnLzXktrr8xhhwADlV+LqjBzejBcVAMj 5l5p2sSeksRf18gCUSKuLWxsMWZFnRio69dDK3urzwwbYPheBM1q0OA6opswcXx/cX5h 0MO3UPp0ePqkcu8vOhmV7VSZPC58YBrYBdUtGJmiX6/2wPA3vW7Sd1SCCvj0x1MxpK6L flbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=nNFelEDvP5DDLKKBK4ujVAzHsR1gVBLGENQkrQtiu2s=; b=oznk1Kv9iAoxB3ZuCgvf9HWdTLrdKJ8fhAplH8jG94hhmqyJ8h6tB/p7obXZY7MsL1 RzOOZP2FxBuJ5OeDPOrkeqkQGrOJNOXc5HSSMQifrSLZhfqxEX66CE/KeSSweM+t9o9B RmRRmjj9ZSAVgdAZaW8/+mUkJ/GCS2PwKn4854RTq2nh21W1YMChFBw5WanjEa+0f140 Ql4O3nEHKbeKc52p/r4dSuuqJWSH8Zs0/PowBf7Tnp+6pS0bonQlBA+ZKvkLIp+I8Rl7 tgxk8JK5Y9MFpZ4YAhBrrWOj5mBhgIU7DSe//gVn7PsQKZWWk/SJPXdeiLVozXK16fzQ A/Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si30634358ejv.189.2021.07.22.07.22.50; Thu, 22 Jul 2021 07:23:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232318AbhGVNkw (ORCPT + 99 others); Thu, 22 Jul 2021 09:40:52 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:39568 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232321AbhGVNiL (ORCPT ); Thu, 22 Jul 2021 09:38:11 -0400 Received: from smtpclient.apple (p5b3d2eb8.dip0.t-ipconnect.de [91.61.46.184]) by mail.holtmann.org (Postfix) with ESMTPSA id 529BACECDD; Thu, 22 Jul 2021 16:18:45 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH v3] Bluetooth: btusb: Add support for LG LGSBWAC92/TWCM-K505D From: Marcel Holtmann In-Reply-To: <20210712073220.200414-1-cyrozap@gmail.com> Date: Thu, 22 Jul 2021 16:18:44 +0200 Cc: Johan Hedberg , Luiz Augusto von Dentz , matthias.bgg@gmail.com, linux-bluetooth@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <305B9EC6-6F68-4AF7-8DC5-A1E68EE6C439@holtmann.org> References: <20201021030521.1121268-1-cyrozap@gmail.com> <20210712073220.200414-1-cyrozap@gmail.com> To: Forest Crossman X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Forest, > The LG LGSBWAC92/TWCM-K505D/EAT64454801/EAT64454802 (it goes by many > names) is a combo WiFi/Bluetooth module that's used in several models of > LG TVs. It uses the MediaTek MT7668AUN, which is already supported in > btusb, but this device has a non-MediaTek VID:PID pair so to get it to > work we just need to add it to the list of devices to probe. > > Device from /sys/kernel/debug/usb/devices: > > T: Bus=09 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 > D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=043e ProdID=3109 Rev= 1.00 > S: Manufacturer=MediaTek Inc. > S: Product=Wireless_Device > S: SerialNumber=000000000 > C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA > A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=01 > 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=125us > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms > E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms > E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms > E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms > E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms > E: Ad=03(O) 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=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms > I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms > E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms > I:* If#= 2 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=09(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > Signed-off-by: Forest Crossman > --- > > Changes from v2: > - Specify device with USB_DEVICE again, to match the other "Additional > MediaTek Bluetooth devices". > - Add BTUSB_WIDEBAND_SPEECH and BTUSB_VALID_LE_STATES flags to the > driver_info, since this device would otherwise have them applied were > it not for the non-MediaTek vendor ID. > > Changes from v1: > - Added /sys/kernel/debug/usb/devices info. > - Specify device with USB_DEVICE_AND_INTERFACE_INFO instead of just > USB_DEVICE. > > --- > drivers/bluetooth/btusb.c | 5 +++++ > 1 file changed, 5 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel