Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-18-2014, 09:54 AM   #16
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by rupor View Post
@knc1

I looked at linaro before building my own - 2 points here. First it is 32 bits hosted and I wanted 64 bits (call me nut). Second - I build softfp, not "soft float". It is not the same as ARMel - are you trying to confuse matters on purpose?
All you have to do is open the spoiler.
The differences in configuration are clear, there should be no confusion introduced.
knc1 is offline   Reply With Quote
Old 09-18-2014, 04:04 PM   #17
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
Just one Q: since you appear to be building against the lab126 kernel, did you have to mangle it in any way to get it to behave? I haven't done this in a long time (I usually fall back on the nearest long-term kernel release), but some of them needed some tinkering to behave nicely as a kernel header 'provider' .

- - - - -
I think that still requires the external "nads" module.

I.E: You need go-nads to interface directly with the lab126 kernel headers.
knc1 is offline   Reply With Quote
Advert
Old 10-01-2014, 01:18 PM   #18
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
Bumping this thread a bit....

I posted go program (see first message) which may serve as an example, but is fully functional (or so I hope). It has functionality similar to some of barsanuphe's LibrarianSync but without its dependencies. It does not require python and runs without KUAL (see readme, basically I am using /etc/lipc-daemon-events.conf to run it after every fullscan).

Hopefully somebody may find this useful.
rupor is offline   Reply With Quote
Old 10-01-2014, 03:42 PM   #19
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by rupor View Post
basically I am using /etc/lipc-daemon-events.conf to run it after every fullscan
JFYI: you can avoid editing /etc/lipc-daemon-events.conf by using lipc-wait-event program provided by stock firmware (lipc-wait-event -h is suffuciently helpful). Search for lipc-wait-event in this subforum also brings useful information.

Or use underlying library directly: Openlipc (though, unfortunately, that project misses event subscribing function prototype). Or instead of reverse-engeneering liblipc.so, yo can link to Lua and use Kindle_Touch_Hacking#LIPC_Lua_bindings.
eureka is offline   Reply With Quote
Old 10-01-2014, 03:49 PM   #20
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
@eureka

Thank you for the info!

I have seen lipc-wait-event - it is quite useful in a script, but than something has to start this script and keep it running The same I think is true for linking with liblipc.so - my program has to be running and than it could register a handler and listen for the event (I will have to use upstart I think - unless there is a way to ask lipc to take care of my program lifetime). By editing a single line of /etc/lipc-daemon-events.conf I could easily avoid all of that, reduce memory footprint and simplify my code, so usage of lipc-daemon this time was intentional.

Last edited by rupor; 10-01-2014 at 03:52 PM.
rupor is offline   Reply With Quote
Advert
Old 10-03-2014, 12:09 PM   #21
kaznelson
Old Kaz
kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.
 
kaznelson's Avatar
 
Posts: 206
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
The KAL extension for KUAL:
- to unpack archive kal_0.1.tar.gz in a folder /extensions;
- to unpack archive kual_kal_0.1.zip in a folder /extensions;
- use new menu "Collections from folders".
Attached Files
File Type: zip kual_kal_0.1.zip (2.6 KB, 120 views)
kaznelson is offline   Reply With Quote
Old 10-03-2014, 06:25 PM   #22
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
Thank's for your help - we could even combine this with the next dump for the time being, however my idea would be to have device, which does not have kual installed Despite its great utility it is difficult to explain to 80 year old what kual is and does, so I really would like to have something which simply runs and is not really visible to the user... Not sure that I will be able to achieve this, but (time permitting) will try.

I updated my package (I think I found some problems with error processing)

Last edited by rupor; 10-03-2014 at 09:13 PM.
rupor is offline   Reply With Quote
Old 10-08-2014, 08:15 PM   #23
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
Added proper install and uninstall .bin (based on NiLuJe's code). Package now includes KUAL extension (useful if something goes wrong).
rupor is offline   Reply With Quote
Reply

Tags
golang


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which one are you ordering: PW2 wifi or PW2 3G jocampo Amazon Kindle 37 08-18-2014 10:48 AM
BASIC programming Zeke Deals and Resources (No Self-Promotion or Affiliate Links) 7 03-30-2012 04:19 PM
Programming Language inquiry ugonkwocha Calibre 1 01-05-2011 08:49 AM
Programming language code snippets in ebooks? Connochaetes Writers' Corner 7 10-18-2010 02:43 PM
Programming language for development Pablo Workshop 35 09-02-2009 11:28 AM


All times are GMT -4. The time now is 12:32 AM.


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