[Asrock] Resume suspend mode, is it possible with IR?
#46
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.
Reply
#47
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?
Reply
#48
Has anyone found a solution for this yet?
Reply
#49
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".
Reply
#50
SubSense Wrote: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".

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
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
#51
topfs2 Wrote: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

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
Device  S-state   Status   Sysfs node
SMB0      S4     disabled  pci:0000:00:03.2
USB0      S4     enabled   pci:0000:00:04.0
USB2      S4     disabled  pci:0000:00:04.1
NMAC      S5     disabled  pci:0000:00:0a.0
PBB0      S4     disabled  pci:0000:00:09.0
HDAC      S4     disabled  pci:0000:00:08.0
XVR0      S4     disabled
XVR1      S4     disabled
P0P5      S4     disabled
P0P6      S4     disabled
P0P7      S4     disabled
P0P8      S4     disabled
P0P9      S4     disabled

And here's when it instant resumes

Code:
xbmc@XBMCLive:~$ cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
SMB0      S4     disabled  pci:0000:00:03.2
USB0      S4     enabled   pci:0000:00:04.0
USB2      S4     enabled   pci:0000:00:04.1
NMAC      S5     disabled  pci:0000:00:0a.0
PBB0      S4     disabled  pci:0000:00:09.0
HDAC      S4     disabled  pci:0000:00:08.0
XVR0      S4     disabled
XVR1      S4     disabled
P0P5      S4     disabled
P0P6      S4     disabled
P0P7      S4     disabled
P0P8      S4     disabled
P0P9      S4     disabled

I've changed the values with
Code:
sudo bash -c 'echo USB2 >> /proc/acpi/wakeup'

To get around the Permission Denied error
Reply
#52
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 ?
Reply
#53
Thanks! I'll try that asap!
Reply
#54
when i try to use those commands I get a permission denied error. Is there a reason why sudo doesn't give me permission?
Reply
#55
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.
Reply
#56
Any more new on this?

Im using Xbox DVD IR Adapter.
Appears to suspend but it immediately wakes up right after.
Reply
#57
Rion Wrote:Any more new on this?

Im using Xbox DVD IR Adapter.
Appears to suspend but it immediately wakes up right after.

What does your
Code:
cat /proc/acpi/wakeup |grep ^USB
say?

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?
Reply
#58
sygyzy_nbr Wrote:What does your
Code:
cat /proc/acpi/wakeup |grep ^USB
say?

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?


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
Reply
#59
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
Reply
#60
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.

Let's swap the USB2 and USB0 by doing this

echo "USB0" >> /proc/acpi/wakeup
echo "USB2" >> /proc/acpi/wakeup

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
Reply

Logout Mark Read Team Forum Stats Members Help
[Asrock] Resume suspend mode, is it possible with IR?0