Skip to content

profiles/handhelds: Be more specific when matching for MSI Claw#214

Merged
vnepogodin merged 1 commit intomasterfrom
fix/claw-false-pos
Feb 28, 2026
Merged

profiles/handhelds: Be more specific when matching for MSI Claw#214
vnepogodin merged 1 commit intomasterfrom
fix/claw-false-pos

Conversation

@1Naim
Copy link
Member

@1Naim 1Naim commented Feb 7, 2026

A certain MSI laptop [1] also has the string "AV2M" in its product name, making it falsely detected as a handheld. Exactly match the Claws' product name in the regex and remove AV2M|A1M from the generic list.

[1] https://www.msi.com/Business-Productivity/Summit-13-AI-Plus-Evo-A2VMX/Specification

@1Naim 1Naim requested a review from vnepogodin February 7, 2026 09:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts handheld device detection to avoid false positives by tightening the MSI Claw product-name matching logic in the handheld PCI profiles.

Changes:

  • Removes MSI model suffixes (A2VM/A1M) from the generic handheld hwd_product_name_pattern.
  • Replaces the MSI Claw profile’s broad suffix match with an anchored, more specific product_name regex.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@1Naim 1Naim force-pushed the fix/claw-false-pos branch from d2edb1a to 80aa5f6 Compare February 7, 2026 10:11
A certain MSI laptop [1] also has the string "AV2M" in its product name,
making it falsely detected as a handheld. Exactly match the Claws'
product name in the regex and remove AV2M|A1M from the generic list.

[1] https://www.msi.com/Business-Productivity/Summit-13-AI-Plus-Evo-A2VMX/Specification

Signed-off-by: Eric Naim <dnaim@cachyos.org>
@1Naim 1Naim force-pushed the fix/claw-false-pos branch from 80aa5f6 to 14105af Compare February 7, 2026 10:12
Copy link
Member

@vnepogodin vnepogodin left a comment

Choose a reason for hiding this comment

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

danke

@vnepogodin vnepogodin merged commit 405f022 into master Feb 28, 2026
1 of 2 checks passed
@vnepogodin vnepogodin deleted the fix/claw-false-pos branch February 28, 2026 11:58
1Naim added a commit that referenced this pull request Mar 15, 2026
Intel Claw devices were removed from the generic list because of false
positives. However, the packages key was never added to the claw
profile, so new installs don't get correct packages. Add it back to fix
this.

Fixes: 405f022 ("profiles/handhelds: Be more specific when matching for MSI Claw (#214)")
Signed-off-by: Eric Naim <dnaim@cachyos.org>
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.

4 participants