Skip to content

Support Modern 15 B12MO and add sysfs_notify on shift_mode - #746

Open
Ishtiaqe wants to merge 1 commit into
BeardOverflow:mainfrom
Ishtiaqe:support-modern-15-B12MO-and-sysfs-notify
Open

Support Modern 15 B12MO and add sysfs_notify on shift_mode#746
Ishtiaqe wants to merge 1 commit into
BeardOverflow:mainfrom
Ishtiaqe:support-modern-15-B12MO-and-sysfs-notify

Conversation

@Ishtiaqe

Copy link
Copy Markdown

This PR adds support for MSI Modern 15 B12MO (firmware 15H1IMS1.205), maps its boot default EC value 0x81 to comfort mode, and calls sysfs_notify() inside shift_mode_store() so userspace daemons can monitor shift mode changes in real-time.

Comment thread msi-ec.c
.modes = {
{ SM_ECO_NAME, 0xc2 },
{ SM_COMFORT_NAME, 0xc1 },
{ SM_COMFORT_NAME, 0x81 },

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is wrong, because 0x8. means disabled shift mode

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