Suspend is not working
#16
logged in with suso su and entering "cd /var/lib/polkit-1/localauthority/50-local.d/ " now did not give any errors. But still no luck also checked acpi setting in the bios but everyting seems to be ok there.

I have this problem not with my asrock 330 HT

Please help....
Reply
#17
please rwead what I posted you need to

1) sudo apt-get install policykit-1 upower -y

2) sudo cd /var/lib/polkit-1/localauthority/50-local.d/

3) sudo wget -nc -q http://dl.dropbox.com/u/4325533/XCI/custom-actions.pkla

then you must add your user to power permissions as it is detailed in the link...

sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions

Please confirm you did all steps and post results.

details are described here http://wiki.xbmc.org/index.php?title=Ubu...end_/_Wake
Reply
#18
X3lectric,

Thanks for al suggestions. I finaly solved this problem but I did give it a try in a different direction.

I disabled the USB 3.0 ports on my Asrock 3D and that solved the problem. I am a verry happy person now.

Thanks for you're support !!!

Don
Reply
#19
I have done according to your suggestions but still no luck. For me when you try to suspend ... followed by a moment of suspension of a black screen about 2 seconds and return to the xbmc :-(
Perhaps the fault lies in the grub options. AutoResume error. I do not know how to fix it.
Gives some information / data from my XBMC-Live
xbmc.log ...debug
Quote:09:34:16 T:3054438272 M:3020398592 DEBUG: OnKey: 61453 pressed, action is Select
09:34:16 T:3054438272 M:3020398592 DEBUG: ExecuteXBMCAction : Translating XBMC.Suspend()
09:34:16 T:3054438272 M:3020398592 DEBUG: ExecuteXBMCAction : To XBMC.Suspend()
09:34:16 T:3054438272 M:3020398592 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method AboutToSleep
09:34:16 T:3054438272 M:3020398592 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method Suspend
09:34:16 T:3054438272 M:3020398592 DEBUG: CAnnouncementManager - Announcement: Suspend from xbmc
09:34:16 T:3054438272 M:3020398592 DEBUG: ------ Window Deinit (DialogButtonMenu.xml) ------
09:34:16 T:3054438272 M:3020906496 DEBUG: CAnnouncementManager - Announcement: Sleep from xbmc
09:34:16 T:3054438272 M:3020906496 NOTICE: OnSleep: Running sleep jobs
09:34:16 T:3054438272 M:3020906496 NOTICE: OnSleep: Stopping lirc
09:34:16 T:3054438272 M:3020906496 INFO: LIRC setUsed: disabled
09:34:20 T:3054438272 M:3019509760 NOTICE: OnWake: Running resume jobs
09:34:20 T:3054438272 M:3019509760 ERROR: GLX: Same window as before, refreshing context
09:34:20 T:3054438272 M:3019509760 INFO: GL: Maximum texture width: 8192
09:34:20 T:3054438272 M:3019001856 ERROR: GLX: Same window as before, refreshing context
09:34:20 T:3054438272 M:3019001856 INFO: GL: Maximum texture width: 8192
09:34:20 T:3054438272 M:3017732096 NOTICE: OnWake: Restarting lirc
09:34:20 T:3054438272 M:3017732096 INFO: LIRC Initialize: using: /dev/lircd
09:34:20 T:3054438272 M:3017732096 INFO: LIRC Initialize: sucessfully started
09:34:20 T:3054438272 M:3017732096 NOTICE: OnWake: Restarting lcd
09:34:20 T:3054438272 M:3017732096 DEBUG: CAnnouncementManager - Announcement: Wake from xbmc
09:34:20 T:2972023664 M:3017478144 DEBUG: thread start, auto delete: 1
09:34:20 T:2972023664 M:3017478144 INFO: WEATHER: Downloading weather
09:34:20 T:2972023664 M:3017478144 DEBUG: Loading: libcurl-gnutls.so.4
09:34:20 T:3054438272 M:3017478144 DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-i486-linux.so
09:34:20 T:2972023664 M:3017478144 DEBUG: FileCurl::Open(0xb12560e8) http://xoap.weather.com/weather/local/PL...145f208494
09:34:20 T:2972023664 M:3017478144 INFO: easy_aquire - Created session to http://xoap.weather.com
09:34:20 T:2972023664 M:3017478144 DEBUG: FileCurl::Close(0xb12560e8) http://xoap.weather.com/weather/local/PL...145f208494
09:34:20 T:2972023664 M:3017478144 INFO: WEATHER: Weather download successful
09:34:50 T:2972023664 M:3017478144 DEBUG: Thread 2972023664 terminating (autodelete)
09:34:51 T:3054438272 M:3017502720 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
09:34:51 T:3054438272 M:3017502720 DEBUG: Unloading: ImageLib-i486-linux.so
09:34:51 T:3054438272 M:3017502720 INFO: CheckIdle - Closing session to http://xoap.weather.com (easy=0xb49f5fc0, multi=0xb40d5b58)
09:35:21 T:3054438272 M:3017519104 DEBUG: SECTION:UnloadDll(libcurl-gnutls.so.4)
09:35:21 T:3054438272 M:3017519104 DEBUG: Unloading: libcurl-gnutls.so.4
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P1 S4 disabled pci:0000:00:1e.0
PS2K S4 disabled pnp:00:0a
PS2M S4 disabled pnp:00:0b
USB0 S4 enabled pci:0000:00:1d.0
USB1 S4 enabled pci:0000:00:1d.1
USB2 S4 enabled pci:0000:00:1d.2
USB3 S4 enabled pci:0000:00:1d.3
EUSB S4 enabled pci:0000:00:1d.7
P0PA S4 disabled pci:0000:00:1c.0
P0P5 S4 disabled pci:0000:00:1c.1
LAN S4 disabled pci:0000:04:00.0
P0P6 S4 disabled pci:0000:00:1c.2
P0P7 S4 disabled pci:0000:00:1c.3
P0P8 S4 disabled
P0P9 S4 disabled

/etc/default/grub
Quote:# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 acpi_enforce_resources=lax xbmc=autostart,noredir "
#GRUB_CMDLINE_LINUX="acpi_enforce_resources = lax"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

# Defaults from XBMC Installation
GRUB_CMDLINE_LINUX_DEFAULT="xbmc=autostart,nodiskmount loglevel=0 usbcore.autosuspend=-1"
GRUB_GFXMODE="800x600"
GRUB_GFXPAYLOAD_LINUX="800x600"
pm-poversave.log / pm-suspend.log
http://www.drivehq.com/file/df.aspx/shar...uspend.log
http://www.drivehq.com/file/df.aspx/shar...ersave.log
My motherboard is ASUS AT5IONT-I ... but it's not the fault of the motherboard rather a bug in Ubuntu :2.6.32-29-generic # 58-Ubuntu LTS UTC 2011/Ubuntu 10.04.2 - XBMCLive Dharma.
Can anyone give me some help.Sad
Reply
#20
sudo apt-get dist-upgrade
Ubuntu upgraded from kernel 2.6.32-29 to :2.6.32-32-generic # 62-Ubuntu SMP Fri Apr 20 9:54:21 p.m. UTC 2011 ... but still did not help.Confused
During the upgrade you can read in the console:

update-initramfs: Generating / boot/initrd.img-2.6.32-32-generic
cryptsetup: WARNING: found more than one resume device candidate:
/ dev/sda5
UUID = 7d6851e6-6b1f-423b-b9e9-46cb65a6e86b
Maybe there is wrong?
cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=7d6851e6-6b1f-423b-b9e9-46cb65a6e86b

in : boot/grub/grub.cfg
Quote:### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=800x600
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set d4711627-9850-438c-9b58-f4183f792489
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d4711627-9850-438c-9b58-f4183f792489 ro xbmc=autostart,nodiskmount loglevel=0 usbcore.autosuspend=-1
initrd /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=800x600
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set d4711627-9850-438c-9b58-f4183f792489
echo 'Loading Linux 2.6.32-32-generic ...'
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d4711627-9850-438c-9b58-f4183f792489 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=800x600
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set d4711627-9850-438c-9b58-f4183f792489
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=d4711627-9850-438c-9b58-f4183f792489 ro xbmc=autostart,nodiskmount loglevel=0 usbcore.autosuspend=-1
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=800x600
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set d4711627-9850-438c-9b58-f4183f792489
echo 'Loading Linux 2.6.32-29-generic ...'
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=d4711627-9850-438c-9b58-f4183f792489 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-29-generic
}

