2024-08-06
00:00ddxtanx has quit []
00:00ddxtanx has joined #asahi-dev
00:00rlittl01 has joined #asahi-dev
00:01darkapex has quit [Remote host closed the connection]
00:01darkapex has joined #asahi-dev
00:03anuragrao has joined #asahi-dev
00:04pb17 has joined #asahi-dev
00:04ddxtanx_ has quit [Ping timeout: 480 seconds]
00:05zumi_ has joined #asahi-dev
00:05zumi has quit [Remote host closed the connection]
00:10zumi_ is now known as zumi
00:10rlittl01 has quit [Read error: Network is unreachable]
00:11rlittl01 has joined #asahi-dev
00:11anuragrao has quit [Ping timeout: 480 seconds]
00:21rlittl01 is now known as Guest2278
00:21rlittl01 has joined #asahi-dev
00:24Guest2278 has quit [Ping timeout: 480 seconds]
00:30rlittl01 is now known as Guest2281
00:30Guest2281 has quit [Read error: No route to host]
00:30rlittl01 has joined #asahi-dev
00:35rlittl01 has quit [Read error: Connection reset by peer]
00:38rlittl01 has joined #asahi-dev
00:38cylm_ has joined #asahi-dev
00:44rlittl01 has quit [Read error: No route to host]
00:45cylm has quit [Ping timeout: 480 seconds]
00:45rlittl01 has joined #asahi-dev
00:46rlittl01 is now known as Guest2283
00:46Guest2283 has quit [Read error: Connection reset by peer]
00:46rlittl01 has joined #asahi-dev
00:57rlittl01 is now known as Guest2285
00:57Guest2285 has quit [Read error: Connection reset by peer]
00:57rlittl01 has joined #asahi-dev
00:57anuragrao has joined #asahi-dev
00:59rlittl01 has quit [Read error: Connection reset by peer]
00:59rlittl01 has joined #asahi-dev
01:00KxCORP58940 has quit [Quit: Bye!]
01:00KxCORP58940 has joined #asahi-dev
01:05anuragrao has quit [Ping timeout: 480 seconds]
01:21rlittl01 is now known as Guest2287
01:21rlittl01 has joined #asahi-dev
01:21Guest2287 has quit [Read error: Network is unreachable]
01:26anuragrao has joined #asahi-dev
01:30rlittl01 has quit [Read error: Connection reset by peer]
01:32rlittl01 has joined #asahi-dev
01:34jeisom has quit [Ping timeout: 480 seconds]
01:34anuragrao has quit [Ping timeout: 480 seconds]
01:42klausvalka has joined #asahi-dev
01:42klausvalka has quit [Remote host closed the connection]
01:44klausvalka has joined #asahi-dev
01:44klausvalka has quit [Remote host closed the connection]
01:45rlittl01 has quit [Read error: Connection reset by peer]
01:46rlittl01 has joined #asahi-dev
01:47phire_ has joined #asahi-dev
01:47phire is now known as Guest2293
01:47phire_ is now known as phire
01:51Guest2293 has quit [Ping timeout: 480 seconds]
01:52rlittl01 has quit [Remote host closed the connection]
01:52rlittl01 has joined #asahi-dev
02:00rlittl01 has quit [Read error: Connection reset by peer]
02:01rlittl01 has joined #asahi-dev
02:06rlittl01 has quit [Read error: Connection reset by peer]
02:08rlittl01 has joined #asahi-dev
02:10seb91nihel has joined #asahi-dev
02:12seb4nihel has quit [Ping timeout: 480 seconds]
02:38ddxtanx has quit [Remote host closed the connection]
02:54ddxtanx has joined #asahi-dev
03:24tristan2 has joined #asahi-dev
03:26tristan2_ has quit [Ping timeout: 480 seconds]
03:28chadmed_so i think we definitely need to change the behaviour such that any out of bounds write just brings us back to auto control
03:28ddxtanx has quit [Remote host closed the connection]
03:32pb17 has quit [Ping timeout: 480 seconds]
03:37pb17 has joined #asahi-dev
03:58seb4nihel has joined #asahi-dev
04:02amarioguy has quit [Remote host closed the connection]
04:04seb91nihel has quit [Ping timeout: 480 seconds]
04:22cylm_ has quit [Ping timeout: 480 seconds]
04:35rlittl01 is now known as Guest2302
04:35rlittl01 has joined #asahi-dev
04:36rlittl01 is now known as Guest2303
04:36Guest2302 has quit [Read error: Connection reset by peer]
04:36rlittl01 has joined #asahi-dev
04:43Guest2303 has quit [Read error: No route to host]
04:43rlittl01 has quit [Read error: Connection reset by peer]
04:43rlittl01 has joined #asahi-dev
04:50rlittl01 has quit [Quit: -a- IRC for Android 2.1.60]
05:27chadmed_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
05:29chadmed_ has quit [Remote host closed the connection]
05:30pb17 has quit [Ping timeout: 480 seconds]
05:41ddxtanx has joined #asahi-dev
05:58pb17 has joined #asahi-dev
06:00klausvalka has joined #asahi-dev
06:00klausvalka has quit [Remote host closed the connection]
06:00klausvalka has joined #asahi-dev
06:00klausvalka has quit [Remote host closed the connection]
06:03klausvalka has joined #asahi-dev
06:03klausvalka has quit [Remote host closed the connection]
06:04zumi_ has joined #asahi-dev
06:05zumi has quit [Remote host closed the connection]
06:09zumi_ is now known as zumi
06:25aradhya7 has joined #asahi-dev
06:32anuragrao has joined #asahi-dev
07:04anuragrao has quit [Ping timeout: 480 seconds]
07:10anuragrao has joined #asahi-dev
07:18anuragrao has quit [Ping timeout: 480 seconds]
07:25pb17 has quit [Ping timeout: 480 seconds]
07:39kaisan_ has quit [Quit: Connection closed for inactivity]
07:50pb17 has joined #asahi-dev
08:16chadmed_ has joined #asahi-dev
08:57jnn is now known as jn
08:57pb17 has quit [Ping timeout: 480 seconds]
08:59wyes has quit [Remote host closed the connection]
09:27pb17 has joined #asahi-dev
09:52yuyichao has quit [Ping timeout: 480 seconds]
10:02ddxtanx_ has joined #asahi-dev
10:08ddxtanx has quit [Ping timeout: 480 seconds]
10:22apalos has quit [Quit: ZNC 1.8.1 - https://znc.in]
10:24apalos has joined #asahi-dev
11:01thebongy has joined #asahi-dev
11:06pb17 has quit [Ping timeout: 480 seconds]
11:09jeisom has joined #asahi-dev
11:30JayBeeFOSS has quit [Ping timeout: 480 seconds]
11:31JayBeeFOSS has joined #asahi-dev
11:44aradhya7 has quit [Quit: Connection closed for inactivity]
11:49yuyichao has joined #asahi-dev
11:54pb17 has joined #asahi-dev
12:04zumi_ has joined #asahi-dev
12:04zumi has quit [Remote host closed the connection]
12:09zumi_ is now known as zumi
12:37flokli has quit [Ping timeout: 480 seconds]
13:05anuragrao has joined #asahi-dev
13:06pb17 has quit [Ping timeout: 480 seconds]
13:13anuragrao has quit [Ping timeout: 480 seconds]
13:16pb17 has joined #asahi-dev
13:21popey__ has joined #asahi-dev
13:24popey__ has quit [Remote host closed the connection]
13:25popey__ has joined #asahi-dev
13:25popey__ has quit [Remote host closed the connection]
13:29anuragrao has joined #asahi-dev
13:33diolara^ has joined #asahi-dev
13:35john-cabaj has joined #asahi-dev
13:44chadmed has quit [Quit: Konversation terminated!]
13:44chadmed has joined #asahi-dev
13:44jeisom has quit [Quit: Leaving]
14:05jeisom has joined #asahi-dev
14:09flokli has joined #asahi-dev
14:10anuragrao has quit [Remote host closed the connection]
14:10anuragrao has joined #asahi-dev
14:25diolara^ has quit [Remote host closed the connection]
14:27buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
14:28buroa23 has joined #asahi-dev
14:36buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
14:39buroa23 has joined #asahi-dev
14:42dylanchapell has quit [Ping timeout: 480 seconds]
14:46hermitfeather has joined #asahi-dev
14:46hermitfeather has quit [Remote host closed the connection]
14:46hermitfeather has joined #asahi-dev
14:52svenhrm, so i take it there is almost no rust support stuff (like, say, platform device bindings) upstream so far?
15:07pb17 has quit [Ping timeout: 480 seconds]
15:07thebongy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:19jannausven: 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
15:24jannauhttps://lore.kernel.org/rust-for-linux/20240618234025.15036-1-dakr@redhat.com/T/#m14cae6b5c619e9057ae0d16bc41ef19070bb7de8 is what's currently under discussion
15:24pb17 has joined #asahi-dev
15:26sventhanks! I have to rewrite half of atcphy anyway and wanted to see how much additional work just doing it in rust would be
15:28dylanchapell has joined #asahi-dev
15:30thebongy has joined #asahi-dev
15:35kettenisright, make upstreaming even harder since now you have rust bindings to bikeshed about ;)
15:42hermitfeather has quit [Ping timeout: 480 seconds]
15:43svenif 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
15:47flokli has quit [Ping timeout: 480 seconds]
15:56flokli has joined #asahi-dev
16:13hermitfeather has joined #asahi-dev
16:13hermitfeather has quit [Remote host closed the connection]
16:20f_ is now known as F_
16:20F_ is now known as FunDerScore
16:21FunDerScore is now known as funderscore
16:21funderscore is now known as f_
16:28midou has quit [Ping timeout: 480 seconds]
16:28cylm has joined #asahi-dev
16:31midou has joined #asahi-dev
16:39hermitfeather has joined #asahi-dev
16:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:42Guest2145 has quit [Quit: Bridge terminating on SIGTERM]
16:42hermitfeatherHey 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?
16:43hermitfeatherOn a M1 Max MBP.
16:46nicolas17chadmed_: 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...
16:47rhysmdnz has joined #asahi-dev
16:48chadmed has quit [Ping timeout: 480 seconds]
16:48Jamie has joined #asahi-dev
16:48Jamie is now known as Guest2342
16:48chadmed_ has quit [Remote host closed the connection]
16:49chadmed_ has joined #asahi-dev
17:12pb17 has quit [Ping timeout: 480 seconds]
17:48pb17 has joined #asahi-dev
18:05zumi_ has joined #asahi-dev
18:05zumi has quit [Remote host closed the connection]
18:10zumi_ is now known as zumi
18:17anuragrao has quit [Ping timeout: 480 seconds]
18:23hermitfeather has quit [Ping timeout: 480 seconds]
18:46hermitfeather has joined #asahi-dev
18:55hermitfeather has quit [Remote host closed the connection]
19:27anuragrao has joined #asahi-dev
19:31nepeat has quit [Quit: ZNC - https://znc.in]
19:34nepeat has joined #asahi-dev
19:35anuragrao has quit [Ping timeout: 480 seconds]
19:39ddxtanx_ has quit [Remote host closed the connection]
19:40ddxtanx has joined #asahi-dev
20:17chadmed has joined #asahi-dev
20:17jeisom has quit [Ping timeout: 480 seconds]
20:20chadmed has quit []
20:21chadmed has joined #asahi-dev
20:22chadmed has quit []
20:22chadmed has joined #asahi-dev
20:44midou has quit [Ping timeout: 480 seconds]
20:47midou has joined #asahi-dev
20:52thebongy has quit [Read error: Connection reset by peer]
21:01malfunction54 has quit [Remote host closed the connection]
21:02malfunction54 has joined #asahi-dev
21:09roxfan2 has joined #asahi-dev
21:13roxfan has quit [Ping timeout: 480 seconds]
21:35millefy has quit [Quit: Ping timeout (120 seconds)]
21:35KxCORP58940 has quit [Read error: Connection reset by peer]
21:35KxCORP58940 has joined #asahi-dev
21:35millefy has joined #asahi-dev
22:01pb17 has quit [Ping timeout: 480 seconds]
22:09john-cabaj has quit [Ping timeout: 480 seconds]
22:12pb17 has joined #asahi-dev
22:22chadmed__ has joined #asahi-dev
22:23jeisom has joined #asahi-dev
22:23chadmed__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
22:25chadmed__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
22:26chadmed__im thinking that if turning the fans off proves safe we can just allow a 0 write unconditionally
22:26nicolas17I was just thinking if you want 0 to mean automatic, then setting it to 0 when it's already automatic should just do nothing
22:27chadmed__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
22:29chadmed__of course this is _easily_ avoidable with an extra arm off the big if/else block but thats ugly :p
22:58chadmed__ has quit [Remote host closed the connection]
23:47cylm has quit [Ping timeout: 480 seconds]
23:53pb17 has quit [Ping timeout: 480 seconds]