Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-24-2006, 06:34 AM   #16
jęd
Evangelist
jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.
 
Posts: 458
Karma: 293
Join Date: May 2006
Quote:
Originally Posted by yokos
Irex's hasn't answer design256 question on iRex's forum.
M has now...
jęd is offline   Reply With Quote
Old 11-24-2006, 07:45 AM   #17
design256
Connoisseur
design256 doesn't litterdesign256 doesn't litter
 
Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
Quote:
Originally Posted by yokos
design256, thanks.
I run your watchdog [only 2 iLiad pages src ]with:
Code:
./watchdog 5
And iLiad [2 bars in battery logo or so] shut down in some way last night. After booting iLiad this morning the battery was empty - I got a low battery message after 7 min or so. So iLiad cosumes too much energy after shut down this way [crux mentioned in caveats].
[Edit]: Can anybody verify my observation of energy consumption?
Irex's hasn't answer design256 question on iRex's forum.
[Edit] iRex answered now.
If the Iliad was shutdown from the watchdog, it would use the same level of power as if you powered down with the switch.

My guess is that for some reason the watchdog didn't fire, and the machine powered down because of low batteries.

Are you by any chance using a beta of V2.8? The watchdog will need updating before it works with that...
design256 is offline   Reply With Quote
Advert
Old 11-24-2006, 08:53 AM   #18
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
Quote:
Originally Posted by design256
If the Iliad was shutdown from the watchdog, it would use the same level of power as if you powered down with the switch.
Ok, thanks.
Quote:
Originally Posted by design256
My guess is that for some reason the watchdog didn't fire, and the machine powered down because of low batteries.
Mmh. Ok, maybe it was my fault, who knows. The first test before going to sleep was ok for me, iLiad shut down.
Quote:
Originally Posted by design256
Are you by any chance using a beta of V2.8? The watchdog will need updating before it works with that...
No, still 2.7 here. I have read Matthijs' post: "watchdog relies on 'accidental' functionality".

Do you plan a gui? If not, we could use 2 manifest.xml for [+] [-] a variable $timer, the 3rd one could read $timer & start watchdog.

Last edited by yokos; 11-24-2006 at 08:56 AM.
yokos is offline   Reply With Quote
Old 11-25-2006, 02:01 PM   #19
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by yokos
Ok, thanks.
Mmh. Ok, maybe it was my fault, who knows. The first test before going to sleep was ok for me, iLiad shut down.

No, still 2.7 here. I have read Matthijs' post: "watchdog relies on 'accidental' functionality".

Do you plan a gui? If not, we could use 2 manifest.xml for [+] [-] a variable $timer, the 3rd one could read $timer & start watchdog.
I've already made a launcher (i.e. a manifest file and an icon I found with google image search). Let me know if you want me to post it.

But I've run into some problems: It seems that the watchdog is terminated. If I start a shell and use that to start watchdog, ps -fe | grep dog shows me it is running. When I terminate the shell, starts a new shell and lists processes, it is not running anymore. Will investigate further tonight, perhaps nohup will work, just gotta get some sleep first:-)
narve is offline   Reply With Quote
Old 11-25-2006, 05:23 PM   #20
design256
Connoisseur
design256 doesn't litterdesign256 doesn't litter
 
Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
Quote:
Originally Posted by narve
I've already made a launcher (i.e. a manifest file and an icon I found with google image search). Let me know if you want me to post it.

But I've run into some problems: It seems that the watchdog is terminated. If I start a shell and use that to start watchdog, ps -fe | grep dog shows me it is running. When I terminate the shell, starts a new shell and lists processes, it is not running anymore. Will investigate further tonight, perhaps nohup will work, just gotta get some sleep first:-)
hmmm. I'm not in my office so I can't check tonight. Can you try

Code:
disown %1
after you'ver started the watchdog. It's possible it's being held by the shell jobcontrol.
design256 is offline   Reply With Quote
Advert
Old 11-28-2006, 04:50 PM   #21
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by design256
hmmm. I'm not in my office so I can't check tonight. Can you try

Code:
disown %1
after you'ver started the watchdog. It's possible it's being held by the shell jobcontrol.
Right, finally ssh is working so now I can give it a try
narve is offline   Reply With Quote
Old 11-28-2006, 05:08 PM   #22
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
nope, disown didn't work... strange. This is probably the most actually useful community application for the iLiad... I am not a Linux expert, could use some help here!

When I launch the application using the shell, it works. When I start the application through the launcher, nothing happens... will look further into it next available hour :S
narve is offline   Reply With Quote
Old 12-04-2006, 02:51 PM   #23
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Forgot to post here: Watchdog works fine now. I don't know what the problem was, but I lost the folder and had to recreate the scripts, and it worked fine. Probably a silly bug in my run.sh
narve is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Well, Shut My Mouth Fat Abe News 67 05-02-2010 06:14 PM
v3.0 has me shut down..... lmoore348 Sony Reader 1 09-06-2009 12:18 AM
Automatic shut off? Stacey34 Sony Reader 8 03-14-2009 06:11 AM
Shut-down? scrappnjoyce Sony Reader 9 01-09-2009 11:12 AM


All times are GMT -4. The time now is 04:45 AM.


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