| 
			
			 | 
		#46 | |
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29 
				Karma: 8300 
				Join Date: Apr 2013 
				Location: France 
				
				
				Device: Kobo glo, Apple devices 
				
				
				 | 
	
	
	
		
		
			
			 
				
				lowing the glowing
			 
			Quote: 
	
 I've to congratulate all of you for this thread and others. (For French users there is also a good post with several tips) there Sorry I leave, I'm not a dev Last edited by Frenchdummy; 04-24-2013 at 06:55 AM. Reason: I'm not a dev  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#47 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201 
				Karma: 42238 
				Join Date: Oct 2012 
				
				
				
				Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just tested the this with 2.5, the lowest light level on my device is now identical to the setting the low light plugin forces.
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by ewphoenix123; 04-22-2013 at 03:52 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#48 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336 
				Karma: 59242 
				Join Date: Apr 2013 
				Location: France, languages : french and a little bit english. 
				
				
				Device: Kobo Glo, Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Does it mean that there is a difference for the battery autonomy when we use "night mode" contrary to "day mode" ? when the page is loaded with "night mode" method, the screen continues to be drawn? And if there is really a difference for battery, why must you used this "update every 2 tenths of a second" ??? eink doesn't stay "fixed"? there is some ghosting ??? Sry for may bad english... i'm french. Last edited by akorx; 04-22-2013 at 06:21 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#49 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348 
				Karma: 209937 
				Join Date: Jan 2012 
				Location: Virginia, US 
				
				
				Device: Kobo Wifi, Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The reason my night mode hack updates the screen so often is because I don't know when the user opens a menu, turns a page, etc., so I just update the screen every two tenths of a second. The proper way of making a night mode would be to somehow detect when the display changes, and only then invert the screen.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#50 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336 
				Karma: 59242 
				Join Date: Apr 2013 
				Location: France, languages : french and a little bit english. 
				
				
				Device: Kobo Glo, Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			ok i understand, thx for the explications...  
		
	
		
		
		
		
		
		
		
		
		
		
	
	But why there is a difference with day mode? in day mode we don't know when the user will tocuh the screen too and we don't redraw the screen each tenths. I think you must talk with the developpers of 2.5.0 firwmare, because your knowledge should help them to develop a good firmware with a lot of functions for ours kobo.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#51 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I think that if the page is refreshed, it returns to be normal, not inverted. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	(ps: explanation - developer. Don't worry, my english is not so better, I use Firefox with spell-checking ^^)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#52 | 
| 
			
			
			
			 Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 206176 
				Join Date: Apr 2013 
				Location: Europe 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I found a way to modify the update-request as it happens, so no resources are wasted. As of now it requires an restart of nickel to activate inversion. I'll post it the next days as soon as I can change the mode on-the-fly from within nickel. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Technical info: interposing ioctl() with LD_PRELOAD  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#53 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hey, good work  
		
	
		
		
		
		
		
		
		
		
		
		
	
	  Do you know if there's a way to suppress the refreshing and add an invert after the page load? I mean, normally the screen is inverted before the page is displayed. With this hack we add another inversion after. It is a simple way to get the things working, but it will be less resource consuming if the page will be displayed, and inverted after it.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#54 | |
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29 
				Karma: 8300 
				Join Date: Apr 2013 
				Location: France 
				
				
				Device: Kobo glo, Apple devices 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Which means ? Could you be more explicit, please. By the way I'm not/never Wifi connected. Then I don't have the 2.5 updt. I will wait calibre update.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#55 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Feb 2013 
				
				
				
				Device: kobo glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			thanks Kevin, it works like a charm!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#56 | 
| 
			
			
			
			 Pain in the arse 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758 
				Karma: 77856 
				Join Date: Apr 2013 
				
				
				
				Device: Kobo Aura One, Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@Frenchdummy: you can find the "plugin" at the first post of this thread.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	About firmware, for what I know Calibre doesn't update device firmwares. Furthermore I personally decided to not update to 2.5.0 or 2.5.1 firmware, since they have minor improvements but a huge bug with pdf refreshing.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#57 | |
| 
			
			
			
			 Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 206176 
				Join Date: Apr 2013 
				Location: Europe 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#58 | |||
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348 
				Karma: 209937 
				Join Date: Jan 2012 
				Location: Virginia, US 
				
				
				Device: Kobo Wifi, Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
   They shouldn't have time to add new features until they squash the well-documented bugs mentioned around the forums.Quote: 
	
  | 
|||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#59 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336 
				Karma: 59242 
				Join Date: Apr 2013 
				Location: France, languages : french and a little bit english. 
				
				
				Device: Kobo Glo, Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kevinshirt, Yok : now exchange about your solution and ideas and update your plugin... on my side I take care to put the beer in the fridge ! if you want i'll send your Champagne and wine from France  
		
	
		
		
		
		
		
		
		
		
		
		
		
			  !Lucas Malor : thx for your help about my spelling ! if nobody corrects me, i will never progress Last edited by akorx; 04-24-2013 at 05:45 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#60 | 
| 
			
			
			
			 Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 206176 
				Join Date: Apr 2013 
				Location: Europe 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry to have kept you waiting, but i stumbled across an annoying bug in the driver (details in the source code), and it took me some time to understand whats going on. 
		
	
		
		
			Anyway, it works now and it should be easier on your eyes and on the Kobo's battery than the old hack. Props to Kevin for the initial research! Installation: 
 A word of caution: This hack has the potential to freeze nickel, therefore, if something goes wrong badly you won't be able to activate WiFi. So I recommend you to activate Network over USB as a backup plan: https://wiki.mobileread.com/wiki/Kobo...lnet.2FFTP_USB Last edited by yoq; 04-27-2013 at 08:17 PM. Reason: clarification  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Odyssey Odyssey HD FrontLight available for preorder | Chi Cygni | Bookeen | 66 | 12-21-2012 03:55 AM | 
| Frontlight + touchscreen + moths | GeoffR | Kobo Reader | 7 | 12-12-2012 06:21 PM | 
| Kobo Glo vs Cybook Odyssey Frontlight | Magean | Which one should I buy? | 4 | 11-30-2012 07:50 AM | 
| Frontlight: How to reset? | WS64 | Bookeen | 18 | 11-26-2012 05:47 AM | 
| Odyssey Odyssey HD FrontLight battery | Gardenman | Bookeen | 4 | 11-12-2012 04:46 AM |