Dear Stee,
Yesterday, I was able solve the problem on my computer.
If You (or somebody else) still interested, here is the solution:
I found some hints on:
http://wiki.xbmc.org/index.php?title...Suspend_/_Wake
As I am using 10.10 some names, and files are different. (however HAL was installed)
As it is more speaking about USB device rights, and enable, and I am using a home built serial adapter, I did not take care about these parts, but at the end of the page, I have found that:
- - - - - - - - - - -- - - - - - - - - - - - - - -
Fix the Lirc Device Increment Bug
If your IR remote does not work after waking from sleep, you most likely have this bug. The IR software for Linux, Lirc, will create a new device
/dev/lirc1 because it presumes the old device
/dev/lirc0 is in use by another process. This confuses XBMC and you end up with a non-working remote. The solution is to shutdown Lirc before suspension and then start it back up after wake. This is done by creating a script at
/etc/pm/sleep.d/90_lirc :
# Script to disable lirc before suspend and restart after wake.
case "${1}" in
suspend|hibernate)
if [ "$(pidof xbmc.bin)" ] ; then
wget -q -b -O /dev/null -o /dev/null "http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=ExecBuilt&Inparameter=LIRC.Stop"
fi
/etc/init.d/lirc stop
;;
resume|thaw)
# If remote still does not work after suspend, uncomment the lines below.
# Note you may need to change "lirc_mceusb". See output from 'sudo lsmod | grep lirc' for module name.
#rmmod lirc_mceusb
#modprobe lirc_mceusb
/etc/init.d/lirc start
if [ "$(pidof xbmc.bin)" ] ; then
wget -q -b -O /dev/null -o /dev/null "http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=LIRC.Start"
fi
;;
esac
Make sure the script is executable:
chmod 755 /etc/pm/sleep.d/90_lirc
- - - - - - - - -- - - - --
I have created the file 90_lirc in the directory.
Of course was not working....
I have deleted #s from the two lines, mentioned above, and changed the mce_usb name to serial_idonnow
(the name found with sudo lsmod | grep lirc).
And working. Remote works after wakeup!
Hi.
Bookmarks