Skip to contentSkip to conversation

3.7.1 doesn't go to suspend

DISCUSSION Pavel Machek 2 participants 2 messages Dec 30, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 13 lines · Dmitry E. Oboukhov

Hi, Linux maintainers!

First of all sorry for my bad English.

I have Macbook Pro Retina and used Linux-3.7rc7 with the book. It worked fine.

Today I've tried to migrate to 3.7.1 (from debian repo) and found that current kernel can't suspend.

If I call pm-suspend in my shell, my computer doesn't go to suspend and dmesg showes the error:

Quoted 7 lines
[ 2512.960666] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37 [snd_hda_intel] returns -11

3.7rc7 worked fine.

In attaches You can find some /proc/* files

You may want to rmmod snd_hda_inte before suspend and see if it helps?

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#2 lore raw
Quoted 16 lines
Quoted 16 lines

Hi, Linux maintainers!

First of all sorry for my bad English.

I have Macbook Pro Retina and used Linux-3.7rc7 with the book. It worked fine.

Today I've tried to migrate to 3.7.1 (from debian repo) and found that current kernel can't suspend.

If I call pm-suspend in my shell, my computer doesn't go to suspend and dmesg showes the error:

[ 2512.960666] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37 [snd_hda_intel] returns -11
Quoted 6 lines
Quoted 4 lines

3.7rc7 worked fine.

In attaches You can find some /proc/* files

You may want to rmmod snd_hda_inte before suspend and see if it helps?

Hi!
After rmmodding snd_hda_intel pm-suspend doesn't work yet.

nb:[~]$ sudo rmmod snd_hda_intel
nb:[~]$ sudo rmmod snd_hda_codec_cirrus snd_hda_codec_hdmi snd_hda_codec
nb:[~]$ sudo rmmod snd_timer
Error: Module snd_timer is in use by: snd_pcm snd_seq nb:[~]$ sudo rmmod snd_pcm snd_seq snd_timer nb:[~]$ sudo rmmod snd_seq_device
nb:[~]$ sudo rmmod snd_hwdep
nb:[~]$ sudo rmmod snd_page_alloc
nb:[~]$ sudo pm-suspend
nb:[~]$ dmesg|tail

[   30.266443] wlan0: associated
[   30.266463] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes
ready
[   30.342137] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
[snd_hda_intel] returns -11
[   30.352607] lp: driver loaded but no devices found
[   30.358793] ppdev: user-space parallel port driver
[   30.425092] nouveau W[  PGRAPH][0000:01:00.0] disabled, PGRAPH=1 to
enable
[   30.778659] bcm5974: bad trackpad package, length: 8
[   32.490108] input: Mouseemu virtual keyboard as
/devices/virtual/input/input19
[   32.490441] input: Mouseemu virtual mouse as
/devices/virtual/input/input20
[   65.112500] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37

[snd_hda_intel] returns -11

Also dmesg complains about the modules until booting process is done:
nb:[~]$ dmesg|grep suspend

[   26.331831] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
[snd_hda_intel] returns -11
[   30.342137] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37
[snd_hda_intel] returns -11
[   65.112500] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37

[snd_hda_intel] returns -11

3.7rc7 works fine.

PPS: I've just rebooted into 3.7rc7.
its dmesg complains while booting, too:

nb:[~]$ dmesg|grep suspend

[   31.759388] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x37

[snd_hda_intel] returns -11

but it complains once and then it suspends/wakeups/plays sounds fine :)

Signature · 4 lines
. ''`.                               Dmitry E. Oboukhov
: :’  :   email: [email protected] jabber://[email protected]
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537