public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Cut power to a USB port?
@ 2007-01-01 20:56 Andrew Barr
  2007-01-01 21:52 ` Oliver Neukum
  2007-01-02  8:32 ` Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Barr @ 2007-01-01 20:56 UTC (permalink / raw)
  To: linux-kernel

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
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.

Thanks in advance,
Andrew Barr

Please CC any replies


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-02 17:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-01 20:56 Cut power to a USB port? Andrew Barr
2007-01-01 21:52 ` Oliver Neukum
2007-01-02  8:32 ` Greg KH
2007-01-02 15:28   ` Andrew Barr
2007-01-02 16:36     ` Randy Dunlap
2007-01-02 17:08       ` Andrew Barr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox