#asahi-dev · 2023-02-13 08:25
chadmednext weekend ill build povik's v/isense stuff and spend some time trying to hook up the daemon to at least capture the data#asahi-dev · 2023-02-13 08:24
chadmedmarcan: needless to say if you want one model done and dusted probably target j314 ;)#asahi-dev · 2023-02-12 12:43
chadmeds/tracing/poking #asahi-dev · 2023-02-12 12:43
chadmedand i didnt have time to dig deeper#asahi-dev · 2023-02-12 12:43
chadmeddoes smc work? i tried tracing it today but the machine hard rebooted trying to start the endpoint #asahi-dev · 2023-02-12 12:26
chadmedi just clicked add file at the bottom of the new gist page then copy-pasted the contexts of each file in manually :P #asahi-dev · 2023-02-12 12:24
chadmedi couldnt wrap my head around pmgr or gpio #asahi-dev · 2023-02-12 12:24
chadmedoh nice!#asahi-dev · 2023-02-12 07:00
chadmednot too sure on the nvme nodes but everything else gets picked up correctly and works#asahi-dev · 2023-02-12 06:58
chadmedhere is juuuust enough devicetree to get to a console in the hypervisor#asahi-dev · 2023-02-12 06:58
chadmedhttps://gist.github.com/chadmed/cb7e75606ed041cd0a1b52e5fd8f3a6f#asahi-dev · 2023-02-12 04:44
chadmed[ 0.000000] Machine model: Apple Mac Mini (M2 Pro, 2023)#asahi-dev · 2023-02-12 04:44
chadmed[ 0.000000] random: crng init done#asahi-dev · 2023-02-12 04:43
chadmed[ 0.000000] Linux version 6.2.0-rc3-asahi (root@usagi) (clang version 15.0.7, LLD 15.0.7) #10 SMP PREEMPT_DYNAMIC Sun Feb 12 14:30:40 AEST 2023#asahi-dev · 2023-02-12 01:00
chadmedso thats nice#asahi-dev · 2023-02-12 01:00
chadmedquick perusal of the adt seems to suggest a whole bunch of stuff is just copy-pasted from t6000 with the addresses moved around #asahi-dev · 2023-02-12 00:56
chadmedhttps://gist.github.com/chadmed/2101227831c0af272bcfcdb8326a57ea buenos dias t6020#asahi-dev · 2023-02-11 22:42
chadmedalso aiui nonstandard bindings should be prefixed with the vendor, so like apple,pwr-keys not just pwr-keys#asahi-dev · 2023-02-11 22:27
chadmedjeffmiw: i would maybe look at using a compatible like "apple,t8103-hwmon" or something just in case things need to change between socs#asahi-dev · 2023-02-11 22:26
chadmedi need a coffee...#asahi-dev · 2023-02-11 22:25
chadmedoh yeah nvm, i was playing around with different keys and not changing the label #asahi-dev · 2023-02-11 22:17
chadmedat least it does on j314 #asahi-dev · 2023-02-11 22:16
chadmed"power draw" actually#asahi-dev · 2023-02-11 22:16
chadmedPSTR counts charging as #asahi-dev · 2023-02-11 22:07
chadmedit would be nice if there was a key that did not count battery charging as system power draw #asahi-dev · 2023-02-11 22:06
chadmedfwiw im pretty sure PSTR is total platform power draw #asahi-dev · 2023-02-11 22:06
chadmedjeffmiw: thats pretty great#asahi-dev · 2023-02-11 09:25
chadmed(at some point) #asahi-dev · 2023-02-11 09:25
chadmedor rather we will need to bring up dcp in m1n1#asahi-dev · 2023-02-11 09:25
chadmedah so you reckon we've just lost m1n1 display out entirely on these machines? that's a bit annoying#asahi-dev · 2023-02-11 09:13
chadmedah okay#asahi-dev · 2023-02-11 09:11
chadmedjannau: does the latest m1n1 source have m2 mac mini hdmi out merged in yet? #asahi-dev · 2023-02-08 11:01
chadmedits quite entertaining watching the scheduler try to pass irq threads around when you move the trackpad. the thing goes from every core sitting at 0 to multiple pcores running up 5-10% utilisation #asahi-dev · 2023-02-08 10:49
chadmedmoving the cursor pushes up power consumption more than playing music does#asahi-dev · 2023-02-08 10:49
chadmedpower use is ~the same anyway#asahi-dev · 2023-02-08 10:48
chadmedit does have a higher affinity for pcores now but i think thats alright, better than choppy audio #asahi-dev · 2023-02-08 10:47
chadmedusing rtkit to give pipewire "proper" "realtime" support fixes all the buffer overflowing issues with the compressor#asahi-dev · 2023-02-06 09:35
chadmedits very sporadic though. sometimes i can go days without hitting it then other days i get it a few times an hour #asahi-dev · 2023-02-06 09:34
chadmedlikewise rapidly opening new streams in vlc #asahi-dev · 2023-02-06 09:34
chadmedi have an audible bell on my terminal and if i spam it too much it seems it can trigger the admac thing#asahi-dev · 2023-02-06 08:54
chadmedhuh looks like no new dart variant#asahi-dev · 2023-02-06 08:24
chadmedpovik: is there anything that would reliably stress test that patch other than the usual starting/stopping streams rapidly (which seemed to trigger the issue albeit unreliably) #asahi-dev · 2023-02-05 20:50
chadmedjeffmiw: have a look at the opp table for a good example of what i mean#asahi-dev · 2023-02-05 08:01
chadmedthatll be great for the battery :P #asahi-dev · 2023-02-05 07:59
chadmedyeah#asahi-dev · 2023-02-05 07:58
chadmedas a toy implementation ive just been using the thermal resistance of the voice coil as provided by apple to estimate temperature from a given power level but if we can get something more accurate then it shouldnt be too much effort to use that instead#asahi-dev · 2023-02-05 06:17
chadmedi dont think we landed on a way to gate full output unless the daemon is running so it might be time to have that discussion in earnest too#asahi-dev · 2023-02-05 06:15
chadmedthe rust bindings for alsa-lib's PCM interface are far more complete than CTL was and getting samples seems pretty simple to do so once the kernel side is done it shouldnt take much to rejig the daemon and then we can get testing#asahi-dev · 2023-02-05 06:13
chadmedim waiting for povik to wire up the kernel driver so i can fix the daemon and then validate things#asahi-dev · 2023-02-05 00:41
chadmedalso the smc core driver has its own float conversion function now with scaling support so its probably best to use that instead of duplicating that functionality in the hwmon driver