tag:blogger.com,1999:blog-8549953143412263620.post3104386047158620292..comments2023-04-30T03:06:17.555-07:00Comments on vikjon's Linux and Media Center Howto: Howto setup Remote for Ubuntu 8.04 XBMC with MS Remotevikjon0http://www.blogger.com/profile/09082431275915201982noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8549953143412263620.post-79122070976851710292010-12-16T06:10:34.773-08:002010-12-16T06:10:34.773-08:00For others looking for a solution that recovers fr...For others looking for a solution that recovers from both a reboot, a standby/resume, as well as random irexec crashes (and works without relying on Gnome functionality), I think I've finally figured it out and posted the answer on my blog. I combed all of the common answers (this being one of the top Google responses), but couldn't find a solution that quite covered everything. Check it out and let me know if anyone has problems with the steps posted. <br /><br />http://www.technazgul.com/2010/12/using-and-autostarting-irexec-irxevent.htmlTechNazgulhttps://www.blogger.com/profile/05261009788612505295noreply@blogger.comtag:blogger.com,1999:blog-8549953143412263620.post-71162040667338902802009-05-22T05:33:12.171-07:002009-05-22T05:33:12.171-07:00hi,
thanks a lot for the link. I'll keep an eye o...hi,<br /><br />thanks a lot for the link. I'll keep an eye on it, it still doesn't answer to all my problems.<br /> Anyway, please keep me posted with any development on your side, if you don't mind.<br /><br /> Thanks a bunch!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8549953143412263620.post-31718244692864617912009-05-22T00:05:32.682-07:002009-05-22T00:05:32.682-07:00There is now a new thread dea1ing with this. Hope...There is now a new thread dea1ing with this. Hopefully they will get a clear answer: http://xbmc.org/forum/showthread.php?t=51466vikjon0https://www.blogger.com/profile/09082431275915201982noreply@blogger.comtag:blogger.com,1999:blog-8549953143412263620.post-79264219635592995932009-05-21T00:41:32.895-07:002009-05-21T00:41:32.895-07:00I don't know. I found the script on the page I ref...I don't know. I found the script on the page I refer to. I have mostly read up on irexec since I had no problem with lirc. So, far. I haven't tried suspend/ resume yet. For the moment I want to test the new xbmc with a separate xsession before I do anything more on lirc.vikjon0https://www.blogger.com/profile/09082431275915201982noreply@blogger.comtag:blogger.com,1999:blog-8549953143412263620.post-4095647326215366902009-05-20T07:32:53.957-07:002009-05-20T07:32:53.957-07:00Thanks a lot for your suggestions. I took a quick ...Thanks a lot for your suggestions. I took a quick look at the link you mentioned, I'll have to read it more carefully.<br />To answer to your questions:<br />- I don't need wake on USB, because the remote/LCD module has a special power cable plugged on the mainboard - so I don't need anything else for waking the PC up;<br />- my main problem is that this remote/LCD (soundgraph imon) needs two instances of lircd hooked to two devices: /dev/lirc0 & /dev/lirc1, so sometimes only one is restored (without adding anything in the suspend/resume scripts). The irexec is not restarted at all.<br /><br />And one more question : what is this "AddSuspendHook" you (and the wiki page) mentioned ? I really cannot understand what it is and what areits parameters?<br /><br /> Thanks a lot for your kind help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8549953143412263620.post-82830393875373436362009-05-19T11:25:00.000-07:002009-05-19T11:25:00.000-07:00I have seen this problem in many threads in Ubuntu...I have seen this problem in many threads in Ubuntu and xbmc center, can't find a good answer right now though. I have not tested my self yet.<br /><br />The computer does wake on USB already?<br /><br />If so you need to create a on resume script and re-initiate the necessary processes in it.<br /><br />There is several examples how to restart lirc I found this one:<br /> (http://wiki.linuxmce.org/index.php/Suspend)<br /><br /># Stops and unloads the current lirc module before suspending, and<br /># restarts lirc when resuming<br /><br />AddSuspendHook 30 UnloadLirc<br />AddResumeHook 30 StartLirc<br /><br />UnloadLirc() {<br /> /etc/init.d/lirc stop<br /> if [ -f /etc/lirc/hardware.conf ];then<br /> . /etc/lirc/hardware.conf<br /> rmmod $MODULES<br /> fi<br />}<br /><br />StartLirc() {<br /> /etc/init.d/lirc start<br />}<br /><br /><br />If that fix the problem we need to find the right place to put the script.<br />Possibly:<br />/etc/acpi/suspend.d<br />/etc/acpi/resume.d<br /><br />This is where I would start, I am not sure if it will work though. I had to test a lot of different solution before I got suspend to work,vikjon0https://www.blogger.com/profile/09082431275915201982noreply@blogger.comtag:blogger.com,1999:blog-8549953143412263620.post-3660105648875486002009-05-19T08:38:00.000-07:002009-05-19T08:38:00.000-07:00Hello,
Thanks a lot for your tutorial. Anyway, my...Hello,<br /><br />Thanks a lot for your tutorial. Anyway, my big problem is to make lirc/irexec work rather with hibernate than shutdown. My main issue here is that lirc & irexec are not restored properly.<br /><br />Any ideas on that?<br /><br />thank a lotAnonymousnoreply@blogger.com