2022-12-26
00:08Soni has quit [Ping timeout: 480 seconds]
00:11Hibyehello has joined #asahi
00:12mspe has quit [Quit: WeeChat 2.8]
00:15mspe has joined #asahi
00:17hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:46cylm has joined #asahi
00:47cylm_ has quit [Ping timeout: 480 seconds]
00:53Soni has joined #asahi
00:56hertz has joined #asahi
00:58hertz has quit []
01:06hertz has joined #asahi
01:37hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:41possiblemeatball has quit [Remote host closed the connection]
01:46hertz has joined #asahi
02:02possiblemeatball has joined #asahi
02:54yamii has quit [Ping timeout: 480 seconds]
03:11Brainium has quit [Ping timeout: 480 seconds]
04:55hendry has quit [Ping timeout: 480 seconds]
04:59greguu has quit [Ping timeout: 480 seconds]
05:15jluthra has quit [Remote host closed the connection]
05:15jluthra has joined #asahi
05:35yamii has joined #asahi
05:36rayanamukami3 has quit [Remote host closed the connection]
05:37rayanamukami3 has joined #asahi
05:41kettenis has quit [Remote host closed the connection]
05:41kettenis has joined #asahi
05:44SSJ_GZ has joined #asahi
05:47marcanhertz: the firmware loading process changed and now relies on initramfs mounting a tmpfs on /lib/firmware/vendor and putting the firmware there. this goes for both wifi and trackpad (which also needs firmware)
05:49hertzThanks, @marcan ! I will study them. You're talking about the scripts in asahi-scripts-20221220-1-any.pkg.tar.xz, right?
05:50marcanthis is also documented on the wiki (don't have the link handy but it's in the sidebar, the Open OS Ecosystem one)
05:50hertzOk, cool. Yeah, I've read the open OS ecosystem doc and made notes on it. Just haven't looked at those scripts in a while.
05:51marcanthat includes the stuff in NOR Flash, the stuff in iSCPreboot, the System Recovery partition, and also things like random auxiliary firmwares on external devices with flash
05:52marcanfor m1n1/linux we guess an equivalent macOS version from the iBoot1 version (which isn't always unique but it covers what we care about) since that's all we get
05:53marcanFWIW, the trackpad behavior is that the device will show up with no firmware, but will fail if you try to open it and firmware is not available
05:53marcanI did it that way so you don't end up stuck on late firmware loads (unlike wifi, which just goes dead and worse, the module can't handle rebinds properly right now, it breaks when you try to use it later)
05:53hertzMy SFR version is 22.something and my OS version (xnu kernel version) is 21.something. Is that normal? I have 13.1 installed on the recovery partition but run 12.6.2 as my macos.
05:54hertzCool, thanks. It's a complicated boot process, but I've read though all the stuff on the wiki. Honestly, I understand Asahi's explanation better than the one in Apple Platform Security Guide :-)
05:55hertzHey, one other question. In the wiki it talks about setting one of the SMC keys (gioX where X is some char I forget) to turn on/off the wifi. How are you setting those keys? Just using the AppleSMC.kext in macos, or is there a linux way?
05:56marcanthe SMC GPIO is exposed as a standard GPIO controller in Linux and that GPIO is configured in the device tree as a power GPIO for PCIe
05:57marcanApple as a company are pretty secretive. Some Apple employees don't mind explaining already released software, that's just them being nice
05:57hertzYeah, that's my impression - not intended to be secret, but there's just very little information findable in good.
05:58marcanthough I don't recommend messing with SMC GPIOs too much since those are coming off of the PMU and you *could* break something maybe
05:58hertzYeah, I understand the risks. I've already disassembled the machine and probed its test points and whatnot. If it dies, it dies... life will go on.
05:59bluetail8marcan I do not understand. Am I supposed to write a email, put you on the recipients list, but set sven on carbon copy (cc) ?
06:01marcanPMU GPIOs are pretty similar IIRC and some of the schematics have references to how other variants would be laid out
06:01hertzYeah, but the placement of test points and stuff like that -- that's really what I'm interested in. And that does seem to vary from what I can tell.
06:03marcanyou'll have to either install the m1n1 stub only (in expert mode) or do the m1n1 proxy backdoor dance on an asahi install (pretty sure that's on the wiki somewhere too, tl;dr csrutil disable for the asahi install then nvram boot-args-v
06:03marcanyou can also talk to the PMU directly through another SPMI instance but I don't know what the commands for GPIOs are at that layer
06:04hertzSee I wish I could find the probe points for interfaces like that SPMI but without schematics and boardview I'm blind. Maybe I'll invest in an M1 just so I have a machine that matches the schematics I have.
06:05hertzWell, I'll start with the m1n1 stuff. Had not seen tools/smccli.py but it sounds like what I'm interested in.
06:10marcanhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/smc.py that will dump all SMC keys once
06:10marcanhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/smc_watcher.py and that (which I just pushed) lets you monitor a subset of keys for changes, you can pass it a list of keys or key patterns (shell glob style)
06:11marcanit's how I worked out most of the battery stuff, starting at the output while charging/discharging/messing with things
06:13marcanalso see the actual drivers we have so far for more fleshed-out logic, e.g. https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/power/supply/macsmc_power.c
06:49bluetail8after lina created the gpu driver in rust, I thought every driver is going to be written in Rust now :D
06:58possiblemeatball has quit [Quit: Leaving]
06:59greguu has joined #asahi
07:06nicolas17 has quit [Ping timeout: 480 seconds]
07:24hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:49Dementor4 has joined #asahi
07:49SSJ_GZ has quit [Read error: No route to host]
07:50SSJ_GZ has joined #asahi
07:54mps has quit [Ping timeout: 480 seconds]
07:55Dementor has quit [Ping timeout: 480 seconds]
07:55Dementor4 is now known as Dementor
08:53mps has joined #asahi
09:01cylm has quit [Ping timeout: 480 seconds]
09:03jacksonchen666 has quit [Ping timeout: 480 seconds]
09:07jacksonchen666 has joined #asahi
09:36svenhm, looks like I need to spend some time trying to reproduce that issue now that multiple people ran into it
09:42hertz has joined #asahi
09:52bluetail8sven is your response from the race condition of usb storage being not found unless you plug them in after a succesful boot?
10:56yumasi has joined #asahi
11:09eroc1990 has quit [Remote host closed the connection]
11:10eroc1990 has joined #asahi
11:25yumasi_ has joined #asahi
11:29yumasi has quit [Read error: Connection reset by peer]
11:29Dementor has quit [Read error: Connection reset by peer]
11:30Dementor has joined #asahi
11:31___nick___ has joined #asahi
12:01yumasi_ has quit [Remote host closed the connection]
12:03yumasi has joined #asahi
12:05___nick___ has quit []
12:09___nick___ has joined #asahi
12:10yumasi has quit [Remote host closed the connection]
12:11yumasi has joined #asahi
12:24yumasi has quit [Remote host closed the connection]
12:28yumasi has joined #asahi
12:29SmileyKeith has quit [Ping timeout: 480 seconds]
12:31yumasi has quit [Remote host closed the connection]
12:33yumasi has joined #asahi
13:04psykose has quit [Ping timeout: 480 seconds]
13:09yumasi has quit [Remote host closed the connection]
13:09yumasi has joined #asahi
13:17yumasi has quit [Ping timeout: 480 seconds]
13:25ximet has quit [Quit: The Lounge - https://thelounge.chat]
13:25ximet has joined #asahi
13:33bcrumb has joined #asahi
13:41yumasi has joined #asahi
13:50yumasi has quit [Remote host closed the connection]
13:51yumasi has joined #asahi
13:52yumasi has quit [Remote host closed the connection]
13:53nuup has quit [Quit: WeeChat 3.0]
13:53yumasi has joined #asahi
13:55Zopolis4 has quit [Quit: Connection closed for inactivity]
13:58bcrumb has quit [Quit: WeeChat 3.7.1]
13:59possiblemeatball has joined #asahi
14:01yumasi has quit [Ping timeout: 480 seconds]
14:10psykose has joined #asahi
14:24psykose_ has joined #asahi
14:26psykose_ has quit [Remote host closed the connection]
14:27psykose_ has joined #asahi
14:28psykose has quit [Ping timeout: 480 seconds]
14:53tiagom has joined #asahi
14:53tiagom has quit []
15:11corionI did in fact run multiple network managers. I removed the conflict and everything is working fine (re: wifi).
16:40mamba has quit [Quit: leaving]
16:49Nnubes256 has joined #asahi
16:51bluetail8 has quit [Ping timeout: 480 seconds]
17:23yumasi has joined #asahi
17:51roxfan2 has quit [Remote host closed the connection]
17:56roxfan has joined #asahi
18:04tpw_rulesanybody seen mtp occasionally failing to probe? https://gist.github.com/psanford/918bba69d22923a947c81dcee47c2e73 someone asked about this on nixos but i can't imagine it's specific to there
18:05cylm has joined #asahi
18:08caef^ has quit [Remote host closed the connection]
18:14corionmarcan: are the funding goal percentages at pateron.com/marcan up to date? 20% seems a bit low, since it says "4k/month" is the initial goal. With 983 patreons, even if people only gave the smallest tier, you should be fairly close to 4k/month, or what am I missing? :)
18:22tpw_rulesi am not clued into the patreon habit but afaik there is nothing preventing a large fraction of patreons manually selecting down to $1/mo. there is nothing mandating the minimum tier
18:23bluetail8 has joined #asahi
18:24corionThat makes sense, but surely the numbers should be the same for all of us, visiting the same url?
18:31yumasi has quit [Remote host closed the connection]
18:35Brainium has joined #asahi
19:00wCPO624365 has quit [Remote host closed the connection]
19:00wCPO624365 has joined #asahi
19:01rvalue- has joined #asahi
19:02rvalue has quit [Ping timeout: 480 seconds]
19:48psykose_ has quit [Remote host closed the connection]
19:48psykose has joined #asahi
20:21nicolas17 has joined #asahi
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:25Treibholz has quit [Quit: WeeChat 3.7.1]
21:36unicordion has joined #asahi
22:15possiblemeatball has quit [Quit: Leaving]
22:17yumasi has joined #asahi
22:25yumasi has quit [Ping timeout: 480 seconds]
22:27Brainium_ has joined #asahi
22:28Nnubes256 has quit [Quit: WeeChat 3.7.1]
22:33Brainium_ has quit []
22:34Brainium has quit [Ping timeout: 480 seconds]
22:41Zopolis4 has joined #asahi
22:52SSJ_GZ has quit [Ping timeout: 480 seconds]
23:20rayanamukami31 has joined #asahi
23:20rayanamukami3 has quit [Read error: Connection reset by peer]
23:20rayanamukami31 is now known as rayanamukami3
23:24DarkShadow44 has quit [Quit: ZNC - https://znc.in]
23:25DarkShadow44 has joined #asahi
23:30yumasi has joined #asahi
23:38yumasi has quit [Ping timeout: 480 seconds]
23:44jacksonchen666 has quit [Remote host closed the connection]
23:44jacksonchen666 has joined #asahi
23:45j1mryan has joined #asahi
23:57j1mryan1 has joined #asahi
23:58SmileyKeith has joined #asahi
23:59j1mryan has quit [Ping timeout: 480 seconds]
23:59j1mryan1 is now known as j1mryan