[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACNYkD7FNx6KR_aKA9S10=bXx4-Xj9WLnGVGDWTgNERerCc6uw@mail.gmail.com>
Date: Tue, 8 Apr 2025 22:45:03 +0800
From: Muhammad Nuzaihan <zaihan@...ealasia.net>
To: Sergey Ryazanov <ryazanov.s.a@...il.com>
Cc: Loic Poulain <loic.poulain@....qualcomm.com>, Slark Xiao <slark_xiao@....com>,
Loic Poulain <loic.poulain@...aro.org>, manivannan.sadhasivam@...aro.org,
netdev@...r.kernel.org, Qiang Yu <quic_qianyu@...cinc.com>, johan@...nel.org,
mhi@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: GNSS support for Qualcomm PCIe modem device
Hi Loic, Sergey,
Thank you Sergey for your time for the prototype.
Looking forward for the code (and coding help if necessary) and help
to test it on my machine.
Zaihan
On Tue, Apr 8, 2025 at 6:27 PM Sergey Ryazanov <ryazanov.s.a@...il.com> wrote:
>
> On April 8, 2025 12:13:17 PM GMT+03:00, Loic Poulain <loic.poulain@....qualcomm.com> wrote:
> >Hi Zhaihan, Sergey.
> >
> >On Fri, Apr 4, 2025 at 7:42 AM Muhammad Nuzaihan <zaihan@...ealasia.net> wrote:
> >>
> >> Hi Sergey, Slark,
> >>
> >> Using wwan subsystem and it works without issues, maybe i might miss
> >> something, perhaps the flow control but i never have any problems even
> >> without flow control.
> >>
> >> I am using gpsd + cgps and xgps with a small modification to Linux
> >> kernel's wwan subsystem in the kernel to get NMEA data.
> >>
> >> I had posted the patch previously and i can post the patch again if you like.
> >>
> >> Attached in this email is the screenshot of cgps + gpsd.
> >>
> >> Maybe it should be in GPS subsystem but it's working for me even using
> >> wwan subsystem for months now.
> >
> >Yes, I would strongly recommend doing the extra step of making it
> >registered to the GNSS subsystem so that device is exposed with the
> >correct class.
> >From WWAN driver perspective, it will not change anything, as we could
> >have the WWAN framework handling this properly (bridging to gnss
> >intead of exposing the port as wwan character device).
> >Sergey, is it your plan?
>
> Yep. I made the prototype exactly in this way. So a modem driver should not care about the port type. Just call WWAN core and it will do the job for the driver.
>
> The prototype is done. Needs some polishing, proper description, and probably, today night I'm going to publish the RFC.
> Hi Loic,
Powered by blists - more mailing lists