Re: 3.7.1 doesn't go to suspend

From: Dmitry E. Oboukhov
Date: Sun Dec 30 2012 - 07:01:22 EST


>> 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
>>
>>
>> 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
:)



--

. ''`. Dmitry E. Oboukhov
: :â : email: unera@xxxxxxxxxx jabber://UNera@xxxxxx
`. `~â GPGKey: 1024D / F8E26537 2006-11-21
`- 1B23 D4F8 8EC0 D902 0555 E438 AB8C 00CF F8E2 6537

Attachment: signature.asc
Description: Digital signature