#asahi · 2022-10-16 19:49
ayke_jannau: I found that when the brightness changes due to automatic brightness changes in MacOS, it doesn't always stay at a reboot. But when I change it manually, the brightness appears to stick.#asahi · 2022-10-16 19:17
sventhe dtb has to be modified by m1n1, specifying it using any other way (uboot,grub, kernel, whatever) will break #asahi · 2022-10-16 19:00
derzahlok, really leaving for now#asahi · 2022-10-16 19:00
mpsinteresting, never saw 'dtb' option in Documentation/admin-guide/kernel-parameters.txt#asahi · 2022-10-16 19:00
derzahli thought it was an initcpio hook that added the dtb to m1n1 but im not finding it now#asahi · 2022-10-16 18:59
derzahlive never tried using it. but there is a kernel option to enable "dtb=". i added it because, meh, why not. i usually use devicetree= from grub on my other arm laptop#asahi · 2022-10-16 18:59
mpsidk how it works for asahi distro but iirc there is update script somewhere#asahi · 2022-10-16 18:58
mpsderzahl: to have new dtbs used you need to recreate new second stage m1n1+dtbs+u-boot#asahi · 2022-10-16 18:57
mpsis there 'dtb' option for kernel cmdline#asahi · 2022-10-16 18:53
derzahlwhat about using "dtb=" from kernal cmdline? I should have that functionality compiled into my kernel#asahi · 2022-10-16 18:52
derzahlhm#asahi · 2022-10-16 18:52
derzahldisabled#asahi · 2022-10-16 18:52
derzahlcat /proc/device-tree/sound/dai-link@0/status #asahi · 2022-10-16 18:52
povikthere's /proc/device-tree you can check the DT-in-use through#asahi · 2022-10-16 18:51
j`eyit has to be the builtin to m1n1 one#asahi · 2022-10-16 18:51
derzahlthanks for the help!#asahi · 2022-10-16 18:51
j`eyderzahl: you cant do that with grub#asahi · 2022-10-16 18:51
derzahlill be back in an hour or so#asahi · 2022-10-16 18:51
derzahli will verify the dtb has been installed on m1n1. or I can also try specifying with devicetree= from grub#asahi · 2022-10-16 18:50
derzahlthis is my dts from the kernel source tree: https://pastebin.com/9up307Nq#asahi · 2022-10-16 18:48
derzahland i just installed this kernel with the patched dts after adding the extra codec#asahi · 2022-10-16 18:47
derzahlhm, i dont know why i wouldnt be. i think the dtb from the last kernel installed is added to m1n1, unless thats changed#asahi · 2022-10-16 18:46
povikno speaker codec controls there#asahi · 2022-10-16 18:45
derzahlheres amixer: https://pastebin.com/duNZdDtc#asahi · 2022-10-16 18:45
povikthere would be those for mca-i2s-0 and -1 if you did#asahi · 2022-10-16 18:44
povik[ 23.367376] snd-soc-macaudio sound: adding routes for 'mca-i2s-2'#asahi · 2022-10-16 18:44
povikyeah, you are not using the edited DT ;)#asahi · 2022-10-16 18:42
povikif there's no speaker controls you are not using the edited DT#asahi · 2022-10-16 18:42
povikpost 'amixer' please#asahi · 2022-10-16 18:41
derzahlhere is my full dmesg if you or others are able to take a look: https://pastebin.com/mv68ZD2r#asahi · 2022-10-16 18:41
derzahlhave to head out for a bit#asahi · 2022-10-16 18:41
derzahli can triple check when i get back though#asahi · 2022-10-16 18:40
derzahlhm, i changed line 126 to "status" = "okay";#asahi · 2022-10-16 18:38
povikbut it did probe for you to have headphones#asahi · 2022-10-16 18:38
poviksince if you did edit the DT to enable speakers, the driver won't probe unless you pass snd-soc-macaudio.please_blow_up_my_speakers=1#asahi · 2022-10-16 18:38
poviki don't think you edited the DT right#asahi · 2022-10-16 18:37
derzahlthis is a macbook air m1 btw#asahi · 2022-10-16 18:37
derzahl[ 33.774927] Secondary: ASoC: error at dpcm_fe_dai_hw_params on Secondary: -22#asahi · 2022-10-16 18:37
derzahl[ 33.774926] Secondary: ASoC: error at __soc_pcm_hw_params on Secondary: -22#asahi · 2022-10-16 18:37
derzahlapple-mca 238400000.i2s: ASoC: error at snd_soc_dai_hw_params on mca-pcm-1: -22#asahi · 2022-10-16 18:37
derzahlhm, i used the PKGBUILD. still no speakers, just headphone. and new errors:#asahi · 2022-10-16 18:33
poviklogout/login should do the trick. you need to restart the userspace sound stack#asahi · 2022-10-16 18:33
derzahleh, ill just reboot. its fast enough#asahi · 2022-10-16 18:33
derzahlpovik: thanks! can i just restart gnome then?#asahi · 2022-10-16 18:26
jannau13" macbook pro might be a special case since the touchbar doesn't work in recovery, i.e. there is no way the user can correct a too low brightness#asahi · 2022-10-16 18:25
povikhttps://github.com/AsahiLinux/PKGBUILDs/pull/20#asahi · 2022-10-16 18:25
povikeither directly or use jannau's package#asahi · 2022-10-16 18:25
povikderzahl: if you want to explore more upcoming stuff, install this to address those errors: https://github.com/povik/alsa-ucm-conf-asahi#asahi · 2022-10-16 18:25
jannauI shut macos with brightness at barely readable and that did not stick#asahi · 2022-10-16 18:24
jannaunot sure it does anything at all for me and it certainly doesn't keep the macos brightness for me on the (m2 macbook pro)