From 613eadbbc35a25f19c205c32eeeb0b890d468aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 4 Feb 2016 21:04:18 +0100 Subject: Add a rule for classifying ATA Compact Flash Adapter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdecore/tdehw/tdehardwaredevices.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tdecore/tdehw') diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index c2a7fd788..4da8382ae 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -1044,7 +1044,8 @@ TDEDiskDeviceType::TDEDiskDeviceType classifyDiskType(udev_device* dev, const TQ } if ((disktypestring.upper() == "COMPACT_FLASH") - || (TQString(udev_device_get_property_value(dev, "ID_DRIVE_FLASH_CF")) == "1")) { + || (TQString(udev_device_get_property_value(dev, "ID_DRIVE_FLASH_CF")) == "1") + || (TQString(udev_device_get_property_value(dev, "ID_ATA_CFA")) == "1")) { disktype = disktype | TDEDiskDeviceType::CompactFlash; disktype = disktype | TDEDiskDeviceType::HDD; } -- cgit v1.2.1