tdehwlib: Add a rule for classifying parport device

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit eb6f8213d4)
pull/16/head
Slávek Banko 8 years ago
parent 2b8dc1971b
commit a8e587a973

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

Loading…
Cancel
Save