Skip to content

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

Open
1Naim wants to merge 1 commit intomasterfrom
fix/claw-false-pos
Open

profiles/handhelds: Be more specific when matching for MSI Claw#214
1Naim wants to merge 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
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

Comments