diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-06-17 12:48:38 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-06-17 12:48:38 +0200 |
commit | eb6f8213d42aac2911c7b8880628c786b0223935 (patch) | |
tree | d0158a7062cad9299d6ddccedaba4b9f966ccfcf /tdecore/tdehw/tdehardwaredevices.cpp | |
parent | cc4f1996df344ff06b34931a362037af25a66ef9 (diff) | |
download | tdelibs-eb6f8213d42aac2911c7b8880628c786b0223935.tar.gz tdelibs-eb6f8213d42aac2911c7b8880628c786b0223935.zip |
tdehwlib: Add a rule for classifying parport device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index c5635e7c7..a4e352d60 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -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") { |