ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
ddxtanx has quit []
ddxtanx has joined #asahi-dev
rlittl01 has joined #asahi-dev
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi-dev
anuragrao has joined #asahi-dev
pb17 has joined #asahi-dev
ddxtanx_ has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
rlittl01 has quit [Read error: Network is unreachable]
rlittl01 has joined #asahi-dev
anuragrao has quit [Ping timeout: 480 seconds]
rlittl01 is now known as Guest2278
rlittl01 has joined #asahi-dev
Guest2278 has quit [Ping timeout: 480 seconds]
rlittl01 is now known as Guest2281
Guest2281 has quit [Read error: No route to host]
rlittl01 has joined #asahi-dev
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
cylm_ has joined #asahi-dev
rlittl01 has quit [Read error: No route to host]
cylm has quit [Ping timeout: 480 seconds]
rlittl01 has joined #asahi-dev
rlittl01 is now known as Guest2283
Guest2283 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
rlittl01 is now known as Guest2285
Guest2285 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
anuragrao has joined #asahi-dev
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
KxCORP58940 has quit [Quit: Bye!]
KxCORP58940 has joined #asahi-dev
anuragrao has quit [Ping timeout: 480 seconds]
rlittl01 is now known as Guest2287
rlittl01 has joined #asahi-dev
Guest2287 has quit [Read error: Network is unreachable]
anuragrao has joined #asahi-dev
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
anuragrao has quit [Ping timeout: 480 seconds]
klausvalka has joined #asahi-dev
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #asahi-dev
klausvalka has quit [Remote host closed the connection]
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
phire_ has joined #asahi-dev
phire is now known as Guest2293
phire_ is now known as phire
Guest2293 has quit [Ping timeout: 480 seconds]
rlittl01 has quit [Remote host closed the connection]
rlittl01 has joined #asahi-dev
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
seb91nihel has joined #asahi-dev
seb4nihel has quit [Ping timeout: 480 seconds]
ddxtanx has quit [Remote host closed the connection]
ddxtanx has joined #asahi-dev
tristan2 has joined #asahi-dev
<chadmed_> well uhh thats fun
<chadmed_> the SMC doesnt actually limit the fan speed itself to the min and max :)
tristan2_ has quit [Ping timeout: 480 seconds]
<chadmed_> so i think we definitely need to change the behaviour such that any out of bounds write just brings us back to auto control
ddxtanx has quit [Remote host closed the connection]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
seb4nihel has joined #asahi-dev
amarioguy has quit [Remote host closed the connection]
seb91nihel has quit [Ping timeout: 480 seconds]
cylm_ has quit [Ping timeout: 480 seconds]
rlittl01 is now known as Guest2302
rlittl01 has joined #asahi-dev
rlittl01 is now known as Guest2303
Guest2302 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
Guest2303 has quit [Read error: No route to host]
rlittl01 has quit [Read error: Connection reset by peer]
rlittl01 has joined #asahi-dev
rlittl01 has quit [Quit: -a- IRC for Android 2.1.60]
<chadmed_> pushed some changes to how the fans are handled when in manual mode
<chadmed_> once a fan is in manual mode, it will respond to any request for a valid speed within its min/max range. writing 0/nothing will take it out of manual mode and any attempt to write a value outside of its safe range will return -EINVAL and do nothing
<chadmed_> trying to write 0/nothing outside of manual mode will also return -EINVAL
chadmed_ has quit [Remote host closed the connection]
pb17 has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi-dev
pb17 has joined #asahi-dev
klausvalka has joined #asahi-dev
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #asahi-dev
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #asahi-dev
klausvalka has quit [Remote host closed the connection]
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
aradhya7 has joined #asahi-dev
anuragrao has joined #asahi-dev
anuragrao has quit [Ping timeout: 480 seconds]
anuragrao has joined #asahi-dev
anuragrao has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
kaisan_ has quit [Quit: Connection closed for inactivity]
pb17 has joined #asahi-dev
chadmed_ has joined #asahi-dev
jnn is now known as jn
pb17 has quit [Ping timeout: 480 seconds]
wyes has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
ddxtanx_ has joined #asahi-dev
ddxtanx has quit [Ping timeout: 480 seconds]
apalos has quit [Quit: ZNC 1.8.1 - https://znc.in]
apalos has joined #asahi-dev
thebongy has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi-dev
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
aradhya7 has quit [Quit: Connection closed for inactivity]
yuyichao has joined #asahi-dev
pb17 has joined #asahi-dev
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
flokli has quit [Ping timeout: 480 seconds]
anuragrao has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
anuragrao has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
popey__ has joined #asahi-dev
popey__ has quit [Remote host closed the connection]
popey__ has joined #asahi-dev
popey__ has quit [Remote host closed the connection]
anuragrao has joined #asahi-dev
diolara^ has joined #asahi-dev
john-cabaj has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-dev
flokli has joined #asahi-dev
anuragrao has quit [Remote host closed the connection]
anuragrao has joined #asahi-dev
diolara^ has quit [Remote host closed the connection]
buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
buroa23 has joined #asahi-dev
buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
buroa23 has joined #asahi-dev
dylanchapell has quit [Ping timeout: 480 seconds]
hermitfeather has joined #asahi-dev
hermitfeather has quit [Remote host closed the connection]
hermitfeather has joined #asahi-dev
<sven> hrm, so i take it there is almost no rust support stuff (like, say, platform device bindings) upstream so far?
pb17 has quit [Ping timeout: 480 seconds]
thebongy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jannau> sven: yes, "struct device" in 6.11-rc1 is the only thing already merged. there is bits/210-gpu and support branches in rust-4-linux
pb17 has joined #asahi-dev
<sven> thanks! I have to rewrite half of atcphy anyway and wanted to see how much additional work just doing it in rust would be
<j`ey> sven: luckily there is another PHY in rust
<sven> nope, not the same thing
<j`ey> oh
<sven> there’s a net/phy or something like that
<j`ey> ah ok
<sven> might be useful as a template for phy/ bindings though
dylanchapell has joined #asahi-dev
thebongy has joined #asahi-dev
<kettenis> right, make upstreaming even harder since now you have rust bindings to bikeshed about ;)
<sven> right, I thought there was more upstream already
<sven> but it’s very minimal so far unfortunately
hermitfeather has quit [Ping timeout: 480 seconds]
<sven> if it was only phy bindings I wouldn’t mind, but we’re still at the bikeshedding for basic stuff like platform_device so I think I’ll just stick to C
flokli has quit [Ping timeout: 480 seconds]
flokli has joined #asahi-dev
hermitfeather has joined #asahi-dev
hermitfeather has quit [Remote host closed the connection]
f_ is now known as F_
F_ is now known as FunDerScore
FunDerScore is now known as funderscore
funderscore is now known as f_
midou has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
midou has joined #asahi-dev
hermitfeather has joined #asahi-dev
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Guest2145 has quit [Quit: Bridge terminating on SIGTERM]
<hermitfeather> Hey there, I'm new to linux development but wanted to take a shot at shaving the first yak. Before starting I wanted to get some clarification. On gnome, my current running sink is called audio_effect.j316-convolver. What it needs to be by default is alsa_output.platform-sound.HiFi__hw_AppleJ316_0__sink with the other hidden. Is this correct?
<hermitfeather> On a M1 Max MBP.
<nicolas17> <chadmed_> trying to write 0/nothing outside of manual mode will also return -EINVAL
<nicolas17> chadmed_: sounds like if it's in manual mode, writing 0/nothing once will take it out of manual mode, and doing it again will return -EINVAL, to me it seems better if that was idempotent...
rhysmdnz has joined #asahi-dev
chadmed has quit [Ping timeout: 480 seconds]
Jamie has joined #asahi-dev
Jamie is now known as Guest2342
chadmed_ has quit [Remote host closed the connection]
chadmed_ has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
anuragrao has quit [Ping timeout: 480 seconds]
hermitfeather has quit [Ping timeout: 480 seconds]
hermitfeather has joined #asahi-dev
hermitfeather has quit [Remote host closed the connection]
anuragrao has joined #asahi-dev
nepeat has quit [Quit: ZNC - https://znc.in]
nepeat has joined #asahi-dev
anuragrao has quit [Ping timeout: 480 seconds]
ddxtanx_ has quit [Remote host closed the connection]
ddxtanx has joined #asahi-dev
chadmed has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
chadmed has quit []
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
thebongy has quit [Read error: Connection reset by peer]
malfunction54 has quit [Remote host closed the connection]
malfunction54 has joined #asahi-dev
roxfan2 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
millefy has quit [Quit: Ping timeout (120 seconds)]
KxCORP58940 has quit [Read error: Connection reset by peer]
KxCORP58940 has joined #asahi-dev
millefy has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chadmed__ has joined #asahi-dev
jeisom has joined #asahi-dev
<chadmed__> nicolas17: the reason i want it to return -EINVAL is so that people don't get the impression that it should turn the fan off or do something special when manual mode is not armed
<chadmed__> i also dont want userspace tools thinking they did the right thing
<chadmed__> unfortunately theres no really "good" way to express what we need to :/
<nicolas17> hrm
<chadmed__> maybe im dense but i cant find a hwmon attr that flags "this fan can be toggled between auto/manual control" that we can use instead of doing it this way
<chadmed__> theres just HWMON_F_TARGET which we already have wired up
<nicolas17> yeah that's going way deeper than what I know
<chadmed__> im thinking that if turning the fans off proves safe we can just allow a 0 write unconditionally
<nicolas17> I was just thinking if you want 0 to mean automatic, then setting it to 0 when it's already automatic should just do nothing
<chadmed__> that does make sense
<chadmed__> ill rejig that later today and see where we end up
<nicolas17> but I have no idea how that meshes with existing userspace expectations
<chadmed__> im mainly trying to avoid unnecessary writes to the SMC by having this arming mechanism since theyre slow. like if we unconditionally allow 0 writes then we are always re-arming automatic control through the SMC which is slow
<chadmed__> of course this is _easily_ avoidable with an extra arm off the big if/else block but thats ugly :p
<chadmed__> oh nvm skill issue
<chadmed__> pushed
chadmed__ has quit [Remote host closed the connection]
cylm has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]