Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Kernel options and udisk Dale <rdalek1967@×××××.com>