![]() |
#526 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#527 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,941
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
![]() |
#528 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#529 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I'll might take a look if I have time after the patches, firmware investigations, koboutils updates, and some NickelMenu updates. Right now, I'm also working on a major kepubify update, which should be at least 2.5x faster for most people due to some concurrency and zip archive improvements (there's still a bit more room for improvement, since the regexp matching for sentences takes quite a bit of time and can probably be faster if rewritten by hand), will probably also have a web version which works locally and doesn't require sending your files anywhere (it'll be much slower since it's single-threaded, though), will have much cleaner code with better tests, and will correctly detect misnamed HTML files.
Sorry about my lack of response over the last month; I've been extremely busy. And for kepubify, if anyone wants to see the in-progress code: https://github.com/pgaskin/kepubify/network. Last edited by geek1011; 06-12-2021 at 10:35 AM. |
![]() |
![]() |
![]() |
#530 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 72
Karma: 550
Join Date: Apr 2015
Device: Kobo Glo HD | KSM9 | KoReader | Plato
|
I can't run Koreader on the nickel menu. it was working but i thing some of firmware update of Kobo Reader wil it no more work. I see on the menu Generator error and when i click there it shows;
kfmon: error checking '/tmp/kfmon-ipc.ctl': stat: no souch file or directory --- Do i need to get some last version of Kfmon and how can i update this? |
![]() |
![]() |
![]() |
#532 |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,324
Karma: 7387565
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
NickelMenu: An integrated launcher for Kobo eReaders
I’m not sure why I never installed NickelMenu before. I’ve been loving using it this year. Thanks!
I have a question about Telnet. Anybody know why the connection dies in the middle of a session? My Kobo Clara isn’t asleep, yet suddenly the terminal stops receiving commands. If I force quit the session, I can no longer connect via telnet to my Clara. The process seems hung on the Clara (though it functions as an eReader with no issues). I have to power cycle it in order to regain telnet access. Then the connection dies again after a few minutes. I’m using the default config: Code:
menu_item :main :Telnet :cmd_spawn :quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success :cmd_spawn :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login chain_success :dbg_toast :Started Telnet server on port 1023. Sent from my iPhone using Tapatalk Pro |
![]() |
![]() |
![]() |
#533 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#534 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
On Mk. 7, the reader will also suspend-with-the-lights-on pretty aggressively once Wi-Fi is down and the device is unplugged, if you're not actually touching the device and are *in* a book.
|
![]() |
![]() |
![]() |
#535 | |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,324
Karma: 7387565
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
Do you mean like this? Code:
menu_item :main :Telnet :cmd_spawn :quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success :cmd_spawn :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login chain_success :dbg_toast :Started Telnet server on port 1023. chain_always : nickel_setting : enable : force_wifi |
|
![]() |
![]() |
![]() |
#536 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Code:
menu_item:main:Telnet:cmd_output:500:quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" chain_success:skip:10 chain_failure:cmd_spawn:quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success:cmd_spawn:quiet:exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login chain_success:skip:2 chain_failure:dbg_toast:Error starting Telnet server on port 1023 chain_always:skip:4 chain_success:dbg_toast:Started Telnet server on port 1023 chain_always:nickel_setting:enable:force_wifi chain_always:nickel_wifi:disable chain_always:nickel_wifi:autoconnect chain_always:skip:4 chain_success:dbg_toast:Stopped Telnet server on port 1023 chain_always:nickel_setting:disable:force_wifi chain_always:nickel_wifi:disable chain_always:nickel_wifi:enable I haven't tested this, and I don't know if the wifi toggle (to apply the force_wifi setting) is too fast for Nickel to pick up. Last edited by geek1011; 06-21-2021 at 06:11 PM. |
|
![]() |
![]() |
![]() |
#537 | |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,324
Karma: 7387565
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
(Also, I appreciate the extra code to study. It'll help me understand your tool better. ![]() Last edited by Cootey; 06-23-2021 at 05:34 AM. |
|
![]() |
![]() |
![]() |
#538 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Sep 2016
Device: Kobo Touch 2.0
|
Sometimes when I'm reading in bed I'm in a nice position and don't want to move my hand up to my Kobo Clara to touch the screen for a page turn (I know, lazy) so I've added a physical button. I'm using Nickelmenu to start/stop a script that enables this button to work. Problem is this scrips seems to pause after a few seconds/minutes. I think I read somewhere Nickel will pause any background process, but I can't seem to find where this comment was posted. Touching the screen unpauses the script, making the button work again for a few seconds, but this kinda defeats the purpose of the button
![]() Does anyone know if it's possible to prevent nickel from pausing my script? The line in nickelmenu is something like Code:
:500:quiet /bin/sh /myscript.sh & |
![]() |
![]() |
![]() |
#539 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, that's not going to work.
Hard to say without knowing exactly what you stuff does, but you'd essentially have to trip *actual* hardware bits flagged as wakeup sources (and that'd most likely require true hardware hackery, or possibly custom kernel trickery to flag more stuff as wakeup?; but most of this is out of my wheelhouse). Sidebar: That NM snippet is incomplete, the timeout values *are* documentend, and you don't need to explicitly background the script unless you're doing it wrong (i.e., cmd_output instead of cmd_spawn). Last edited by NiLuJe; 06-27-2021 at 04:07 PM. |
![]() |
![]() |
![]() |
#540 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Sep 2016
Device: Kobo Touch 2.0
|
Currently how this works is I have a Raspberry Pi Pico hooked up to the serial port on the Clara. Pressing the button closes the circuit between the port's VCC and the Pico, starting the Pico (so it doesn't use any power until you press the button). On boot the Pico sends out a single serial signal. A script checks the serial port and triggers a fake tap on the screen when it detects this signal.
Maybe I should explore my second option: when you plug in your USB cable it gets detected even when in this idle state, right? So I was thinking of hooking up a switch to a small USB powerbank and hooking my script into this power detection. I'm just not sure these short bursts of power (like a second every time you press the button) won't damage anything. Also, the USB plug seems to be a fragile point (but I could solder to the PCB instead). Edit: ahh I see, the 500 is a 500ms delay. I was just looking for '500' in the docs. Didn't occur to me it was one of the regular arguments, sorry. Last edited by javl; 06-27-2021 at 06:11 PM. |
![]() |
![]() |
![]() |
Tags |
kobo, launcher, ldpreload, nickel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 04:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 06:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 02:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 01:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 06:42 AM |