| 
			
			 | 
		#31 | |
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175 
				Karma: 863 
				Join Date: Oct 2009 
				Location: Germany, Karlsruhe 
				
				
				Device: Iliad v2, DR800S (inlove) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#32 | 
| 
			
			
			
			 Nameless Being 
			
			
			
		
			
			
			 | 
	
	
	
		
		
		
		
		 
			
			in the beginning of the thread here there is talk about a shutdown mode and if i'm correct your thread handles also about a shutdown possibility.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#33 | 
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175 
				Karma: 863 
				Join Date: Oct 2009 
				Location: Germany, Karlsruhe 
				
				
				Device: Iliad v2, DR800S (inlove) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Aahhh, no  
		
	
		
		
		
		
		
		
		
		
		
		
	
	   The other one configures suspend mode parameters. Here people try to shut down the device, not to put it into standby where energy is still sucked off the battery.
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#34 | 
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175 
				Karma: 863 
				Join Date: Oct 2009 
				Location: Germany, Karlsruhe 
				
				
				Device: Iliad v2, DR800S (inlove) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			During the last two days I learnt smth very known: RTFM. I'm very much grateful iRex guys for opening the sources.  
		
	
		
		
			![]() Basically, all the needed code has been available since long time ago. Namely, sysd/system.c : do_poweroff(), prepare_standby() and on_standby() (first half of the latter). I've customized the sysd project to produce the "poweroff" binary. The compiled executables are located in poweroff.zip. Unpack them to Programs/ folder and enjoy the old-new functionality (even with splash screen!!  ). Working fine on my DR800S. Shutdown takes about 20-30 seconds. Please check during the testing if new bookmarks etc. are not lost (they should not). Looking forward to your impressions.The most important source is poweroff-src/src/main.c . This is an extraction of system.c to perform only one operation, but doing it properly. GregorRichards has started this direction, I've been following it. To compile the code execute build_all_from_scratch.sh, then rename src/sysd to poweroff and (optionally) strip it with arm-poky-linux-gnueabi-strip. Sure, the source can be much simplified. The main task to do is to start with main.c and add the needed methods. And I'd be happy to have a build file like GregorRichards's one .. Ok, later. Or maybe someone has an inspiration - most welcome to participate ![]() P.S. The icon is there waiting for lua script  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#35 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 18 
				Karma: 20 
				Join Date: Nov 2009 
				Location: Beijing, China 
				
				
				Device: iRex DR800SG 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi, dima_tr 
		
	
		
		
		
		
		
		
		
		
		
		
	
	good work! There is a bug for this poweroff. After I run it, the goodbye page holds on there and does not disappear until I toggle the flip bar.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#36 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Jul 2010 
				
				
				
				Device: DR1000S 
				
				
				 | 
	
	
	
		
		
			
			 Quote: 
	
 Hi there! I don't have much programming experience when it comes to the iRex, but I would LOVE to have the possibility to put my DR1000 in a standby mode (e.g. suspend to RAM). Currently the boys from Irex have removed or disabled this posibility from the 2.0 firmware (due to power management issues??), but sometimes it is extremely annoying to wait for the device to boot up every time before I can continue reading. Do you know if it would be possible to enable this feature in a similar way that you enabled the shutdown mode for the DR800? (PS: sorry for my poor English..)  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#37 | 
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175 
				Karma: 863 
				Join Date: Oct 2009 
				Location: Germany, Karlsruhe 
				
				
				Device: Iliad v2, DR800S (inlove) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well, this is the same sysd module we should do the changes to. Technically I can try to come up with the code and the binary, but the problem is I have no DR1000 device to do the testing .. Again, can not promise this will be a successful experiment, hopefully 1000's hardware allows doing such things.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#38 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999 
				Karma: 19985 
				Join Date: Dec 2008 
				Location: Netherlands 
				
				
				Device: iRex DR1000S 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Suspend to RAM is done automatically after several seconds (10, 20 or so) of inactivity. Boot up of the device would only be increased by a suspend to flash, which was never implemented until now. I think that suspend to flash will need a change in the linux kernel and is thus not that easy to implement.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#39 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,293 
				Karma: 529619 
				Join Date: May 2007 
				
				
				
				Device: iRex iLiad, DR800SG 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That's my understanding as well.  Based on comments they've made, getting the DR800's suspend functionality to work on the DR1000 is more complicated than just enabling the feature in the firmware.  There are kernel/driver modifications that need to be done in order to support it.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#40 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999 
				Karma: 19985 
				Join Date: Dec 2008 
				Location: Netherlands 
				
				
				Device: iRex DR1000S 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ah yes I forget about the DR800 mode. I think that the main problem there is that the hardware design of the DR1000. The lack of a real hardwired button might be one of the causes, maybe the standby/keyboard processor is also not corrected in the correct way to the main processor or some completely other issue...
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#41 | 
| 
			
			
			
			 The Windlord 
			
			![]() Posts: 119 
				Karma: 10 
				Join Date: Jun 2009 
				Location: Netherlands 
				
				
				Device: iRex DR1000S, BeBook Club S 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The hardware is different, so it takes time to implement separate from the DR800 way, ok, I buy that. But after the serious failure in that aspect of the Iliad, I can't imagine the DR1000 lacks the hardware for suspend to flash. The "button" works while off too, so that can't be it as such. I guess they just haven't gotten around to it yet.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#42 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 25 
				Karma: 10 
				Join Date: Mar 2010 
				
				
				
				Device: Irex DR800S 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Working fine on my DR800S too. Thanks dima_tr (2.0 RC3)
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#43 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Oct 2011 
				
				
				
				Device: IREX DR800 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Nice to know, where can I download it?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#44 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 326 
				Karma: 6908 
				Join Date: Sep 2010 
				
				
				
				Device: DRs, EE, ipad/iphone, Helix 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			from post #34 in this thread.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#45 | 
| 
			
			
			
			 Geneva 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Sep 2010 
				Location: Geneva 
				
				
				Device: iREX DR800S 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Works great here, thank you !
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Device shutdown | k0077 | Sony Reader | 8 | 08-27-2010 04:46 PM | 
| Proof of Concept: TeX-based ebook program in iPad | frabjous | General Discussions | 2 | 07-09-2010 09:46 AM | 
| iLiad auto shutdown | jboardman | iRex Developer's Corner | 0 | 04-29-2009 04:04 PM | 
| battery is used even after shutdown? | flyingtablet | iRex | 6 | 11-10-2008 03:27 PM | 
| Proof Of Concept - RSS->PDF | sartori | Sony Reader | 12 | 10-07-2006 04:40 PM |