11-15-2022, 09:16 AM | #901 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
For those using KSM to auto start KOReader, do you know how to stop the auto start process to get back tho Nickel?
|
11-15-2022, 12:19 PM | #902 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Octane: This was covered in greater details on GitHub (in fact, given the timing, I thought that was you ).
https://github.com/koreader/koreader/issues/9781 TL;DR: No, no autostart (for good reasons). |
11-24-2022, 03:36 AM | #903 |
Connoisseur
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
|
Ive been working on implimenting a gadget toggle for my kobo using a glag file
``` menu_item : main : Toggle USB OTG : cmd_output : 500 : quiet : test -e /tmp/otg_enabled chain_success : skip : 4 chain_always : cmd_spawn : quiet: touch /tmp/otg_enabled chain_always : cmd_spawn : quiet: mount -t debugfs none /sys/kernel/debug chain_always : cmd_spawn : quiet: echo host > /sys/kernel/debug/ci_hdrc.0/role chain_always : dbg_toast : USB OTG IS ENABLED chain_failure : skip : 3 chain_always : cmd_spawn : quiet: rm /tmp/otg_enabled chain_always : cmd_spawn : quiet: echo gadget > /sys/kernel/debug/ci_hdrc.0/role chain_always : dbg_toast : USB OTG IS DISABLED ``` here are the commands to do that https://www.mobileread.com/forums/sh...d.php?t=340418 Can somebody fix this for me? i tried |
11-24-2022, 12:12 PM | #904 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@fennectech: My usual answer to failing to make complex chains behave is: "write a shell script and run that instead".
But, given the subject matter, I also have more questions: On which device are you trying this? (your Device block is... unhlepful at attempting a guess). What you've tried is specific to Mk. 7/9/10 devices. If you have a Mk. 8, they work differently, and if you have something older, you'll (potentially) have to build a kernel module yourself. |
11-24-2022, 05:43 PM | #905 | |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-24-2022, 06:58 PM | #906 | |
Connoisseur
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
|
Quote:
If flag exists run command set one report otg disabled to user remove flag Else. run command set two report otg enabled to user create flag Ive tested all the theory here. checked that NM runs as root so it can both execute the commands and create the flag in /tmp (and we put it there because the gadget is re enabled after a reboot Last edited by fennectech; 11-24-2022 at 07:10 PM. |
|
11-25-2022, 02:09 PM | #907 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
11-25-2022, 05:21 PM | #908 |
Connoisseur
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
|
Nov 25 16:19:54 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667)
Nov 25 16:19:54 nickel: (NickelMenu) ...error: 'could not run process: process exited with status 1 (src/action_cc.cc:889)' (src/nickelmenu.cc:696) Nov 25 16:19:54 nickel: (NickelMenu) action 0x6f2f2855 with argument 4 : (src/nickelmenu.cc:666) Nov 25 16:19:54 nickel: (NickelMenu) ...success=0 ; on_success=1 on_failure=0 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:54 nickel: (NickelMenu) ...skipping action due to condition flags (src/nickelmenu.cc:675) Nov 25 16:19:54 nickel: (NickelMenu) action 0x6f2f8565 with argument quiet: touch /tmp/otg_enabled : (src/nickelmenu.cc:666) Nov 25 16:19:54 nickel: (NickelMenu) ...success=0 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:54 nickel: (NickelMenu) ...result: type=0 msg='(null)', handling... (src/nickelmenu.cc:703) Nov 25 16:19:54 nickel: (NickelMenu) action 0x6f2f8565 with argument quiet: mount -t debugfs none /sys/kernel/debug : (src/nickelmenu.cc:666) Nov 25 16:19:54 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:54 nickel: (NickelMenu) ...result: type=0 msg='(null)', handling... (src/nickelmenu.cc:703) Nov 25 16:19:54 nickel: (NickelMenu) action 0x6f2f8565 with argument quiet: echo host > /sys/kernel/debug/ci_hdrc.0/role : (src/nickelmenu.cc:666) Nov 25 16:19:54 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:54 nickel: (NickelMenu) ...result: type=0 msg='(null)', handling... (src/nickelmenu.cc:703) Nov 25 16:19:54 nickel: (NickelMenu) action 0x6f2f2845 with argument USB OTG IS ENABLED : (src/nickelmenu.cc:666) Nov 25 16:19:54 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:54 nickel: (NickelMenu) ...result: type=2 msg='USB OTG IS ENABLED', handling... (src/nickelmenu.cc:703) Nov 25 16:19:55 nickel: (NickelMenu) action 0x6f2f2855 with argument 3 : (src/nickelmenu.cc:666) Nov 25 16:19:55 nickel: (NickelMenu) ...success=1 ; on_success=0 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:55 nickel: (NickelMenu) ...skipping action due to condition flags (src/nickelmenu.cc:675) Nov 25 16:19:55 nickel: (NickelMenu) action 0x6f2f8565 with argument quiet: rm /tmp/otg_enabled : (src/nickelmenu.cc:666) Nov 25 16:19:55 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:55 nickel: (NickelMenu) ...result: type=0 msg='(null)', handling... (src/nickelmenu.cc:703) Nov 25 16:19:55 nickel: (NickelMenu) action 0x6f2f8565 with argument quiet: echo gadget > /sys/kernel/debug/ci_hdrc.0/role : (src/nickelmenu.cc:666) Nov 25 16:19:55 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:55 nickel: (NickelMenu) ...result: type=0 msg='(null)', handling... (src/nickelmenu.cc:703) Nov 25 16:19:55 nickel: (NickelMenu) action 0x6f2f2845 with argument USB OTG IS DISABLED : (src/nickelmenu.cc:666) Nov 25 16:19:55 nickel: (NickelMenu) ...success=1 ; on_success=1 on_failure=1 skip=0 (src/nickelmenu.cc:667) Nov 25 16:19:55 nickel: (NickelMenu) ...result: type=2 msg='USB OTG IS DISABLED', handling... (src/nickelmenu.cc:703) Nov 25 16:19:55 nickel: (NickelMenu) done (src/nickelmenu.cc:393) ^[[B |
11-26-2022, 04:35 AM | #909 |
Member
Posts: 21
Karma: 10
Join Date: Sep 2021
Device: Kobo Libra 2
|
Is there a way to toggle between fullscreen and header/footer with NickelMenu?
|
11-26-2022, 05:26 AM | #910 | |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
11-26-2022, 05:45 AM | #911 |
Connoisseur
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
|
so i would use
menu_item : main : Toggle USB OTG : cmd_output : 500 : quiet : test -e /tmp/otg_enabled chain_success : skip : 5 chain_always : cmd_spawn : quiet: touch /tmp/otg_enabled chain_always : cmd_spawn : quiet: mount -t debugfs none /sys/kernel/debug chain_always : cmd_spawn : quiet: echo host > /sys/kernel/debug/ci_hdrc.0/role chain_always : dbg_toast : USB OTG IS ENABLED\ chain_always : skip : 3 chain_always : cmd_spawn : quiet: rm /tmp/otg_enabled chain_always : cmd_spawn : quiet: echo gadget > /sys/kernel/debug/ci_hdrc.0/role chain_always : dbg_toast : USB OTG IS DISABLED Correct? Last edited by fennectech; 11-26-2022 at 05:49 PM. |
11-26-2022, 10:35 PM | #912 | |
Connoisseur
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
|
Quote:
|
|
11-30-2022, 07:54 AM | #913 |
Member
Posts: 14
Karma: 10
Join Date: Oct 2019
Device: Kobo glo hd
|
Hello; Is it possible to configure nickelmenu to autostart koreader ? (I have a Kobo Glo HD, and I'd like to turn on my device and let it load koreader with my latest book, not having to wait for nickel to load and accessing the nickelmenu and manually choose koreader).
If that's true, how can I do it ? Thanks... |
11-30-2022, 12:34 PM | #914 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@rogerty:
Short answer: no. Longer "why no?" answer: https://github.com/koreader/koreader/issues/9781 |
12-02-2022, 06:03 AM | #915 | |
Connoisseur
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
|
Quote:
Last edited by fennectech; 12-02-2022 at 06:06 AM. |
|
Tags |
kobo, launcher, ldpreload, nickel |
|
Similar Threads | ||||
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 |