By adding a device id in hid-ntrig.c 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);
that makes my computer show ntrig in dmesg :
[ 20.514656] ntrig 0003:1B96:0008.0001: hiddev0,hidraw0: USB HID v1.10 Device [N-trig DuoSense] on usb-0000:00:1d.0-1.3/input0 [ 20.515236] ntrig 0003:1B96:0008.0001: Firmware version: 0.1.6.36.0 (0410 90c4) [ 20.516555] ntrig 0003:1B96:0008.0002: parse failed [ 20.516564] ntrig: probe of 0003:1B96:0008.0002 failed with error -22
Showing firmware and creates a device but i guess it should have shown more.
By adding a device id in hid-ntrig.c so it looks like this:
static const struct hid_device_id ntrig_devices[] = {
NTRIG_ DEVICE( 0x0001) ,
NTRIG_ DEVICE( 0x0006) ,
NTRIG_ DEVICE( 0x0008) , DEVICE_ TABLE(hid, ntrig_devices);
{ }
};
MODULE_
that makes my computer show ntrig in dmesg :
[ 20.514656] ntrig 0003:1B96: 0008.0001: hiddev0,hidraw0: USB HID v1.10 Device [N-trig DuoSense] on usb-0000: 00:1d.0- 1.3/input0 0008.0001: Firmware version: 0.1.6.36.0 (0410 90c4) 0008.0002: parse failed
[ 20.515236] ntrig 0003:1B96:
[ 20.516555] ntrig 0003:1B96:
[ 20.516564] ntrig: probe of 0003:1B96:0008.0002 failed with error -22
Showing firmware and creates a device but i guess it should have shown more.