Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2017, 10:01 AM   #571
fradav
Member
fradav began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2014
Device: kobo h2o
Quote:
Originally Posted by tshering View Post
I am thinking of combining the invertScreen with some entry of the nickel configuration file that can be changed from within nickel. For instance, if you set screen refresh to 1, the night mode would be activated the next time you start nickel, and if you set it to any other value, night mode will be deactivated the next time you start nickel.

I think this might be useful together with the nickel-refresh function we are on the way of introducing.

Or we could introduce simply a new entry "start nickel (night)" in the (KSM) main menu. I think I would prefer this approach. What do you thin?
I'm not sure I understand what is or does the nickel-refresh function.

The suggested entry "start nickel (night)" is completely fine by me.
From this, shouldn't be hard to map the toggle_nightmode.png to a nickel reset and toggling the featuresetting, or is it ?

Many thanks for your time about this, anyway.
fradav is offline   Reply With Quote
Old 03-18-2017, 06:18 AM   #572
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by tshering View Post
Thank you for telling me about the rotation problem with the H2O!
I use every day ksm/koreader/coolreader (2 books simultaneusly ) with FW 4.3.8842 and not rotation problems at all with H2O.

About night mode, I think you should use terms like "nightmode internal" and "nightmode hack" (or something like that) if you want to put both options. Event you can put 2 options in home screen of KSM now that one can hide all don't want in it.
I can test all in H2O if you want
boriar is offline   Reply With Quote
Advert
Old 03-18-2017, 01:13 PM   #573
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
I use every day ksm/koreader/coolreader (2 books simultaneusly ) with FW 4.3.8842 and not rotation problems at all with H2O.
Thank you for telling. I first understood that Hopper333 was talking about the nickel-koreader-loop or koreader-nickel-loop, and that the screen inversions is happening there.Reading his post again, I recognize that he does not mention it. But it might well be well that the loops do not work. I cannot even remember whether I addressed this problem at all (I am presently somehow overworked). Do you use one of the loops?

Quote:
Originally Posted by boriar View Post
About night mode, I think you should use terms like "nightmode internal" and "nightmode hack" (or something like that) if you want to put both options. Event you can put 2 options in home screen of KSM now that one can hide all don't want in it.
You are definitely right that one should terminologically differentiate between the in-build
InvertScreen option, and the nightmode hack. I was thinking of providing two entries for nickel in the main menu, one for starting nickel normally, and the other for starting nickel with InvertScreen activated. But I am not sure whether it is worth the effort. In one of the next FW updates, nickel might provide an option to toggle between the two modes from within the GUI anyway.

Quote:
Originally Posted by boriar View Post
I can test all in H2O if you want
Thank you for the offer!
tshering is offline   Reply With Quote
Old 03-18-2017, 04:59 PM   #574
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by tshering View Post
Thank you for telling. I first understood that Hopper333 was talking about the nickel-koreader-loop or koreader-nickel-loop, and that the screen inversions is happening there.Reading his post again, I recognize that he does not mention it. But it might well be well that the loops do not work. I cannot even remember whether I addressed this problem at all (I am presently somehow overworked). Do you use one of the loops?
Well, I don't use normaly the nickel-koreader-loop or koreader-nickel-loop so I have tried and yes, in any combination when you use the switchkoreader icon you get file menu of koreader inverted.

Quote:
Originally Posted by tshering View Post
I was thinking of providing two entries for nickel in the main menu, one for starting nickel normally, and the other for starting nickel with InvertScreen activated. But I am not sure whether it is worth the effort. In one of the next FW updates, nickel might provide an option to toggle between the two modes from within the GUI anyway.
I like the idea of two entries, but again you are right about wait for an update of the FW. At least some time.

EDIT: Also with loops you get KSM menu inverted when exit with exit.png. Sorry for bad news

Last edited by boriar; 03-18-2017 at 05:05 PM. Reason: bad news
boriar is offline   Reply With Quote
Old 03-18-2017, 07:52 PM   #575
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
Well, I don't use normaly the nickel-koreader-loop or koreader-nickel-loop so I have tried and yes, in any combination when you use the switchkoreader icon you get file menu of koreader inverted.



