We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663f1a7 commit 987fd0aCopy full SHA for 987fd0a
linux/hid.c
@@ -593,6 +593,7 @@ static struct hid_device_info * create_device_info_for_device(struct udev_device
593
case BUS_BLUETOOTH:
594
case BUS_I2C:
595
case BUS_USB:
596
+ case BUS_SPI:
597
break;
598
599
default:
@@ -681,6 +682,14 @@ static struct hid_device_info * create_device_info_for_device(struct udev_device
681
682
683
684
685
686
+ cur_dev->manufacturer_string = wcsdup(L"");
687
+ cur_dev->product_string = utf8_to_wchar_t(product_name_utf8);
688
+
689
+ cur_dev->bus_type = HID_API_BUS_SPI;
690
691
+ break;
692
693
694
/* Unknown device type - this should never happen, as we
695
* check for USB and Bluetooth devices above */
0 commit comments