Nathaniel van Diepen

Results 1146 comments of Nathaniel van Diepen

It's no longer beta, at the time it was beta.

> In a perfect world, this could also include things like copying a predefined suspended.png into /usr/share/remarkable, though I suppose I could also write a script to do that myself....

What OS version is the device?

I've just verified that the static wget that it's downloaded is being served over http and not https, and that it doesn't upgrade the request. Do you have anything on...

All swupdate related files I was able to find in a rM1 update image: ``` /etc/systemd/system/multi-user.target.wants/swupdate.service /etc/systemd/system/sockets.target.wants/swupdate.socket /etc/swupdate.cfg /lib/systemd/system-preset/98-swupdate.preset /lib/systemd/system/swupdate.service.d /lib/systemd/system/swupdate.service.d/swupdate-service-override.conf /lib/systemd/system/swupdate.service /lib/systemd/system/swupdate.socket.d /lib/systemd/system/swupdate.socket.d/swupdate-socket-override.conf /lib/systemd/system/swupdate-progress.service /lib/systemd/system/swupdate.socket /usr/bin/swupdate-progress /usr/bin/swupdate /usr/bin/swupdate-ipc /usr/lib/swupdate...

More files of interest: - `/usr/bin/fakeupdateengine_service` - `/lib/systemd/system/update-engine.service.d/override.conf` ``` [Unit] PartOf=swupdate.service ``` - `/etc/systemd/system/multi-user.target.wants/update-engine.service` symlink to `/etc/systemd/system/update-engine.service` - `/etc/systemd/system/update-engine.service` ``` [Unit] Description=Fake Update Engine After=dbus.service swupdate.service Requires=dbus.service swupdate.service [Service] Type=dbus...

I've been trying to track down what handles getting the update to the device, and from there what the server it's pulling it from is. I believe this is used...

`/etc/memfaultd.conf` ``` { "persist_dir": "/home/root/.memfault/", "upload_interval_seconds": 1200, "heartbeat_interval_seconds": 1200, "enable_data_collection": true, "software_version": "3.11.2.5", "software_type": "device", "project_key": "JLPsMk3iNn9rmBptmhVq2NYtO4RaiFM7", "base_url": "https://device.cloud.remarkable.com", "swupdate": { "input_file": "/etc/swupdate.cfg", "output_file": "/tmp/swupdate.cfg" }, "http_server": { "bind_address": "127.0.0.1:8787"...

- `/lib/systemd/system/memfaultd.service` ``` [Unit] Description=memfaultd daemon After=\ local-fs.target \ network.target \ dbus.service \ Before=\ swupdate.service \ collectd.service \ [Service] Type=forking PIDFile=/run/memfaultd.pid ExecStart=/usr/bin/memfaultd --daemonize # Wait for the PID file to...

https://docs.memfault.com/docs/linux/ota/