From: Sebastian Kemper <sebastian_ml@gmx.net>
To: linux-wireless@vger.kernel.org
Subject: IWLWIFI should depend on SUSPEND
Date: Sat, 19 May 2012 22:19:58 +0200 [thread overview]
Message-ID: <20120519201958.GA2313@wolfgang> (raw)
Hello everybody,
iwlwifi doesn't start without suspend support in the kernel. The last
thing it says when suspend is missing is this:
iwlwifi 0000:03:00.0: Failed to register hw (error -22)
iwlwifi 0000:03:00.0: PCI INT A disabled
Most kernels have suspend support, but maybe somebody thinks he doesn't
need it and leaves it out.
Here's the diff between non-working and working kernel configuration
(kernel 3.2.17):
--- doesnt-work.txt 2012-05-19 16:10:54.000000000 +0200
+++ works.txt 2012-05-19 15:53:56.000000000 +0200
@@ -237,7 +237,7 @@
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
CONFIG_MUTEX_SPIN_ON_OWNER=y
-# CONFIG_FREEZER is not set
+CONFIG_FREEZER=y
#
# Processor type and features
@@ -371,12 +371,16 @@
#
# Power management and ACPI options
#
-# CONFIG_SUSPEND is not set
+CONFIG_SUSPEND=y
+CONFIG_SUSPEND_FREEZER=y
# CONFIG_HIBERNATION is not set
+CONFIG_PM_SLEEP=y
+CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_RUNTIME=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_ACPI=y
+CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
# CONFIG_ACPI_EC_DEBUGFS is not set
@@ -865,6 +869,7 @@
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
+CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_UNIX98_PTYS=y
Regards,
Sebastian
next reply other threads:[~2012-05-19 20:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-19 20:19 Sebastian Kemper [this message]
2012-05-20 19:07 ` IWLWIFI should depend on SUSPEND Johannes Berg
2012-05-30 13:29 ` Johannes Berg
2012-06-03 9:16 ` Sebastian Kemper
2012-06-03 15:02 ` Johannes Berg
[not found] ` <20120603164905.GA2056@wolfgang>
2012-06-03 18:33 ` Johannes Berg
2012-06-04 20:31 ` Sebastian Kemper
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=20120519201958.GA2313@wolfgang \
--to=sebastian_ml@gmx.net \
--cc=linux-wireless@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).