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: <200804180851.05289.oliver@neukum.org>
Date:	Fri, 18 Apr 2008 08:51:04 +0200
From:	Oliver Neukum <oliver@...kum.org>
To:	Paulius Zaleckas <paulius.zaleckas@...tonika.lt>
Cc:	netdev@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [RFC] Patch to option HSO driver to the kernel

Am Donnerstag, 17. April 2008 23:47:27 schrieb Paulius Zaleckas:
> Oliver Neukum wrote:
> > can you test this one as well. The method used to determine whether
> > a device is asleep is racy. This introduces a private test.
> 
> Stupid question :) How to test it? How can I force it to suspend?
> I have never used any suspend on my PC :)

This is runtime power management. It can save energy on any computer.
You compile your kernel with CONFIG_USB_SUSPEND and to see something
in syslog with CONFIG_USB_DEBUG.
Plug in the device, locate its sysfs directory, cd into it and do
echo "auto" >power/level

After a few seconds of idleness the device and the hub it's connected to
(if it's the only device at that hub) should suspend. You'll get a message
about it in the kernel log.

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