From: Jonas de Buhr <jonas.de.buhr@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] CONFIG_USB_SUSPEND, where ?
Date: Sat, 15 Oct 2011 13:57:15 +0200 [thread overview]
Message-ID: <20111015135715.4b537f09@toxic.dbnet> (raw)
In-Reply-To: <CADPrc81_syPH0VBHE2wpJxz9jMSmypK=WGPO3=+yDuq1E6SqpQ@mail.gmail.com>
Am Sat, 15 Oct 2011 00:54:48 -0700
schrieb Canek Peláez Valdés <caneko@gmail.com>:
> On Sat, Oct 15, 2011 at 12:49 AM, Alain Didierjean
> <alain.didierjean@free.fr> wrote:
> >
> > * Messages for package sys-fs/udisks-1.0.4-r1:
> >
> > * CONFIG_USB_SUSPEND: is not set when it should be.
> >
> > As the message above from emerge says, no way to update
> > sys-fs/udisks as CONFIG_USB_SUSPEND is not set. The problem is
> > where to find that option. Not in linux/.config, so where ?
i think it only shows up there if it is already set. AFAIK the
kernel options are defined in the various Kconfig files spread
throughout the source tree. in this case
drivers/usb/core/Kconfig
when searching for an option you can do
find /usr/src/linux/ -name Kconfig \
-exec grep USB_SUSPEND {} /dev/null \;
which gives you two hits:
/usr/src/linux/drivers/usb/core/Kconfig:config USB_SUSPEND
/usr/src/linux/drivers/usb/core/Kconfig: depends on USB_SUSPEND
and
grep -A 20 'config USB_SUSPEND' /usr/src/linux/drivers/usb/core/Kconfig
giving you description and help:
config USB_SUSPEND
bool "USB runtime power management (autosuspend) and wakeup"
depends on USB && PM_RUNTIME
help
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).
Also, USB "remote wakeup" signaling is supported, whereby some
USB devices (like keyboards and network adapters) can wake up
their parent hub. That wakeup cascades up the USB tree, and
could wake the system from states like suspend-to-RAM.
If you are unsure about this, say N here.
> Cool tip for the future: Go to /usr/src/linux, type "make menuconfig".
> Then type "/" (slash). Then type SUSPEND and ENTER. It will show you
> all the kernel options with SUSPEND on them.
or this, of course ;)
>
> In particular, for USB_SUSPEND it says:
>
> 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 [=y] && PM_RUNTIME [=y]
> Location:
> -> Device Drivers
> -> USB support (USB_SUPPORT [=y])
> -> Support for Host-side USB (USB [=y])
>
> So there, is in Device Drivers -> USB support -> Support for
> Host-side USB.
>
> Regards.
next prev parent reply other threads:[~2011-10-15 11:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <aec8a3e6-67ac-4937-ad8d-ff3c69a79f0c@zimbra59-e10.priv.proxad.net>
2011-10-15 7:49 ` [gentoo-user] CONFIG_USB_SUSPEND, where ? Alain Didierjean
2011-10-15 7:54 ` Canek Peláez Valdés
2011-10-15 11:57 ` Jonas de Buhr [this message]
2011-10-15 12:18 ` Felix Kuperjans
2011-11-08 1:56 ` Claudio Roberto França Pereira
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=20111015135715.4b537f09@toxic.dbnet \
--to=jonas.de.buhr@gmx.net \
--cc=gentoo-user@lists.gentoo.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