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]
Date:	Mon, 1 Jan 2007 22:52:02 +0100
From:	Oliver Neukum <oliver@...kum.org>
To:	Andrew Barr <andrew.james.barr@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Cut power to a USB port?

Am Montag, 1. Januar 2007 21:56 schrieb Andrew Barr:
> I have a simple question perhaps someone can help me with here...
> 
> I have one of those simple LED keyboard lamps that get their power from
> the USB port. Is there some way in Linux, using files under /sys I would
> imagine, to cut power to the USB port into which this lamp is plugged? I

You could use usbfs to send commands to the hub.

> know I would have to manually figure out what port it's plugged into, as
> it is not a "real" USB device...e.g. it just draws power. I would like
> to be able to programmatically switch the lamp on and off.

The ability to cut each port's power individually is optional. Your
hardware may well be incapable of what you want.

	Regards
		Oliver

-
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