diff options
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index b2af2faca..9ef005927 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -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") |