* [gentoo-user] ?? CONFIG_USB_SUSPEND ??
@ 2011-07-11 10:16 Alan Mackenzie
2011-07-11 10:33 ` Alan McKinnon
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Alan Mackenzie @ 2011-07-11 10:16 UTC (permalink / raw
To: gentoo-user
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.
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
@ 2011-07-11 10:33 ` Alan McKinnon
2011-07-11 15:17 ` Alan Mackenzie
2011-07-11 10:36 ` netfab
` (4 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Alan McKinnon @ 2011-07-11 10:33 UTC (permalink / raw
To: gentoo-user; +Cc: Alan Mackenzie
On Monday 11 July 2011 10:16:33 Alan Mackenzie did opine thusly:
> 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.
Symbol: USB_SUSPEND [=y]
│
│ Type : boolean
│
│ Prompt: USB runtime power management (autosuspend) and wakeup
│
│ Defined at drivers/usb/core/Kconfig:93
│
│ Depends on: USB_SUPPORT [=y] && USB [=m] && PM_RUNTIME [=y]
│
│ Location:
│
│ -> Device Drivers
│
│ -> USB support (USB_SUPPORT [=y])
│
│ -> Support for Host-side USB (USB [=m])
│
│
It needs PM_RUNTIME, found at
-> Power management and ACPI options
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
2011-07-11 10:33 ` Alan McKinnon
@ 2011-07-11 10:36 ` netfab
2011-07-11 10:38 ` Roman Zilka
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: netfab @ 2011-07-11 10:36 UTC (permalink / raw
To: gentoo-user
Le 11/07/11 à 10:16, Alan a tapoté :
> Would somebody please help me to resolve my confusion. Thanks in
> advance.
>
You must enable the following option first, and then you will find it
into the USB section.
Symbol: PM_RUNTIME [=n]
│ Prompt: Run-time PM core functionality
│ -> Power management and ACPI options
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
2011-07-11 10:33 ` Alan McKinnon
2011-07-11 10:36 ` netfab
@ 2011-07-11 10:38 ` Roman Zilka
2011-07-11 11:08 ` methylherd
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Roman Zilka @ 2011-07-11 10:38 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
` (2 preceding siblings ...)
2011-07-11 10:38 ` Roman Zilka
@ 2011-07-11 11:08 ` methylherd
2011-07-11 11:09 ` Mick
2011-07-11 11:25 ` Albert Hopkins
5 siblings, 0 replies; 8+ messages in thread
From: methylherd @ 2011-07-11 11:08 UTC (permalink / raw
To: gentoo-user
Am Montag, 11. Juli 2011, 12:16:33 schrieb Alan Mackenzie:
> 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.
My search results are the same with Kernel 2.6.39
CONFIG_USB_SUSPEND is set by
-> Device Drivers
-> USB support
-> USB runtime powermanagement
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
` (3 preceding siblings ...)
2011-07-11 11:08 ` methylherd
@ 2011-07-11 11:09 ` Mick
2011-07-11 11:25 ` Albert Hopkins
5 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2011-07-11 11:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1324 bytes --]
On Monday 11 Jul 2011 11:16:33 Alan Mackenzie wrote:
> 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.
I will try to help but may be adding to it, since you did not mention which
kernel you are using ;-)
Look under USB miscellaneous (you may have to enable something relevant for it
to show up):
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
CONFIG_USB_MON=y
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
` (4 preceding siblings ...)
2011-07-11 11:09 ` Mick
@ 2011-07-11 11:25 ` Albert Hopkins
5 siblings, 0 replies; 8+ messages in thread
From: Albert Hopkins @ 2011-07-11 11:25 UTC (permalink / raw
To: gentoo-user
On Monday, July 11 at 10:16 (+0000), Alan Mackenzie said:
> 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".
>
USB_SUSPEND
bool "USB runtime power management (autosuspend) and wakeup"
depends on USB && PM_RUNTIME
If you say Y here, you can use driver calls or the sysfs
"power/control" file to enable or disable autosuspend for
individual USB peripherals (see
Documentation/usb/power-management.txt for more details).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
2011-07-11 10:33 ` Alan McKinnon
@ 2011-07-11 15:17 ` Alan Mackenzie
0 siblings, 0 replies; 8+ messages in thread
From: Alan Mackenzie @ 2011-07-11 15:17 UTC (permalink / raw
To: Alan McKinnon; +Cc: gentoo-user
Hi, Alan.
On Mon, Jul 11, 2011 at 12:33:46PM +0200, Alan McKinnon wrote:
> On Monday 11 July 2011 10:16:33 Alan Mackenzie did opine thusly:
> > 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.
> Symbol: USB_SUSPEND [=y]
> │
> │ Type : boolean
> │
> │ Prompt: USB runtime power management (autosuspend) and wakeup
> │
> │ Defined at drivers/usb/core/Kconfig:93
> │
> │ Depends on: USB_SUPPORT [=y] && USB [=m] && PM_RUNTIME [=y]
That's the bit I hadn't understood. Next time I will.
> │
> │ Location:
> │
> │ -> Device Drivers
> │
> │ -> USB support (USB_SUPPORT [=y])
> │
> │ -> Support for Host-side USB (USB [=m])
> │
> │
> It needs PM_RUNTIME, found at
> -> Power management and ACPI options
Thanks, I've now got a newly compiled kernel.
> --
> alan dot mckinnon at gmail dot com
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-07-11 16:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-11 10:16 [gentoo-user] ?? CONFIG_USB_SUSPEND ?? Alan Mackenzie
2011-07-11 10:33 ` Alan McKinnon
2011-07-11 15:17 ` Alan Mackenzie
2011-07-11 10:36 ` netfab
2011-07-11 10:38 ` Roman Zilka
2011-07-11 11:08 ` methylherd
2011-07-11 11:09 ` Mick
2011-07-11 11:25 ` Albert Hopkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox