Comment 22 for bug 227501

Andrei Andreyanau (hatsumeka) wrote :

What modifications I added to kernel without success according to my model:

/usr/src/linux-source/drivers/hid/hid-ids.h: added following line describing my keyboard
#define USB_DEVICE_ID_APPLE_ALU_WIRELESS_MY 0x023a

then I added this line into hid-core.c within the same directory as previous file into static const struct hid_device_id hid_blacklist[]:
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_MY) }

and the last modification I did was with hid-apple.c within the same dir into static const struct hid_device_id apple_devices[]:
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_MY),
                .driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN | APPLE_ISO_KEYBOARD }

After all: `make oldconfig && make && make modules_install`. then reboot, then `modprobe hid-apple`
Am I missed something?