Skip to content

Conversation

@petterreinholdtsen
Copy link

Added Appstream metainfo XML announcing the hardware handled by this package.

Including this information in the package will ensure programs mapping hardware to packages using Appstream information, like the isenkram package, will know that this package is useful on machines where the USB IDs are discovered.

The list of modaliases for supported hardware is based on the idea that every kernel module in the drivers/edact/ subdirectory is handled by this tool, and was generated using this oneliner with the output slightly modified:

for f in $(ls /lib/modules/6.9.7-amd64/kernel/drivers/edac/|sed s/.ko.xz//); do
echo "lkmodule:$f";
for a in $(sudo modinfo $f|grep alias|awk '{print $2}'); do
echo "$a";
done;
done

Please adjust the hardware mapping if this assumtion is wrong.

Added Appstream metainfo XML announcing the hardware
handled by this package.

Including this information in the package will ensure programs mapping
hardware to packages using Appstream information, like the isenkram
package, will know that this package is useful on machines where the USB
IDs are discovered.

The list of modaliases for supported hardware is based on the idea that
every kernel module in the drivers/edact/ subdirectory is handled by
this tool, and was generated using this oneliner with the output slightly
modified:

  for f in $(ls /lib/modules/6.9.7-amd64/kernel/drivers/edac/|sed s/.ko.xz//); do \
    echo "<modalias>lkmodule:$f</modalias>"; \
    for a in $(sudo modinfo $f|grep alias|awk '{print $2}'); do \
      echo "<modalias>$a</modalias>"; \
    done; \
  done

Please adjust the hardware mapping if this assumtion is wrong.
@petterreinholdtsen
Copy link
Author

Is there any hope to have this change included in a new release of edac-utils any time soon?

yarikoptic added a commit to yarikoptic/edac-utils that referenced this pull request Jan 1, 2025
…or appstream to recommend edac-utils if compatible hardware is detected. Upstream PR: grondo#20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant