Skip to content

Commit 46570ec

Browse files
petterreinholdtsenevgeni
authored andcommitted
Added Appstream metadata XML with hardware mapping.
This allow linux distributions collecting such information to propose this package when the relevant hardware is present in a computer, as implemented with the isenkram system. This is also reported as <URL: https://bugs.debian.org/840560 >.
1 parent cdcdbf1 commit 46570ec

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
SUBDIRS=src doc misc
22
doc_DATA = README.md ChangeLog
3-
EXTRA_DIST = README.md
3+
EXTRA_DIST = README.md \
4+
com.github.linux_thinkpad.hdapsd.metainfo.xml
5+
6+
dist_metainfo_DATA = com.github.linux_thinkpad.hdapsd.metainfo.xml
7+
metainfodir = $(datarootdir)/metainfo
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component>
3+
<id>com.github.linux_thinkpad.hdapsd</id>
4+
<metadata_license>MIT</metadata_license>
5+
<name>hdapsd</name>
6+
<summary>HDAPS daemon for various laptops with motion sensors</summary>
7+
<description>
8+
<p>This is a disk protection user-space daemon. It monitors the
9+
acceleration values through an interface and automatically
10+
initiates disk head parking if a fall or sliding of the laptop is
11+
detected.</p>
12+
<p>Currently, the following interfaces are supported:</p>
13+
<ul>
14+
<li>IBM/Lenovo ThinkPad (HDAPS)</li>
15+
<li>Apple iBook/PowerBook (AMS)</li>
16+
<li>Apple MacBook/MacBook Pro (APPLESMC)</li>
17+
<li>HP (HP3D)</li>
18+
<li>Dell (FREEFALL)</li>
19+
<li>Toshiba (ACPI and HAPS)</li>
20+
<li>Acer (INPUT)</li>
21+
</ul>
22+
<p>On ThinkPads, it is recommended that you use this daemon with
23+
the hdaps module provided by tp-smapi rather the one in the
24+
kernel, as this will save you a bit of power and will work on a
25+
wider range of ThinkPads.</p>
26+
</description>
27+
<url type="homepage">https://github.com/linux-thinkpad/hdapsd</url>
28+
<provides>
29+
<modalias>dmi:*:pn*:pvrThinkPad*:rvn*</modalias>
30+
</provides>
31+
</component>

0 commit comments

Comments
 (0)