Re: [PATCH] USB: serial: simple: add sierra wireless xm1210 gnss receiver

From: Marc Ferland
Date: Thu Nov 18 2021 - 11:09:46 EST


On Wed, Nov 17, 2021 at 8:36 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 27, 2021 at 04:02:23PM -0400, ferlandm@xxxxxxxxx wrote:
> > From: Marc Ferland <ferlandm@xxxxxxxxx>
> >
> > Add device id for the Sierra Wireless XM1210 Multi-GNSS module.
> >
> > https://www.sierrawireless.com/iot-solutions/products/xm1210/
> >
> > $ lsusb -vd 1199:b000
> >
> > Bus 002 Device 003: ID 1199:b000 Sierra Wireless, Inc. Sierra Wireless_GNSS
>
> Why doesn't this device work with the qcserial.c driver instead? Have
> you tried that?
>

I just tried adding the USB_ID to the qcserial driver and it fails
with -ENODEV. Looking at the code it seems qcserial only supports the
USB_CLASS_VENDOR_SPEC interface class and this device returns an
interface class value of 0 (reserved?):

$ lsusb -vd 1199:b000 | grep bInterfaceClass
bInterfaceClass 0

Thanks,

Marc