Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2010, 08:25 PM   #46
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
yep.

Quote:
Originally Posted by CoolDragon View Post
I am annoyed by this 2 columns icon view too, so I switched to list view. Maybe there is something we can do in CTB to fix this.
EDIT: ok, solved. Edit /usr/share/ctb/ctb.rc and change lines 57 and 58:

Code:
    erGtkIconView::item-width       = 195
    erGtkIconView::item-height      = 195
to:

Code:
    erGtkIconView::item-width       = 175
    erGtkIconView::item-height      = 175
Maybe a higher value is better, maybe 185...


Quote:
Originally Posted by CoolDragon View Post
Maybe something related to popupmenu.
popupmenu/src/dialog.c file, lines 53-81.

Take a look at https://inigo.katxi.org/ereader/dr80...8c_source.html

Last edited by Iņigo; 06-18-2010 at 09:06 PM.
Iņigo is offline   Reply With Quote
Old 06-18-2010, 08:30 PM   #47
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
Also the beginning of splash.c
CoolDragon is offline   Reply With Quote
Advert
Old 06-18-2010, 09:09 PM   #48
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
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:
Originally Posted by CoolDragon View Post
Also the beginning of splash.c
I think that file is only a test.

Btw, I propose you a treat: I provide you a solution for the 3 columns issue for a new compilation of popupmenu with this fixed

ok, ok, look at my previous message, I've edited it and added the solution
Iņigo is offline   Reply With Quote
Old 06-19-2010, 04:38 AM   #49
repods
Addict
repods is on a distinguished road
 
Posts: 225
Karma: 72
Join Date: Jan 2010
Device: irex DR-800S, M92S
Quote:
Originally Posted by CoolDragon View Post
Why don't you post what you have found out? You said something "legal" and wanted to write an application to enable continuous/page flow but you never said what you are trying to do.

Anyway, someone, after trying out my hacking way, found out that "page flow" and "full screen" can be achieved with the DR800's original uds. All you need to do is setting the property in the SQLite database.
ok .. you reached the real stuff..
this is what I mean..
luckily for us in irex design fullscreen and page flow continuous are attributes of the single books, just like last page read, zoom level and scribbles..
and are stored in metadata.db under the books directory in the sd card
so all you need to do to test full screen and the like, is simply to open that file with any sqlite3 manager app, update the right filelds and save it back..
you don't even need to touch the original firmware at all..

this is moreover the only right way.. infact to use the dr1000 uds is good to set easily those fields, but it's not good to actually show the documents on dr800, infact it's slower, most likely it's not optimizated for dr800 cpu and cache, has some screen sincronization problems (double refresh) and doesn't show things exactly how they should be shown..
instead the original uds performs very well...

so the next right thing for us to do is to write an app for dr800 to set easily those fields on a per book basis.. or to modifiy some open source part of the dr800 firmware.. the first solution should not be very difficult considering that in dr800 we already have a libermetadb to access metadata.db
obviously if irex guys could put all this inside uds, that would be the best solution..

beside this what I still would like to have is the flip bar working right in panning mode: I don't like at all continuous mode in portrait mode.. and there is still the double refresh issue.. but obtaining this is a bit more difficult and requires more study and time..
repods is offline   Reply With Quote
Old 06-19-2010, 04:42 AM   #50
repods
Addict
repods is on a distinguished road
 
Posts: 225
Karma: 72
Join Date: Jan 2010
Device: irex DR-800S, M92S
Quote:
Originally Posted by Shaggy View Post
Comparing relative sizes of two binaries doesn't mean a whole lot.

.
most likely it means that full screen and continuous page mode features are already built in dr800 firmware

Last edited by repods; 06-19-2010 at 04:45 AM.
repods is offline   Reply With Quote
Advert
Old 06-19-2010, 04:48 AM   #51
repods
Addict
repods is on a distinguished road
 
Posts: 225
Karma: 72
Join Date: Jan 2010
Device: irex DR-800S, M92S
Quote:
Originally Posted by CoolDragon View Post
Also the beginning of splash.c
btw guys ..
in your development consider that the original uds after some page reads (about 10) write again on metadata.db for some reasons and reset the fullscreen and continuous fields..
repods is offline   Reply With Quote
Old 06-19-2010, 10:08 AM   #52
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
Quote:
ok .. you reached the real stuff..
this is what I mean..
luckily for us in irex design fullscreen and page flow continuous are attributes of the single books, just like last page read, zoom level and scribbles..
and are stored in metadata.db under the books directory in the sd card
so all you need to do to test full screen and the like, is simply to open that file with any sqlite3 manager app, update the right filelds and save it back..
you don't even need to touch the original firmware at all..
I have already reported this in a previous post. Writing an app on DR800 should be super easy, but not my interest for now. And this is not an assumption, see http://www.hi-pda.com/forum/viewthre...extra=page%3D1. Someone has already modified the CTB to control these properties for PDF files. But uds seems to read the cached properties so you have to reboot to somehow force re-indexing to make the new property work.

Quote:
this is moreover the only right way.. infact to use the dr1000 uds is good to set easily those fields, but it's not good to actually show the documents on dr800, infact it's slower, most likely it's not optimizated for dr800 cpu and cache, has some screen sincronization problems (double refresh) and doesn't show things exactly how they should be shown..
instead the original uds performs very well...
Other than double refresh, I haven't noticed any other problems. They both use the same CPU and RAM amount, so it should be very close. Not to mention the much better power management of dr800.

