Am Mittwoch, 16. Mai 2007 11:40 schrieb Robert Marquardt: > Jiri Kosina schrieb: > > > just a quick immediate note - I just tested it on my testing box, and it > > doesn't seem to work for me - the USB keyboard still seems to be awake > > (leds are on), even if I echo 0 into 'autosuspend' file in sysfs in order > > to suspend it immediately. > > Ah, that was nagging me. Is it at all possible to suspend a keyboard if > you want to have the LEDs always in sync with their state?
The current code will resync when the keyboard is resumed. It should do so automatically if too many output requests are queued. That doesn't work yet and I am hunting that bug. > A suspended bus-powered USB device cannot drive LEDs so suspending an > USB keyboard with CAPS LOCK on means it gets out of sync. How much power does an LED need? You have 2mA in suspended mode. Regards Oliver -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) This signature is a legal requirement ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel