View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Oct 14, 2011 10:24 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I finally spent some time and got my FE to suspend and come back to life with the push of a button on my remote. The suspend part is working very well and I set up my remote using IREXEC to run my suspend script. One of the issues I had was that I had to do a killall irexec in the script to get it to behave properly. After a restart I need to restart it but I cant get it to do it in the script.

After a successful suspend, if I type
Code:
/usr/bin/irexec -d

in a terminal all is well. I can push the power button on the remote and it runs the script. So I added it to the last line of my script (after suspending) but it does not restart it.

I also tried adding the following to my script
Code:
su mythtv -c "/usr/bin/irexec -d"
but still nothing.

Any idea why I can restart irexec -d in a terminal but not from my script?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 15, 2011 9:06 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Looks like it was just a timing issue. I added a sleep 5 before attempting the irexec and all is well.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu