Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2013, 02:00 AM   #31
BWinmill
Wizard
BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.
 
Posts: 1,757
Karma: 14842230
Join Date: Sep 2011
Device: Sony PRS-T1
Quote:
Originally Posted by Ken Maltby View Post
To get out of that nonfunctional display, I have to plug in the USB cable connected to my PC and poweroff. Just using the poweroff doesn't work.
Powering off does work, at least on my unit.

If you want to verify that powering down without the USB rigmarole works on your unit, I suggest turning the light on before starting koreader. Let it do the whole screen corruption bit, then try shutting down by holding the power switch for several seconds. When it's off, the light will turn off. (I suggest turning the light on simply because it gives some feedback when the unit turns off.)

As for the [X] in the corner, I think the button is too small and too close to the edge to register the tap.
BWinmill is offline   Reply With Quote
Old 07-02-2013, 03:52 AM   #32
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
On the glo the x is clickable, you just have to stay as close as possible to the screen border. However it is possible that on the aura the x becomes too small given the higher res. Regarding the screen corruption I wouldn't know how to debug it since I'm not affected. Could someone give feedback for a Glo?
giorgio130 is offline   Reply With Quote
 
Enthusiast
Old 07-02-2013, 03:56 AM   #33
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
I'd like a confirm of what I could infer from the pictures above: it seems like the lower part of the screen does not update anymore after the first time. Is this right? Could be that the screen gets rotated somehow.
giorgio130 is offline   Reply With Quote
Old 07-02-2013, 04:44 AM   #34
ewphoenix123
Zealot
ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'ewphoenix123 understands when you whisper 'The dog barks at midnight.'
 
Posts: 146
Karma: 42238
Join Date: Oct 2012
Device: PRS-500, PRS-700, PRS-650, PRS-T1, Kobo Glo, Kobo Aura HD
Yep the lower part is not affected.

My theory so far was that some part of the code writes the screen with a fixed 1024 height, and an automatic 100% width, which causes a broken ratio on the Aura, causing the fragments.

Probably the menu code, or whatever else shows up on the screen after you touch a folder to open it.

