fix/remarkable: update for new AppLoad/qtfb-shim (#14162)
This commit is contained in:
1 parent
e1c7445c71
commit
dd4a7fdb71
6 files changed
+64
-13
No files matched your search
@@ -448,10 +448,7 @@ if isRm2 then
|
||||
return Remarkable2
|
||||
elseif isRmPaperPro then
|
||||
if not os.getenv("LD_PRELOAD") then
|
||||
error("reMarkable Paper Pro requires a RM2FB server and client to work (https://github.com/asivery/rmpp-qtfb-shim)")
|
||||
end
|
||||
if os.getenv("QTFB_SHIM_INPUT") ~= "false" or os.getenv("QTFB_SHIM_MODEL") ~= "false" then
|
||||
error("You must set both QTFB_SHIM_INPUT and QTFB_SHIM_MODEL to false")
|
||||
error("reMarkable Paper Pro requires a RM2FB server and client to work (https://github.com/asivery/rm-appload)")
|
||||
end
|
||||
if os.getenv("QTFB_SHIM_MODE") ~= "RGB565" then
|
||||
error("You must set QTFB_SHIM_MODE to RGB565")
|
||||
|
||||
+13
-1
@@ -11,8 +11,20 @@ update: all
|
||||
# ensure that the binaries were built for ARM
|
||||
file --dereference $(INSTALL_DIR)/koreader/luajit | grep ARM
|
||||
# Remarkable scripts
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/* $(INSTALL_DIR)/koreader/
|
||||
$(SYMLINK) $(COMMON_DIR)/spinning_zsync $(INSTALL_DIR)/koreader/
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/koreader.sh $(INSTALL_DIR)/koreader/
|
||||
ifeq (remarkable,$(TARGET))
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/README.md $(INSTALL_DIR)/koreader/README_remarkable.md
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/button-listen.service $(INSTALL_DIR)/koreader/
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/disable-wifi.sh $(INSTALL_DIR)/koreader/
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/enable-wifi.sh $(INSTALL_DIR)/koreader/
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/external.manifest.json $(INSTALL_DIR)/koreader/
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/koreader.service $(INSTALL_DIR)/koreader/
|
||||
endif
|
||||
ifeq (remarkable-aarch64,$(TARGET))
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/README_aarch64.md $(INSTALL_DIR)/koreader/README_remarkable.md
|
||||
$(SYMLINK) $(REMARKABLE_DIR)/external.manifest_aarch64.json $(INSTALL_DIR)/koreader/external.manifest.json
|
||||
endif
|
||||
# Create packages.
|
||||
$(strip $(call mkupdate,$(REMARKABLE_PACKAGE)))
|
||||
$(strip $(call mkupdate,$(REMARKABLE_PACKAGE_OTA)))
|
||||
|
||||
@@ -8,11 +8,13 @@ with a USB cable.
|
||||
|
||||
# Install
|
||||
|
||||
scp <koreader-package>.zip root@<your-remarkable>:
|
||||
```
|
||||
scp <koreader-package>.zip root@<your-remarkable>:
|
||||
|
||||
ssh root@<your-remarkable>
|
||||
ssh root@<your-remarkable>
|
||||
|
||||
unzip <koreader-package>.zip
|
||||
unzip <koreader-package>.zip
|
||||
```
|
||||
|
||||
# Launching using the included launcher
|
||||
|
||||
@@ -20,8 +22,10 @@ KOReader includes a very simple launcher called `button-listen` which starts
|
||||
KOReader when the middle button is held down for 3 or more seconds in the
|
||||
default UI (xochitl).
|
||||
|
||||
cp -v koreader/*.service /etc/systemd/system/
|
||||
systemctl enable --now button-listen
|
||||
```
|
||||
cp -v koreader/*.service /etc/systemd/system/
|
||||
systemctl enable --now button-listen
|
||||
```
|
||||
|
||||
To return to the default UI just exit KOReader (swipe down from the top of the
|
||||
screen, select icon in the top right, Exit, Exit).
|
||||
@@ -33,13 +37,19 @@ to run the two install steps again when that happens.
|
||||
|
||||
The command that the launcher needs to run is:
|
||||
|
||||
/home/root/koreader/koreader.sh
|
||||
```
|
||||
/home/root/koreader/koreader.sh
|
||||
```
|
||||
|
||||
Alternatively, if you want the default behaviour of KOReader exit starting the
|
||||
default UI you can run (once on installation):
|
||||
|
||||
cp -v koreader/koreader.service /etc/systemd/system/
|
||||
```
|
||||
cp -v koreader/koreader.service /etc/systemd/system/
|
||||
```
|
||||
|
||||
Then to start KOReader the launcher needs to run:
|
||||
|
||||
systemctl start koreader
|
||||
```
|
||||
systemctl start koreader
|
||||
```
|
||||
@@ -0,0 +1,11 @@
|
||||
# General
|
||||
|
||||
When connected to Wi-Fi you can find the IP address and root password for your
|
||||
reMarkable in Settings -> About, then scroll down the GPLv3 compliance on the
|
||||
right (finger drag scroll, not the page forward/back buttons). This should also
|
||||
work for the USB network you get if you connect the reMarkable to your computer
|
||||
with a USB cable.
|
||||
|
||||
# Install & Launching
|
||||
|
||||
Kindly refer to the wiki at https://github.com/koreader/koreader/wiki/Installation-on-reMarkable#manual-installation-on-remarkable-paper-pro
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "KOReader",
|
||||
"application": "koreader.sh",
|
||||
"environment": {
|
||||
"LD_PRELOAD": "/home/root/shims/qtfb-shim.so",
|
||||
"KO_DONT_GRAB_INPUT": "1"
|
||||
},
|
||||
"qtfb": true
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "KOReader",
|
||||
"application": "koreader.sh",
|
||||
"environment": {
|
||||
"LD_PRELOAD": "/home/root/shims/qtfb-shim.so",
|
||||
"QTFB_SHIM_MODEL": "false",
|
||||
"QTFB_SHIM_INPUT_MODE": "RMPP",
|
||||
"QTFB_SHIM_MODE": "RGB565",
|
||||
"KO_DONT_GRAB_INPUT": "1"
|
||||
},
|
||||
"qtfb": true
|
||||
}
|
||||
Reference in new issue
Block a user