Re: [RFC PATCH 4/5] gnss: ubx: add support for the reset gpio

Johan Hovold
2023-06-20T10:06:17Z

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

On Tue, Jun 20, 2023 at 11:41:39AM +0200, Wolfram Sang wrote:
>
> > But can you elaborate on the "disappearing" bit? How exactly does it
> > "disappear" when the gnss0 device is *not* opened?
>
> When you send an I2C message with the address of the device, it usually
> ACKs it to say "Hi, I am here". When the ublox device is in reset state,
> it does not ACK its address. So, tools like "i2cdetect" will not report
> the device as "someone is listening there".

Ah, ok, so you used it to verify that reset is working as intended.

Rereading the commit message now it makes more sense, I guess I was
thrown off by the reference to I2C. Perhaps adding a sentence or two
about the alternate interface and using it as a means of verification
would make things a bit more clear.

Johan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]