Properly classify Lenovo USB camera platform subdevices

(cherry picked from commit b18bff9ad8)
pull/16/head
Timothy Pearson 8 years ago committed by Slávek Banko
parent fe024a800d
commit f66944e531

@ -2292,6 +2292,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