[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reading mediatek device [Was: No sentence logs]
From: |
tangoing . mill745 |
Subject: |
Reading mediatek device [Was: No sentence logs] |
Date: |
Tue, 19 Mar 2024 20:02:01 -0700 |
I have a working prototype here:
https://gist.github.com/nobrowser/285d63410b9c2aec77a53587020cf2b6
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 ...
So my next step is to write a trivial C daemon with libi2c just to get
the data from the hardware.
I'm happy with my decision to bypass gpsd, though.
--
Ian