You are not logged in.
Hi, I'm having problems getting my Dell Inspiron 1300 laptop to resume correctly.
Now, before you tell me to search the forums, I assure you I've done that .
The laptop: I recently switched from gentoo to arch (I'm loving it so far, this'll be the last glitch I need to solve), so I'm using a similar setup to what I had before, where I have it catch an acpi event (the LID event), check to see if the lid is open/closed, then have it run hibernate, which is set up to use ram.conf, which in turn uses sysfs-ram.conf, with these Vbetool options enabled in the ram.conf:
EnableVbetool yes
VbetoolPost yes
Here's sysfs-ram.conf, the conf with most of my options:
UseSysfsPowerState mem
OnSuspend 20 /etc/rc.d/network stop
Runi915resolution yes
OnResume 20 /usr/bin/xbindkeys
OnResume 20 amixer set Master toggle
OnResume 20 amixer set Master toggle
OnResume 30 /etc/rc.d/network restart
OnResume 20 /usr/local/bin/vbt
OnResume 10 vbetool dpms on
Include common.conf
The issue is present with the /usr/local/bin/vbt script and vbetool dpms on removed. (vbt is a script I made to toggle my laptop's screen to save power).
I've tried multiple methods and just can't seem to figure it out - I have that vbt script set to fn + F5, but pressing that doesn't work, although changing to another VT and then back to VT7 works just fine.
Thanks!
Nick
Offline
enable these in the hibernate config.
SwitchToTextMode yes
UseDummyXServer yes
Offline
I added those and they just made it take a little bit longer to fail . Although, I don't actually see the options started in the hibernate.log. After looking at the log, it seems that Vbetool is saving its state even when resuming, which might be the issue. Here's the log:
Starting suspend at Sun Mar 11 04:24:42 PDT 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing /etc/rc.d/network stop...
[1;34m:: [1;37mStopping Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing VbetoolSaveState ...
[H [Jhibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...
hibernate: [98] Executing i915resolutionResume ...
[1;34m:: [1;37mPatching the VBIOS [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [97] Executing VbetoolRestoreState ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [30] Executing MiscLaunchAuxFunc5 ...
Executing /etc/rc.d/network restart...
[1;34m:: [1;37mStopping Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;31mFAIL [1;34m] [1;0m
[1;34m:: [1;37mStarting Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [20] Executing MiscLaunchAuxFunc6 ...
Executing /usr/local/bin/vbt...
hibernate: [20] Executing MiscLaunchAuxFunc4 ...
Executing amixer set Master toggle...
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 18 [58%] [-19.50dB] [off]
Front Right: Playback 18 [58%] [-19.50dB] [off]
hibernate: [20] Executing MiscLaunchAuxFunc3 ...
Executing amixer set Master toggle...
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 18 [58%] [-19.50dB] [on]
Front Right: Playback 18 [58%] [-19.50dB] [on]
hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing /usr/bin/xbindkeys...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [10] Executing MiscLaunchAuxFunc7 ...
Executing vbetool dpms on...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Sun Mar 11 03:58:35 PDT 2007
Starting suspend at Sun Mar 11 04:21:33 PDT 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing /etc/rc.d/network stop...
[1;34m:: [1;37mStopping Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing VbetoolSaveState ...
[H [Jhibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...
hibernate: [98] Executing i915resolutionResume ...
[1;34m:: [1;37mPatching the VBIOS [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [97] Executing VbetoolRestoreState ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [30] Executing MiscLaunchAuxFunc5 ...
Executing /etc/rc.d/network restart...
[1;34m:: [1;37mStopping Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;31mFAIL [1;34m] [1;0m
[1;34m:: [1;37mStarting Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [20] Executing MiscLaunchAuxFunc6 ...
Executing /usr/local/bin/vbt...
hibernate: [20] Executing MiscLaunchAuxFunc4 ...
Executing amixer set Master toggle...
hibernate: [20] Executing MiscLaunchAuxFunc3 ...
Executing amixer set Master toggle...
hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing /usr/bin/xbindkeys...
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 12 [39%] [-28.50dB] [off]
Front Right: Playback 12 [39%] [-28.50dB] [off]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 12 [39%] [-28.50dB] [on]
Front Right: Playback 12 [39%] [-28.50dB] [on]
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [10] Executing MiscLaunchAuxFunc7 ...
Executing vbetool dpms on...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Sun Mar 11 13:27:44 PDT 2007
Starting suspend at Sun Mar 11 13:40:38 PDT 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing /etc/rc.d/network stop...
[1;34m:: [1;37mStopping Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing VbetoolSaveState ...
[H [Jhibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...
hibernate: [98] Executing i915resolutionResume ...
[1;34m:: [1;37mPatching the VBIOS [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [97] Executing VbetoolRestoreState ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [20] Executing MiscLaunchAuxFunc6 ...
Executing /usr/local/bin/vbt...
hibernate: [20] Executing MiscLaunchAuxFunc5 ...
Executing /etc/rc.d/network restart...
[1;34m:: [1;37mStopping Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;31mFAIL [1;34m] [1;0m
[1;34m:: [1;37mStarting Network [1;0m [s [-9G [1;34m[ [0;36mBUSY [1;34m] [1;0m [-9G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [20] Executing MiscLaunchAuxFunc4 ...
Executing amixer set Master toggle...
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 12 [39%] [-28.50dB] [off]
Front Right: Playback 12 [39%] [-28.50dB] [off]
hibernate: [20] Executing MiscLaunchAuxFunc3 ...
Executing amixer set Master toggle...
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 12 [39%] [-28.50dB] [on]
Front Right: Playback 12 [39%] [-28.50dB] [on]
hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing /usr/bin/xbindkeys...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [10] Executing MiscLaunchAuxFunc7 ...
Executing vbetool dpms on...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Sun Mar 11 13:41:00 PDT 2007
Starting suspend at Sun Mar 11 13:46:21 PDT 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing /etc/rc.d/network stop...
[1;34m:: [1;37mStopping Network [1;0m [s [131G [1;34m[ [0;36mBUSY [1;34m] [1;0m [131G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing VbetoolSaveState ...
[H [Jhibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...
hibernate: [98] Executing i915resolutionResume ...
[1;34m:: [1;37mPatching the VBIOS [1;0m [s [131G [1;34m[ [0;36mBUSY [1;34m] [1;0m [131G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [97] Executing VbetoolRestoreState ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [20] Executing MiscLaunchAuxFunc6 ...
Executing /usr/local/bin/vbt...
hibernate: [20] Executing MiscLaunchAuxFunc5 ...
Executing /etc/rc.d/network start...
[1;34m:: [1;37mStarting Network [1;0m [s [131G [1;34m[ [0;36mBUSY [1;34m] [1;0m [131G [1;34m[ [1;37mDONE [1;34m] [1;0m
hibernate: [20] Executing MiscLaunchAuxFunc4 ...
Executing amixer set Master toggle...
hibernate: [20] Executing MiscLaunchAuxFunc3 ...
Executing amixer set Master toggle...
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 12 [39%] [-28.50dB] [off]
Front Right: Playback 12 [39%] [-28.50dB] [off]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 12 [39%] [-28.50dB] [on]
Front Right: Playback 12 [39%] [-28.50dB] [on]
hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing /usr/bin/xbindkeys...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [10] Executing MiscLaunchAuxFunc7 ...
Executing vbetool dpms on...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Sun Mar 11 13:46:43 PDT 2007
Sorry if that was too much to post, I couldn't find a way to attach a text file
Offline
Alright, it looks like it was doing something strange saving the state - if I have my /etc/rc.local script initiate a manual state save at boot and then change my hibernate options to *just* use that saved state, everything works fine.
Offline