tdehwlib: Add a rule for classifying parport device

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent cc4f1996df
commit eb6f8213d4

@ -2243,7 +2243,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Serial);
}
}
if (devicesubsystem == "ppdev") {
if ((devicesubsystem == "ppdev")
|| (devicesubsystem == "parport")) {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Parallel);
}
if (devicesubsystem == "printer") {

Loading…
Cancel
Save