← Back to team overview

sony-vaio-z-series team mailing list archive

Re: VPCZ11Z9E - screen does not light up on resume

 

I delved deeper and I find that KDE use HAL scripts, and for suspend it is :

/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux

And that script executes pm-suspend...
I then compared the pm-suspend.log issued first when I type "sudo pm-suspend" 
(and all works well) and then through KDE features (where my monitor does not 
light up).

The logs are the same except that my script containing the two commands with 
xrandr produces "Can't open display" twice, when I suspend through KDE 
features... Don't know why :/

Does anyone have an idea? (I join the pm-suspend.log if that helps)

Regards,

	Eric

Le mardi 15 juin 2010 21:18:22, Eric Lacombe a écrit :
> I've found the script used by pm-utils, so it works when I do a pm-suspend.
> But through kde4 "features" (like suspend menu, ...) on kubuntu 10.04 my
> script is not executed... seems strange that pm-utils scripts are not used.
> 
> Does anyone have an idea about that ? (I also try to add xrandr lines at
> the end of /usr/lib/hal/scripts/hal-system-power-suspend, but still
> nothing).
> 
> Thanks.
> 
> 	Eric
> 
> Le mercredi 9 juin 2010 15:18:09 Eric Lacombe, vous avez écrit :
> > Thanks, it works now, and it's a solution totally usable for now.
> > 
> > 	Eric
> > 
> > Le mercredi 9 juin 2010 02:56:24, Sebastian Daehne a écrit :
> > > On 07.06.2010 14:24, Eric Lacombe wrote:
> > > > I find a way to light up the screen (not totally satisfactory) after
> > > > resume : When resume step seems complete, I plug an auxiliary monitor
> > > > through the VGA connector, and the laptop screen light up
> > > > immediately.
> > > 
> > > you can add these 2 lines to your resume script and your monitor should
> > > light up:
> > > 
> > > xrandr --output DP3 --off
> > > xrandr --output DP3 --auto
> > > 
> > > 
> > > regards
> > > 
> > > Sebastian
> > > 
> > > _______________________________________________
> > > Mailing list: https://launchpad.net/~sony-vaio-z-series
> > > Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> > > Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> > > More help   : https://help.launchpad.net/ListHelp
Initial commandline parameters: 
Tue Jun 22 16:48:35 CEST 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux ossus 2.6.34-custom #1 SMP Thu Jun 17 15:38:47 CEST 2010 x86_64 GNU/Linux
Module                  Size  Used by
snd_hda_codec_nvhdmi    13970  4 
binfmt_misc             7670  1 
snd_hda_codec_realtek   296000  1 
ppdev                   6648  0 
fbcon                  39071  73 
tileblit                2495  1 fbcon
font                    8061  1 fbcon
bitblit                 5787  1 fbcon
softcursor              1541  1 bitblit
iptable_mangle          1807  0 
iptable_nat             4481  0 
rfcomm                 39346  6 
nf_nat                 19725  1 iptable_nat
snd_hda_intel          25126  2 
tpm_infineon            8987  0 
ipt_LOG                 5378  1 
snd_hda_codec          98065  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_pcm_oss            40665  0 
xt_recent               8874  3 
snd_hwdep               6850  1 snd_hda_codec
snd_mixer_oss          16322  1 snd_pcm_oss
ipt_REJECT              2389  1 
snd_seq_dummy           1790  0 
snd_pcm                88362  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
xt_tcpudp               2675  6 
nf_conntrack_ipv4      12924  7 iptable_nat,nf_nat
snd_seq_oss            30754  0 
nf_defrag_ipv4          1553  1 nf_conntrack_ipv4
xt_state                1498  4 
arc4                    1481  2 
sco                     9623  2 
snd_seq_midi            5900  0 
nf_conntrack           75201  4 iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
bridge                 71694  0 
snd_rawmidi            23456  1 snd_seq_midi
stp                     2179  1 bridge
bnep                   11836  2 
snd_seq_midi_event      7275  2 snd_seq_oss,snd_seq_midi
i915                  318407  2 
l2cap                  35547  16 rfcomm,bnep
iptable_filter          1762  1 
iwlagn                160866  0 
ip_tables              18602  3 iptable_mangle,iptable_nat,iptable_filter
snd_seq                57331  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
iwlcore               182490  1 iwlagn
x_tables               22966  9 iptable_mangle,iptable_nat,ipt_LOG,xt_recent,ipt_REJECT,xt_tcpudp,xt_state,iptable_filter,ip_tables
nouveau               523102  0 
snd_timer              23230  2 snd_pcm,snd_seq
mac80211              252786  2 iwlagn,iwlcore
qcserial                4076  0 
uvcvideo               61410  0 
ttm                    59432  1 nouveau
lp                      9977  0 
videodev               42246  1 uvcvideo
sdhci_pci               7415  0 
v4l1_compat            15503  2 uvcvideo,videodev
snd_seq_device          6864  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
v4l2_compat_ioctl32    11866  1 videodev
joydev                 10903  0 
btusb                  12977  2 
usbserial              38272  1 qcserial
bluetooth              58998  9 rfcomm,sco,bnep,l2cap,btusb
drm_kms_helper         30245  2 i915,nouveau
cfg80211              167209  3 iwlagn,iwlcore,mac80211
psmouse                59824  0 
parport                36975  2 ppdev,lp
sdhci                  17368  1 sdhci_pci
tpm_tis                 9718  0 
snd                    70739  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hwdep,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
serio_raw               4894  0 
video                  21025  1 i915
drm                   201652  5 i915,nouveau,ttm,drm_kms_helper
tpm                    15780  2 tpm_infineon,tpm_tis
tpm_bios                6275  1 tpm
output                  2479  1 video
led_class               3377  1 sdhci
soundcore               8155  1 snd
snd_page_alloc          8668  2 snd_hda_intel,snd_pcm
i2c_algo_bit            5736  2 i915,nouveau
intel_agp              30606  2 i915
usbhid                 40725  0 
hid                    81875  1 usbhid
ahci                   39539  4 
e1000e                136973  0 
             total       used       free     shared    buffers     cached
Mem:       5790680    2274552    3516128          0     182080    1066284
-/+ buffers/cache:    1026188    4764492
Swap:            0          0          0
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01sony-vaio suspend suspend:success.
/etc/pm/sleep.d/10_grub-common suspend suspend:success.
/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95anacron suspend suspend:stop: Unknown instance: 
success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/95packagekit suspend suspend:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
/etc/pm/sleep.d/action_wpa suspend suspend:success.
Tue Jun 22 16:48:35 CEST 2010: performing suspend
Tue Jun 22 16:48:43 CEST 2010: Awake.
Tue Jun 22 16:48:43 CEST 2010: Running hooks for resume
/etc/pm/sleep.d/action_wpa resume suspend:success.
/usr/lib/pm-utils/sleep.d/99video resume suspend:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib/pm-utils/sleep.d/95packagekit resume suspend:method return sender=:1.149 -> dest=:1.171 reply_serial=2
success.
/usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/95anacron resume suspend:success.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:not applicable.
/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:success.
/etc/pm/sleep.d/10_grub-common resume suspend:success.
/usr/lib/pm-utils/sleep.d/01sony-vaio resume suspend:Can't open display 
Can't open display 
Returned exit code 1.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend:success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend:success.
/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:success.

References