![]() |
#196 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
Quote:
Since we are already talking about the koreader.sh, could you consider changing Code:
if [ -n "$PLATFORM" ]; then Code:
if [ ! -n "${PLATFORM}" ]; then And maybe you could replace Code:
# if we were called from advboot then we must reboot to go to the menu if [ -d /mnt/onboard/.kobo/advboot ]; then reboot fi Code:
if [ "$(pidof ksmhome.sh | wc -w)" -lt "1" ]; then reboot fi |
|||
![]() |
![]() |
![]() |
#198 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2015
Device: kobo hd
|
I'm afraid I need some help. This is with a factory reset AuraHD, latest firmware with KSM7 and updates 1 and 2. I'm also running KoReader 20150427. My first issue is that when exiting KoReader (via the home icon) to get back to KSM, the machine reboots. This would normally not be a problem except for the second issue which is that the microSD card does not mount on boot and the only way I know to mount it is by running the usb enable/disable.sh scripts. A quick and dirty fix would be to autorun a mount script on KSM boot but I don't know how to do this. Thank in advance for any advice on this.
|
![]() |
![]() |
![]() |
#199 |
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
|
@gtv4: Yay. The reboot on exit *might* be my fault.
I quite possibly got the logic wrong here, and since I don't use KSM, nor advboot, nor fmon, that was a bit of a shot in the dark. (cf. the discussion in the PR @Markismus just linked to). @tshering: What was the original intent here, and is there a KSM or advboot process we can look for to handle this properly? Last edited by NiLuJe; 04-27-2015 at 12:24 PM. |
![]() |
![]() |
![]() |
#200 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
gtv4, please replace koreader.sh in the folder koreader by an earlier version of it.
NiLuJe, the problem is that Code:
! pkill -0 ksmhome.sh Last edited by tshering; 04-27-2015 at 03:09 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#201 | |
Groupie
![]() Posts: 150
Karma: 48
Join Date: Apr 2014
Device: Kindle Paperwhite 2, Kobo Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#202 |
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
|
@tshering: Huh. That works well enough for detecting nickel, though.
Are there multiple ksmhome.sh processes running? Is the actual name correct, or is it eaten by a shell name or something? pkill probably only checks the name of the actual binary, while pidof/pgrep can match the full command line. I'll fix the test ![]() Last edited by NiLuJe; 04-27-2015 at 04:35 PM. |
![]() |
![]() |
![]() |
#203 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
NiLuJe,
Code:
[root@(none) ~]# ps | grep ksmhome 519 root 0:00 {ksmhome.sh} /bin/sh /mnt/onboard/.adds/kbmenu/onstart/ksmhome.sh 872 root 0:00 grep ksmhome [root@(none) ~]# if ! pkill -0 ksmhome.sh ; then echo "yes"; fi yes [root@(none) ~]# if ! pkill -0 ksmhomexxx.sh ; then echo "yes"; fi yes |
![]() |
![]() |
![]() |
#204 |
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
|
@tshering: Ha, thanks
![]() Yep, pkill will only catch sh there, which explains everything ![]() switched to pidof ![]() |
![]() |
![]() |
![]() |
#205 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2015
Device: kobo hd
|
Thanks for the help guys, koreader.sh from the 20150424 version fixed the reboot on exit issue and patience fixed the microSD mount issue. Keep up the good work guys.
|
![]() |
![]() |
![]() |
#206 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
|
A quick question? I have just updated my Kobo Aura H20 to 3.15.0. When I rebooted after update, it boots into Nickel by default instead of KSM07. Do i need to edit or modify anything to get i to boot into KSM again?
Or does a firmware update for me to reload KSM? Please advise. Thank You, JFeole |
![]() |
![]() |
![]() |
#207 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
|
Post firmware update, It is booting directly into Nickel, ignorinf KSM. When I enter Library, Books, and then choose Switch to KOReader, I only get the icon displayed on screen..?
Thanks, JFeole |
![]() |
![]() |
![]() |
#208 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Edit: If you are using KSM 8 do NOT apply the package downloaded to this post. Re-install instead the latest patch for KSM 8. This will reanable KSM 8. Last edited by tshering; 10-06-2017 at 02:35 PM. |
|
![]() |
![]() |
![]() |
#209 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
|
Yea, I did do it that way..thank you. That worked fine.
Do I have to re-apply the KSM updates too? or no.. JFeole |
![]() |
![]() |
![]() |
#210 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
![]() |
![]() |
![]() |
Tags |
koreader/nickel, ksm 07 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo-Adding alternative readers using Kobo Start Menu | Ken Maltby | KOReader | 75 | 01-10-2020 01:35 PM |
Kobo Start Menu | tshering | Kobo Developer's Corner | 918 | 10-12-2017 02:32 PM |
QT Browser for Kobo Start Menu? | gloriousglib | Kobo Developer's Corner | 1 | 05-24-2014 03:59 AM |
kobo menu and message | tshering | Kobo Developer's Corner | 26 | 01-15-2014 09:18 AM |
Calibre start menu icon | Cy1clown | Calibre | 1 | 02-06-2010 02:10 PM |