lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0710281245130.28311-100000@netrider.rowland.org>
Date:	Sun, 28 Oct 2007 12:50:13 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
cc:	Oliver Martin <oliver.martin@...dent.tuwien.ac.at>,
	Kernel development list <linux-kernel@...r.kernel.org>,
	USB development list <linux-usb-devel@...ts.sourceforge.net>,
	Oliver Neukum <oliver@...kum.org>,
	Linux-pm mailing list <linux-pm@...ts.linux-foundation.org>
Subject: Re: USB_SUSPEND needs SUSPEND?

On Sun, 28 Oct 2007, Rafael J. Wysocki wrote:

> On Sunday, 28 October 2007 02:00, Oliver Martin wrote:
> > Hello,
> > 
> > it seems that there is some dependency missing for CONFIG_USB_SUSPEND.
> > When I compile a kernel without CONFIG_SUSPEND, USB suspend doesn't work
> > (or at least doesn't expose its interface to userspace).
> > /sys/bus/usb/devices/.../power doesn't exist, but it is there when I
> > enable CONFIG_SUSPEND. So should CONFIG_USB_SUSPEND depend on
> > CONFIG_SUSPEND (or something selected by CONFIG_SUSPEND)?
> > 
> > diff between the two configs follows, full config and dmesg for both
> > kernels is available at http://stud4.tuwien.ac.at/~e0626486/usb_suspend/
> > (though the dmesg diff doesn't seem to be all that interesting).

Actually I think the problem is the other way around.  /sys/.../power 
should exist whenever CONFIG_PM is defined, not just when 
CONFIG_SUSPEND is enabled.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