#asahi-dev · 2023-09-16 22:17
chadmedkallisti: yeah forgot about the wifi chipset and gpu carveout... #asahi-dev · 2023-09-16 12:13
chadmedthe reason the M2* _desktops_ arent is because of the DCP/dptext/dcpext/whatever mess #asahi-dev · 2023-09-16 12:12
chadmedhuh? no those laptops are supported fully afaik #asahi-dev · 2023-09-16 03:16
chadmedyes#asahi-dev · 2023-09-15 10:14
chadmedfirst real attempt at kernel work that isnt rearranging a for loop so it probably needs work#asahi-dev · 2023-09-15 10:14
chadmedj`ey: thanks :)#asahi-dev · 2023-09-15 10:12
chadmedhttps://github.com/AsahiLinux/docs/wiki/HW:SMC#asahi-dev · 2023-09-15 10:12
chadmedthere just *has* to be a better way to do that#asahi-dev · 2023-09-15 10:12
chadmedonly thing im really not too sure about is all that horrid pointer voodoo in macsmc_hwmon_populate_info #asahi-dev · 2023-09-15 10:11
chadmedhelpful*#asahi-dev · 2023-09-15 10:11
chadmedbut not all of them expose user-helpfuk information#asahi-dev · 2023-09-15 10:11
chadmedbecause theres like 99999 grillion keys#asahi-dev · 2023-09-15 10:11
chadmedit should work regardless of soc, what we need to figure out is which smc keys we are going to expose for which devices#asahi-dev · 2023-09-15 09:45
chadmedim sure there are probably issues with it though so further testing would be nice :) #asahi-dev · 2023-09-15 09:45
chadmedtested on j415 and j314, been meaning to get the mac mini going too but couldnt really drag that with me to hospital :)#asahi-dev · 2023-09-15 09:44
chadmedhttps://github.com/chadmed/linux/tree/wip/hwmon#asahi-dev · 2023-09-15 05:26
chadmedbut im open to suggestions#asahi-dev · 2023-09-15 05:26
chadmedwhats going to be the best way to do the dt schema for the smc hwmon stuff? rummaging around it looks like its probably best to write one for the whole SMC and put it under mfd#asahi-dev · 2023-09-15 01:49
chadmedelros: i think the best place to start would be the yaks page, https://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving#asahi-dev · 2023-09-14 03:50
chadmedtheres gotta be a better way to do that... right? #asahi-dev · 2023-09-14 03:50
chadmedok so currently i'm allocating this hideous chunk of memory to store all the hwmon_channel_info structs, their arrays of config flags, and all the pointers to the structs#asahi-dev · 2023-09-13 07:40
chadmedit doesnt seem to be fragile at all its just gross to look at#asahi-dev · 2023-09-13 07:39
chadmedlots of evil pointers#asahi-dev · 2023-09-13 07:39
chadmedok this works but i dont think it will be upstreamable #asahi-dev · 2023-09-13 01:04
chadmedno of refcount errors on the first try though so thats nice :)#asahi-dev · 2023-09-13 01:04
chadmedim looking at this hwmon mess and i really dont like how the "info" channels work... its a nightmare to try and populate from the devicetree#asahi-dev · 2023-09-13 01:04
chadmedurgh forgot how loathsome C can be sometimes#asahi-dev · 2023-09-11 02:06
chadmedmarcan: makes sense, i have been doing it that way so far. just wanted to double-check#asahi-dev · 2023-09-11 00:56
chadmedi feel like per-device makes more sense given the per-device throttling and power envelope behaviour #asahi-dev · 2023-09-11 00:55
chadmedwith eas, do we want to do measurements and values on a per-device basis or per-soc#asahi-dev · 2023-09-09 07:30
chadmedjannau: does that give us simpledrm on hdmi for those machines?#asahi-dev · 2023-09-02 05:10
chadmedhttps://social.treehouse.systems/@chadmed/110993825043500687 ez#asahi-dev · 2023-09-02 04:01
chadmednvm it was just kde's volume knobs still being broken. we do need to do kcontrol fixup in macaudio though#asahi-dev · 2023-09-02 03:40
chadmednone of the kcontrols are disabled either so i assume we're just not handling the device properly in macaudio #asahi-dev · 2023-09-02 03:40
chadmedall channels go to one of the left woofers#asahi-dev · 2023-09-02 03:40
chadmedhmm 15" air speaker routing is wrong #asahi-dev · 2023-09-01 14:32
chadmedthats interesting#asahi-dev · 2023-09-01 14:32
chadmedoh? #asahi-dev · 2023-09-01 14:32
chadmedyeah you dont need the whole tree on /boot #asahi-dev · 2023-09-01 14:32
chadmedand it installs the kernel binary to /boot#asahi-dev · 2023-09-01 14:31
chadmedoh right no you run make install #asahi-dev · 2023-09-01 14:31
chadmedvmlinuz is 20 gb?#asahi-dev · 2023-09-01 14:31
chadmedh-huh? #asahi-dev · 2023-09-01 14:29
chadmedafter about halfway macos starts bringing in a very aggressive compressor which ruins the sound quality anyway#asahi-dev · 2023-09-01 14:27
chadmedbut im not going to make any absolute guarantees of safety, and no one should be using this stuff without speakersafetyd in the wild#asahi-dev · 2023-09-01 14:26
chadmedin fact it is objectively safer to run with the DSP #asahi-dev · 2023-09-01 14:26
chadmedthey are "safe" to use in the sense that they dont expose your speakers to any more danger than just blasting sound through them raw#asahi-dev · 2023-09-01 14:24
chadmedthe answer to that question is _officially_ "no"#asahi-dev · 2023-09-01 14:24
chadmedim saying that knedlik was asking if the DSP stuff is safe to use without speakersafetyd#asahi-dev · 2023-09-01 14:23
chadmedwhether or not i personally managed to not melt my tweeters is irrelevant