ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
Ruafraidofme has joined #asahi-alt
Ruafraidofme has quit [Remote host closed the connection]
chadmed_ has quit [Quit: Page closed]
chadmed has joined #asahi-alt
chadmed has quit [Remote host closed the connection]
possiblemeatball has quit [Quit: Quit]
chadmed has joined #asahi-alt
Enzime has quit [Remote host closed the connection]
chadmed has quit [Remote host closed the connection]
chadmed_ has joined #asahi-alt
Enzime has joined #asahi-alt
chadmed_ has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-alt
cylm__ has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
<Enzime>
how do I change the screen brightness from command line? I'm running the edge kernel on my M1 MBA
chadmed has joined #asahi-alt
<chadmed>
Enzime: echo ${brightness} | sudo tee /sys/class/backlight/apple-panel-bl/brightness
<chadmed>
the scale is kinda funky, try starting with 25
<Enzime>
I don't have a "/sys/class/backlight/apple-panel-bl", do you know what kernel module provides that?
<chadmed>
Enzime: it's the dcp driver, definitely should be in -edge
chadmed_ has joined #asahi-alt
chadmed has quit [Read error: Connection reset by peer]
<jannau>
which kernel version/tag is this? pan you paste the output of `dmesg | grep apple-dcp` or `journalctl -k | grep apple-dcp`
sam_ has joined #asahi-alt
<Enzime>
6.3-13
<Enzime>
[ 11.560811] apple-dcp 231c00000.dcp: Could not read 'apple,firmware-compat': -75
<Enzime>
[ 11.560060] apple-dcp 231c00000.dcp: Adding to iommu group 3
<j`ey>
dts mismatch maybe?
<jannau>
I think an old 2nd stage m1n1, that's a property m1n1 adds
<j`ey>
ah no, it's m1n1 that sets up that in the dts
<jannau>
but I wouldn't rule out a dtb mismatch on top of that
alarmer has joined #asahi-alt
<alarmer>
hello, i'm using 1.71 rust on gentoo, what can one do in order to compile kernel with asahi_drm? are there external patches for 6.4+1.71?
<_jannau__>
alarmer: 6.4.0-p9 should work with rust 1.71
<alarmer>
without any patches? that's strange I'm emerging asahi-sources from chadmed's overlay. First I had to change white|black->allow|block+size_t (shouldn't this already be patched)? am I missing something?
<alarmer>
also: there's a message in tty every n minutes: INIT: Id "f0" respawning too fast, how can one fix this?
<mps>
looks like rust 1.71.1 works for me on alpine with musl libc
<_jannau__>
that's bindgen and it's unmodified from the kernel rust, we probably could patch that based on the installed bindgen version in the ebuild
<_jannau__>
works for my sinstalled bindgen version