2024-01-21
00:06ghfj has joined #asahi-dev
00:08mkurz has joined #asahi-dev
00:30ghfj has quit [Remote host closed the connection]
00:39eiln has quit [Ping timeout: 480 seconds]
01:05hightower3 has joined #asahi-dev
01:09maxg_ has joined #asahi-dev
01:10maxg_ has quit []
01:11maxg_ has joined #asahi-dev
01:12hightower2 has quit [Ping timeout: 480 seconds]
01:30maxg_ has quit [Remote host closed the connection]
01:37ghfj has joined #asahi-dev
02:49bpye has quit [Quit: The Lounge - https://thelounge.chat]
02:54bpye has joined #asahi-dev
02:58bpye has quit []
03:18bpye has joined #asahi-dev
04:42tristan2_ has joined #asahi-dev
04:44tristan2 has quit [Ping timeout: 480 seconds]
06:01eiln has joined #asahi-dev
08:07midou has joined #asahi-dev
10:13eilnhello/ack, load als calibration, (nothing), then aop suddenly starts reporting a stream of als data (e.g. lux, chromaticity, and etc)
10:13eilnthere's an als register being written to (stacktraces say the kext is AppleALSColorSensor) that turns on als. aop is hooked up to als s.t. aop automatically starts reporting als data when als is on. restated, als is not controlled by aop, rather its own register range (independent from aop) by some external kext
10:13eilneverything else on the aop side we can do, see https://github.com/AsahiLinux/m1n1/pull/381. you can also trace it, set ALSEndpoint VERBOSE=True
10:13eilnproblem is, we don't know the register range of als. there's no als node in adt. I realize this is stupid but I seriously cant find the als base register
10:17vup has quit [Quit: vup]
10:33vup has joined #asahi-dev
11:09chaos_princesseiln: unfortunately the answer is "you don't", you need to figure out which specific als model is present via a separate aop subdevice, and then hardcode it.
11:11flom84 has joined #asahi-dev
11:13flom84 has quit [Remote host closed the connection]
11:16eilnchaos_princess: so it's model FireFish2/CT720, that we can probe via aop. do you might know where macos hardcodes *that* range? I tried tracing the entire mmio range but it times out
11:25kidplayer666 has joined #asahi-dev
11:30gabuscus_ has joined #asahi-dev
11:38gabuscus has quit [Ping timeout: 480 seconds]
12:18crabbedhaloablut has quit [Read error: Connection reset by peer]
12:19crabbedhaloablut has joined #asahi-dev
12:38jacksonchen666 has quit [Quit: WeeChat 4.1.2]
13:29mkurz has quit [Ping timeout: 480 seconds]
13:54KxCORP has quit [Quit: Bye!]
13:55KxCORP has joined #asahi-dev
13:56KxCORP has quit []
13:59KxCORP has joined #asahi-dev
14:01KxCORP has quit []
14:02KxCORP has joined #asahi-dev
15:11hightower3 has quit [Ping timeout: 480 seconds]
15:31hightower2 has joined #asahi-dev
15:53flom84 has joined #asahi-dev
15:57AnuthaDev has joined #asahi-dev
15:57flom_84 has joined #asahi-dev
15:57flom_84 has quit [Remote host closed the connection]
16:07jacksonchen666 has joined #asahi-dev
16:32flom84 has quit [Quit: Leaving]
17:08kidplayer666 has quit [Quit: Connection closed for inactivity]
17:10jacksonchen666 has quit [Quit: --help]
17:17___nick___ has joined #asahi-dev
17:18___nick___ has quit []
17:20___nick___ has joined #asahi-dev
17:32mkurz has joined #asahi-dev
18:11JayBeeFOSS has quit [Ping timeout: 480 seconds]
18:12JayBeeFOSS has joined #asahi-dev
18:41Bai-Chiang has joined #asahi-dev
18:51Burger has joined #asahi-dev
19:03AnuthaDev has quit [Quit: AnuthaDev]
19:16kidplayer666 has joined #asahi-dev
19:27eloy_ has quit []
19:28eloy_ has joined #asahi-dev
20:27___nick___ has quit [Ping timeout: 480 seconds]
21:06leioI merely read the afk.h top comment as you got me curious on the actual meaning too, but looks like something on top of rtkit (using it)
22:48eilnwas originally thinking 15" m2 air. if im going m2 pro, I'd rather take a baseline m3 for avd work, but m3 pro is completely out of the question rn
22:54maxg_ has joined #asahi-dev
23:01maxg_ has quit [Quit: maxg_]
23:01maxg_ has joined #asahi-dev
23:06midou has quit [Ping timeout: 480 seconds]
23:14Bertrand___ has joined #asahi-dev
23:26kidplayer666 has quit [Quit: Connection closed for inactivity]
23:30maxg_ has quit [Quit: maxg_]
23:47j`eyhttps://github.com/AsahiLinux/m1n1/pull/381/files#diff-3ed315179c8720d72f0227cdf55099ef849b93764b8eb90e9a6756b00fead227R171
23:48nicolas17gyro and accel are mentioned in the AOP firmware for macOS, but do Macs actually have the sensors?
23:49j`eyeiln: so does aop_als.py work standalone? since you talked about needng some hardcoded ranges, but i dont see any of that in there
23:58midou has joined #asahi-dev