@SpaceLizard @Savasten i made a workaround today that should get you out of this buggy firmware that turned off your display.
Preparations:
- you need some way to get a shell on your pocket, for example over HDMI, SSH or in worst case UART console.
sudo apt update
sudo apt install fwupd
- edit the file
/etc/fwupd/fwupd.conf
, add the lineOnlyTrusted=false
wget https://source.mnt.re/reform/reform-tools/-/jobs/7408/artifacts/raw/reform2-lpc-dkms_1.65_all.deb
sudo dpkg -i reform2-lpc-dkms_1.65_all.deb
- then reboot
- after reboot, you should see a file
brightness
in/sys/bus/spi/drivers/reform2_lpc/spi1.0
. i have a rk3588 pocket here at the moment so it could be that it’s not called spi1.0 but similar on your pocket. - download the bugfixed firmware, i.e.
wget -O sysctl.cab https://source.mnt.re/reform/pocket-reform/-/jobs/7370/artifacts/raw/pocket-reform-sysctl-fw/build/sysctl.cab
- become root, i.e.
sudo su
and thenecho 0 > /sys/bus/spi/drivers/reform2_lpc/spi1.0/brightness
(making sure the sp1.0 is correct which you found out earlier). a simple sudo won’t work for this command because the>
will be interpreted by the surrounding shell which is not affected by sudo. - this previous step should work around the problem of an attempted firmware update immediately resetting the machine.
- do the update:
fwupdtool install --allow-older sysctl.cab
- hopefully it should succeed and after reboot you should have your display back up.
I apologize for the inconvenience this bug caused for you.