#asahi-dev · 2026-01-05 02:45
ruiconsven: the patches are ready, only the battery driver needs to be tested, you can see the patches in the t2linux discord#asahi-dev · 2025-10-13 17:50
ruiconok thx#asahi-dev · 2025-10-13 17:48
ruiconI’ve added backend_ops (SMC) and be_ops, but also renamed apple_smc_* → apple_smc_rtkit_* and moved the code to drivers/soc/apple/, making the patch mixed — should I split it into two commits (rename+move and logic) or keep it as one?#asahi-dev · 2025-09-29 12:41
ruiconI have a question, how do y'all get the function name and address from virtual function calls (call qword ptr [rax+123h])? I am not that experienced in re, so any help is appreciated#asahi-dev · 2025-09-26 13:25
ruiconchadmed: also regrading the cpu usage, I already coded the driver and tested it, it isn't THAT expensive, I think it can be upstreamed#asahi-dev · 2025-09-26 13:23
ruiconchadmed: I know that the 95% of keys are for current, volt, temp, power, see: https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SMCKeys.txt#asahi-dev · 2025-09-26 10:29
ruiconchadmed: u said "unfortunately we cant really decouple hwmon from dt for the reasons mentioned without abusing dt compatibles and having a giant header file full of tables which is really gross", I am not going to create a hardcoded table instead I am gonna loop over all the keys and check if the prefix is I, P, V, T add them to the respective groups (such as temp, power, etc)#asahi-dev · 2025-09-25 15:21
ruiconthanks#asahi-dev · 2025-09-25 15:21
ruiconhmm, ok fine#asahi-dev · 2025-09-25 15:19
ruiconhwmon#asahi-dev · 2025-09-25 15:16
ruiconIf you are James Calligeros, would you be okay with me using part of your code in my SMC implementation and upstreaming it, provided I give you proper credit?#asahi-dev · 2025-09-25 15:16
ruiconis there someone named "James Calligeros" here?#asahi-dev · 2025-09-24 19:33
ruiconsven: would it be ok, if i added yall to MAINTAINERS for the core file in new smc with backend_ops?#asahi-dev · 2025-09-23 12:21
ruiconsven: you mean this? https://github.com/AsahiLinux/linux/blob/asahi/drivers/platform/apple/smc.h#L12#asahi-dev · 2025-09-23 10:26
ruiconsven: so basically, transfer m-series smc to drivers/soc/apple, and i transfer my driver to drivers/x86/platform#asahi-dev · 2025-09-22 17:30
ruiconok thanks#asahi-dev · 2025-09-22 17:27
ruiconok, but where should i put the header file?#asahi-dev · 2025-09-22 17:25
ruicon(on both pre-t2 and t2 macs)#asahi-dev · 2025-09-22 17:25
ruiconthe driver has been written and tested#asahi-dev · 2025-09-22 17:25
ruiconall intel macs#asahi-dev · 2025-09-22 17:23
ruiconsven: My SMC backend is currently under MFD, Do you have any suggestions on where it should go?#asahi-dev · 2025-07-25 09:47
ruiconhi