02-23-2020, 06:11 PM | #1 |
Member
Posts: 13
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo
|
Why do we need KSM etc.?
Hi All,
I am starting a rather ambitious project to add cloud library support to my Kobo Aura Edition 2. I am a software developer (although very heavily on the Microsoft side of things!). My local library has dropped overdrive support and I want to emulate that functionality with their new provider - if only to try making something new! I am still waiting for git to clone the official kobo repository (<1mbps ) and I will start by digging around there and reading on the forums. All that aside, why do all of the apps people are building (koReader, Kobo-UNCaGED etc.) all require KSM or Komon to be launched? Is it impossible to add our applications directly to the kobo OS? i.e. adding a new config section in settings? So far I see that the kobo repository offers a blackjack and poker example for building one's own applications - so I am assuming that it is "somewhat" encouraged to build one's own applications and therefore it should be possible to run them "natively"? I have installed koreader and KSM on my aura but I find the UI clunky and the stock Kobo experience just works for me, so I would like to try stick with that wherever possible. Otherwise if you have any tips for a budding Kobo developer, or feel that I need to change my mindset - please do feel free to set me straight ! Cheers merc |
02-23-2020, 07:00 PM | #2 |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
I seem to recall @NiLuJe and @geek1011 mentioning they were working on something to do with the kobo plugin system, but I don't know where they got with that.
Otherwise, I don't think anyone's figured out how to add stuff to Nickel (the main Kobo application). Those examples you mentioned are VERY old. I believe Nickel has changed a lot since then. Thus we have the kludges that are fmon/kfmon/KSM... |
02-23-2020, 07:14 PM | #3 |
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
|
Yup, that was a couple plugins API ago, and the current one is undocumented, hence the stall on that front . (I worked on the tooling bits, but I don't really do C++, so I can't really help much after that ^^. @geek1011 should be able to tell you more).
Take a look at the age of the stuff you're cloning, you probably don't need 99.99% of it. In fact, I'll save you some trouble: the only thing you might want to take a look at are the kernels. Other than that, possibly the lightly tweaked Qt 5.2 modules (but it won't really tell you much more than: it's Qt 5.2, so, eh), and that's it? Last edited by NiLuJe; 02-23-2020 at 07:18 PM. |
02-23-2020, 07:37 PM | #4 | ||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
And TBH, I didn't really do much C++ (or Qt for that matter) either until I started patching libnickel et al. If you have a GitHub account, I'll add you to the repo so you can take a look. There's still quite a few useful tidbits in there. The main reason why it isn't public yet is due to the lack of documentation (it's either scattered in PMs and comments, or in my head) and half-baked build scripts, and that I'm not quite finished with a example which works with most common stuff without segfaulting. I don't really expect to do much with it until the next FW version at the earliest, though. You might also find my kobo-mods repo interesting, if you're into LD_PRELOAD and linker stuff. Quote:
|
||
02-23-2020, 08:31 PM | #5 |
Member
Posts: 13
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo
|
WOW! You guys are fast! Dunno what TZ you're all in but it's nearly 2am here and I've been bashing my head against the Kobo TC for hours. Making some progress. But now I see it is all for naught. I even set up a fresh Debian box just to get it all going.
I did realise that it was all a bit ancient. I don't think those easter eggs even exist any more. But I figured not much had changed WRT Nickel. Guess I was very wrong! TBH I have NO experience with kernel development, C++ or QT. But - given working examples learn fast enough by modifying tweaking and observing. Hence trying to get those examples running. @geek1011 i would appreciate anything you can link me to that may be a better start! As it is my head is way too fuzzy to even type anymore. I will make contact tomorrow. Thanks everyone for the detailed and considerate responses! |
02-23-2020, 08:36 PM | #6 |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
It's mid afternoon for me here in NZ Thinks it's pretty early/late for the others though!
|
02-23-2020, 08:37 PM | #7 |
Member
Posts: 13
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo
|
|
02-23-2020, 09:33 PM | #8 |
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
|
I'm probably in a near-ish TZ as you, but then I'm kind of a night owl .
In the meantime, you can poke around our GitHub profiles (same usernames, except for sherman's which is @shermp on GH. I'd also add @baskerville & @frostschutz to the list), as well as the threads we've started here, that should give you a rough idea of what has been done, as well as what kind of stuff each of us took a shining to . Last edited by NiLuJe; 02-23-2020 at 10:36 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Playing with the KSM 09 webinterface | tshering | Kobo Developer's Corner | 130 | 03-23-2019 02:04 PM |
Help with KSM Update 2 on Clara HD | otaku2255 | Kobo Developer's Corner | 2 | 03-08-2019 05:10 AM |
KSM GUIDE CONFUSION | ohIdon'tknow | Kobo Developer's Corner | 2 | 10-13-2018 05:14 AM |
Aura How to install ksm and koreader | mhss | Kobo Reader | 0 | 01-17-2018 07:45 PM |
Greetings from KSM | ksmurali | Introduce Yourself | 4 | 05-25-2011 04:35 AM |