gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading mediatek device [Was: No sentence logs]


From: Gary E. Miller
Subject: Re: Reading mediatek device [Was: No sentence logs]
Date: Tue, 19 Mar 2024 20:51:13 -0700

Yo tangoing.mill745@aceecat.org!

On Tue, 19 Mar 2024 20:02:01 -0700
tangoing.mill745@aceecat.org wrote:

> I have a working prototype here:
> 
> https://gist.github.com/nobrowser/285d63410b9c2aec77a53587020cf2b6

Cool.  YOu should add a SPDX licenese line to it.
 
> it is a prototype because reading data via i2c *really* sucks,
> and doing it with the adafruit python interface makes it suck
> exponentially. i.e. there seems to be no other way to read than to
> poll, and that 1 byte at at time ...

Yeah, that was what I expected.

> So my next step is to write a trivial C daemon with libi2c just to get
> the data from the hardware.

I'll guess the problem is the I2C speed, not the python, but look forward
to your hard data.

> I'm happy with my decision to bypass gpsd, though.

Since gpsd can't read I2C, an easy decision.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpsGW7rkkWgz.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]