Skip to contentSkip to conversation

Fix numlock led on Dell keyboard (413c:2105)

PATCH In review Mauro Carvalho Chehab 3 participants 4 messages Oct 14, 2008 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix numlock led on Dell keyboard (413c:2105)

This keyboard needs to re-sync numlock after probing.

drivers/hid/hid-dell.c +1 -0
index 98ee40e..1a0d0df 100644
@@ -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);
drivers/hid/hid-ids.h +1 -0
index fa4e4fd..b74c505 100644
@@ -132,6 +132,7 @@
 
 #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
#1 lore raw

Mauro Carvalho Chehab napsal(a):

drivers/hid/hid-dell.c err_free: · line 50

Quoted 13 lines

This keyboard needs to re-sync numlock after probing.

drivers/hid/hid-dell.c +1 -0
index 98ee40e..1a0d0df 100644
@@ -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) },

Add the line also to hid_blacklist in hid-core.c.

Thanks.

#3 lore raw
Quoted 7 lines · On Wed, 15 Oct 2008 00:03:14 +0200 FD Cami <[email protected]> wrote:
Quoted 1 line · On Tue, 14 Oct 2008 10:28:21 -0200 Mauro Carvalho Chehab <[email protected]>…

This keyboard needs to re-sync numlock after probing.

Do you mean, when you plug one, the numlock LED is on but numlock may be off ?

Please ignore that one, I found your post from last week explaining the issue.

Francois