01-26-2015, 12:18 AM | #46 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
In order to write the print output to log file you need to change line 30 in the "applications/koreader.app" Code:
./reader.lua "$args" 2> crash.log Code:
./reader.lua "$args" 1> koreader.log 2> crash.log |
|
01-26-2015, 12:23 AM | #47 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
Code:
elseif vinfo.bits_per_pixel == 8 then self.bb = BB.new(vinfo.xres, vinfo.yres - 1, BB.TYPE_BB8, self.data, finfo.line_length + 8) else Code:
elseif vinfo.bits_per_pixel == 8 then self.bb = BB.new(vinfo.xres, vinfo.yres - 10, BB.TYPE_BB8, self.data, finfo.line_length + 8) else |
|
Advert | |
|
01-26-2015, 12:25 AM | #48 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
|
|
01-26-2015, 12:27 AM | #49 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
|
|
01-26-2015, 12:37 AM | #50 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
Probably I need to ping @hawhill on this topic. |
|
Advert | |
|
01-26-2015, 02:36 AM | #51 |
♫
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
vinfo.yres - 1 does already crash, -10 also (have not tested other steps.)
vinfo.yres/2 uses only the upper half, /4 only the upper 4th. vinfo.yres/1.01 looks perfect, although I am not sure if really all pixels are used. vinfo.yres/1.001 crashes again. On vinfo.yres/1.01 I had a problem at first, the msg "opening book 'filename.epub'." appeared, but nothing else happened. After I pressed a button it the msg disappeared and the book opened, I have to watch this to see if it happens agains. Right now it works on the Lux 2, does not look thin or anything, on a first sight it looks perfect! But I think "vinfo.yres/1.01" can't be the final solution, but at least it shows that it is working on Lux 2! |
01-26-2015, 02:44 AM | #52 |
Member
Posts: 19
Karma: 10
Join Date: Jan 2015
Device: InkPad 840, InkPad 740
|
I can confirm that - even on InkPad koreader is very often stuck at this message and i have to tap screen to go further. At least on PDFs.
|
01-26-2015, 02:45 AM | #53 |
♫
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
More info:
Sending the device to sleep seems to clear the screen which is not necessary since the PB firmware takes care of these things, but it wakes up fine and on the right position. (UPDATE: Like the second point below this depends on how you open the book. With Koreader as application it behaves as it should => screensaver shows the book cover from Koreader), with "open with" the screen gets blanked and then the zzzz appears (no zzzz on application sleep). There is a difference between opening a book through the PB library ("open with", not sure this exists on PB840 with firmware 5.4, it does NOT exist on PB Lux 2 with firmware 5.2, but it exists on 4.4) and opening Koreader itself and then opening a book. Through PB the position of the book is not remembered, books start from the beginning. Through Koreader itself (Filemanager) I need to press a button after "opening book" message (else the msg does not go away), but then the position is fine. Through PB I don't need to press the button, the book opens fine by itself. Last edited by WS64; 01-26-2015 at 03:04 AM. |
01-26-2015, 03:45 AM | #54 | |
Wizard
Posts: 3,009
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
By the way, I also have to press a button the first time something is opened before it appears on the screen. |
|
01-26-2015, 05:47 AM | #55 |
Connoisseur
Posts: 84
Karma: 1142796
Join Date: Jul 2009
Device: Sony PRS 350, Kobo mini, PB mini
|
yres-8 and line_length+8 generate a perfect, full-screen, non-rotated page image in the PB mini.
Now with this solved I realize, that with a non-touch reader, there are no buttons other than page forward/backward available which limits the usability of koreader to paging through a book. No menus, not even closing the book is possible ... Are there more key codes hidden in the code or is it simply a touch-only implementation? |
01-26-2015, 06:05 AM | #56 |
♫
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
@sadowski, I am very sure this can be configured within Koreader.
I can't tell for sure since I only used koreader so far on Kobo devices without any buttons, so I never even cared for those. I wonder where to configure this though too, since the up and down keys page into the wrong direction in my beloved upside down landscape view. i know I could reassign the buttons within PB itself, but then they would work the wrong way in the other readers too. So I hope I can swap them somewhere within Koreader... To close Koreader, on the Lux you can at least use a long tap on both "up"+"down" to close the actual application (in this case Koreader)... |
01-26-2015, 05:07 PM | #57 |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2009
Device: Pocketbook 360, 622, 630
|
Does someone know when/if Pocketbook will release an SDK for the Pocketbook Sense (630)?
I've built koreader with their current SDK (481), but the reader crashes with a segmentation fault, so I assume the SDK needs to be updated for that particular reader. |
01-26-2015, 06:26 PM | #58 |
Wizard
Posts: 3,009
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Maybe it's not a problem with the SDK. @chrox mentioned that they use very little functionality from libinkview. Anyway, the SDK is not something PocketBook have spent much effort on recently, so I wouldn't hold my breath waiting for an update. I'm just grateful they released what they did.
|
01-27-2015, 02:38 AM | #59 |
♫
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Did someone else notice that Koreader is really really slow on PB? Things that needs CPU like opening a book for the very first time or searching for books takes WAY longer than I am used to it on Kobo devices. I am talking about things that take 30 seconds on Kobo and something like 20 minutes(!) on PB.
I know the hardware is slower, and especially just 256MB computer memory (not storage!), not sure how much the Kobo devices have here. It also might be that the multitasking of PB slows things down, I really hope there is a way to speed things up a little! |
01-27-2015, 04:43 AM | #60 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Dec 2009
Device: Pocketbook 360, 622, 630
|
Quote:
|
|
Tags |
calibre, epub, koreader, pb742, pdf, pocketbook |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
CBZ plugin interaction with FB2/DjVu plugins - First try at pinpointing | MrWarper | iRex | 2 | 12-11-2011 05:46 AM |
Raccoon Reader - reads ePub, fb2, fb2.zip, txt on WP7 for free | Andrei_Shvydryk | Reading and Management | 0 | 10-31-2011 03:17 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 08:16 PM |
New PDF to LRF Tool (for DJVU and CBZ files too) | RWood | Sony Reader | 0 | 08-29-2007 02:13 PM |