Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: covici@××××××××××.com, Dale <rdalek1967@×××××.com>
Subject: Re: [gentoo-user] Kernel options and udisk
Date: Mon, 17 Sep 2012 18:03:36
Message-Id: 2619750.l7urXLjljy@energy
In Reply to: Re: [gentoo-user] Kernel options and udisk by covici@ccs.covici.com
1 Am Montag, 17. September 2012, 12:34:12 schrieb covici@××××××××××.com:
2 > Volker Armin Hemmann <volkerarmin@××××××××××.com> wrote:
3 > > Am Sonntag, 16. September 2012, 20:39:36 schrieb Dale:
4 > > > Howdy,
5 > > >
6 > > > I was doing a update a while back and noticed a ewarn, enotice or
7 > > > something going by. I used the elogviewer to go back and dig it out.
8 > > > This is what it says:
9 > > >
10 > > > Found sources for kernel version:
11 > > > 3.5.0-gentoo
12 > > > Checking for suitable kernel configuration options...
13 > > > ERROR (setup)
14 > > >
15 > > > CONFIG_USB_SUSPEND: is not set when it should be.
16 > > > WARN (setup)
17 > > >
18 > > > Please check to make sure these options are set correctly.
19 > > > Failure to do so may cause unexpected problems.
20 > > >
21 > > > So, I go into the kernel's menuconfig and find this:
22 > > >
23 > > > │ CONFIG_USB_SUSPEND: │
24 > > > │ │
25 > > > │ If you say Y here, you can use driver calls or the sysfs │
26 > > > │ "power/control" file to enable or disable autosuspend for │
27 > > > │ individual USB peripherals (see │
28 > > > │ Documentation/usb/power-management.txt for more details). │
29 > > > │ │
30 > > > │ Also, USB "remote wakeup" signaling is supported, whereby some │
31 > > > │ USB devices (like keyboards and network adapters) can wake up │
32 > > > │ their parent hub. That wakeup cascades up the USB tree, and │
33 > > > │ could wake the system from states like suspend-to-RAM. │
34 > > > │ │
35 > > > │ If you are unsure about this, say N here. │
36 > > > │ │
37 > > > │ Symbol: USB_SUSPEND [=n] │
38 > > > │ Type : boolean │
39 > > > │ Prompt: USB runtime power management (autosuspend) and wakeup │
40 > > > │ Defined at drivers/usb/core/Kconfig:41 │
41 > > > │ Depends on: USB_SUPPORT [=y] && USB [=y] && PM_RUNTIME [=y] │
42 > > > │ Location: │
43 > > > │ -> Device Drivers │
44 > > > │ -> USB support (USB_SUPPORT [=y]) │
45 > > > │ -> Support for Host-side USB (USB [=y])
46 > > >
47 > > > The important part is about 'if you are unsure about this, say N here'.
48 > > > Well, I don't think I need USB remote wakeup or anything so I don't
49 > > > think I need this but at the same time, udisk is giving me notice that
50 > > > it should be there.
51 > >
52 > > you you never thought about turning on your system via keyboard instead of
53 > > crawling under the table?
54 > >
55 > > Also it says 'if unsure, say N' not 'experimental' or 'you should say 'N'
56 > > here'.
57 > >
58 > > Upower wants it, so there is no 'unsure'.
59 > >
60 > > > This is a desktop system not a laptop. Do I need to listen to me not
61 > > > needing it or udisk that says I do?
62 > >
63 > > so what? is power managment not a good idea on a desktop`
64 > >
65 > > > Opinions?
66 > >
67 > > yes, turn it on.
68 >
69 > OK, sorry if this is a dumb question, but I did search for it using make
70 > menuconfig, but could not actually find it! I have all my usb host
71 > controller drivers as modules, if that makes any difference. I am using
72 > 3.4.0-gentoo.
73
74 hit / in menuconfig. It is there.
75 --
76 #163933

Replies

Subject Author
Re: [gentoo-user] Kernel options and udisk Michael Mol <mikemol@×××××.com>