Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1960636pxk; Sat, 26 Sep 2020 11:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwzZaUnD/vOSWiA9RhOtPYQ6uw6WPDfBcbQUKR+y4irlcOvXIrzMsLMs2QbPl8K+Y2Wapc X-Received: by 2002:a50:d802:: with SMTP id o2mr7838093edj.152.1601143415004; Sat, 26 Sep 2020 11:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601143414; cv=none; d=google.com; s=arc-20160816; b=IkJMai+qc0lg9DvwwylV+l49Bdci/71SQw+TripVt4Q+5h00o2GEZMFCUxsVKTS6Fn 4RFCQtAsnBWnoUeXf7SIu+MW3ujamSfh6ElWHWXRg3NDfkBDZfcq3wCa2DtSBWRXkaSv 8pzPKw9k68/hzdniErk0a6i4Aheh/xyqR+osMIsd/cZR8GnRM548/5/W4B0EUQ63KbAa gODMH0mX9vDaDIZidxhLn5b6e47slMdj1IkrAXlpKAWFH62cjZZqS8i+tTAfd2Fif+QZ p69LjPu9Ge5wZwiFJ7QHTtV3LbZCDqkfkjDs/aFCciBkKqhtNT7sxLbFDjBiF2YrLaTU N/mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3Juo9gnUS5OoRwWxY+qX4oBZxP8K5lwo1C0R7Fvp2QQ=; b=uqwBh//26CvhKyPNcpcoIpAzTK/jD4M9AH01Hundf6G4Z6Ql98NQstxSAwY3t7yvnF yU7EUd8xzBXsDZGOzZ34L+xV2r1SskT2wJ9tsQCANUmRP4kb7hcH8oPNXfusUWuSUuqD PHwl472/agSuY9nMilOv2ZcKlgzPXIFiDn8rYtJUqFAiONfS3S+yARGi1agvqRMxnZp3 Wc4KnM9NGla51343511RVSZz48V1QGovqMtSmRsU6zSueZNhd9uc33hOsVzQlE/0hAhF c6Qm1YJb2Lz8yyrpu0J2/YQwDptB0pkz2LSDfgc9m0sGJn1lherwu+q0fpPcK13GVt0D kzJg== 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 l17si4163835ejc.226.2020.09.26.11.03.12; Sat, 26 Sep 2020 11:03:34 -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 S1730143AbgIZSA7 (ORCPT + 99 others); Sat, 26 Sep 2020 14:00:59 -0400 Received: from smtp11.smtpout.orange.fr ([80.12.242.133]:39401 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbgIZSA6 (ORCPT ); Sat, 26 Sep 2020 14:00:58 -0400 Received: from tomoyo.flets-east.jp ([153.230.197.127]) by mwinf5d89 with ME id YhyX2300D2lQRaH03i0tBW; Sat, 26 Sep 2020 20:00:57 +0200 X-ME-Helo: tomoyo.flets-east.jp X-ME-Auth: bWFpbGhvbC52aW5jZW50QHdhbmFkb28uZnI= X-ME-Date: Sat, 26 Sep 2020 20:00:57 +0200 X-ME-IP: 153.230.197.127 From: Vincent Mailhol To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org, Wolfgang Grandegger , Marc Kleine-Budde , "David S . Miller" Cc: Vincent Mailhol , Oliver Neukum , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 6/6] USB: cdc-acm: blacklist ETAS ES58X device Date: Sun, 27 Sep 2020 02:57:56 +0900 Message-Id: <20200926175810.278529-7-mailhol.vincent@wanadoo.fr> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200926175810.278529-1-mailhol.vincent@wanadoo.fr> References: <20200926175810.278529-1-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ES58X devices are incorrectly recognized as USB Modem (CDC ACM), preventing the etas-es58x module to load. Thus, these have been added to the ignore list in drivers/usb/class/cdc-acm.c Signed-off-by: Vincent Mailhol --- drivers/usb/class/cdc-acm.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 7f6f3ab5b8a6..ed9355094e8c 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1906,6 +1906,17 @@ static const struct usb_device_id acm_ids[] = { .driver_info = IGNORE_DEVICE, }, + /* Exclude ETAS ES58x */ + { USB_DEVICE(0x108c, 0x0159), /* ES581.4 */ + .driver_info = IGNORE_DEVICE, + }, + { USB_DEVICE(0x108c, 0x0168), /* ES582.1 */ + .driver_info = IGNORE_DEVICE, + }, + { USB_DEVICE(0x108c, 0x0169), /* ES584.1 */ + .driver_info = IGNORE_DEVICE, + }, + { USB_DEVICE(0x1bc7, 0x0021), /* Telit 3G ACM only composition */ .driver_info = SEND_ZERO_PACKET, }, -- 2.26.2