I like the idea of two entries, but again you are right about wait for an update of the FW. At least some time.

EDIT: Also with loops you get KSM menu inverted when exit with exit.png. Sorry for bad news
Thank you for testing. And thank you for the bad news.
tshering is offline   Reply With Quote
Advert
Old 03-19-2017, 08:04 AM   #576
Hopper333
Enthusiast
Hopper333 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Mar 2017
Device: Kobo H2O
Smile

Just an update on the screen inversion issue on H2O. This happened when I first installed the latest patched KSM and moved from Nickel->koreader for the first time. It also happened when I was working in KSM (for example, turning wifi on and off) and getting random screen orientations when I returned to the KSM menu.

Another problem was that sleep in koreader using a screen cover was apparently failing as I opened the cover and found the KSM main menu instead and the battery significantly drained. Before the firmware update and patched KSM, sleep had been working very well for months.

BUT, now I have moved from Nickel->koreader and from koreader->Nickel a few times, neither the sleep nor the screen inversion problem is happening anymore! How can this be? Is it possible that there are some important 'system variables' that need to be initialised by these movements - so the new setup needs to be 'bedded in' somehow?

Anyway, I'm happy again now as I have my e-reader back but I think it would be very useful for our community if there was a description of how KSM interacts with Nickel and koreader - in particular any shared system variables. This would help us understand what is going on and therefore with debugging and development as the inevitable next issues arise over time. Does such a diagram/document exist? If not, is it feasible to create one?
Hopper333 is offline   Reply With Quote
Old 03-19-2017, 02:12 PM   #577
Hopper333
Enthusiast
Hopper333 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Mar 2017
Device: Kobo H2O
Update on the above post...

Frontlight setting still doesn't always seem to stay consistent between sessions, and today sleeping in koreader by closing the front cover led to being in the KSM main menu again on waking up, rather than a dimmed version of the document as it used to be. Not sure if battery was drained or not. It may be the case that leaving it to sleep for a long time makes this more likely - would that make any sense?

Does anyone here have a comment on whether these issues are likely to be due to KSM, the version of koreader that I am using or the new firmware? Or maybe some combination.
Hopper333 is offline   Reply With Quote
Old 03-19-2017, 02:24 PM   #578
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Koreader has problems with battery draining, at least older versions. If you switch to latest nightly, you probably wouldn't have battery draining from koreader. Unless there's problem with latest firmware.
Alan_S is offline   Reply With Quote
Old 03-19-2017, 06:08 PM   #579
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 531
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
The problem with sudden wake-ups from suspend in KOReader seems to be solved with the latest nightly. So no problem with batterie drain on my KA1. No problem with KSM either.
trekk is offline   Reply With Quote
Old 03-19-2017, 06:29 PM   #580
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Hopper333 View Post
Just an update on the screen inversion issue on H2O. This happened when I first installed the latest patched KSM and moved from Nickel->koreader for the first time. It also happened when I was working in KSM (for example, turning wifi on and off) and getting random screen orientations when I returned to the KSM menu.
What you describe here is what is expected on H2O without the KSM patch. If this happened after you installed the patch, then it is strange.

Quote:
Originally Posted by Hopper333 View Post
Another problem was that sleep in koreader using a screen cover was apparently failing as I opened the cover and found the KSM main menu instead and the battery significantly drained. Before the firmware update and patched KSM, sleep had been working very well for months.
KOReader crashed during suspend and gave control back to KSM. This sounds like the KSM patch was not yet installed at that point. When KOReader crashes, the expected behaviouris that KSM (with patch installed) informs you about the KOReader crach, and powers the device off after 20 secs or so, if there is no user input.

Quote:
Originally Posted by Hopper333 View Post
BUT, now I have moved from Nickel->koreader and from koreader->Nickel a few times, neither the sleep nor the screen inversion problem is happening anymore! How can this be? Is it possible that there are some important 'system variables' that need to be initialised by these movements - so the new setup needs to be 'bedded in' somehow?
The only thing that comes to my mind is that your successful installation of the patch might have happened at a later time as you thought. Do you think that this is possible?

