From time to time opensuse 12.3 starts to wake up from sleep immediately. I have created a service in /etc/init.d be able to wake up from keyboard and mouse with the following code:
echo enabled > /sys/bus/usb/devices/usb5/power/wakeup echo enabled > /sys/bus/usb/devices/5-1/power/wakeup echo enabled > /sys/bus/usb/devices/5-2/power/wakeup
I've also added this option in grub:
I have nvidia card with 319.32 drivers installed. Most of the time going to sleep and resuming works fine, but after some period of time it just keeps waking up immediately and only rebooting the system helps.