Now, after the command is: sudo update-grub
Generating grub.cfg ...
Found linux image: / boot/vmlinuz-2.6.32-32-generic
Found initrd image: / boot/initrd.img-2.6.32-32-generic
Found linux image: / boot/vmlinuz-2.6.32-29-generic
Found initrd image: / boot/initrd.img-2.6.32-29-generic
done
I do not understand nothing
Reply
#21
Can anyone help me .... without using the suspend I do not think about you start your computer from remote
Reply
#22
Well now waiting for me to reinstall the system, the system died ... so he can have a different version now offers proven can-live version of XBMC. From acting and proven suspend option.
Version: xbmc-10.1-live.iso 10-Mar-2011 5:34 414M
from here: http://mirrors.xbmc.org/releases/live/ - does not work for me
My motherboard: Asus AT5IONT-I
Thanks for your helpLaugh
Reply
#23
The success of all works OK! .Laugh Big Grin
The error was on the side of the motherboard AT5IONT-I and the exact BIOS. Just turn off the option in the BIOS - USB3 (disable!). I still have to check everything because I upgraded the kernel / alsa / nvidia ... and carefully made ​​a downgrade the 2.6.32-32 kernel to: 2.6.32-22-generic # 36-Ubuntu SMP Thu Jun 3 10:02:19 p.m. UTC 2010
I hope that others helped with the Asus motherboards AT5IONT-I
Good luck!
Reply

Logout Mark Read Team Forum Stats Members Help
Suspend is not working0