-
Notifications
You must be signed in to change notification settings - Fork 103
Support 13P5EMS1; small Makefile fix. #573
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
base: main
Are you sure you want to change the base?
Conversation
|
Tested against Linux 6.18.2. |
|
This is a driver, it should be as simple as possible |
|
About webcam - hardware may use "support" bits, which shows that camera is togglable. No need to hide it with quirks |
|
About GPU - temp is reported only under load. If temp is not reported, than system uses only CPU sensor and single fan curve. Second fan is just slave. Probably it's RPM sensor is unused |
I hope it really works as intended, thanks for suggestion |
|
Sorry, but your mute led workaround does not use mute state from ALSA, and works as toggle. Realistically, main audio in/out's are not configured as trigger, so they are ignored |
No quirks for this part, just conf. AFAICT, there's just nothing in the EC regarding the webcam. I'll revert to the common hex used elsewhere and test again. |
Ahh, nice. I'll revert to the likely candidates in the conf and test while running a perf suite for a bit. |
Check quickfix #130 (comment) which was suggested in #156 (comment)
Some people made systemd service to run on startup, but I've forgot where it was |
It uses the mute state from the main-ec driver, but I can see what you're saying, as that is currently by side effect since the core of the driver and this addition both de facto initialize it to off, and thn they stay in sync as it's toggled. I could tie it back into reading the state directly from the EC again upon key press, which would inherently always be in sync. Regarding ALSA, I did research and explore both the snd-hda-intel code and the SOF firmware all these platforms seem to use. I prodded all the GPIO bits I could (hda-verb and other tools) but was unable to have the audio mute state change trigger the LED, which it would/should if it was hooked up that way. I'll look into it more. If it's in the binary firmware, I'm not sure what can be done. I have a user space script that works, but it feels even more wrong than this attempt. Does the speaker mute led tend to work automatically in sync with the sound drivers on all other supported platforms in MSI-EC? |
Oh! Nice. Thanks for sharing this. I'll implement similar and see why I can come up with. |
GPUWhile running Unigine GPU performance test over and over ... ... so it doens't seem like this model doesn't hvae usable .gpu.rt_temp_address or .gpu.rt_fan_speed_address. Webcam... and cheese still launched and showed the camera. SummaryIf I understand these results, the webcam and gpu settings in the conf file for my platform If we leave the vestigial webcam configuration in there, then the config would match CONF_G2_3. @glpnk Any preference there? Should I truly disable it, or leave it in? (I'm assuming the webcam related configs, when working, should disable the webcam, but honestly I'm assuming -- I never tried the MSI Windows app.) Also, I vetted the ctl-led attach approach can work for the speaker mute led. I'm writing a constrainted udev rule and systemd script to fire off once at boot. Thanks again for that idea. |
|
Ah, all zeroes in dGPU area means no dGPU. Fan is only CPU controlled. But seems that both fans report their RPM. About webcam - in your original issue, you had Do you think that's really a problem? It's impossible to document every model, and write down weird ones. Some models with shutter had this numbers zeroed, which meant no webcam control. Also older models had |
It's likely not a problem, yeah. I'll add the config to G2_3, add some comments in the code, and give it a final run through. "less is more" as they say. |
|
Sadly, your "dGPU" realistically is an iGPU. Intel's marketing is confusing, sadly |
Sadly, that's another part of controversiality of MSI devices - you found thing you can rely to determine something automatically, and after some time you need to fall back to white list. |
|
Okay, this PR is now just a fully vetted addition of 13P5EMS1, some quirk comments in code, and a small Makefile fix. |
|
Nice, please bump version in driver code too |
|
Bumped! |

close #561
My primary motivation was proper Summit 13 AI+ Evo A2VM support (See #561 ).
I'd appreciate a pointer to test webcam or GPU support, if possible.
Miscellaneous fixes/changes:
Platform specific code changes:
Note that the platform::mute created by the original msi-ec code worked. And the button also worked to trigger speaker mute. I researched and experimented where the most proper spot to hook up the input event for speaker mute led would live (alsa UCM, other input drivers, etc), but this seems to be the most correct spot.