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 01-03-2017, 07:45 AM   #346
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
Hi Ben,

Thank you for your observations. It is not clear to me what actually was happening.

Quote:
Originally Posted by BenVL View Post
FWIW.

I had with my Kobo Aura (the original one, NOT Ed 2, ONE, H2O) the same problem as 'ttrek' was facing in post 260 of this thread :
after attempting to enable usb in KSM8,
  • USB support stayed disabled
  • the menu was stripped from all extras as eg. koreader, start vlasovsoftlauncher, ...
  • Only a reboot helped to get everything back.
Evidently the effects were the same as those experienced by trekk, the cause however was different. With the new models (Aura One, and Ed 2) PRODUCT_ID was empty, and therefore loading g_file_storage.ko failed. In your case however the cause is that /dev/mmcblk1p1 exists, even though there is no external sd present. Do you have any idea how this can happen? By the way, umount -l /mnt/sd does not cause a problem, even if the sd is not mounted. Is it possible that the problem started when you removed the sd and tried to enable usb almost at the same time, so that /dev/mmcblk1p1 existed at the time of testing its presence and was gone at the time of loading g_file_storage.ko? Enabling usb should work whether an external sd is present or not.
tshering is offline   Reply With Quote
Old 01-03-2017, 07:48 AM   #347
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 kwokhin View Post
Hello! Just drop by to say hello and thank you!
I've updated my kobo Glo HD to KSM08 and I am loving it!
It works perfectly! Thank you very much
I am glad you love it.
tshering is offline   Reply With Quote
Advert
Old 01-03-2017, 08:05 AM   #348
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 CH23 View Post
toggle_nightmode.png -> nothing
This needs nightmode to be installed, and nickelpreload must be set to "/root/screenInv.so" in the section [nickel] (use "configure" from the main menu)
Quote:
Originally Posted by CH23 View Post
switchtokoreader.png -> KSM
This need KOReader to be installed; and nickel has to be started by "start nickel koreader switch" or "start koreader nickel switch" (you can find them under "koreader additions")
Quote:
Originally Posted by CH23 View Post
simulate_usb_connection.png -> 'computer connected' popup pop ups for a second
See this post.

Last edited by tshering; 01-03-2017 at 11:21 AM.
tshering is offline   Reply With Quote
Old 01-03-2017, 12:08 PM   #349
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 kido.resuri View Post
Hello!

I haven't read the whole thread, nor did I try KSM8 yet.
I'm interested in the fmon and kbmenupngs feature. Do I need to install the whole KSM8 or is it possible to just install fmon? Do I have to modify anything (in the script), or just "load and use"?

My "plan" is to add extra features by adding images as menu items, put them in a collection, so they are more easy to access. I don't want to use the "classic" KSM menu, it would be more convenient to use a menu from the stock GUI.
KSM assocites the images and scripts to be controlled by fmon with each other each time nickel is launched. Therefore, it is not easy to separate the fmon task from the rest of KSM. But you can configure KSM so that it starts nickel immediately after boot (though I do not recommend this). You will hardly notice KSM, if at all.

Quote:
Originally Posted by kido.resuri View Post
..., but I don't want to change my sleeping and power off screens, and any other stuff.
KSM does not change them by default.

Quote:
Originally Posted by kido.resuri View Post
I don't need the koreader, coolreader, pbchess. What I would need is a "notepad", or an editor or something for creating notes and lists, "todo" style maybe, perhaps a calculator, and a calendar would be cool.
PBChess is a package that includes a text editor and a calulator. fmon is also part of PBChess. So this seems to be what you want.

Last edited by tshering; 01-03-2017 at 12:10 PM.
tshering is offline   Reply With Quote
Old 01-03-2017, 04:26 PM   #350
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
tshering, i tried to set KSM to never start, is this the setting to start nickel instead? Because with this setting, fmon doesn't start. I don't know if this is the normal behavior. Same happens, when set to alternateNickel, and it's Nickel's turn.

Thank you!
kido.resuri is offline   Reply With Quote
Advert
Old 01-03-2017, 05:25 PM   #351
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 kido.resuri View Post
tshering, i tried to set KSM to never start, is this the setting to start nickel instead? Because with this setting, fmon doesn't start. I don't know if this is the normal behavior. Same happens, when set to alternateNickel, and it's Nickel's turn.

Thank you!
Yes this is the expected behaviour. In the two cases mentioned by you, (almost) everything is as if KSM is not installed at all. You have to start fmon in some other way. Look how PBChess is doing it with /etc/init.d/on-animator.sh. By the way, if KSM is active, it circumvents /etc/init.d/on-animator.sh in order to prevent running multiple instances of fmon. Be aware that the PBChess way of starting fmon does not check whether it is safe doing so, while KSM (if active) does at least some minimal checking, and allows you to interact with the device if something goes wrong.
tshering is offline   Reply With Quote
Old 01-04-2017, 10:41 PM   #352
schrauger
Junior Member
schrauger began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2016
Device: Kobo Aura One
Is there a script or other method of changing the white balance in KSM on the Aura One? I haven't found anyone mention it, but perhaps I'm looking in the wrong threads.

