]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usbcore blinkenlights
authorDavid Brownell <david-b@pacbell.net>
Fri, 2 Apr 2004 04:23:30 +0000 (20:23 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 2 Apr 2004 04:23:30 +0000 (20:23 -0800)
commit9656974be8b4ecb3a480536ec25b50f19df15109
tree9c3fe8e265e7252a817490c9927fc08d70d25bd6
parentc8b17776b82ba924d210b72194a0eedaaf7b52c5
[PATCH] USB: usbcore blinkenlights

The per-port LEDs on the most USB 2.0 hubs are programmable.
And the USB spec describes some ways to use them, blinking
to alert users about hardware (amber) or software (green)
problems.

This patch is the infrastructure for that blinking.  And
if you should happen to "modprobe usbcore blinkenlights",
the LEDs will cycle through all the ports ... which is
not a USB-standard mode, but it can certainly handy be
handy as a system heartbeat visible across the room.
drivers/usb/core/hub.c
drivers/usb/core/hub.h