I don't have a glo here atm so I can't look what it should look like. .(
ewphoenix123 is offline   Reply With Quote
Old 07-02-2013, 06:53 AM   #35
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
my guess instead is that the upper corrupted part extends until "y = x_res", if you get what I mean... so in the mini the upper 600 pixels get corrupted, and in the Aura whatever is the x resolution. I don't get why this is not happening on glo though. I have something in mind that could solve this, I'll upload a new build later...
giorgio130 is offline   Reply With Quote
Old 07-02-2013, 07:37 AM   #36
cgm999
Enthusiast
cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.
 
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
on Aura it works to run directly with pdf file(either from ssh or from launcher):

[root@(none) ~]# /mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard/test1.pdf


(maybe it wants to switch landscape - then back)

edit:
something else is going on, now that I've run it with arg /mnt/onboard I can select file and it just works! Need to do more testing

Last edited by cgm999; 07-02-2013 at 07:43 AM.
cgm999 is offline   Reply With Quote
Old 07-02-2013, 07:42 AM   #37
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
That's great to know, thanks!
giorgio130 is offline   Reply With Quote
Old 07-02-2013, 07:55 AM   #38
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 502
Karma: 504888
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / Bookeen Frontlight / Kobo Mini / Kindle 3 / Nook Color
I tried cdm999's test too and started it from the Kobo Launcher with a book instead the path to the home directory, but actually I tried it with an epub (I have no PDFs on my Mini).
It opened the book (I could see the cover), but the next touch on the screen damaged the screen again. No change after a reboot at the File Manager, the first touch always distortes the screen.
WS64 is offline   Reply With Quote
Old 07-02-2013, 12:40 PM   #39
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
I think @cgm999 meant that the second time you start it from ssh the screen is updated correctly. That is quite strange, but you could probably obtain the same behaviour by changing koreader_kobo.sh with this:
Code:
#!/bin/sh
export LC_ALL="en_US.UTF-8"

# we're always starting from our working directory
cd /mnt/onboard/.kobo/koreader/

# export trained OCR data directory
export TESSDATA_PREFIX="data"

# export dict directory
export STARDICT_DATA_DIR="data/dict"

# stop nickel
killall nickel

# finally call reader
./reader.lua "$1" 2> crash.log &
sleep 1
killall reader.lua
./reader.lua "$1" 2> crash.log

# continue with nickel

reboot
basically the change is, we're starting koreader, wait 1 sec and then closing it, and reopen another instance (that would hopefully work).
Please test this and let me know!
giorgio130 is offline   Reply With Quote
Old 07-02-2013, 04:16 PM   #40
cgm999
Enthusiast
cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.
 
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
It seems that KoboLauncher somehow affects koreader on Aura. Here is a test that can be tried:

rename /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh to KoboLauncher.sh-old then put in /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh :

#!/bin/sh
/mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard


this will make that when you click on the Launcher png it will start directly koreader(to poweroff after this long trag the power buton then trag it back).
cgm999 is offline   Reply With Quote
Old 07-02-2013, 04:57 PM   #41
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 502
Karma: 504888
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / Bookeen Frontlight / Kobo Mini / Kindle 3 / Nook Color
cgm999, confirmed, this way it works without prolems!
WS64 is offline   Reply With Quote
Old 07-02-2013, 05:02 PM   #42
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 288418
Join Date: May 2011
Device: Kobo Glo and Aura HD
Very nice job I am still starting koreader through telnet to test under 2.6.1 so I couldn't notice the thing. I'll try to investigate why this is happening.
giorgio130 is offline   Reply With Quote
Old 07-02-2013, 05:21 PM   #43
cgm999
Enthusiast
cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.
 
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
Is it possible that x/y are swapped?

from normal/KoboLauncher:

/sys/devices/platform/mxc_epdc_fb/graphics/fb0/
bits_per_pixel:16
dev:29:0
modes:U:1440x1080p-0
modes:U:1440x1080p-0
name:mxc_epdc_fb
pan:0,0
rotate:2
state:0
stride:2880
uevent:MAJOR=29
uevent:MINOR=0
ueventEVNAME=fb0
virtual_size:1440,2304


from koreader:
/sys/devices/platform/mxc_epdc_fb/graphics/fb0
[root@(none) fb0]# grep . *
bits_per_pixel:8
dev:29:0
modes:U:1080x1440p-0
modes:U:1440x1080p-0
modes:U:1440x1080p-0
name:mxc_epdc_fb
pan:0,0
rotate:3
state:0
stride:1088
uevent:MAJOR=29
uevent:MINOR=0
ueventEVNAME=fb0
virtual_size:1088,3072


To me in koreader text is not as sharp as in Kobo native reader(again on Aura) . Any ideea why ?
cgm999 is offline   Reply With Quote
Old 07-02-2013, 08:56 PM   #44
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: 2,743
Karma: 3761329
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite, AuraHD, PDA, Eee Transformer
Quote:
Originally Posted by cgm999 View Post
It seems that KoboLauncher somehow affects koreader on Aura. Here is a test that can be tried:

rename /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh to KoboLauncher.sh-old then put in /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh :

#!/bin/sh
/mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard


this will make that when you click on the Launcher png it will start directly koreader(to poweroff after this long trag the power buton then trag it back).
I must have something wrong, it just acts like its only a .png image.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 07-02-2013, 10:06 PM   #45
BWinmill
Wizard
BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.BWinmill ought to be getting tired of karma fortunes by now.
 
Posts: 1,757
Karma: 14842230
Join Date: Sep 2011
Device: Sony PRS-T1
Quote:
Originally Posted by Ken Maltby View Post
I must have something wrong, it just acts like its only a .png image.
I ran into the same problem, and ended up removing the various bits of KoboLauncher then reinstalling everything. The problem is that I went through the process the first time without really following the instructions, while I followed the instructions to the letter the second time around. (I think that it's exploiting some sort of quirk in the system, so achieving the same end result on the filesystem isn't the same thing as achieving the same result functionally.)

Maybe you're running into the same issue?
BWinmill is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Native KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 503 Today 06:26 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 04:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 02:10 PM
Touch Using two Kobos tkavan Kobo Reader 2 09-15-2012 08:37 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 08:25 AM


All times are GMT -4. The time now is 10:21 AM.


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