From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93EAD1FE468; Tue, 29 Apr 2025 17:03:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745946188; cv=none; b=ckYE3azcCTt/LCFi4tBYazCuOeTfZgyX/oEwOyg/+84c4jWf/z9GtgiZ9JaWlnLopR5ufJYN+pttErCLhRzPmH0L7yXN78O5k9fKAjNybEd8rNYd0MTAvM6QO3QLMY572YR+VP7uuV05tdIiSnz+9J/X65L+O0lPdYOkBsfjycQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745946188; c=relaxed/simple; bh=nAh1pD8owDDkYfuJehcDzRKfvsvMLuSzsJu1woA+XVM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=juTQMMt+BA+coHZLBT3n8fM2rbbGBW6VEglQah49CbHvLB+bqCTAjYgjb8M7zfVhT4DbeUnVlCVoY3h9N5EQ4LX0nA4aIgCBInbfDfz/1jYg51yE1eqhw7GbnJDnF0UGGt5dGiW/UlPAVWlJjvSpDz5e7iH01i35NFClql4be70= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fO3HPhPy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="fO3HPhPy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A44BC4CEE3; Tue, 29 Apr 2025 17:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1745946188; bh=nAh1pD8owDDkYfuJehcDzRKfvsvMLuSzsJu1woA+XVM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fO3HPhPy4aY4lJuCgC0P3Dc5sMl42cJen90gpZByXBXTf/7iDxr8W0RaEGr8AUSCI AZR+HE7OrQ9UlDW++ES+Lxs3UrnIlTTlKjt1eshRom8WHQOglDcaYhiBUTs7gR6wLh IVjgWyWYnQaIsEuXdPCZywm+IlTl09L8+qvyAMRM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Michael Ehrenreich , Johan Hovold Subject: [PATCH 6.14 155/311] USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe Date: Tue, 29 Apr 2025 18:39:52 +0200 Message-ID: <20250429161127.382431268@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250429161121.011111832@linuxfoundation.org> References: <20250429161121.011111832@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Michael Ehrenreich commit b399078f882b6e5d32da18b6c696cc84b12f90d5 upstream. Abacus Electrics makes optical probes for interacting with smart meters over an optical interface. At least one version uses an FT232B chip (as detected by ftdi_sio) with a custom USB PID, which needs to be added to the list to make the device work in a plug-and-play fashion. Signed-off-by: Michael Ehrenreich Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 5 +++++ 2 files changed, 7 insertions(+) --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -1093,6 +1093,8 @@ static const struct usb_device_id id_tab { USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 1) }, { USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 2) }, { USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 3) }, + /* Abacus Electrics */ + { USB_DEVICE(FTDI_VID, ABACUS_OPTICAL_PROBE_PID) }, { } /* Terminating entry */ }; --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h @@ -443,6 +443,11 @@ #define LINX_FUTURE_2_PID 0xF44C /* Linx future device */ /* + * Abacus Electrics + */ +#define ABACUS_OPTICAL_PROBE_PID 0xf458 /* ABACUS ELECTRICS Optical Probe */ + +/* * Oceanic product ids */ #define FTDI_OCEANIC_PID 0xF460 /* Oceanic dive instrument */