From: Johan Hovold <johan@kernel.org>
To: Marc Ferland <ferlandm@amotus.ca>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] gnss: usb: add support for Sierra Wireless XM1210
Date: Wed, 22 Dec 2021 15:46:03 +0100 [thread overview]
Message-ID: <YcM6KwkBo6lvdkZQ@hovoldconsulting.com> (raw)
In-Reply-To: <CAMRMzCAe1B66vyhXRsiew2=NDM+FbzFU8O9wXsrod64KaYrZ1Q@mail.gmail.com>
On Mon, Dec 20, 2021 at 02:04:49PM -0500, Marc Ferland wrote:
> On Mon, Dec 20, 2021 at 6:19 AM Johan Hovold <johan@kernel.org> wrote:
> >
> > Add support for the USB interface of the Sierra Wireless XM1210
> > receiver.
> >
> > Note that the device only supports NMEA.
> > Reported-by: Marc Ferland <ferlandm@amotus.ca>
> > Link: https://lore.kernel.org/r/20211027200223.72701-1-ferlandm@amotus.ca
> > Signed-off-by: Johan Hovold <johan@kernel.org>
> > ---
> > drivers/gnss/usb.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/gnss/usb.c b/drivers/gnss/usb.c
> > index 5c0251034def..792235a688ea 100644
> > --- a/drivers/gnss/usb.c
> > +++ b/drivers/gnss/usb.c
> > @@ -17,6 +17,7 @@
> > #define GNSS_USB_WRITE_TIMEOUT 1000
> >
> > static const struct usb_device_id gnss_usb_id_table[] = {
> > + { USB_DEVICE(0x1199, 0xb000) }, /* Sierra Wireless XM1210 */
> > { }
> > };
> > MODULE_DEVICE_TABLE(usb, gnss_usb_id_table);
> > --
> > 2.32.0
> >
> Thank you Johan! Much appreciated!
>
> With your patches applied on my platform (featuring the XM1210) , I get:
>
> # lsmod | grep gnss
> gnss_usb 16384 0 - Live 0xffffffffc011b000
> gnss 16384 3 gnss_usb, Live 0xffffffffc0082000
>
> # dmesg | grep gnss
> gnss: GNSS driver registered with major 244
> usbcore: registered new interface driver gnss-usb
>
> # ls -l /dev/gnss0
> crw-rw---- 1 root root 244, 0 Apr 8 08:39 /dev/gnss0
>
> I also tested with gpsd and everything is working as expected, hence:
>
> Tested-by: Marc Ferland <ferlandm@amotus.ca>
Thanks for testing, Marc!
I've applied this series now after adding your Tested-by tag to both
patches.
Johan
next prev parent reply other threads:[~2021-12-22 14:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-20 11:18 [PATCH 0/2] gnss: add USB support Johan Hovold
2021-12-20 11:19 ` [PATCH 1/2] " Johan Hovold
2021-12-20 12:49 ` Oliver Neukum
2021-12-20 13:25 ` Johan Hovold
2021-12-20 11:19 ` [PATCH 2/2] gnss: usb: add support for Sierra Wireless XM1210 Johan Hovold
2021-12-20 19:04 ` Marc Ferland
2021-12-22 14:46 ` Johan Hovold [this message]
2021-12-20 12:15 ` [PATCH 0/2] gnss: add USB support Greg KH
2021-12-20 13:26 ` Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YcM6KwkBo6lvdkZQ@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=ferlandm@amotus.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox