Message ID | 20201021030521.1121268-1-cyrozap@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=m+B9=D4=lists.infradead.org=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5C86D14B4 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 21 Oct 2020 03:05:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B36E22249 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 21 Oct 2020 03:05:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="abAxjAK2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="meQLDY/a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B36E22249 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6GGkVCcZ8T0aFyamGkR+wWwvGKRxngHHgVzcOlt51tI=; b=abAxjAK2c+dqs6sKcg9SeERUP NIDGhIld1zO9CLBzbvuRcWmZiS9w98Rd3NBNBxDIH2gyhQZs07jyN9SylOh68wSBmPk8Y3La4ZR6H pXcoMZJy6OSV+1vSf4ytCYHCc5ssK254oSAJy+1/l5YhX1Mvb1mZY9bTz59PM86cLm+4z29OtrL4b 4jqK3C11XAZiFtb9c2Xk/+MP47ZCmIDSfPR2YcXIG3gLlLcvdyamLj2OExtcVqQc5NscrQdpvnWqh nUr2Ekd/hSBGvn6RVqueUBI94etTSbxw5H1MKfXipy7bW6bPKIvsHZqkZxZJ2PrV4p0CuzkT3T9l8 tpSoaxXNw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kV4Rb-0006Y5-UR; Wed, 21 Oct 2020 03:05:44 +0000 Received: from mail-ot1-x342.google.com ([2607:f8b0:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kV4RZ-0006XO-AH for linux-mediatek@lists.infradead.org; Wed, 21 Oct 2020 03:05:42 +0000 Received: by mail-ot1-x342.google.com with SMTP id m22so597087ots.4 for <linux-mediatek@lists.infradead.org>; Tue, 20 Oct 2020 20:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jHj8eRnSLlSUCkdk/FFaXiuFyAYJ62QdpiU4SN27KUw=; b=meQLDY/aG1DCYy2fnDr+zizkV9BWcN02DfbymEnIKLpLS1ZYTQxB5WlOuuJMOIaL59 j/Yk107UccuEqAyLMsr8wAMgKoL189nH5/5LBbnx1KfVAuj9ZcfohJPCijUYtqKSoFyS cZY4GKjJFaABLs27/poKamsyu9/WToZTvAN7BR7cZ2QwsQP2t/Xi/XHqukIUVceXV3jG Q+4M5dTl7wZYi7PK9HGQvCehkmw5qojK8HdrU/IXZvFtkBXB7SAhXWPAPTPOYn49QdlY XGvLCSxxzrk2/TbbUcubBcYugYZXdeAJN75XbKPdnw/QZw9UJm1EEGsi7qCBNUA+mfTt mutQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jHj8eRnSLlSUCkdk/FFaXiuFyAYJ62QdpiU4SN27KUw=; b=Uectq5a9q/+l1lO4oo51p2eFKabMLdPSDM+9T3qS/0L2Zewl9tg0YBqM5R49wb2GJw cQmx8ps7NgoIA1nopPj5D7WSH/Ik3m34ruzqrnuvZd4xxJZWvngw6441OP3YKHtOOEKV FQgdlfRH79PhuOL8fnz0xIrzh7Zw0rMtMD/dXWpyciaW8gC+ernjVLnCrfjW0B0T5Rcd PLU8QV7NqTv9JhZaYoL7cu6bymiS0I86GGc3SHhQEMhErq92jaQ+mt1+McCkTwkUC8Uh UnMGdMaWSe5sCBgXJukZPPave47BbWEafBK4vsogv7Gboz9lAHnBCQgFNfBJdyiVQzBV CDlg== X-Gm-Message-State: AOAM530Lyv3XTGPiM9xuWPCVexWHFT7657Y71KOd+j3+Jfb3EwG3uo48 KrzaJul9oEU90ry6K1ZyQUagj0P5PSI= X-Google-Smtp-Source: ABdhPJzm2N0mVnthdkuasZyt3yLkW1m3qrIxBc8nXo5aUeJGFy/4Z7P/xMxa8+D9kx/wrLE1WHvB7Q== X-Received: by 2002:a9d:4e83:: with SMTP id v3mr1031154otk.156.1603249538105; Tue, 20 Oct 2020 20:05:38 -0700 (PDT) Received: from localhost.localdomain ([170.130.31.90]) by smtp.gmail.com with ESMTPSA id j7sm304100oie.44.2020.10.20.20.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 20:05:37 -0700 (PDT) From: Forest Crossman <cyrozap@gmail.com> To: marcel@holtmann.org, johan.hedberg@gmail.com Subject: [PATCH v2] Bluetooth: btusb: Add support for LG LGSBWAC92/TWCM-K505D Date: Tue, 20 Oct 2020 22:05:21 -0500 Message-Id: <20201021030521.1121268-1-cyrozap@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201016030238.1033559-1-cyrozap@gmail.com> References: <20201016030238.1033559-1-cyrozap@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201020_230541_367523_144E0756 X-CRM114-Status: GOOD ( 15.31 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cyrozap[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:342 listed in] [list.dnswl.org] X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Cc: linux-bluetooth@vger.kernel.org, linux-mediatek@lists.infradead.org, Forest Crossman <cyrozap@gmail.com>, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org |
Series |
[v2] Bluetooth: btusb: Add support for LG LGSBWAC92/TWCM-K505D
|
expand
|
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 5f022e9cf667..fbc7b87f0190 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -366,6 +366,8 @@ static const struct usb_device_id blacklist_table[] = { /* MediaTek Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x0e8d, 0xe0, 0x01, 0x01), .driver_info = BTUSB_MEDIATEK }, + { USB_DEVICE_AND_INTERFACE_INFO(0x043e, 0x3109, 0xe0, 0x01, 0x01), + .driver_info = BTUSB_MEDIATEK }, /* Additional Realtek 8723AE Bluetooth devices */ { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
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 USB VID 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 <cyrozap@gmail.com> --- 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 | 2 ++ 1 file changed, 2 insertions(+)