12-07-2012, 09:48 AM | #16 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
@Iņigo
Hi, and thanks again for your effort. Set BBox is meant for pdf and djvu only, but as Librerator is still unfinished, I didn't bother with turning it off in crereader yet. As for selecting font, the reason is similar - still didn't add it for crereader (component responsible for epub and fb2 files). I focused mostly on pdf for start - I hear that Cool Reader 3 is superior for handling epub/fb2 anyway (I don't have much need for fb2/epub atm, so I didn't use Cool Reader 3). I will try to fix it eventually, though. I'm glad that it finally works, but I can't even look at the code until I get home. I do hope that you'll still find it useful even with the above mentioned problems. Last edited by Kai771; 12-07-2012 at 09:51 AM. |
12-07-2012, 10:00 AM | #17 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Thanks for your work, Iņigo |
|
Advert | |
|
12-07-2012, 11:37 AM | #18 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tũr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
6) Edit file commands.txt in /mnt/us/cr3 folder on your Kindle. Add this line at the end:
/mnt/us/librerator/;librerator.sh;/mnt/us/documents;Librerator should definitely be /mnt/us/librerator;librerator.sh;/mnt/us/documents;Librerator (no trailing slash) Though it will make no difference. Should launch regardless |
12-07-2012, 12:35 PM | #19 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
@twobob
Yeah, you're quite right. I made a mistake. I'll correct it in the first post immediately. I'm home now, and will try to fix the issues that prevented it from starting on K4NT out-of-the-box (as well as those crashes). I do get constantly interrupted, so it might take a while . It will be really helpful if someone with K4NT could try it out later. Btw, how do you like Librerator? |
12-07-2012, 12:50 PM | #20 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tũr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
If I am honest? so far all I did was look over your startup script via CR3runner...
Since I was working in the area. : ) When I have a play I will say |
Advert | |
|
12-07-2012, 06:51 PM | #21 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
Ok, I fixed the problems that Iņigo reported, and now it should run on K4NT out-of-the-box (hopefully - I did it in a different way, so until someone tests it... nothing is certain). In InfoMessage:getSoundVolume() there is a check for device model now, and if it’s not Kindle2, KindleDXG or Kindle3 it will return 0. That part I think is fine.
The other part, with Screen:updateRotatateMode(), I also tried to solve by checking the device model first, and executing it if it’s Kindle2, KindleDXG and Kindle3, and skipping it if it’s not. If I didn’t mess something up, this should allow it to start. However, this code is used to check and save device’s orientation on starting Librerator, so it can be restored on exit. The fact that it crashes with it enabled means that K4NT handles rotation differently. I didn’t have much time to try and find how it’s done on K4NT, so this is a workaround for now. It should all be fine if you start Librerator from a normal portrait orientation. If you try to start it from landscape, things might get funky when you try to exit Librerator. All should be fine if you start and exit it in portrait mode, but I’d still like someone to test what happens if you don’t, too. Also, someone please check if normal rotation within Librerator works on K4NT. (Assuming, of course, that I didn’t mess something up and that you’re able to start it). I also made a lot of other changes. Crereader (epub/fb2 files) should be fully supported now (to the extent KPV supports it - of course, that too if I didn’t mess something up and missed something). You should be able to change font, font size and line spacing, goto now works properly, bookmarks too, and it shouldn’t crash when you try to set bbox now. You can download the prerelease.2 here: https://github.com/kai771/kindlepdfviewer/downloads Last edited by Kai771; 12-07-2012 at 08:28 PM. |
12-07-2012, 07:06 PM | #22 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
"KPV" on the K4NT - that's a huge success. Librerator is a great project! Ah, open source software at work again, that's what I love about it :-)
|
12-07-2012, 07:52 PM | #23 |
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
@hawhill
Thanks a lot hwhw. I'm really glad you like it. |
12-07-2012, 08:19 PM | #24 |
Addict
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
|
Oh, for eink in K4, there is no "/sys/module/eink_fb_hal_broads/parameters/bs_orientation" anymore, so you we cannot read from it.
I added a new method "getOrientation" for einkfb.c to handle this for all models: https://github.com/houqp/kindlepdfvi.../einkfb.c#L424 Use that for screen.lua should work |
12-08-2012, 01:31 PM | #25 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Hi Kai771,
Tested .2 in my K4NT. It starts perfectly now. Some comments: - I can change font familiy, font size and spacing. But all this information is stored per file not globally. I would prefer global settings - Compared with cr3, I miss the small topbar with info about time, battery level and, specially, the progress bar with marks per chapter (see screenshot in [1]). And the fullscreen mode. Going to menu -> Info is not as fast, and I like seeing this info on screen - As in cr3, it would be nice to make cursor up/down mapped to prev/next section/chapter - Lines at bottom or/and top are cut Regarding screen rotation: starting app in landscape shows app in portrait mode, but after quitting program, screen got scrambled and I needed a hard reset. Thanks, Iņigo [1] http://www.pictureshack.ru/view_4560screenshot7.jpg |
12-08-2012, 03:42 PM | #26 | ||||||
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
@dave2008
Thank you very much for giving me pointers. Before I decided to use a workaround that ended up in prerelease.2, I did take a look at the code of KPV new_ui_code branch. I then tried to replace screen.lua, and use the version from new_ui_code in LBR. That was probably too naive of me. It did start and worked fine on my K3 - until I tried to use rotation. Using rotation left me with a garbled up screen and I had to do a hard reset . I then decided to use the above mentioned workaround for the time being, especially with my history of missing stuff . Thanks again for pointing me in the right direction. I will try to sort it out when I have some more time. @Iņigo Hi, and thank you very much for taking the time to test LBR again. I really appreciate your comments. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Looking at your picture of CoolReader 3, it does look really nice. Top bar aside, LBR/KPV can't display footnotes like this. LBR/KPV's forte is pdf/djvu (especially since chrox added reflowing). And if I may say, there's nothing better for reading manga on Kindle (but that's my personal opinion ) Last edited by Kai771; 12-08-2012 at 03:47 PM. |
||||||
12-09-2012, 02:25 PM | #27 |
Addict
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
|
Any K4 user here can do a "eips -i" on their kindle for me? I want to modify part of the eink control module and need the output of the command. Many thanks
|
12-09-2012, 02:44 PM | #28 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
I guess, K4 should be recognized by framebuffer id (K4 -- eink_fb, KT/PW -- mxc_epdc_fb). |
|
12-09-2012, 03:51 PM | #29 | ||||
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Hi,
Quote:
Quote:
Quote:
I think libreratot does not use next keys on K4NT: "keyboard", "left", right", "enter", "home". I miss these actions & keybindings: next/prev chapter, toggle_fullscreen (= toggle_infobar) Quote:
Thanks again for your work, Iņigo |
||||
12-09-2012, 03:52 PM | #30 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Code:
[root@kindle us]# eips -i Fixed framebuffer info id: eink_fb smem_start: 0xD0B8E000 smem_len: 966656 type: PACKED_PIXELS type_aux: 0 visual: STATIC_PSEUDOCOLOR xpanstep: 0 ypanstep: 0 ywrapstep: 0 line_length: 600 mmio_start: 0x00000000 mmio_len: 0 accel: 0 Variable framebuffer info xres: 600 yres: 800 xres_virtual: 600 yres_virtual: 800 xoffset: 0 yoffset: 0 bits_per_pixel: 8 grayscale: 1 red.offset: 0 green.offset: 0 red.length: 0 green.length: 0 red.msb_right: 0 green.msb_right: 0 blue.offset: 0 transp.offset: 0 blue.length: 0 transp.length: 0 blue.msb_right: 0 transp.msb_right: 0 nonstd: 0 activate: 2 width: 91 height: 121 accel_flags: 0 pixclock: 0 left_margin: 0 right_margin: 0 upper_margin: 0 lower_margin: 0 hsync_len: 0 vsync_len: 0 sync: 0 vmode: 0 rotate: 0 Iņigo |
Tags |
application, epub, fb2, pdf, reader |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multi format 'Add' help | fixit4u | Library Management | 1 | 04-21-2012 11:54 AM |
I have a Kindle, can I order books other than Multi-format | chilady1 | Amazon Kindle | 3 | 01-19-2010 05:46 PM |
fictionwise multi-format... except .mobi | demoric | Amazon Kindle | 4 | 10-02-2009 01:05 PM |
Multi-format Reader | theplotthickens | Which one should I buy? | 5 | 05-04-2009 04:19 AM |
Master Format for multi-format eBook Generation? | cerement | Workshop | 43 | 04-01-2009 01:00 PM |