Gentoo Archives: gentoo-user

From: Roman Zilka <zilka@×××××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
Date: Mon, 11 Jul 2011 11:16:37
Message-Id: 20110711123832.c5209332.zilka@fi.muni.cz
In Reply to: [gentoo-user] ?? CONFIG_USB_SUSPEND ?? by Alan Mackenzie
1 Alan Mackenzie (Mon, 11 Jul 2011 10:16:33 +0000):
2 > Hi, Gentoo.
3 >
4 > Just done an "emerge -puND world". One of the packages updated was
5 > sys-fs/udisks-1.0.3-r1. Its warning message was:
6 >
7 > CONFIG_USB_SUSPEND: is not set when it should be.
8 > * Please check to make sure these options are set correctly.
9 > * Failure to do so may cause unexpected problems.
10 >
11 > CONFIG_USB_SUSPEND is surely a kernel config thing. I can't find it in
12 > my kernel config file. However, in "make menuconfig" I do a search for
13 > "USB_SUSPEND", It says:
14 >
15 > Location:
16 > │ -> Device Drivers
17 > │ -> USB support (USB_SUPPORT [=y])
18 > │ -> Support for Host-side USB (USB [=y])
19 >
20 > I can't find anything at that location which looks like "USB_SUSPEND".
21 >
22 > Would somebody please help me to resolve my confusion. Thanks in
23 > advance.
24
25
26 You have to swith on CONFIG_PM_RUNTIME for this option to appear.
27 PM_RUNTIME is straight under "Power management and ACPI options".
28
29 A way to resolve this kind of problems:
30 $ cd /usr/src/linux
31 $ grep -5r '^config USB_SUSPEND' *
32 ... read the 'depends on' line
33
34 -rz