mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dmitry E. Oboukhov" <unera@debian.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: 3.7.1 doesn't go to suspend
Date: Sun, 30 Dec 2012 15:20:32 +0400	[thread overview]
Message-ID: <20121230112032.GB5756@vdsl.uvw.ru> (raw)
In-Reply-To: <20121230103948.GA8650@amd.pavel.ucw.cz>

[-- 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 --]

      reply	other threads:[~2012-12-30 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20121230090621.GA5756@vdsl.uvw.ru>
2012-12-30 10:39 ` Pavel Machek
2012-12-30 11:20   ` Dmitry E. Oboukhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121230112032.GB5756@vdsl.uvw.ru \
    --to=unera@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®