[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240608212004.3707d8ea@aktux>
Date: Sat, 8 Jun 2024 21:20:04 +0200
From: Andreas Kemnade <andreas@...nade.info>
To: Adam Ford <aford173@...il.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@...il.com>, marcel@...tmann.org,
johan@...nel.org, pmenzel@...gen.mpg.de, jirislaby@...nel.org,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-bluetooth@...r.kernel.org, Tony Lindgren <tony@...mide.com>,
tomi.valkeinen@...asonboard.com, Péter Ujfalusi
<peter.ujfalusi@...il.com>, robh@...nel.org, hns@...delico.com
Subject: Re: [PATCH v4 0/4] Bluetooth/gnss: GNSS support for TiWi chips
Hi Adam,
On Sat, 8 Jun 2024 14:00:38 -0500
Adam Ford <aford173@...il.com> wrote:
> On Thu, Jun 6, 2024 at 3:19 PM Andreas Kemnade <andreas@...nade.info> wrote:
> >
> > Hi Luiz,
> >
> > On Thu, 6 Jun 2024 16:04:10 -0400
> > Luiz Augusto von Dentz <luiz.dentz@...il.com> wrote:
> >
> > > Hi Andreas,
> > >
> > > On Thu, Jun 6, 2024 at 2:30 PM Andreas Kemnade <andreas@...nade.info> wrote:
> > > >
> > > > Some of these chips have GNSS support. In some vendor kernels
> > > > a driver on top of misc/ti-st can be found providing a /dev/tigps
> > > > device which speaks the secretive Air Independent Interface (AI2) protocol.
>
> I think you may have sent me a file to test, but I can't find the
> e-mail. Can you tell me what tool you used to test it? I can get
> gnss0 to enumerate, so I am close.
>
hmm, /bin/cat is sufficient. It should spit out nmea now by default.
For playing around with raw mode, you need the ai2raw parameter
and then you can play around with read-gps from
https://github.com/akemnade/bt200tools
> [ 20.759857] hci-ti serial0-0: using DT
> '/ocp@...00000/serial@...6c000/bluetooth-gnss' for 'enable' GPIO
> lookup
> [ 20.770263] of_get_named_gpiod_flags: parsed 'enable-gpios'
> property of node '/ocp@...00000/serial@...6c000/bluetooth-gnss[0]' -
> status (0)
> [ 29.221588] gnss: GNSS driver registered with major 244
>
That is nice.
Regards,
Andreas
Powered by blists - more mailing lists