Re: [PATCH] HID: add Asus macrokey support for Asus "Republic of Gamers" laptop

From: Jiri Kosina
Date: Wed Dec 14 2016 - 05:33:58 EST


On Mon, 12 Dec 2016, Chris Chiu wrote:

[ ... snip ... ]
> +static const struct hid_device_id asus_rog_devices[] = {
> + { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_ROG_MACROKEY1) },
> + { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_ROG_MACROKEY2) },
> + { }
> +};
> +MODULE_DEVICE_TABLE(hid, asus_rog_devices);

[ ... snip ... ]

In addition to what Benjamin said already, you also seem to be missing
hid_have_special_driver[] entry for these VID/PIDs

Thanks,

--
Jiri Kosina
SUSE Labs