LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   suspend-to-* on thinkpad X121/Amd E450, Radeon HD 6320 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/suspend-to-%2A-on-thinkpad-x121-amd-e450-radeon-hd-6320-a-933895/)

otoomet 03-11-2012 10:18 AM

suspend-to-* on thinkpad X121/Amd E450, Radeon HD 6320
 
Hi guys,

anyone got suspend on this box working? I have ubuntu 11.10 64bit and have tried both open-source radeon and fglrx (11.11) drivers. I use 3.2.1 kernel (custom compiled). There are claims of people who can suspend a computer with similar chipset but haven't yet seen anyone talking about X121.

Suspend-to-ram seemed to work with radeon drivers, and sometimes the system was also able to wake up. With fglrx it seems to hang before falling asleep. /var/log/pm-suspend seems not too informative, I may post it here. Would be happy to compile a new kernel/play around with boot options.

Otherwise, both radeon and fglrx drivers work well.

Edit: relevant part from /var/log/pm-suspend.log
Code:

Sun Mar 11 17:20:18 EET 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:

/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux sigena 3.2.1-custom #1 SMP Mon Jan 23 22:43:52 CET 2012 x86_64 x86_64 x86_64 GNU/Linux
Module                  Size  Used by
bnep                  18139  2
rfcomm                46621  12
parport_pc            36784  0
ppdev                  17030  0
binfmt_misc            17431  1
nls_iso8859_1          12713  1
nls_cp437              16991  1
vfat                  17461  1
fat                    61216  1 vfat
snd_hda_codec_conexant    61660  1
btusb                  18288  2
bluetooth            168639  23 bnep,rfcomm,btusb
snd_hda_codec_hdmi    32182  1
snd_hda_intel          33293  2
snd_hda_codec        117050  3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13563  1 snd_hda_codec
joydev                17457  0
snd_pcm                96333  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
thinkpad_acpi          81235  0
snd_seq_midi          13324  0
arc4                  12529  2
snd_rawmidi            30306  1 snd_seq_midi
snd_seq_midi_event    14899  1 snd_seq_midi
rtl8192ce              79523  0
rtl8192c_common        74576  1 rtl8192ce
snd_seq                61520  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29533  2 snd_pcm,snd_seq
snd_seq_device        14497  3 snd_seq_midi,snd_rawmidi,snd_seq
rtlwifi              105613  1 rtl8192ce
snd                    67743  15 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,thinkpad_acpi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
uvcvideo              71449  0
psmouse                72861  0
sp5100_tco            13697  0
nvram                  14325  1 thinkpad_acpi
rts_pstor            420580  0
videodev              97843  1 uvcvideo
soundcore              12680  1 snd
v4l2_compat_ioctl32    16780  1 videodev
mac80211              492265  3 rtl8192ce,rtl8192c_common,rtlwifi
lp                    17759  0
serio_raw              13211  0
i2c_piix4              13167  0
k10temp                13119  0
snd_page_alloc        18484  2 snd_hda_intel,snd_pcm
video                  19097  0
fglrx                3101160  98
cfg80211              204021  2 rtlwifi,mac80211
wmi                    19070  0
parport                46354  3 parport_pc,ppdev,lp
atl1c                  40735  0
ahci                  25720  4
libahci                26979  1 ahci
            total      used      free    shared    buffers    cached
Mem:      7635768    2192216    5443552          0      89232    1398764
-/+ buffers/cache:    704220    6931548
Swap:    15624996          0  15624996

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend:
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>>
/usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common suspend suspend:

/etc/pm/sleep.d/10_grub-common suspend suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:
stop: Unknown instance:

/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:

/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
ATI Catalyst driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:

/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Sun Mar 11 17:20:23 EET 2012: performing suspend


otoomet 12-14-2012 01:35 PM

So, I have still not found any solution. Just tried 's2ram -f' with following options:

-a 1
-a 2
-a 3
-p -s
-s
-p
-a 1 -s
-m
-r
-r -m
-v -s

I also added "vga=0" to boot options.

No effect. The computer seems to sleep well (the led starts it's slow macish blink), but it never recovers from sleep (I cannot hear sound when pressing vol+/vol- buttons).

I am going to try Catalyst driver now.

Anyone has better experience?

otoomet 12-16-2012 06:49 AM

Compiled the new fglrx driver (Catalyst 12.10, module version 9.0.2). No improvement. However, a previous version (downloaded from ubuntu repo) could not even fall asleep. The new one falls well, but cannot wake up, exactly as with radeon driver.


All times are GMT -5. The time now is 05:03 PM.