HID: fix numlock led on Dell device 0x413c/0x2105
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Oct 2008 13:08:47 +0000 (11:08 -0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 14 Oct 2008 21:51:03 +0000 (23:51 +0200)
This keyboard needs to re-sync numlock after probing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-dell.c
drivers/hid/hid-ids.h

index 5a23077175e6182877f9aa291090234b225847d3..d749447a682d2d58823c554cd08abdb765828ef3 100644 (file)
@@ -1258,6 +1258,7 @@ static const struct hid_device_id hid_blacklist[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) },
        { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE) },
        { HID_USB_DEVICE(USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_W7658) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_SK8115) },
        { HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) },
        { HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
        { HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) },
index 98ee40e8751fdf99a475cdd767a373c4e5e69a73..1a0d0dfc62fc354135e089bb5ace455595d2e451 100644 (file)
@@ -47,6 +47,7 @@ err_free:
 
 static const struct hid_device_id dell_devices[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_W7658) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_SK8115) },
        { }
 };
 MODULE_DEVICE_TABLE(hid, dell_devices);
index df9c4f92c4a6f2820cef3920bcaf82561e9968fc..89c5cc169439431be7a80987feca99b25a557a06 100644 (file)
 
 #define USB_VENDOR_ID_DELL             0x413c
 #define USB_DEVICE_ID_DELL_W7658       0x2005
+#define USB_DEVICE_ID_DELL_SK8115      0x2105
 
 #define USB_VENDOR_ID_DELORME          0x1163
 #define USB_DEVICE_ID_DELORME_EARTHMATE 0x0100