View Full Version : MCE remote doesnt work after put to sleep mode
Hi!
My MCE remote doesnt work after i wake up my xbmc computer.
Is there any script or any solution for linux.
I'm using Ubuntu 8.10-Xbmc in autostart.
Core2duo e8400 3Ghz, Gigabyte 73..motherboard.
:confused2:
timdog82001
2008-11-19, 04:22
i've noticed this too. I think that its a linux problem though, and not an xbmc problem, though i'm not sure.
LIRC doesnt work after suspend on some machines afaik so you need to restart the daemon.
XBMC should restart its internal connection to lirc when we enter sleep (if you set it to sleep with XBMC that is)
Cheers,
Tobias
LIRC doesnt work after suspend on some machines afaik so you need to restart the daemon.
XBMC should restart its internal connection to lirc when we enter sleep (if you set it to sleep with XBMC that is)
Cheers,
Tobias
I just tried this. I never had the problem before. I use to "suspend" my htpc, and then its never a problem to use the remote after wake up.
Last night I put the htpc in "hibernate" instead, and today the remote isnt working.
I do not put the htpc in sleep in xbmc.
EDIT: GA-MA78GM-S2H (rev.1.1) and Ubuntu 8.10 ATI 8.543
/Söder
timdog82001
2008-11-19, 10:37
EDIT: GA-MA78GM-S2H (rev.1.1) and Ubuntu 8.10 ATI 8.543
/Söder
thats the same as my board and same OS too. Only difference is i'm running the onboard nvidia graphics
EDIT: nevermind, i was remembering wrong. I have a gigabyte, but its a ga-73pvm-2sh. Maybe this is a common problem with gigabyte boards.
sensei73
2008-11-19, 19:19
i have a ga-g31-sl3 and I have the same problem. After sleep remote doesn't work anymore, if you put again your htpc in sleep again, and resume it, it will work again.
Restarting the service doesn't work, you need to unload 2 modules and reload it:
lirc_mceusb2 and lirc_dev
Now I'm looking for a way to do it automaticaly on resume.
timdog82001
2008-11-19, 20:26
may be helpful? http://xbmc.org/forum/showthread.php?t=38986
sensei73
2008-11-19, 20:32
may be helpful? http://xbmc.org/forum/showthread.php?t=38986
thanks but not helping. The problem is about modules
sensei73
2008-11-19, 21:06
found THE SOLUTION!!! I will post back later when I fix my sound problem.
Matt Devo
2008-11-19, 22:28
this looks helpful: link (http://xbmc.org/forum/showpost.php?p=244566&postcount=1)
this looks helpful: link (http://xbmc.org/forum/showpost.php?p=244566&postcount=1)
I tried that link, and tried to be able to START my htpc after suspend. (when only suspend I have no problem with lirc not working after suspend, only on hibernate)
"lsusb" gave me this:
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0471:0815 Philips eHome Infrared Receiver
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
and I then in my /etc/rc.local I put
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo USB1 > /proc/acpi/wakeup
exit 0
All the thing with the scrips for sleep I didnt do, caus xbmc can put my htpc in sleep, and what I want is my htpc to wake up with the remote.
But the htpc didnt wake up with the remote, and when I started it manualy something was not right. Got no screen...
In bios "wake up from S3 with USB" is enabled.
What can be wrong?
/Söder