Properly classify Lenovo USB camera platform subdevices

pull/1/head
Timothy Pearson 8 years ago
parent 125cf0a7f2
commit b18bff9ad8

@ -2339,6 +2339,11 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
}
}
if ((devicesubsystem == "usb")
&& (devicedriver == "uvcvideo")) {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
}
// Last ditch attempt at classification
// Likely inaccurate and sweeping
if ((devicesubsystem == "usb")

Loading…
Cancel
Save