Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2024, 07:28 PM   #1
centr5
Junior Member
centr5 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2022
Location: Ukraine
Device: KV, KOA2
Question Managing KOReader via SSH

Hi all. My Kindle Voyage's touch screen has stopped working. But the display is in perfect condition, not broken or scratched. I would not like to throw it away and sometimes continue to use it.

KOReader and USB Network hack are already installed on my device. I thought I could open books via SSH on my Android phone and use the device without any problems (page turning with buttons, backlight adjusted by light sensor, night mode already on as scheduled)

I can easily run KOReader by passing it the book as a parameter.
Code:
./mnt/us/koreader/koreader.sh "/mnt/us/books/path to book"
Does anyone know how I can exit of KOReader or change the open book using an SSH command?
centr5 is offline   Reply With Quote
Old 03-18-2024, 12:09 AM   #2
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,058
Karma: 3581267
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
Look at https://github.com/koreader/koreader/pull/11457.
hius07 is offline   Reply With Quote
Advert
Old 03-20-2024, 07:27 PM   #3
centr5
Junior Member
centr5 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2022
Location: Ukraine
Device: KV, KOA2
Smile

hius07, thank you very much. This is exactly what is needed.

I will also answer my first message, maybe it will be useful to someone. First, enable the HTTP inspector in the settings or if your touchscreen does not work like mine, then set it to autorun in the config (mnt/us/koreader/settings.reader.lua)

Code:
    ["httpinspector_autostart"] = true,
    ["httpinspector_port"] = 8080,
Now launch the KOReader and you can start

Change the book through the SSH
Code:
curl "localhost:8080/koreader/ui/switchDocument?/'path to book'" > /dev/null 2>&1
Exit from the KOReader
Code:
curl localhost:8080/koreader/event/Exit > /dev/null 2>&1
Or you can do it all through the browser. More events (changing brightness, font, night mode, turning pages and much more) are available at the link
Code:
http://kindle_local_ip:8080/koreader/event/
centr5 is offline   Reply With Quote
Reply

Tags
koreader, remote control, ssh


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoking KOReader's Dropbear SSH server from NickelMenu elinkser Kobo Developer's Corner 8 05-09-2023 06:36 PM
K5 Unable to get ssh-keys working for ssh login without entering password Immortalis Kindle Developer's Corner 3 07-16-2022 05:54 PM
Kindle PW3 5.9.6.1 ssh broken pipe leaves broken ssh xception Kindle Developer's Corner 8 01-27-2019 10:23 AM
Got JB Voyage? User required for quick SSH test of KOReader TheNeedforRead Kindle Developer's Corner 0 05-30-2016 10:18 AM
M92: password and users (eg. ssh/ssh-server) lepau Onyx Boox 1 11-15-2013 11:46 AM


All times are GMT -4. The time now is 10:36 AM.


MobileRead.com is a privately owned, operated and funded community.