Branch: master

b18bff9a 2016-09-05 12:12:34 Timothy Pearson
Properly classify Lenovo USB camera platform subdevices
M tdecore/tdehw/tdehardwaredevices.cpp
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index b2af2fa..9ef0059 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2339,6 +2339,11 @@
 			}
 		}
 
+		if ((devicesubsystem == "usb")
+			&& (devicedriver == "uvcvideo")) {
+			if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
+		}
+
 		// Last ditch attempt at classification
 		// Likely inaccurate and sweeping
 		if ((devicesubsystem == "usb")