Fix detection of USB to serial adapters

pull/16/head
Timothy Pearson 13 years ago
parent 9bc0d2cd9d
commit fc2d90d56c

@ -3003,6 +3003,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::TextIO); if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::TextIO);
} }
} }
else if (devicesubsystem == "usb-serial") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Serial);
}
else if (devicesubsystem == "thermal") { else if (devicesubsystem == "thermal") {
// FIXME // FIXME
// Figure out a way to differentiate between ThermalControl (fans and coolers) and ThermalSensor types // Figure out a way to differentiate between ThermalControl (fans and coolers) and ThermalSensor types

Loading…
Cancel
Save