#
#asahi · 2022-12-26 18:04
tpw_rulesmore specifically it says that rtkit failed to wake up that coprocessor
#asahi · 2022-12-26 18:04
tpw_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
#asahi · 2022-12-26 15:11
corionI did in fact run multiple network managers. I removed the conflict and everything is working fine (re: wifi).
#asahi · 2022-12-26 09:57
bluetail8thx for clarifying
#asahi · 2022-12-26 09:54
svenyes
#asahi · 2022-12-26 09:53
bluetail8(I use the USB type C ports since USB Type A seems less well performing)
#asahi · 2022-12-26 09:52
bluetail8sven is your response from the race condition of usb storage being not found unless you plug them in after a succesful boot?
#asahi · 2022-12-26 09:50
corionMaybe I'm running multiple network managers..
#asahi · 2022-12-26 09:43
corionAnyone else have issues with wifi disconnecting in gnome?
#asahi · 2022-12-26 09:36
svenhm, looks like I need to spend some time trying to reproduce that issue now that multiple people ran into it
#asahi · 2022-12-26 06:49
bluetail8after lina created the gpu driver in rust, I thought every driver is going to be written in Rust now :D
#asahi · 2022-12-26 06:44
nicolas17marcan: seen this? :D https://devos50.github.io/blog/2022/ipod-touch-qemu/
#asahi · 2022-12-26 06:13
hertzYeah, I haven't tried the USB debug stuff yet. But it looks very interesting.
#asahi · 2022-12-26 06:13
marcanalso 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
#asahi · 2022-12-26 06:13
hertzGot it. "proxyclient" - I didn't see that in the url initially
#asahi · 2022-12-26 06:12
marcanyou do a m1n1-only install and run them from another machine connected via USB
#asahi · 2022-12-26 06:12
hertzDo I do an m1n1-only install and then run them from that?
#asahi · 2022-12-26 06:11
hertzThese look like a great scripts.
#asahi · 2022-12-26 06:11
marcan*staring
#asahi · 2022-12-26 06:11
marcanon watcher you can ^C it and get the shell to make changes, then ^D to continue
#asahi · 2022-12-26 06:11
marcanit's how I worked out most of the battery stuff, starting at the output while charging/discharging/messing with things
#asahi · 2022-12-26 06:10
marcanhttps://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)
#asahi · 2022-12-26 06:10
hertzI'll see if I can contribute anything as I get deeper into this stuff.
#asahi · 2022-12-26 06:10
marcanhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/smc.py that will dump all SMC keys once
#asahi · 2022-12-26 06:09
marcanbut it's a start on making sense of it all
#asahi · 2022-12-26 06:09
marcanas I said lots might be wrong
#asahi · 2022-12-26 06:09
marcanlots of guesswork
#asahi · 2022-12-26 06:09
marcansoftware, schematics, stuff from the diags images, etc
#asahi · 2022-12-26 06:07
marcanlet me push that one
#asahi · 2022-12-26 06:07
marcanoh, I just realized smc_watcher is not pushed
#asahi · 2022-12-26 06:07
hertz?
#asahi · 2022-12-26 06:07
hertzHow did you work all these out? Purely though software or also with hardware probing/
#asahi · 2022-12-26 06:06
marcanit's my living doc on this stuff
#asahi · 2022-12-26 06:06
marcancaveat emptor some of those might be wrong
#asahi · 2022-12-26 06:06
hertzOh nice!! This is A LOT of smc keys. This is the best thing I've seen.
#asahi · 2022-12-26 06:05
marcanalso https://hub.marcan.st/t/smc-key-info.txt might help decipher that
#asahi · 2022-12-26 06:05
hertzWell, I'll start with the m1n1 stuff. Had not seen tools/smccli.py but it sounds like what I'm interested in.
#asahi · 2022-12-26 06:04
hertzSee 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.
#asahi · 2022-12-26 06:03
marcanyou 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
#asahi · 2022-12-26 06:03
marcanSMC just proxies that
#asahi · 2022-12-26 06:03
marcanthe PMU talks to it over SPMI
#asahi · 2022-12-26 06:03
marcanit's part of the SoC
#asahi · 2022-12-26 06:03
marcanyou'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
#asahi · 2022-12-26 06:02
hertzIs the SMC integrated into the PMU chip on these A/S machines?
#asahi · 2022-12-26 06:02
hertzThat would be great.
#asahi · 2022-12-26 06:02
hertzNice!
#asahi · 2022-12-26 06:02
hertzOh ok, I'll take a look.
#asahi · 2022-12-26 06:02
marcanit can poll SMC keys so you can watch things like voltages/currents in real-ish time
#asahi · 2022-12-26 06:02
marcantools/smccli.py and such
#asahi · 2022-12-26 06:01
hertzI hope I can contribute to the project. Right now I am still getting my feet wet.

plus ›