From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793212937; b=eyzEqyNw+1cXR5Slz1tiH4lLoB1DJWi2neCWU7QGjwOPSyVEWowvt3Mkjxbp+pKRypW1 3LVU2b2YhVaCFblf8WutRwGUXav0TRn66BZYEgqJYKXVI+/nbRenjZOXjfgjR9jx7pgMv YXu0GT5T63h0gOEhd7BY0bMoMn2MtqMFJryjzOaawoFxPjKqpMdCCZ07HN/vyLsgoov16 BZ9XWQNwHFc5VQnVD6lGXEPQLHv++ibW+lb8Uks8Y21rwBRdDbaSZsVBlZ4JHSk/c/4Jr bgV6KsP9LmhHWVYrPnq+CBo9p67Xh1nkrDDEDzGW0g3GwLDE0Zsq5bIXDjF0hy4vyCA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793212937; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=jwGrySAEbu/ra8nfrEETEbBVwFoxnMognYHkIqWAcxc=; b=u1nJHxdoVogy657z7ynmLFKxKhs+c01IYnIc5IXUPdy/3QK2iPgcd8dyCm/dAztBIGMI nU7uqH6gcQA5TpSWbAasrtokSPpnhRk6p02eL6htyPdswsCrg054pvm5iUH1fnKuSZ1lV 5vo+rHdt7PxVwUJcjiaHFQYSeboQhE8JkkGhpvKj4UUilEP4BhiVVmsTVCfGr0CeXSnF9 Ym7OgIVzi+3ATOZ1YrQYcGia2siECLk5bhUOqgw7REAewUXzxIIXpS8/0jUL3rYEuSydn hkdmZ1TMJZRIDjss0KiJqGT/0rOlGSoxeCjig28Hnpa3wCFKCoBRxyo08w8P0yPWpYA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qKUlzbjj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2267606A326; Wed, 28 Oct 2026 18:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qKUlzbjj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F9661F01825; Wed, 28 Oct 2026 18:42:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793212936; bh=jwGrySAEbu/ra8nfrEETEbBVwFoxnMognYHkIqWAcxc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qKUlzbjjWQyHSL0FIBvRA+nuO2CA+z9rc50dNx4MYWP59/olmNK1pM4S5Ac07V+XU JTE4DSEXOqnny8Zr7F15cfcAtEX6zgECVdcXTQt6cRC5KBWU0ZfcAwXH1qLB38Bz5x +B1rdAE2CeaCPNbvWsm/ufo+6t5VigKGDlwlpNjA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Lin , Johan Hovold Subject: [PATCH 6.1 0328/1887] USB: serial: option: add Compal EXC-T1 support Date: Wed, 28 Oct 2026 17:40:24 +0100 Message-ID: <20261028170506.694911303@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261028170459.200466217@linuxfoundation.org> References: <20261028170459.200466217@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ian Lin commit b51faf3f2e307f114854bbe6d495f03cd5370686 upstream. The Compal EXC-T1 is a Qualcomm MDM9207-based LTE modem which reports "EXC-x1" as its USB product string. It exposes diagnostic, modem, AT, and NMEA ports as vendor-specific interfaces with subclass 0x10 and protocols 0x01 through 0x04. Add exact interface matches for these four ports, leaving the ff/ff/ff interface unbound. Relevant output from usb-devices: T: Bus=03 Lev=02 Prnt=03 Port=03 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=04b7 ProdID=4d22 Rev=03.18 S: Manufacturer=CEI S: Product=EXC-x1 C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=10 Prot=01 Driver=option I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=10 Prot=02 Driver=option I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=10 Prot=03 Driver=option I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=10 Prot=04 Driver=option I: If#= 4 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=10 Prot=05 Driver=qmi_wwan Tested on a Compal EXC-T1 modem using an Ubuntu kernel build. The four serial interfaces bound to option and exposed ttyUSB3 through ttyUSB6. Assisted-by: Codex:GPT-5 Signed-off-by: Ian Lin Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2437,6 +2437,10 @@ static const struct usb_device_id option .driver_info = RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x0489, 0xe167, 0xff), /* Foxconn T99W640 MBIM */ .driver_info = RSVD(3) }, + { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x4d22, 0xff, 0x10, 0x01) }, /* Compal EXC-T1 */ + { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x4d22, 0xff, 0x10, 0x02) }, + { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x4d22, 0xff, 0x10, 0x03) }, + { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x4d22, 0xff, 0x10, 0x04) }, { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x8217, 0xff, 0xff, 0x30) }, /* Compal EXM-G1x */ { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x8217, 0xff, 0xff, 0x40) }, { USB_DEVICE_AND_INTERFACE_INFO(0x04b7, 0x8217, 0xff, 0xff, 0x60) },