Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2013, 04:15 PM   #256
akorx
Addict
akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.
 
Posts: 336
Karma: 59242
Join Date: Apr 2013
Location: France, languages : french and a little bit english.
Device: Kobo Glo, Aura HD
Quote:
Originally Posted by davidfor View Post
There are two light related bugs in the 3.0.0 firmware.

Firstly, if the light level is set to 1, the light does not turn on when the button is pressed. The icon is shown and when pressed, the light level control is shown. When the level is changed, the light comes on.

The second bug is in the light control. When the level is set to a value less than 10, when the control is closed, it stores the value "1".

To workaround these problems, you can edit the file "Kobo eReader.conf" and set the value there. If you set it to 2 or higher, the light will come on. And as long as you do not open the light level control, it will not change. As soon as you open the control, the value will get changed. It happens whether you make a change or not.
Great thanks for the explanation davidfor, now it's clear for me ! I hope next FW will correct thoose 2 bugs.
akorx is offline   Reply With Quote
Old 11-23-2013, 05:58 AM   #257
jamalau
Connoisseur
jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.
 
Posts: 78
Karma: 25542
Join Date: Nov 2013
Location: NRW Germany
Device: Kobo Forma
Hallo, awesome patch, but is it possible to make this patch for the Aura 6`` ?
jamalau is offline   Reply With Quote
Old 11-26-2013, 02:03 PM   #258
timwillhack
Member
timwillhack began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite, Kobo Aura & Mini
Quote:
Hallo, awesome patch, but is it possible to make this patch for the Aura 6`` ?
jamalau, I have an aura and it does not currently work for it. I think its because the aura (non hd) has new code to update its pages. On another thread someone asked me to provide a portion of the firmware so they could review the differences. Its unrelated to this mod however (the other thread was in relation to backing up and recovering firmware) I have tried to contact people about nite mode and possibly helping get it rolling on the Aura but have not heard back from anyone yet. I'm so dying to make this happen I've been trying my hardest to get it compiling on my computer but just don't have the chops at the moment to figure out how to get it to work.

Last edited by timwillhack; 11-26-2013 at 06:20 PM.
timwillhack is offline   Reply With Quote
Old 11-26-2013, 04:04 PM   #259
jiminrussell
JimInRussell
jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.
 
jiminrussell's Avatar
 
Posts: 355
Karma: 143302
Join Date: Nov 2010
Location: Russell Ontario Canada
Device: kobo Aura One, Forma, Elipsa, Sage
Quote:
Originally Posted by jamalau View Post
Hallo, awesome patch, but is it possible to make this patch for the Aura 6`` ?
You could try running cool reader by installing kobolauncher. Cool reader has the ability to inverse the screen and you can also setup a tap zone to toggle between the two views. Just another option for you if you want to have white text on a black background.
jiminrussell is offline   Reply With Quote
Old 11-26-2013, 04:55 PM   #260
yoq
Developer
yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
Finally got around to looking into the new kernel source / display driver for the new Aura, and it looks like a case of lazy programmer:
Code:
drivers/video/mxc/mxc_epdc_fb.c, Line 2427:

/* TODO: Support REAGL LUT lookup in conjunction with other LUT
 * transformations.  This code just overwrites other LUT options. */
if (bufPixFormat==EPDC_FORMAT_BUF_PIXEL_FORMAT_P5N) {
	GALLEN_DBGLOCAL_RUNLOG(24);
	fb_data->pxp_conf.proc_data.lut_transform |= PXP_LUT_AA;
}

So apparently they broke support for a unused feature when they implemented their new Regal technology. I suspect this could be fixed in drivers/dma/pxp/pxp_dma.c, Function: static void pxp_set_lut(struct pxps *pxp)
But who would want to flash a new kernel for that? Another way I can think of, would be to create a kernel module that contains the updated function, looks for the old one and rewrites a few addresses on-the-fly. Not exactly pretty either.

Edit: Or we go the resource intensive way and manually invert every redraw request that comes along.

@jiminrussell: Does invert work for Cool Reader on the new Aura?

Last edited by yoq; 11-26-2013 at 05:04 PM.
yoq is offline   Reply With Quote
Old 11-26-2013, 05:19 PM   #261
jiminrussell
JimInRussell
jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.
 
