Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1436537img; Tue, 19 Mar 2019 07:37:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoJjDE8D0sGXLJKvwlPVphP3c5GZ/hIwaugydS9f/2f7GSSwB4lja+AMQMfdeZWs9D/b7L X-Received: by 2002:a63:c042:: with SMTP id z2mr2602581pgi.307.1553006270101; Tue, 19 Mar 2019 07:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553006270; cv=none; d=google.com; s=arc-20160816; b=sQlU9JI9+znuk1+7ERquzVePzDM1CExOcIenSHLYpa/YlbkFWb9v9ex5K13p5DtVS/ 35GAghVfGkbrr8mG2MdV4jQoxrHgO9gPhsZc+hveUqRrr/yUisW9lYWyQM9SCjOoyTmU 362x5Kb/tXWpx9ZBR+czmAlsPEQjAlRUHU1q/o64Pp8xSU9cORlJROLvdQnB4wZqS69j 9kJJYTgHMuTeBR4/Vi2NaRw5H4hc/xsepuOVn6aHBN/uq3fnvkq9iieUVZumctIu/osQ 8VSHBaxlckKdsLH901zFH92hyHsnK2rwN/GfzdbV/ePwSu1eLOI9cRPXb+6HOoHogxTM hSCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=A97T096YTNiMVmctYR0UKzlgn9MVoNsiiEnx7O2WoNQ=; b=ylpYh4J1LRXWc/FXXEQiytvxNYCtlfbc6e3OGzbEUgmGqFNsgb44pEOE96wcgo5Rhm vZns9eysEO/n4Df8M2vwcp65uHnUusTZIKt2dKOFQtFMuSx3kphozfmB3Z0nVXxnzNwa qWztI0e0Ge8z1eGMgtg+ksDOIM4c9K07KinBhRTkL29vWcv1zOjKUTuuGP9Riuu5cKN4 gV46kuTjNK/tPLuBeZYWIpTnqxrk3FXkMc3q4Ddp5jLK7c3H2/KjK9NTrbnh1lgsMGBQ 4pwCpA7TMLMLeBnpU2qF4Q2OupHU+6Yv9BdcEMgpAKHUbHEvp5KE9M4XqihyPlb4Q0kC ZCVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si12347525pfb.100.2019.03.19.07.37.34; Tue, 19 Mar 2019 07:37:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727630AbfCSOfV convert rfc822-to-8bit (ORCPT + 99 others); Tue, 19 Mar 2019 10:35:21 -0400 Received: from unicorn.mansr.com ([81.2.72.234]:39426 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726573AbfCSOfU (ORCPT ); Tue, 19 Mar 2019 10:35:20 -0400 Received: by unicorn.mansr.com (Postfix, from userid 51770) id E54B114CEB; Tue, 19 Mar 2019 14:35:18 +0000 (GMT) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Dan Williams Cc: Johan Hovold , =?iso-8859-1?Q?Bj=F8rn?= Mork , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] USB: serial: option: set driver_info for SIM5218 and compatibles References: <20190226170710.12709-1-mans@mansr.com> <20190227083342.GJ4747@localhost> <20190227131315.GO4747@localhost> <20190319102840.GI6124@localhost> <20190319110819.GB3178@localhost> <20190319122719.GC3178@localhost> <20190319124358.GK6124@localhost> <6c89938b00ad289e1802f675bd00e288b1458d73.camel@redhat.com> Date: Tue, 19 Mar 2019 14:35:18 +0000 In-Reply-To: <6c89938b00ad289e1802f675bd00e288b1458d73.camel@redhat.com> (Dan Williams's message of "Tue, 19 Mar 2019 09:30:25 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dan Williams writes: > On Tue, 2019-03-19 at 13:43 +0100, Johan Hovold wrote: >> On Tue, Mar 19, 2019 at 01:27:19PM +0100, Johan Hovold wrote: >> > On Tue, Mar 19, 2019 at 12:25:53PM +0000, M?ns Rullg?rd wrote: >> > > Johan Hovold writes: >> > > >> > > > On Tue, Mar 19, 2019 at 10:54:00AM +0000, M?ns Rullg?rd wrote: >> > > > > Johan Hovold writes: >> > > > > > > Regardless, setting the NCTRL flag should be harmless. >> > > > > > >> > > > > > Well, there are devices that depend on getting these >> > > > > > requests, at least >> > > > > > for the QMI interface. But we can always revert if anyone >> > > > > > complains. >> > > > > >> > > > > The QMI interface doesn't even pretend to be a uart. The >> > > > > other ones do, >> > > > > but there isn't actually any real uart behind them. For >> > > > > instance, it >> > > > > doesn't matter what baud rate one sets. >> > > > >> > > > Sure, but some devices still require "DTR" to be set for the >> > > > QMI >> > > > interface, so there not being any real uart is no guarantee >> > > > that there >> > > > is no firmware that expects these calls. >> > > >> > > Now I'm thoroughly confused. The QMI interface has a completely >> > > separate driver that creates a network device (if I'm reading the >> > > code >> > > correctly). >> > >> > I was just giving an example of firmware sometimes doing unexpected >> > things. >> >> See 93725149794d ("net: qmi_wwan: MDM9x30 specific power management") >> for some background. > > TLDR; some firmware uses the DTR signal as an indicator to come out of > low-power mode. Without doing so you cannot talk to the modem over any > of it's ports, QMI, net, or serial. I must be missing something, but how does a network interface have a DTR signal? -- M?ns Rullg?rd