Re: [PATCH] USB: serial: option: adding support for ublox R410M

From: Lars Melin
Date: Thu Apr 26 2018 - 07:40:57 EST


On 4/26/2018 18:39, Lars Melin wrote:
On 4/26/2018 18:19, BjÃrn Mork wrote:
Anyway, Qualcomm based designs are definitely handled by both drivers.
Using qcserial only makes sense if the interface layout matches one of
the defined shared schemes, which currently are:

ÂÂÂÂQCSERIAL_G2K = 0,ÂÂÂ /* Gobi 2000 */
ÂÂÂÂQCSERIAL_G1K = 1,ÂÂÂ /* Gobi 1000 */
ÂÂÂÂQCSERIAL_SWI = 2,ÂÂÂ /* Sierra Wireless */
ÂÂÂÂQCSERIAL_HWI = 3,ÂÂÂ /* Huawei */

It seems to me that this Quectel device matches the interface layout for Gobi1K:

ÂÂÂÂÂÂÂÂ * Gobi 1K USB layout:
ÂÂÂÂÂÂÂÂ * 0: DM/DIAG (use libqcdm from ModemManager for communication)
ÂÂÂÂÂÂÂÂ * 1: serial port (doesn't respond)
ÂÂÂÂÂÂÂÂ * 2: AT-capable modem port
ÂÂÂÂÂÂÂÂ * 3: QMI/net
ÂÂÂÂÂÂÂÂ */

/Lars

Ublox, not Quectel..