jiminrussell's Avatar
 
Posts: 355
Karma: 143302
Join Date: Nov 2010
Location: Russell Ontario Canada
Device: kobo Aura One, Forma, Elipsa, Sage
Quote:
Originally Posted by yoq View Post
@jiminrussell: Does invert work for Cool Reader on the new Aura?
Yes invert works on the new Aura using Cool Reader
jiminrussell is offline   Reply With Quote
Old 11-26-2013, 06:06 PM   #262
timwillhack
Member
timwillhack began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite, Kobo Aura & Mini
Quote:
You could try running cool reader by installing kobolauncher. Cool reader has the ability to inverse the screen
I tried version 1.2.6.23 out on the Aura (non-hd) and it works great. and does let me finally invert on the Aura! I will admit the menus are not amazing but get the job done. Swiping doesn't seem to work and the footer doesn't have options in the list (unlike the header) but I prefer nothing in the margins. I can't seem to find a way to figure out where you are at percentage wise though without turning on the header or bookmarking and then looking at the bookmarks. Any suggestions? I know I'm picky. I will post this in the kobolauncher post as well: https://www.mobileread.com/forums/sho...d.php?t=201632

But will leave this post here for people reading this forum looking for a solution to inverting their Aura screen.
Attached Thumbnails
Click image for larger version

Name:	koboaurainvert.JPG
Views:	741
Size:	86.8 KB
ID:	115812  

Last edited by timwillhack; 11-26-2013 at 06:20 PM.
timwillhack is offline   Reply With Quote
Old 11-27-2013, 05:49 PM   #263
jiminrussell
JimInRussell
jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.jiminrussell is at one with the great books of the world.
 
jiminrussell's Avatar
 
