04-30-2010, 02:42 PM | #16 | |
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
Quote:
A "long press" triggering a restart is hard-wired so it always works, even if the firmware and/or standby micro have failed. Downside is that it can't be replaced with a shutdown. |
|
04-30-2010, 02:54 PM | #17 |
Wizard
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
|
Advert | |
|
06-22-2010, 07:51 PM | #18 |
Country Member
Posts: 9,058
Karma: 7676767
Join Date: Feb 2010
Location: Denmark
Device: Liseuse: Irex DR800. PRS 505 in the house, and the missus has an iPad.
|
@ Shaggy and GregorRichards
You guys seemed to be making progress on this but news has dried up. Anything new? |
06-23-2010, 04:41 PM | #19 |
Wizard
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
I haven't gone any further with it. GregorRichards solution works, but it requires navigating to and clicking on an icon. I was hoping to tie it to a button, but am not sure if that's realistic. As Gertjan says, the long power switch press is hardwired. I was thinking of maybe looking at swapping out the right press from locking buttons (which I never do anyway) to a shutdown. I haven't had the time to look into it to see if that's possible or not though.
|
06-24-2010, 02:43 PM | #20 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2010
Device: Irex DR800S
|
GregorRichards' program does not work in my DR800S wth 2.0 RC2.
After executing it, the ebook does not shutdown. It remains on, but in the screen I can only see the Title of the page (SD Card - by Title... in fact in Spanish). The list of folders/books is not visible. The only way to make it working again is reseting it by sliding the power switch to the left and holding it for some seconds. |
Advert | |
|
06-24-2010, 03:10 PM | #21 | |
Wizard
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
Quote:
|
|
06-28-2010, 05:46 PM | #22 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2010
Device: Irex DR800S
|
Thank you Shaggy.
If someone develops a shutdown procedure for DR800S with 2.0 RC2 I will be very grateful! |
06-30-2010, 02:36 AM | #23 |
Member
Posts: 18
Karma: 20
Join Date: Nov 2009
Location: Beijing, China
Device: iRex DR800SG
|
After shut down, I lost the bookmarks and also the pages I need continue ... ;-(
|
06-30-2010, 11:48 AM | #24 | |
Wizard
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
Quote:
Which shutdown method did you try? |
|
06-30-2010, 11:33 PM | #25 |
Member
Posts: 18
Karma: 20
Join Date: Nov 2009
Location: Beijing, China
Device: iRex DR800SG
|
|
07-01-2010, 12:45 PM | #26 |
Wizard
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
Yeah, mine was a quick hack and will definitely cause problems like that. The one that GregorRichards posted is much cleaner in that it gets the applications to save/close before shutting down (mine doesn't).
Ultimately I'd like to keep working on this and make it nicer, but haven't had the time. |
07-01-2010, 04:05 PM | #27 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2010
Device: DR800SG
|
One comment on the battery consumption. I used the program irexshutdown with 2.0-beta firmware. I compiled the code with the SDK and installed it (Note that I added the flag -P to the shutdown system call). By using it, the irex fully shuts down in about 15-20 seconds. Later when I slided the button it did the whole long booting process.
That said, I left it off for about two days and the battery went down from 48% to 35%. So I'm not sure if it actually powers down the device. |
07-06-2010, 12:27 PM | #28 | |
Wizard
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
Quote:
|
|
07-11-2010, 06:44 PM | #29 |
Groupie
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
|
Working with Notepad application as well as "Hello World" I might have gotten a hint. Every respectable app has a callback describing what to do on suspend. E.g. Notepad saves its state:
Code:
static void on_prepare_standby( eripc_context_t *context, const eripc_event_info_t *info, void *user_data ) { LOGPRINTF("entry"); (void) gInstance->save(); LOGPRINTF("exit"); } Code:
* wait for say 5 seconds for others to prepare for suspend * call /sbin/shutdown What do you say? Edit: calling unmount_sd might not work clean, e.g. Notepad does gInstance->quit(); instead of saving. And we can just try modifying GregorRichards's code by explicit call of suspend (will this work though?). Last edited by dima_tr; 07-11-2010 at 06:56 PM. Reason: have read GregorRichards's solution code |
07-12-2010, 06:40 AM | #30 |
Nameless Being
|
is this thread somewhat the same as your Hidden gems, dima_tr?
|
|
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 |