[Replicant] [RFC PATCH 0/3] (V2) libsamsung-ipc support for herolte (Samsung Galaxy S7)
Tony Garnock-Jones
tonyg at leastfixedpoint.com
Tue Sep 29 20:03:05 UTC 2020
This patch series adds support for herolte (Samsung Galaxy S7) devices
to libsamsung-ipc.
CURRENT STATUS:
- the modem boots successfully
- it will not interact with userland unless something opens
/dev/umts_rfs0 at the same time as /dev/umts_ipc0 is open (see uses
of "rild_ready()" in the kernel source code). The patchset includes
a quick-and-dirty RFS read loop incorporated into ipc-modem:
ipc-modem --debug --rfs start
- since version 1 of this patch, a change in libsamsung-ipc has been
made that avoids the previous issue with a tight loop around
IPC_SMS_DEVICE_READY. (I don't know exactly what the change that
fixed the issue was - but thanks!)
- since version 1 of this patch, I've made it try a sequence of paths
in order to find the modem firmware. It should work for both
PostmarketOS and LineageOS, and presumably other Androids if they
have the same /dev/block conventions.
Regards,
Tony
Tony Garnock-Jones (3):
Initial support for herolte (Samsung Galaxy S7 GSM).
Quick-and-dirty support for FMT and RFS simultaneously in ipc-modem
Cosmetic: sort #includes alphabetically in ipc_devices.h
samsung-ipc/Makefile.am | 2 +
samsung-ipc/devices/herolte/herolte.c | 515 ++++++++++++++++++++++++++
samsung-ipc/devices/herolte/herolte.h | 35 ++
samsung-ipc/devices/ipc_devices.c | 10 +
samsung-ipc/devices/ipc_devices.h | 9 +-
tools/ipc-modem.c | 125 +++++--
6 files changed, 667 insertions(+), 29 deletions(-)
create mode 100644 samsung-ipc/devices/herolte/herolte.c
create mode 100644 samsung-ipc/devices/herolte/herolte.h
--
2.28.0
More information about the Replicant
mailing list