#asahi-alt · 2024-04-15 11:35
chadmedu154ss: my page on the asahi wiki is the most up to date since i updated it only a couple weeks ago :)#asahi-alt · 2024-04-15 11:34
u154ss@chadmed I would like to have another try at installing Gentoo on an M2 Mini. Are there caveats here? The documentation is a wee bit fragmented. Which would be the right source/wiki to use? TIA.#asahi-alt · 2024-04-14 06:37
chadmedit originally looked less like it, however i really could not think of a more sane way to build the silly hwmon_channel_info struct out of dt data, and jeff had assigned copyright to the asahi linux contributors so...#asahi-alt · 2024-04-14 06:37
chadmedjannau: in the interests of transparency i went back through my notes on hwmon and yes it is based on jeffmiw's driver, which i made no secret of when i first started it (https://oftc.irclog.whitequark.org/asahi-dev/2023-01-22)#asahi-alt · 2024-04-13 10:34
u154ss@cy8aer/chadmed - confirmed.#asahi-alt · 2024-04-13 10:33
chadmedyeah thats fine then#asahi-alt · 2024-04-13 10:33
cy8aerchadmed: 1.2.15-2#asahi-alt · 2024-04-13 10:32
chadmedwhat version of lsp-plugins does trixie ship #asahi-alt · 2024-04-13 10:31
u154ss@chadmed Thanks for the info. Running Debian Trixie (unstable). Still not bleeding-edge though.#asahi-alt · 2024-04-13 10:25
chadmedthey are out of tree so that e.g. debian stable cannot enable them with a known-broken lsp-plugins package #asahi-alt · 2024-04-13 10:24
chadmedu154ss: for completeness, the patches we are referring to are here https://github.com/chadmed/asahi-overlay/tree/main/sys-kernel/asahi-kernel/files#asahi-alt · 2024-04-13 10:02
u154ss@all/jannau Sound/speakers working now @a normal decibel level. M2-Mini/Debian Jannau's WIP kernel (6.8-4). macaudio.c was the culprit "false" changed to "true". #asahi-alt · 2024-04-13 09:53
u154ss@jannau Thank you. Was not aware of that..#asahi-alt · 2024-04-13 09:50
jannauu154ss: config for j473 is in /usr/share/asahi-audio/j274 since they share chassis and speaker#asahi-alt · 2024-04-13 09:32
u154ss@j'ey It would seem so. Also my /usr/share/asahi-audio/.. is missing J473 (M2 Mini) entries. Patience..#asahi-alt · 2024-04-13 09:30
j`eyim pretty sure your issue is the missing enablement patches I linked, it's the same error anyway#asahi-alt · 2024-04-13 09:29
u154ss@all my asahi-audio release level is 1.7-2 fwiw.#asahi-alt · 2024-04-13 09:14
jannautwo reason why I haven't ppushed it forward: 1. I don't want look after it; 2. it looked very similar to Jeff's hwmon driver#asahi-alt · 2024-04-13 09:13
jannauI've never seen oopses with the hwmon driver, keys are in the devicetree and cover all m1* / m2* devices#asahi-alt · 2024-04-13 09:11
jannaupatches still apply in my unpublished ebuild#asahi-alt · 2024-04-13 09:10
jannauI haven't included the speaker patches and I see "driver can't assure safety on this model, disabling speakers\n" when booting the kernel#asahi-alt · 2024-04-13 09:01
chadmediirc we decided to keep the requirement for the enablement patches in for now, so the speakers definitely should not work without those #asahi-alt · 2024-04-13 09:01
j`eyjannau: am I going mad?#asahi-alt · 2024-04-13 09:01
mpschadmed: yes, it doesn't work for some time but I forgot to remove it#asahi-alt · 2024-04-13 09:00
j`eyenable_speakers is false#asahi-alt · 2024-04-13 09:00
chadmedit only works properly on the m1 mini as the smc keys differ between machines#asahi-alt · 2024-04-13 09:00
chadmedand even then not reliably #asahi-alt · 2024-04-13 08:59
chadmedyou should probably drop that hwmon patch as it was nothing more than a prototype and only works on base M1 devices #asahi-alt · 2024-04-13 08:59
mpsI mean speakers#asahi-alt · 2024-04-13 08:58
mpsand I can assure you, sound works with this latest tagged janne's kernel#asahi-alt · 2024-04-13 08:58
j`eyhmm I have no idea how speakers work then!#asahi-alt · 2024-04-13 08:58
chadmedoh its the even worse one #asahi-alt · 2024-04-13 08:58
mpsj`ey: https://tpaste.us/1Xqk#asahi-alt · 2024-04-13 08:57
chadmedhopefully we can get it into a state good enough to merge for the next cycle #asahi-alt · 2024-04-13 08:55
chadmedi was going to get around to fixing that but money + time issue :( #asahi-alt · 2024-04-13 08:55
j`eythat never hurt anyone!#asahi-alt · 2024-04-13 08:55
j`eypfft#asahi-alt · 2024-04-13 08:55
chadmedwell reading certain keys caused segfaults in the kernel sooooo :p #asahi-alt · 2024-04-13 08:55
j`eyI wouldnt say it was fucked up!#asahi-alt · 2024-04-13 08:54
chadmedi hope thats not the fucked up hwmon driver jannau and i wrote... #asahi-alt · 2024-04-13 08:53
j`eymps: can you paste sensors.patch?#asahi-alt · 2024-04-13 08:48
mpsor maybe set CONFIG_DRM_APPLE_AUDIO to yes#asahi-alt · 2024-04-13 08:47
mpsI will disable this driver#asahi-alt · 2024-04-13 08:47
mpsoh, last doesn't build, 'ERROR: modpost: "dcp_audiosrv_prepare" [drivers/gpu/drm/apple/apple_dcp_audio.ko] undefined!'#asahi-alt · 2024-04-13 08:45
mpsj`ey: here is APKBUILD https://tpaste.us/D7nR with a lot of mess, but I build janne's kernels with it and I have sound#asahi-alt · 2024-04-13 08:43
mpslets see with this new tag, hope rust will work#asahi-alt · 2024-04-13 08:41
j`eypretty sure that the patches are needed#asahi-alt · 2024-04-13 08:40
j`ey*shrug*#asahi-alt · 2024-04-13 08:39
mpsthis is cmdline 'BOOT_IMAGE=/boot/vmlinuz-asahi-git root=/dev/nvme0n1p6 ro rootwait console=tty1'