Alan Mackenzie (Mon, 11 Jul 2011 10:16:33 +0000):
> Hi, Gentoo.
> 
> Just done an "emerge -puND world".  One of the packages updated was
> sys-fs/udisks-1.0.3-r1.  Its warning message was:
> 
>     CONFIG_USB_SUSPEND:         is not set when it should be.
>       * Please check to make sure these options are set correctly.
>       * Failure to do so may cause unexpected problems.
> 
> CONFIG_USB_SUSPEND is surely a kernel config thing.  I can't find it in
> my kernel config file.  However, in "make menuconfig" I do a search for
> "USB_SUSPEND", It says:
> 
>    Location:
>   │     -> Device Drivers
>   │       -> USB support (USB_SUPPORT [=y])
>   │         -> Support for Host-side USB (USB [=y])
> 
> I can't find anything at that location which looks like "USB_SUSPEND".
> 
> Would somebody please help me to resolve my confusion.  Thanks in
> advance.


You have to swith on CONFIG_PM_RUNTIME for this option to appear.
PM_RUNTIME is straight under "Power management and ACPI options".

A way to resolve this kind of problems:
$ cd /usr/src/linux
$ grep -5r '^config USB_SUSPEND' *
... read the 'depends on' line

-rz

Reply via email to