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:51 +0200 |
commit | a8e587a9733dd076c0356dbfcef561eb7ed45e90 (patch) | |
tree | 385ef99d6d71381636b604848bc97519890df1c6 /tdecore/tdehw/tdehardwaredevices.cpp | |
parent | 2b8dc1971b71e3549292a1286465f741ba08fa49 (diff) | |
download | tdelibs-a8e587a9733dd076c0356dbfcef561eb7ed45e90.tar.gz tdelibs-a8e587a9733dd076c0356dbfcef561eb7ed45e90.zip |
tdehwlib: Add a rule for classifying parport device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit eb6f8213d42aac2911c7b8880628c786b0223935)
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 930a5819f..7449bf758 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -2196,7 +2196,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") { |