summaryrefslogtreecommitdiffstats
path: root/tdecore/hwlibdata
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/hwlibdata')
-rw-r--r--tdecore/hwlibdata/CMakeLists.txt13
-rw-r--r--tdecore/hwlibdata/classrules/CMakeLists.txt17
-rw-r--r--tdecore/hwlibdata/classrules/floppydisk-platform.hwclass9
-rw-r--r--tdecore/hwlibdata/classrules/floppydisk-udev.hwclass9
4 files changed, 48 insertions, 0 deletions
diff --git a/tdecore/hwlibdata/CMakeLists.txt b/tdecore/hwlibdata/CMakeLists.txt
new file mode 100644
index 000000000..d18877c5f
--- /dev/null
+++ b/tdecore/hwlibdata/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2012 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+
+add_subdirectory( classrules )
diff --git a/tdecore/hwlibdata/classrules/CMakeLists.txt b/tdecore/hwlibdata/classrules/CMakeLists.txt
new file mode 100644
index 000000000..3b9452f43
--- /dev/null
+++ b/tdecore/hwlibdata/classrules/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2012 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+
+##### other data ################################
+
+install( FILES
+ floppydisk-platform.hwclass floppydisk-udev.hwclass
+ DESTINATION ${DATA_INSTALL_DIR}/tdehwlib/deviceclasses )
diff --git a/tdecore/hwlibdata/classrules/floppydisk-platform.hwclass b/tdecore/hwlibdata/classrules/floppydisk-platform.hwclass
new file mode 100644
index 000000000..8b038b300
--- /dev/null
+++ b/tdecore/hwlibdata/classrules/floppydisk-platform.hwclass
@@ -0,0 +1,9 @@
+[Conditions]
+DRIVER=floppy
+
+[DeviceType]
+GENTYPE=Disk
+SUBTYPE=Floppy
+
+[DeviceSettings]
+UPDATE_BLACKLISTED=false
diff --git a/tdecore/hwlibdata/classrules/floppydisk-udev.hwclass b/tdecore/hwlibdata/classrules/floppydisk-udev.hwclass
new file mode 100644
index 000000000..6c76d3c85
--- /dev/null
+++ b/tdecore/hwlibdata/classrules/floppydisk-udev.hwclass
@@ -0,0 +1,9 @@
+[Conditions]
+ID_TYPE=floppy
+
+[DeviceType]
+GENTYPE=Disk
+SUBTYPE=Floppy
+
+[DeviceSettings]
+UPDATE_BLACKLISTED=false