From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbdKTJmN (ORCPT ); Mon, 20 Nov 2017 04:42:13 -0500 Received: from canardo.mork.no ([148.122.252.1]:45069 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbdKTJmL (ORCPT ); Mon, 20 Nov 2017 04:42:11 -0500 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Shrirang Bagul Cc: johan@kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: qmi_wwan: add Dell DW5818, DW5819 Organization: m References: <20171120092759.17981-1-shrirang.bagul@canonical.com> Date: Mon, 20 Nov 2017 10:41:58 +0100 In-Reply-To: <20171120092759.17981-1-shrirang.bagul@canonical.com> (Shrirang Bagul's message of "Mon, 20 Nov 2017 17:27:59 +0800") Message-ID: <87lgj1thg9.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id vAK9gG9e015442 Shrirang Bagul writes: > Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 > series modems which will by default boot with vid 0x413c and pid's > 0x81cf, 0x81d0, 0x81d1,0x81d2. Along with qcserial, these modems support > qmi_wwan on the usb interface #12. NAK, Interace #12 is MBIM, as shown by the device descriptors. Please provide those descriptors and you will see that this interface is clearly a CDC MBIM class interface. Yes, I know these modems probe the control protocol so that you can make QMI work on an MBIM control interface by sending it a QMI request as the first messsage. This is still wrong, abusing a quirky firmware feature. You need to reconfigure the modem for QMI using the Sierra specific AT command or QMI request (tunneled in MBIM!) to properly switch it to QMI mode, which will appear as a vendor specific interface number 8 (and 10 if you enable both QMI functions). Bjørn