You are not logged in.
Hello everyone,
I'm 99.9% done getting my damned arch/xbmc/htpc setup and have run into a problem.
My remote stops working if I suspend the computer.
After some reading around on the great ol' google, I think I've found the answer:
after Suspend the remote was gone since the module was loaded
again after resume and was not recognised as /dev/lirc0 bit /dev/lirc1.
solution: a little script in /etc/pm/sleep.d/ which unloads the module
properly which will free the /dev/lirc0 device and then reloads the
module which will recreate /dev/lirc0 and then start lircd.
--quoted from a random post on the xbmc forums.
Unfortunately all the scripts I've found are written specifically for Ubuntu, and well, I'm a bit slow.
Any chance someone can help me get something whipped up?
Please?
Offline
Hmm, which script exactly do you mean? It's basically the same with any linux distro...
Offline
@op - did you ever figure out your problem? I too am noticing this: lircd stops working after a resume from suspend -- even if I manually modprobe the modules and do a /etc/rc.d/lircd restart
Last edited by graysky (2009-11-30 20:07:33)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I never did get this working, mostly becuase my htpc died and I quit caring. However, I'll soon be replacing it and I'm sure I'll run into the same problem again.
Offline
I found this on the xbmc wiki: http://xbmc.org/wiki/?title=Create_a_resume_script but it seems to be written for ubuntu.
Last edited by graysky (2009-11-30 20:08:55)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
you could simply create the file /etc/pm/config.d/modules and write in it
SUSPEND_MODULES="lirc_atiusb"
or whatever your kernelmodule for your remote is. this unloads the kernelmodule before suspend and reloads it on resume.
Offline