View previous topic :: View next topic |
Author |
Message |
lucs12 n00b
Joined: 13 Feb 2010 Posts: 13
|
Posted: Wed Jul 14, 2010 1:02 pm Post subject: How can I make KDE4 use tuxonice? |
|
|
By default KDE4 seems to be using pm-utils and HAL. I would like to use Tuxonice instead. Any ideas how to do that? Thanks. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
lucs12 n00b
Joined: 13 Feb 2010 Posts: 13
|
Posted: Thu Jul 15, 2010 5:31 pm Post subject: |
|
|
I do use tuxonice-sources and when I do a hibernate-ram or hibernate in CLI, the tuxonice mechanism is used. This also shows in the tuxonice logs. However, when I choose suspend to RAM or suspend to disk in the KDE menus, some other suspend mechanism seems to be used, most likely something via HAL, because it doesn't show in the tuxonice logs. Maybe I am wrong, I don't know. |
|
Back to top |
|
|
poOoch Tux's lil' helper
Joined: 05 Nov 2003 Posts: 77 Location: Ulm / Germany
|
Posted: Fri Jul 16, 2010 11:27 am Post subject: |
|
|
Did you set CONFIG_TOI_REPLACE_SWSUSP=y in Kernel, so the standard hibernate mechanism is replaced by the tuxonice's one? |
|
Back to top |
|
|
lucs12 n00b
Joined: 13 Feb 2010 Posts: 13
|
Posted: Fri Jul 16, 2010 12:48 pm Post subject: |
|
|
poOoch wrote: | Did you set CONFIG_TOI_REPLACE_SWSUSP=y in Kernel, so the standard hibernate mechanism is replaced by the tuxonice's one? |
Yes, I did. |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Thu Dec 02, 2010 9:48 pm Post subject: |
|
|
up?
Any news about kde4 suspending with hibernate script? _________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
|
lucs12 n00b
Joined: 13 Feb 2010 Posts: 13
|
Posted: Thu Dec 02, 2010 9:58 pm Post subject: |
|
|
bandreabis wrote: | up?
Any news about kde4 suspending with hibernate script? |
No, I pretty much gave up trying to figure this out. |
|
Back to top |
|
|
ssteinberg Apprentice
Joined: 09 Jul 2010 Posts: 206 Location: Israel
|
Posted: Fri Dec 03, 2010 12:57 pm Post subject: |
|
|
KDE4 doesn't use the hibernate script but pm-utils. As long as you have that kernel option to replace swsusp with toi pm-hibernate will hibernate with toi.
If you don't get splash/ui check that the correct toi userspace ui program is set in kernel. |
|
Back to top |
|
|
lucs12 n00b
Joined: 13 Feb 2010 Posts: 13
|
Posted: Fri Dec 03, 2010 1:59 pm Post subject: |
|
|
ssteinberg wrote: | KDE4 doesn't use the hibernate script but pm-utils. As long as you have that kernel option to replace swsusp with toi pm-hibernate will hibernate with toi.
If you don't get splash/ui check that the correct toi userspace ui program is set in kernel. |
Yeah, I suspected that pm-utils was involved. I have the toi set in the kernel, however, whenever I do a suspend from the KDE menus, I can see the splash/ui screen but nothing is logged in the toi log. When I do a hibernate or hibernate-ram, I can see afterward what happened in the toi log. Do you think toi is used in both cases above? Thanks. |
|
Back to top |
|
|
ssteinberg Apprentice
Joined: 09 Jul 2010 Posts: 206 Location: Israel
|
Posted: Fri Dec 03, 2010 2:48 pm Post subject: |
|
|
lucs12 wrote: | ssteinberg wrote: | KDE4 doesn't use the hibernate script but pm-utils. As long as you have that kernel option to replace swsusp with toi pm-hibernate will hibernate with toi.
If you don't get splash/ui check that the correct toi userspace ui program is set in kernel. |
Yeah, I suspected that pm-utils was involved. I have the toi set in the kernel, however, whenever I do a suspend from the KDE menus, I can see the splash/ui screen but nothing is logged in the toi log. When I do a hibernate or hibernate-ram, I can see afterward what happened in the toi log. Do you think toi is used in both cases above? Thanks. |
If you see the splash/ui from tuxoniceui_* then yes, you are using toi.
I don't know what log you are talking about, probably it is some log generated by the hibernation script. pm-hibernate logs its own log as well, check /var/log/pm-suspend.log. |
|
Back to top |
|
|
lucs12 n00b
Joined: 13 Feb 2010 Posts: 13
|
Posted: Fri Dec 03, 2010 2:55 pm Post subject: |
|
|
ssteinberg wrote: | lucs12 wrote: | ssteinberg wrote: | KDE4 doesn't use the hibernate script but pm-utils. As long as you have that kernel option to replace swsusp with toi pm-hibernate will hibernate with toi.
If you don't get splash/ui check that the correct toi userspace ui program is set in kernel. |
Yeah, I suspected that pm-utils was involved. I have the toi set in the kernel, however, whenever I do a suspend from the KDE menus, I can see the splash/ui screen but nothing is logged in the toi log. When I do a hibernate or hibernate-ram, I can see afterward what happened in the toi log. Do you think toi is used in both cases above? Thanks. |
If you see the splash/ui from tuxoniceui_* then yes, you are using toi.
I don't know what log you are talking about, probably it is some log generated by the hibernation script. pm-hibernate logs its own log as well, check /var/log/pm-suspend.log. |
You're right, that's what's going on. I could find the suspend logs in /var/log/pm-suspend.log, but not in /var/log/hibernate.log. Thanks. |
|
Back to top |
|
|
lamarque n00b
Joined: 11 Jan 2006 Posts: 49 Location: Rio de Janeiro / Brasil
|
|
Back to top |
|
|
|