Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: Alan McKinnon <alan.mckinnon@×××××.com>
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ??
Date: Mon, 11 Jul 2011 16:22:59
Message-Id: 20110711151726.GA15386@acm.acm
In Reply to: Re: [gentoo-user] ?? CONFIG_USB_SUSPEND ?? by Alan McKinnon
1 Hi, Alan.
2
3 On Mon, Jul 11, 2011 at 12:33:46PM +0200, Alan McKinnon wrote:
4 > On Monday 11 July 2011 10:16:33 Alan Mackenzie did opine thusly:
5 > > Hi, Gentoo.
6
7 > > Just done an "emerge -puND world". One of the packages updated was
8 > > sys-fs/udisks-1.0.3-r1. Its warning message was:
9
10 > > CONFIG_USB_SUSPEND: is not set when it should be.
11 > > * Please check to make sure these options are set correctly.
12 > > * Failure to do so may cause unexpected problems.
13
14 > > CONFIG_USB_SUSPEND is surely a kernel config thing. I can't find it
15 > > in my kernel config file. However, in "make menuconfig" I do a
16 > > search for "USB_SUSPEND", It says:
17
18 > > Location:
19 > > │ -> Device Drivers
20 > > │ -> USB support (USB_SUPPORT [=y])
21 > > │ -> Support for Host-side USB (USB [=y])
22
23 > > I can't find anything at that location which looks like
24 > > "USB_SUSPEND".
25
26 > > Would somebody please help me to resolve my confusion. Thanks in
27 > > advance.
28
29 > Symbol: USB_SUSPEND [=y]
30 > │
31 > │ Type : boolean
32 > │
33 > │ Prompt: USB runtime power management (autosuspend) and wakeup
34 > │
35 > │ Defined at drivers/usb/core/Kconfig:93
36 > │
37 > │ Depends on: USB_SUPPORT [=y] && USB [=m] && PM_RUNTIME [=y]
38
39 That's the bit I hadn't understood. Next time I will.
40
41 > │
42 > │ Location:
43 > │
44 > │ -> Device Drivers
45 > │
46 > │ -> USB support (USB_SUPPORT [=y])
47 > │
48 > │ -> Support for Host-side USB (USB [=m])
49 > │
50 > │
51
52
53 > It needs PM_RUNTIME, found at
54
55 > -> Power management and ACPI options
56
57 Thanks, I've now got a newly compiled kernel.
58
59 > --
60 > alan dot mckinnon at gmail dot com
61
62 --
63 Alan Mackenzie (Nuremberg, Germany).