From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752145AbdJPLaG (ORCPT ); Mon, 16 Oct 2017 07:30:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:58721 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbdJPLaF (ORCPT ); Mon, 16 Oct 2017 07:30:05 -0400 Message-ID: <1508153178.8439.13.camel@suse.com> Subject: Re: [PATCH] usb: cdc_acm: Add quirk for Elatec TWN3 From: Oliver Neukum To: Maksim Salau , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Mon, 16 Oct 2017 13:26:18 +0200 In-Reply-To: <1507709452-31260-1-git-send-email-msalau@iotecha.com> References: <1507709452-31260-1-git-send-email-msalau@iotecha.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, den 11.10.2017, 11:10 +0300 schrieb Maksim Salau: > Elatec TWN3 has the union descriptor on data interface. This results in > failure to bind the device to the driver with the following log: >   usb 1-1.2: new full speed USB device using streamplug-ehci and address 4 >   usb 1-1.2: New USB device found, idVendor=09d8, idProduct=0320 >   usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 >   usb 1-1.2: Product: RFID Device (COM) >   usb 1-1.2: Manufacturer: OEM >   cdc_acm 1-1.2:1.0: Zero length descriptor references >   cdc_acm: probe of 1-1.2:1.0 failed with error -22 > > Adding the NO_UNION_NORMAL quirk for the device fixes the issue. > > Signed-off-by: Maksim Salau Acked-by: Oliver Neukum