Quote:
beside this what I still would like to have is the flip bar working right in panning mode: I don't like at all continuous mode in portrait mode.. and there is still the double refresh issue.. but obtaining this is a bit more difficult and requires more study and time..
This would be hard, since event is handled by uds which is not open sourced, unless you modify the binary.

Quote:
btw guys ..
in your development consider that the original uds after some page reads (about 10) write again on metadata.db for some reasons and reset the fullscreen and continuous fields..
Interesting.

Last edited by CoolDragon; 06-19-2010 at 05:08 PM.
CoolDragon is offline   Reply With Quote
Old 06-19-2010, 10:13 AM   #53
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
OK, updated popupmenu, minor tweaks:
1. Icon view 3 column (thanks Inigo, 185 works!, copy ctb.rc to /usr/share/ctb/)
2. Text position when booting and connected to PC
3. Status bar icon selection, I like the "close" button
4. Menu bar, removed sensor lock and eject sd card
5. "Folder" -> "Explorer" in taskbar/tab
Attached Files
File Type: zip popupmenu.zip (28.8 KB, 248 views)
CoolDragon is offline   Reply With Quote
Old 06-19-2010, 10:24 AM   #54
yacoob
Zealot
yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.
 
yacoob's Avatar
 
Posts: 120
Karma: 1326
Join Date: Feb 2009
Device: none
CoolDragon, perhaps it would be useful if you could also publish your changes to the code (either as set of changed files or diff). Or perhaps just set up a github repository, so in case something breaks, we can easily compare the changes?
yacoob is offline   Reply With Quote
Old 06-19-2010, 10:54 AM   #55
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by yacoob View Post
CoolDragon, perhaps it would be useful if you could also publish your changes to the code (either as set of changed files or diff). Or perhaps just set up a github repository, so in case something breaks, we can easily compare the changes?
Sure and I should actually (according to GPL). Somebody can set up a github repository? Haven't used it personally.
Attached Files
File Type: tar popupmenu.src.tar (180.0 KB, 249 views)
CoolDragon is offline   Reply With Quote
Old 06-20-2010, 04:38 PM   #56
yacoob
Zealot
yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.
 
yacoob's Avatar
 
Posts: 120
Karma: 1326
Join Date: Feb 2009
Device: none
Is there a thread that discusses this fiddling in more detail? I found some promising entries in application_data sqlite3 database ("uds_page_flow" and "uds_full_screen" in application_data), but setting those to '1' resulted in irex emulator saying that "unexpected error has occured".

Also, the entries in this db seem to be created after one opens a file for the first time - so flipping those bit from the device might be a bit unwieldy (open a new book, flip the bits, go back to book...).

Disclaimer: The only thing I've played with was the emulator - I don't have a device handy to test things.
yacoob is offline   Reply With Quote
Old 06-20-2010, 04:57 PM   #57
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
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:
Originally Posted by yacoob View Post
Is there a thread that discusses this fiddling in more detail? I found some promising entries in application_data sqlite3 database ("uds_page_flow" and "uds_full_screen" in application_data), but setting those to '1' resulted in irex emulator saying that "unexpected error has occured".

Also, the entries in this db seem to be created after one opens a file for the first time - so flipping those bit from the device might be a bit unwieldy (open a new book, flip the bits, go back to book...).

Disclaimer: The only thing I've played with was the emulator - I don't have a device handy to test things.
There is a link in CoolDragon's message #52 to a Chinese forum.
It's quite interesting. Googlechrome translation is good enough.
Iņigo is offline   Reply With Quote
Old 06-20-2010, 06:35 PM   #58
yacoob
Zealot
yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.yacoob is no ebook tyro.
 
yacoob's Avatar
 
Posts: 120
Karma: 1326
Join Date: Feb 2009
Device: none
I've poked around, but I cannot get metadata.db to be populated with data. Apparently some r/w cache sits inbetween, and isn't that eager to dump the state. The file got updated after I've added some content to the reader and ran '/etc/init.d/xserver-nodm restart' (obviously), but afterwards, no updates. both file_metadata and application_data tables remain empty.

And answering your earlier question, Iņigo, strace is there
yacoob is offline   Reply With Quote
Old 06-21-2010, 12:39 PM   #59
Shaggy
Wizard
Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.
 
Shaggy's Avatar
 
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
Quote:
Originally Posted by repods View Post
most likely it means that full screen and continuous page mode features are already built in dr800 firmware
They probably are, but file sizes are not a good way to tell. Drawing conclusions from that alone is probably not the best habit to get in.
Shaggy is offline   Reply With Quote
Old 06-21-2010, 02:00 PM   #60
repods
Addict
repods is on a distinguished road
 
Posts: 225
Karma: 72
Join Date: Jan 2010
Device: irex DR-800S, M92S
Quote:
Originally Posted by Shaggy View Post
They probably are, but file sizes are not a good way to tell. Drawing conclusions from that alone is probably not the best habit to get in.
I would like to dissent..
repods is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR800 "page view continuous" mode disabled CoolDragon iRex 50 06-13-2010 04:22 AM
PRS-900 Single page in landscape mode? leonardfrye Sony Reader 2 03-25-2010 08:29 AM
iLiad continuous mode and column view in ipdf alanine iRex Developer's Corner 16 01-29-2009 05:11 PM
PRS-505: Page flip keys in landscape mode? Juggle4Evr Sony Reader 4 01-19-2009 06:51 PM
Any way to avoid half page mode in landscape? Greg G Sony Reader 4 10-06-2006 07:23 PM


All times are GMT -4. The time now is 01:40 AM.


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