MCE remote doesnt work after put to sleep mode
#1
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:
Reply
#2
i've noticed this too. I think that its a linux problem though, and not an xbmc problem, though i'm not sure.
Reply
#3
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
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#4
Topfs2 Wrote: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
Reply
#5
soder Wrote: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.
Reply
#6
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.
Reply
#7
may be helpful? http://forum.xbmc.org/showthread.php?tid=38986
Reply
#8
timdog82001 Wrote:may be helpful? http://forum.xbmc.org/showthread.php?tid=38986

thanks but not helping. The problem is about modules
Reply
#9
found THE SOLUTION!!! I will post back later when I fix my sound problem.
Reply
#10
this looks helpful: link
Reply
#11
Matt Devo Wrote:this looks helpful: link

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:

Code:
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

Code:
#!/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
Reply

Logout Mark Read Team Forum Stats Members Help
MCE remote doesnt work after put to sleep mode0