Package: thinkfan
Version: 0.9.2-1
Severity: wishlist
User: p...@hungry.com
Usertags: appstream-modalias

Hi.

The thinkfan package is one of the packages in the Debian archive that
should be proposed for installation when a given hardware device
present.  Thanks to the appstream system, this can now be announced in a
way other tools can use and act on.  I've written the isenkram system to
ask the current user if hardware specific packages should be installed
when a new dongle is installed or already present on a machine, and
isenkram now uses appstream as one source for hardware to package
mappings.

You can read more about this on my blog, 
<URL: 
http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html
 >.

Instructions on how to create the metadata XML file can be found in
<URL: https://wiki.debian.org/AppStream/Guidelines >.

It would be great if you could add an appstream metainfo file to the
thinkfan package, with content similar to this:

  <?xml version="1.0" encoding="UTF-8"?>
  <component>
   [...]
   <provides>
        <modalias>dmi:*:pn*:pvrThinkPad*:rvn*</modalias>
   </provides>
  </component>

This will suggest it on all thinkpads.  I notice from the description
that the package will work with any machine providing "the sysfs hwmon
interface".  Perhaps it is better to match on a kernel module using
'lkmodule:module' instead of the DMI information?

If there are other hardware ids or kernel modules also supported by the
package, please add those too. :)

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to