07-08-2013, 10:19 PM | #121 | |
Nameless Being
|
Quote:
Please don't frown upon Kobo for their lack of response to specific requests. They are probably doing what they think is best for their product and their business. Please do offer some sort of appeciation for those who are extending Kobo's hardware to our specific requests, because they have provided us with both a product (koreader) and the tools to improve that product (open source, and in a scripting language which makes it more accessible for semi-technical users to contribute). |
|
07-08-2013, 10:47 PM | #122 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
We certainly must credit Kobo with bringing the device to market in the first place, in my case I have credited them three times, and think the credit they have received at the pricing they established ought to satisfy them. The others you mention are more deserving, in my mind. But the main reason I was pointing out Kobo's (probably fiscally prudent [see I didn't say greedy]) lack of response to issues of interest to their customers, was to point out the progress addressing those issues by the KoReader. I doubt that all those who have raised those issues and the likely larger number who also wished for those features/fixes, are aware of the strides made already.
Luck; Ken |
Advert | |
|
07-08-2013, 11:55 PM | #123 | |
Nameless Being
|
Quote:
Yet I also believe that Kobo deserves a bit more credit than they seem to receive at times. As far as I can tell, Kobo is a much more open system than its direct competitors. Modifying a Kobo device does require using a few tricks, but they are remarkably easy tricks to figure out. Once you figure out the basic trick (namely, how to obtain a firmware update) almost anything that a software hacker would want to play with is well documented by third parties. Yes, things could be better. On the otherhand, my recollections of my Kindle were that it's a hands-off device. I used mods to be sure. Yet I could not create my own mods nor modify the mods. Overall, I wish that Kobo could meet my needs (and your needs) directly. Realistically though, I realize that we are both outliers. Realistically, I realize that my skills aren't quite up to par to do the deep modifications myself, so I depend upon others to do so. When I noticed that koreader was mostly based upon Lua though, I was overjoyed. I don't know the language, but I recognize that it is an interpreted language and it's far easier to tweak software based upon interpreted languages than compiled ones (e.g. there is no development environment to setup). So kudos to everyone. Slightly more so for the modders because I respect what they're doing, but a great deal of credit should go out to Kobo for making their lives easier. |
|
07-09-2013, 02:25 AM | #124 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
I did not notice that in koreader epub my mod is not showing up, will see why is that and hopefully fix .
How about the Kobo devices with lower resolution?800x600 and 1024x7xx , what issues do we have for those ? giorgio: let me know if you need any help with getting this last mods into koreader trunk |
07-09-2013, 04:34 AM | #125 |
Wizard
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
thank you - and to you all, it is great to see this thread growing and growing. As Ken mentioned, especially on a 5" like the Mini, having a proper landscape orientation working (even for epubs, in case you have pictures) is great.
|
Advert | |
|
07-09-2013, 04:38 AM | #126 | |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Quote:
Regarding compiling with arm-linux-gnueabihf, it is quite simple. Ensure that the linaro toolchain provided by kobo is in your path, then cd to koreader-base; open Makefile.defs and check that CHOST is set to arm-linux-gnueabihf, -mfloat-abi=hard. Then issue the command Code:
make CHOST=arm-linux-gnueabihf kobo Code:
make CHOST=arm-linux-gnueabihf customupdate |
|
07-09-2013, 05:24 AM | #127 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2013
Device: kobo mini
|
Quote:
In the mean time i managed to at least compile the emulated version and reproduce the same error, and I'm under the impression that it was caused by spaces in the filename or path. I tried working around the issue by renaming the files and I'm now getting a segmentation fault without any real information about what went wrong. |
|
07-09-2013, 06:30 AM | #128 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
I found the problem with cbz files. They're supported by the pdf viewer but they had to be added to the supported extensions, somehow no one noticed that. I'll commit the fix to the main koreader. Thanks fred01 to point that out!
I'll wait to upload a fixed version since I'm planning to integrate some of your mods, like suspend support. |
07-09-2013, 07:57 AM | #129 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
Reattached zip that is based on koreader-v2013.03-266-g4f36cd2.zip
Fixed to include the mod for epubs. Also the list of debug commands is now in defaults.lua as DEBUG_CMDS [root@KOBO_AURAHD .kobo]# more koreader/defaults.lua DEBUG_CMDS = {"reboot","w_on","w_off","inv",} -- number of page turns between full screen refresh -- default to full refresh on every page turn DRCOUNTMAX = 6 I belive we need more tweaks for other devices with lower resolution. Since Device:getModel returns the full Kobo model I would guess is not that hard. NOTE: starting wireless from koreader will have some issue due open files by wpa_suplicant and we need some wrapper that closes all files except 0/1/2 then execute it edit: zip removed and attached on a later post Last edited by cgm999; 07-09-2013 at 02:05 PM. |
07-09-2013, 08:18 AM | #130 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2013
Device: kobo mini
|
I tried your changes and i can confirm it works like a charm. I also went ahead and added zips as cbz (DocumentRegistry:addProvider("cbz", "application/cbz", PdfDocument)) and that also works perfectly.
|
07-09-2013, 09:00 AM | #131 | |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Quote:
(DocumentRegistry:addProvider("zip", "application/zip", PdfDocument)) ? That would cause some issue since zip files are already being read by another reader application (probably for zipped htmls?). The line you posted is exactly what I've done. @cgm999 could you recap what are your mods and what files do they involve? It would be faster for me to have a look. Moreover, what's the use of enabling/disabling wifi under koreader? There's no part of it making use of an internet connection (yet). edit: nvm, I just noticed you just included modified files. Not to be too fussy, but you include also binary files in your zip. Where can I find sources for those? Last edited by giorgio130; 07-09-2013 at 09:03 AM. |
|
07-09-2013, 09:22 AM | #132 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
giorgio130:
The only binary file is frontlight.c which is on one of the older topics, src: #include <stdio.h> #include <fcntl.h> #include <sys/ioctl.h> int main(int argc, char *argv[]) { if ( argc != 2 ) { printf("Usage: %s brightness \n", argv[0]); return 1; } int light; // Open the file for reading and writing if ((light = open("/dev/ntx_io", O_RDWR)) == -1) { printf("Error opening ntx_io device"); } int brightness = atoi ( (argv[1]) ); ioctl(light, 241, brightness); return 0; } Also, the ideea with wireless on/off, is part of debug_cmds, is good to have a way run those right?,then ssh/sftp to upload debug. as for wpa_supplicant issues I was just saying I need to find/make a wrapper to close all open files except 0/1/2 before running any commands out of koreader or we will see issues like input is frozen on 2nd koreader run The list of changes that my mod include: - suspend button works - light button works - light level from landscape bottom menu - debug commands from bottom menu - dpy set for aurahd (we need to add others like glo?) Also we need to set changes in toggleswitch.lua based on main dpy or model I think, whoever have those need to test and report back. |
07-09-2013, 09:32 AM | #133 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2013
Device: kobo mini
|
Yeah, I got that from your commit on github. It doesn't cause issues as it seems to have the precedence over the portion of code in credocument.lua that checks for zip files.
|
07-09-2013, 10:09 AM | #134 | |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Quote:
@cgm999 I don't think I'll merge the debug / custom commands part, it's just useful for developers I'd say. The same for wifi on/off... Feel free to create pull requests for those yourself if you feel like! It's taking a while since I'm cleaning the code up in order to reduce to a minimum the changes. |
|
07-09-2013, 10:45 AM | #135 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
Thats fine. I am curios if any1 else uses debug commands ?
|
|
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 |
Touch Using two Kobos | tkavan | Kobo Reader | 4 | 06-23-2017 02:47 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 |
2 kobos 1 account | retired05 | Kobo Reader | 9 | 05-05-2012 08:25 AM |