linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IWLWIFI should depend on SUSPEND
@ 2012-05-19 20:19 Sebastian Kemper
  2012-05-20 19:07 ` Johannes Berg
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Kemper @ 2012-05-19 20:19 UTC (permalink / raw)
  To: linux-wireless

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

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

end of thread, other threads:[~2012-06-04 20:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-19 20:19 IWLWIFI should depend on SUSPEND Sebastian Kemper
2012-05-20 19:07 ` 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

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