Posts: 355
Karma: 143302
Join Date: Nov 2010
Location: Russell Ontario Canada
Device: kobo Aura One, Forma, Elipsa, Sage
Quote:
Originally Posted by timwillhack View Post
I tried version 1.2.6.23 out on the Aura (non-hd) and it works great. and does let me finally invert on the Aura! I will admit the menus are not amazing but get the job done. Swiping doesn't seem to work...
Swipping has been added as of 1.2.6.24 (left to right, right to left, top to bottom and bottom to top and you can set each to do one of 29 different commands, including of course page forward and back (called page up and down in coolreader)

Quote:
Originally Posted by timwillhack View Post
... I can't seem to find a way to figure out where you are at percentage wise though without turning on the header or bookmarking and then looking at the bookmarks. Any suggestions? I know I'm picky.
Just change one of the tap zones to be for "position" then tap on it and it shows you the percentage you are at in the book along with a scroll bar to move elsewhere in the book, just cancel to go back to where you were.
jiminrussell is offline   Reply With Quote
Old 12-02-2013, 03:16 PM   #264
RobertJSawyer
Guru
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 738
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
Anyone tried this yet on a Kobo Glo with 3.1.0 firmware?
RobertJSawyer is offline   Reply With Quote
Old 12-02-2013, 03:40 PM   #265
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
@RobertJSawyer: It seems to work; but I will admit I have never installed it before, but I DO see the screen invert on a long press of the light switch.
PeterT is offline   Reply With Quote
Old 12-02-2013, 03:47 PM   #266
RobertJSawyer
Guru
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 738
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
Quote:
Originally Posted by PeterT View Post
@RobertJSawyer: It seems to work; but I will admit I have never installed it before, but I DO see the screen invert on a long press of the light switch.
Thanks, Peter! Before I saw your reply, I got brave and decided to try installing it myself. It works just fine; precisely as with previous firmware. I love this hack and SO wish Kobo would make it an officially supported feature; it's something that Kindle doesn't offer, and it makes a world of difference in comfort when reading at night.
RobertJSawyer is offline   Reply With Quote
Old 12-02-2013, 03:49 PM   #267
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Reading the description and thinking outside the box a bit, I think one could also launch the supplied "nightmode.sh" script via the filemon patch; all that would be needed would be the addition of a new PNG for NightMode, followed by the addition of a new script similar to
Code:
$root/.kobo/fmon/fmon $root/nightmode.png $root/.kobo/nightmode.sh >> $root/.kobo/fmon/fmon.log.txt 2>&1 &
PeterT is offline   Reply With Quote
Old 12-02-2013, 08:31 PM   #268
imkh
Enthusiast
imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.imkh is the One.
 
Posts: 31
Karma: 101916
Join Date: Nov 2013
Device: Kobo Aura HD
Quote:
Originally Posted by PeterT View Post
Reading the description and thinking outside the box a bit, I think one could also launch the supplied "nightmode.sh" script via the filemon patch; all that would be needed would be the addition of a new PNG for NightMode, followed by the addition of a new script similar to
Code:
$root/.kobo/fmon/fmon $root/nightmode.png $root/.kobo/nightmode.sh >> $root/.kobo/fmon/fmon.log.txt 2>&1 &
I'm a total newbie at all this - I've had a Touch for a year and just bought an AuraHD. So the last few days I've been experimenting with adding nightmode on Touch and AuraHD, it works as described with the long depression of the light switch on the AuraHD but I got interesting results on the Touch. First I got it working with KoLauncher, but decided I really didn't want a lot of the other utilities, so tried just fmon and it worked just fine from the icon with a script identical to the above.

Then yesterday after doing a factory reset of the Touch and sideloading 3.0.1 I reinstated nightmode by itself and by accident found that doing a longer depression of the home button will toggle nightmode! (just like longer depression of the light switch works on the AuraHD!) No need for the icon or fmon loading or anything except installing nightmode script itself.

Nice serendipity, but I don't have the knowhow to work out why!
imkh is offline   Reply With Quote
Old 12-03-2013, 03:20 PM   #269
yoq
Developer
yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
Next try for the Aura: Inverting done in software, due to the kernel bug.
Please test first with the debug build and post the log. If it works, install the version with logging disabled, from "testBuild.zip".
I'll create a create full version later, so that the mod figures out itself on what model it is running. This one is only for the (NonHD) Aura.

@imkh: it's a lot more fun finding out about it yourself, but i actually added that a while ago, check the first post ^^
Attached Files
File Type: zip kobo-nightmode_aura_debugBuild.zip (13.5 KB, 369 views)
File Type: zip kobo-nightmode_aura_testBuild.zip (11.6 KB, 423 views)

Last edited by yoq; 12-03-2013 at 06:01 PM.
yoq is offline   Reply With Quote
Old 12-04-2013, 12:56 AM   #270
coolloser
Enthusiast
coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.coolloser ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 451448
Join Date: Oct 2009
Location: Alberta, Canada
Device: Sony Prs-600,T2, Kobo Mini, Kobo Glo, Kobo Aura, Kindle 3G/PW4/PW5/O3
Quote:
Originally Posted by yoq View Post
Next try for the Aura: Inverting done in software, due to the kernel bug.
Please test first with the debug build and post the log. If it works, install the version with logging disabled, from "testBuild.zip".
I'll create a create full version later, so that the mod figures out itself on what model it is running. This one is only for the (NonHD) Aura.

@imkh: it's a lot more fun finding out about it yourself, but i actually added that a while ago, check the first post ^^
Success! Was very happy seeing that screen invert.

Log says:
ScreenInverter: Hooked to /usr/local/Kobo/nickel!
ScreenInverter: Removed LD_PRELOAD!
ScreenInverter: Got screen resolution: 1024x758 @16BPP
ScreenInverter: Read config: invert(no), retain(yes), longPressTimeout(800), nightRefresh(0)
ScreenInverter: update: type:full, flags:0x0, size:1024x758 (100% updated)
ScreenInverter: Toggled using button
ScreenInverter: update: typeartial, flags:0x0, size:46x56 (0% updated)
ScreenInverter: Toggled using button
coolloser is offline   Reply With Quote
Reply

Tags
glo, hack, mini, night mode, touch


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Night mode ? Ethanaul Kobo Reader 1 07-23-2013 10:23 PM
does 'night mode' use more power? pumpkincat Kobo Tablets 10 02-25-2012 01:39 PM
Odyssey Anyone using Night-Mode? DuckieTigger Bookeen 2 01-28-2012 12:13 PM
help with night mode golfgirl Kobo Tablets 5 11-04-2011 10:40 AM
Is there a night mode? zeroh Nook Color & Nook Tablet 5 12-04-2010 10:24 AM


All times are GMT -4. The time now is 03:20 AM.


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