diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-02 13:18:59 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-02 13:18:59 -0500 |
commit | 5bb9a959afb70b7ad27a331b6088d5bab82b6658 (patch) | |
tree | 4362dc738dd14818a29a311e5416ecfa270ba07e /tdecore/hwlibdata/classrules | |
parent | 607d5f575d500649c354c1e4a8032a17ab06cc79 (diff) | |
download | tdelibs-5bb9a959afb70b7ad27a331b6088d5bab82b6658.tar.gz tdelibs-5bb9a959afb70b7ad27a331b6088d5bab82b6658.zip |
Add external textfile device class rule support to TDE hardware library
Move floppy detection to the new system as an example
Diffstat (limited to 'tdecore/hwlibdata/classrules')
-rw-r--r-- | tdecore/hwlibdata/classrules/CMakeLists.txt | 17 | ||||
-rw-r--r-- | tdecore/hwlibdata/classrules/floppydisk-platform.hwclass | 9 | ||||
-rw-r--r-- | tdecore/hwlibdata/classrules/floppydisk-udev.hwclass | 9 |
3 files changed, 35 insertions, 0 deletions
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 |