Comment 36 for bug 724831

Revision history for this message
Johan Bernhardsson (smallone) wrote :

adamovera: the changes i did isnt in the ntrig driver in the kernel for onceric apparently.

By adding a device id in hid-ntrig.c ( i dont know what row atm) so it looks like this:

static const struct hid_device_id ntrig_devices[] = {
        NTRIG_DEVICE(0x0001),
        NTRIG_DEVICE(0x0006),
        NTRIG_DEVICE(0x0008),
        { }
};
MODULE_DEVICE_TABLE(hid, ntrig_devices);

And by changing report_size to 96 in hid-core.c did the trick in the driver here.

I havent done the same for onceric yet. Can someone push these changes upstream to the kernelteam ?