• Alan Stern's avatar
    HID: automatically call usbhid_set_leds in usbhid driver · 08ef08ee
    Alan Stern authored
    This patch (as1146c) makes usbhid automatically call usbhid_set_leds()
    for any device that supports the keyboard boot protocol.
    
    In theory this should be perfectly safe.  BIOSes send the LED output
    report as part of their normal device initialization, so any keyboard
    device supporting the boot protocol has to be able to handle it.
    
    As a side effect, the hid-dell and hid-bright drivers are no longer
    needed, and the Logitech keyboard driver can be removed from hid-lg.
    
    CC: Mauro Carvalho Chehab <mchehab@redhat.com>
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    08ef08ee
hid-lg.c 10.5 KB