The brightness adjuster works fine, but the white balance is a new feature unique to the Aura One, so I imagine it isn't baked into KSM as-is. I am surprised to find no one else requesting it, though.
schrauger is offline   Reply With Quote
Old 01-05-2017, 12:16 PM   #353
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 schrauger View Post
Is there a script or other method of changing the white balance in KSM on the Aura One? I haven't found anyone mention it, but perhaps I'm looking in the wrong threads.

The brightness adjuster works fine, but the white balance is a new feature unique to the Aura One, so I imagine it isn't baked into KSM as-is. I am surprised to find no one else requesting it, though.
Would be nice if somebody who has access to an Aura One could (find and) provide a means to do this. Up to now, I did not hear of anybody trying to do so.
tshering is offline   Reply With Quote
Old 01-05-2017, 12:34 PM   #354
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
There is an open "issue" at the Github project.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 01-06-2017, 04:14 AM   #355
BenVL
Junior Member
BenVL began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2014
Device: Kobo Aura
Quote:
Originally Posted by tshering View Post
Hi Ben,

Thank you for your observations. It is not clear to me what actually was happening.

Evidently the effects were the same as those experienced by trekk, the cause however was different. With the new models (Aura One, and Ed 2) PRODUCT_ID was empty, and therefore loading g_file_storage.ko failed. In your case however the cause is that /dev/mmcblk1p1 exists, even though there is no external sd present. Do you have any idea how this can happen? By the way, umount -l /mnt/sd does not cause a problem, even if the sd is not mounted. Is it possible that the problem started when you removed the sd and tried to enable usb almost at the same time, so that /dev/mmcblk1p1 existed at the time of testing its presence and was gone at the time of loading g_file_storage.ko? Enabling usb should work whether an external sd is present or not.
tshering, tx for the feedback. And my apologies for my late answer.

Actually, the external sd was already out of the Aura for months. So, no that's not it. Also, the Kobo was already powered off and on many times and even reset a number of times to get from Nickel back to KSM.

So regardless if the sd card is there or not, the device /dev/mmcblk1p1 stays once it is created ... you would expect the device tree to get cleaned up if devices disappear. Maybe not so in the (old) Kobo kernel ?

Cheers, Ben
BenVL is offline   Reply With Quote
Old 01-06-2017, 07:26 AM   #356
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 BenVL View Post
So regardless if the sd card is there or not, the device /dev/mmcblk1p1 stays once it is created ... you would expect the device tree to get cleaned up if devices disappear. Maybe not so in the (old) Kobo kernel ?
Nobody else did report this problem, so it might not be very widespread. The other point is that enable_usb.sh uses the same test as /usr/local/Kobo/udev/usb. Actually, enable_usb.sh is basically a clipping of it. (That explains also why it contains superfluous parts.) As things are, your device should also be unable to connect to pc from within nickel, if there is no sd inserted. Or does this work?
You say that the sd was out of the device for month. Did you never try to connect to pc during this time, or started the problem only recently?

Last edited by tshering; 01-06-2017 at 07:30 AM.
tshering is offline   Reply With Quote
Old 01-06-2017, 02:16 PM   #357
BenVL
Junior Member
BenVL began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2014
Device: Kobo Aura
Quote:
Originally Posted by tshering View Post
Nobody else did report this problem, so it might not be very widespread. The other point is that enable_usb.sh uses the same test as /usr/local/Kobo/udev/usb. Actually, enable_usb.sh is basically a clipping of it. (That explains also why it contains superfluous parts.) As things are, your device should also be unable to connect to pc from within nickel, if there is no sd inserted. Or does this work?
You say that the sd was out of the device for month. Did you never try to connect to pc during this time, or started the problem only recently?
As good forum member I did a search before reporting it.
But although essentially different, the behaviour described by ttrek was closest to what I saw. As such I thought I better describe it in case somebody else sees the same issue.

Connecting to a PC from within Nickel (and no KSM) and without an sd card never was a problem.

Cheers, Ben
BenVL is offline   Reply With Quote
Old 01-06-2017, 03:03 PM   #358
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 BenVL View Post
As good forum member I did a search before reporting it.
But although essentially different, the behaviour described by ttrek was closest to what I saw. As such I thought I better describe it in case somebody else sees the same issue.
I only tried to suggest that the problem is not related to having a newer/different kernel. If this were the case, I would have expect to see more reports of usb not working. But, of course, its possible that people have this problem and do not report.

Quote:
Originally Posted by BenVL View Post
Connecting to a PC from within Nickel (and no KSM) and without an sd card never was a problem.
This is strange, since KSM uses the same lines of code for checking the presence an the external sd as does nickel. Please keep us updated if you have further insights.
tshering is offline   Reply With Quote
Old 01-07-2017, 06:26 PM   #359
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
@tshering

Please, can you update your autoshelf on demand for ksm for AutoShelf_20160916?
In the old version of autoshelf I can do the changes but now with changes by frostschutz I don't know what is necesary for ksm apart initial variables.

Thanks in advance.
boriar is offline   Reply With Quote
Old 01-08-2017, 10:18 AM   #360
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
@tshering

Please, can you update your autoshelf on demand for ksm for AutoShelf_20160916?
In the old version of autoshelf I can do the changes but now with changes by frostschutz I don't know what is necesary for ksm apart initial variables.

Thanks in advance.
I added the new version here. Do not forget to back up your database before you test this version.
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 08:37 AM.


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