mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 3.7.1 doesn't go to suspend
       [not found] <20121230090621.GA5756@vdsl.uvw.ru>
@ 2012-12-30 10:39 ` Pavel Machek
  2012-12-30 11:20   ` Dmitry E. Oboukhov
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2012-12-30 10:39 UTC (permalink / raw)
  To: Dmitry E. Oboukhov, kernel list; +Cc: Rafael J. Wysocki

On Sun 2012-12-30 13:06:21, Dmitry E. Oboukhov wrote:
> 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?

									Pavel



-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.7.1 doesn't go to suspend
  2012-12-30 10:39 ` 3.7.1 doesn't go to suspend Pavel Machek
@ 2012-12-30 11:20   ` Dmitry E. Oboukhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry E. Oboukhov @ 2012-12-30 11:20 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Rafael J. Wysocki

[-- Attachment #1: Type: text/plain, Size: 2810 bytes --]

>> 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@debian.org jabber://UNera@uvw.ru
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-30 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20121230090621.GA5756@vdsl.uvw.ru>
2012-12-30 10:39 ` 3.7.1 doesn't go to suspend Pavel Machek
2012-12-30 11:20   ` Dmitry E. Oboukhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®