Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Appstream metadata XML with hardware mapping. #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petterreinholdtsen
Copy link

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 >.

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 >.
</description>
<url type="homepage">https://github.com/evgeni/hdapsd</url>
<provides>
<modalias>dmi:*:pn*:pvrThinkPad*:rvn*</modalias>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this make hdapsd automatically installed on all ThinkPads?
I don't think that Thinkpads shipped with rotating disks for the last 10 years, and the ones from the last 5 years probably don't even support rotating disks at all, so it seems wrong to suggest this tool for these?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is currently nothing automatically installing it, but yes, the
modalias glob will match all Thinkpads. Perhaps you have a more fitting
match expression? 'cat $(find /sys -name modalias)|sort -u' can provide
some ideas.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the joystick feature only present on machines with a rotating disk, or is that part useful also on Thinkpads with SSD?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The joystick feature?
Are you mixing up hdapsd and tp-smapi?

hdapsd (this repo) is only for parking HDDs and not useful on flash-based storage.

tp-smapi exposes a sensor (also) as a joystick so you can play games by moving the laptop, but the interface it's using doesn't exist since SandyBridge models from 2012.

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Dec 29, 2024 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Jan 15, 2025 via email

@petterreinholdtsen
Copy link
Author

Just in case you want to list more specific thinkpad modalias entries, here is one from X230

dmi:bvnLENOVO:bvrG2ETB7WW(2.77):bd09/24/2019:br2.77:efr1.15:svnLENOVO:pn23252EG:pvrThinkPadX230:rvnLENOVO:rn23252EG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:skuLENOVO_MT_2325:

I can provide DMI lines for a few more models if there is any interest in going that route.

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.

2 participants