[Asrock] Resume suspend mode, is it possible with IR? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [Asrock] Resume suspend mode, is it possible with IR? (/showthread.php?tid=60127) |
- ingeo - 2009-11-19 I noticed today that if I remove the line echo USB2 > /proc/acpi/wakeup to the /etc/rc.local the remote will put the system into standby and it stays in standby. However the remote no longer wakes the system. the same boat - ccfiel - 2009-11-19 I have the same problem with ingeo. The workaround was successfully in alpha1 but in alpha 2 after you apply the workaround "http://wiki.xbmc.org/?title=Enable_Wake-On-Device" the device will not go to suspend. Any tips? Same boat - slekkas - 2009-11-25 Has anyone found a solution for this yet? - SubSense - 2009-12-22 And...Solved? I've got the same issue "the instant resume after suspend, the asrock appears to suspend but it immediately wakes up right after". - topfs2 - 2009-12-22 SubSense Wrote:And...Solved? instant resume after suspend is usually because wrong usbs are listened to for wakeups, or usbcore is suspending. Double check the echo to /proc/acpi/wakeup and add usbcore.autosuspend=-1 in the grub line. Cheers, Tobias - SubSense - 2009-12-24 topfs2 Wrote:instant resume after suspend is usually because wrong usbs are listened to for wakeups, or usbcore is suspending. Tried that, I've found the details here But it doesn't work for me. Here's when it's working fine: Code: xbmc@XBMCLive:~$ cat /proc/acpi/wakeup And here's when it instant resumes Code: xbmc@XBMCLive:~$ cat /proc/acpi/wakeup I've changed the values with Code: sudo bash -c 'echo USB2 >> /proc/acpi/wakeup' To get around the Permission Denied error - andyblac - 2009-12-24 just found this info it might help, i can't get to my asrock atm so if someone can try it this might fixed the prolem regarding not being able to change S4 to S3 so try sudo cat state then sudo echo -n "S3" > /sys/power/stat OR try sudo cat sleep then sudo echo S3 > /proc/acpi/sleep hope this helps ? - SubSense - 2009-12-24 Thanks! I'll try that asap! - Qroach - 2009-12-28 when i try to use those commands I get a permission denied error. Is there a reason why sudo doesn't give me permission? - Starstream - 2009-12-28 I'm curious in the 9.04 release of XBMC Live the Windows media center remote and USB IR adapter worked out of the box and you could suspend/resume no problem over IR with the Asrock Ion 330. Now that the 9.11 release is final you can't unless you do the rc.local tweak. Does anyone know why this changed I thought it was a bug through the beta/rc releases but it seems to have carried over to the final 9.11 release of XBMC Live. - Rion - 2010-01-21 Any more new on this? Im using Xbox DVD IR Adapter. Appears to suspend but it immediately wakes up right after. - sygyzy_nbr - 2010-01-21 Rion Wrote:Any more new on this? What does your Code: cat /proc/acpi/wakeup |grep ^USB The reason it immediately resumes after standby is you activated too many USB ports. You need to only allow one to be active. I bet you have a USB key or wireless dongle or some other USB devices plugged in, in addition to the USB IR receiver right? - Rion - 2010-01-21 sygyzy_nbr Wrote:What does your root@XBMC:~# cat /proc/acpi/wakeup |grep ^USB USB0 S4 disabled pci:0000:00:04.0 USB2 S4 enabled pci:0000:00:04.1 Tried to change to S3 using this command nano /proc/acpi/wakeup but the file will not save. Logged in as "root" rc.local echo USB2>/proc/acpi/wakeup echo "rc.local has completed sucessfully." >> /tmp/resume.log exit 0 Edit: sygyzy_nbr Wrote:I bet you have a USB key or wireless dongle or some other USB devices plugged in, in addition to the USB IR receiver right? No nothing except the Lan Cable - sygyzy_nbr - 2010-01-21 You need to figure out exactly which port your IR dongle is plugged into and let me tell you, it's not obvious. Trial and error. Let's swap the USB2 and USB0 by doing this echo "USB0" >> /proc/acpi/wakeup echo "USB2" >> /proc/acpi/wakeup - Rion - 2010-01-21 sygyzy_nbr Wrote:You need to figure out exactly which port your IR dongle is plugged into and let me tell you, it's not obvious. Trial and error. root@XBMC:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub There it says its connected to USB Port 2 |