Quote:
Originally Posted by Hopper333 View Post
Anyway, I'm happy again now as I have my e-reader back but I think it would be very useful for our community if there was a description of how KSM interacts with Nickel and koreader - in particular any shared system variables. This would help us understand what is going on and therefore with debugging and development as the inevitable next issues arise over time. Does such a diagram/document exist? If not, is it feasible to create one?
Unfortunately, the only way to see what is going on is currently to look at the scripts. Creating a detailed documentation is to much work for me, and a superficial description would not help much. You are right that there will be inevitably further issues to solve. One of the next issues might arise when KOReader switches to 32 bit color depth.

Last edited by tshering; 03-20-2017 at 04:11 AM.
tshering is offline   Reply With Quote
Old 03-19-2017, 06:39 PM   #581
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
I have updated the KSM08 patch. This one addresses the rotation problem when using "start nickel koreader switch" and "start koreader nickel switch" on H2O and some other devices. However, I was unable to test it myself.
tshering is offline   Reply With Quote
Old 03-19-2017, 06:49 PM   #582
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by oren64 View Post
I test it fore a few days now, I didn't find any problems problems.
I load boos with calibre, sync, and remove tiles with restart_nickel.png, reading...

I did use restart_nickel.png from nickel by mistake. and it just exit to nickel to ksm menu.
Please install the new patch (see post above). "restart_nickel.png" will work, whether you start nickel with "start nickel," "start nickel koreader switch" or "start koreader nickel switch." I recommend that you delete the test scripts:
  • select (KSM home) "tools" > "explore" > "explore kbmenu.msh" > "scripts"
  • press "open/info/delete/..." until the text field shows "current mode: delete"
  • select "start nickel for restart.sh"
and
  • select (KSM home) "tools" > "explore" > "explore kbmenu user.msh" > "scripts"
  • press "open/info/delete/..." until the text field shows "current mode: delete"
  • select "start nickel for restart.sh"
tshering is offline   Reply With Quote
Old 03-19-2017, 09:20 PM   #583
Hopper333
Enthusiast
Hopper333 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Mar 2017
Device: Kobo H2O
Thanks for the new patch. I will try it as soon as I can this week on my H2O and report back on results.
Hopper333 is offline   Reply With Quote
Old 03-20-2017, 09:20 AM   #584
Hopper333
Enthusiast
Hopper333 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Mar 2017
Device: Kobo H2O
I have followed the patching sequence given in the link but just as before there is no "handle update" menu item anywhere that I can see in KSM. So I rebooted and now "handle update" does appear and I have selected "full update" and then it rebooted. So far, so good. Will use for a day or two and report back.

By the way, it's the first time I used USB from KSM and it worked nicely after some teething problems. Goodbye Nickel! Isn't it a shame that Kobo supply such poor readers and that we have to rely on the great work of tshering to use these devices to their potential.
Hopper333 is offline   Reply With Quote
Old 03-20-2017, 04:04 PM   #585
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Hopper333 View Post
I have followed the patching sequence given in the link but just as before there is no "handle update" menu item anywhere that I can see in KSM. So I rebooted and now "handle update" does appear and I have selected "full update" and then it rebooted. So far, so good. Will use for a day or two and report back.
When you copy a KoboRoot.tgz to .kobo, the entry "handle update" will appear in the KSM main menu, IFF the user partition is mounted. That means that when you enable usb by selecting "usb enable.sh," you have to disable it again by selecting "usb disable.sh" (do not forget to safely ejected the reader before disabling usb).

In the usb menu there is an entry "info". When you select this entry you will get some information on the topic. When you touch the middle of the help screen, you will get a bottom menu with the options "close," "zoom in," and "zoom out." Touch the middle of the screen again in order to close the bottom menu.

Last edited by tshering; 03-20-2017 at 04:11 PM.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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
Kobo Start Menu 07 tshering Kobo Developer's Corner 644 03-02-2017 06:40 AM
QT Browser for Kobo Start Menu? gloriousglib Kobo Developer's Corner 1 05-24-2014 03:59 AM
Calibre start menu icon Cy1clown Calibre 1 02-06-2010 02:10 PM


All times are GMT -4. The time now is 04:22 PM.


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