Sign in

Sven Peter

@sven.social.treehouse.systems.ap.brid.gy
66 followers 0 following 127 posts

forward/reverse engineer • porting Linux to Apple Silicon (AsahiLinux) • former console hacker (Homebrew Channel, BootMii, WiiU and PS3) • part of […] 🌉 bridged from ⁂ social.treehouse.systems/@sven, follow @ap.brid.gy to interact

PostsRepliesMedia
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 26/09/2026
First boot that got this far, still very cursed and unstable but that’s enough for today 🎉 #asahilinux
131
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 23/09/2026
#kr2026 was fun! Had to leave a bit early to make it back to Germany but will definitely try to attend again next year, and then stay an additional night. Haven’t been to any other conference where just about every single talk was amazing
010
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 21/09/2026
@ljs you’re famous thanks to your slop!
010
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 20/09/2026
once more I'm very happy about the EU's "Roam like at home" regulation. The hotel WiFi here is very crappy but thanks to that thing I have ~76GiB of data available through my mobile contract!
011
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 20/09/2026
On my way to Paris for #kernelrecipes #kr2026
020
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 14/09/2026
Now that’s already a great start of the week 😔
010
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 13/09/2026
hotel website: we use 3d secure and TLS and all those fancy things and will never ask for your credit card via email or telephone! same hotel, via email: pre-authorization of your card failed. do not hesitate to contact us quickly, via this (secure) email address to provide us with a new credit […]
social.treehouse.systems
Original post on social.treehouse.systems
101
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 06/09/2026
Just submitted v2 of the #asahilinux thunderbolt support: lore.kernel.org/asahi/20260906-b4-a…
lore.kernel.org
[PATCH v2 00/22] Initial USB4/Thunderbolt support for Apple M1/M2/M3 SoCs - Sven Peter
141
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 30/08/2026
And finally: Initial USB4/Thunderbolt support for M1/M2/M3 on LKML: lore.kernel.org/asahi/20260830-b4-a… Note that this doesn't do PCIe or DispalyPort tunneling yet and is only useful if you want to connect two machines via USB4NET together for […]
social.treehouse.systems
Original post on social.treehouse.systems
011
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 28/08/2026
👀 #asahilinux
M4 Pro Mac mini
121
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 25/08/2026
You know how usb devices don't seem to work in #asahilinux after a suspend/resume cycle unless you replug them? thunderbolt does it better: After you suspend with an active connection you get to resume directly into a DART SError! But this made us realize what the actual problem is even for the […]
social.treehouse.systems
Original post on social.treehouse.systems
122
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 21/08/2026
lore.kernel.org/asahi/20260821-b4-a… more preparation required for Thunderbolt/USB4! #asahilinux
lore.kernel.org
[PATCH 0/3] phy: apple: atc: Prepare USB3-via-4 tunneling - Sven Peter
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 18/08/2026
More subtle bugs! That should be everything now though. lore.kernel.org/linux-usb/20260818-… #asahilinux
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 17/08/2026
Result of the thunderbolt debugging from a few days ago. Next up: TIPD PD controller debugging 🤪 lore.kernel.org/asahi/20260817-b4-t…
lore.kernel.org
[PATCH 0/5] thunderbolt: Fix DP tunnel teardown while an async DPRX read is running - Sven Peter
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 14/08/2026
How my Friday evening is going you ask? It's >30°C, i.e. too hot to go outside, and instead I'm debugging thunderbolt core code inside Linux right now 🫠
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 09/08/2026
is this thing still on? :-) took a break from mastodon but gonna give it another try. sorry if haven't responded in the past months, i'll try to catch up in the coming days!
311
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 04/06/2026
I'm considering coming to #GPN24 on saturday or sunday for half a day or so since I live relatively close by. how easy is it to get a day pass? and anyone there who'd like to meet and chat?
000
Reposted by Sven Peter
Ralf Stockmann @rstockm.chaos.social.ap.brid.gy · 14/05/2026
Meine Forschungen zu #linux nehmen eine unerwartete Wendung. Dank @343max bin ich auf @AsahiLinux aufmerksam geworden und es läuft auf einem 350€ #MacBookAir M1 AppleSilicon aka „bestes Laptop der Welt“ ziemlich phantastisch. Auch mein Respekt vor #KDE wächst dabei. Hier ein erster Bericht in […]
chaos.social
Original post on chaos.social
005
Reposted by Sven Peter
dr.-ing. ⁡jaseg @jaseg.chaos.social.ap.brid.gy · 13/05/2026
Stopping the system fans to heat up the system to shift clock phase by a few femtoseconds is one of the less hinged ideas I’ve seen come out of CERN lol. (AFAIU this was an experiment for a software retrofit to hardware otherwise incapable of such adjustments)
Slide with LHCb logo reading “Phase stabilization under hardware constraints
Using the server internal fans to heat up and cool down the FPGA
in order to shift the phase and stabilize it within a Std Dev of 1 ps.”. A larger text block follows, next to a graph showing clock phase against system temperature. The larger text block reads: 

Python script running a PID algorithm
to read the phases and control the
fans.
At the left I set the script to different
phase setpoints. (60, 70, 80 ps)
The plateau in the middle is the phase
shifter keeping the phase at 80ps
even when the AC started oscillating
the temperature up to 3C pk-pk.
At the right end I turned off the
script, which caused the phase to
start shifting with the temperature
again.
Link to presentation at
the 17th HPTD meetin
35077
Reposted by Sven Peter
Vlastimil Babka 🇨🇿🇪🇺🇺🇦 @vbabka.mastodon.social.ap.brid.gy · 21/04/2026
Someone asked me to sign their gpg key so I did. Am I doing this gpg thing right?
001
Reposted by Sven Peter
Wieferich Prime @pikesley.mastodon.me.uk.ap.brid.gy · 04/04/2026
"How observing Vibe Coders cured my Imposter Syndrome"
1531
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 01/02/2026
#FOSDEM was fun! Was great to meet some people in person for the first and also enjoyed quite a few random encounters. I was also not prepared just how crowded it got and unfortunately missed at least two people I wanted to meet. Let’s see if I come again next year given how close the event is […]
social.treehouse.systems
Original post on social.treehouse.systems
010
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 30/01/2026
Just arrived in Brussels for #FOSDEM 😁
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 29/01/2026
I’ll be traveling to Brussels for #FOSDEM for the first time tomorrow evening! Come and find me or reach out if you want meet and chat about #asahilinux or anything else!
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 27/01/2026
Just replaced the battery of my aging M1 macbook air. That was quite annoying but the new one should be good for another 4-5 years now I hope. Obviously, I have four leftover screws even though I was sure I didn't forget anything and none of them fit into the last hole of the chassis backplate […]
social.treehouse.systems
Original post on social.treehouse.systems
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 25/01/2026
We've known about Debug-USB for a while [1] and suspected that the new "dockchannel UART" ends up there somehow. Turns out, at least macOS 26 just comes with a driver for this: After switching the port to the correct mode [2] /dev/cu.kis-100000-ch-[0-4] appear and the first one indeed is the […]
social.treehouse.systems
Original post on social.treehouse.systems
013
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 16/01/2026
M3 progress 🥳 mastodon.social/users/shiz/statuses…
mastodon.social
Shiz (@shiz@mastodon.social)
Attached: 1 image macOS on M3 (T8122) booting under m1n1 after some real debugging hours with @noopwafel@teh.entar.net! (no credits for the hacky mess to us, but all credits to @janne@treehouse.systems & @sven@treehouse.systems & all the other Asahi folks for doing the actual major work)
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 11/01/2026
Working on USB4 for #AsahiLinux and documenting the various components right now. Here's a simplified ASCII drawing:
ASCII drawing of the thunderbolt/usb4 stack on apple silicon machines
010
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 10/01/2026
Looks like I'll be at #FOSDEM this year! I will probably arrive Friday evening and leave Sunday afternoon. Happy to meet and chat about #asahilinux or anything else. I blame @vbabka, @ljs and @neal for luring me there :D
100
Reposted by Sven Peter
Val Packett 🧉 @val.packett.cool · 07/01/2026
@sven @janne USB2 is kind of a massive thorn in the side of Type-C handling tbf >_< On Qualcomm SoCs we have a fun issue: the USB2 PHY derives its clock from the USB3 PIPE clock, and the QMPPHY driver currently turns PIPE off when you go into 4-lane alt mode, so using 4-lane DP breaks USB2 on […]
social.treehouse.systems
Original post on social.treehouse.systems
002
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 07/01/2026
Debugging some #asahilinux USB issues with @janne and right now it looks like ATCPHY is even more cursed than we thought: At boot time, macOS powers up the usb2 PHY once, switches it to host mode and immediately shuts it down again even when no device is connected. I missed this so far but it […]
social.treehouse.systems
Original post on social.treehouse.systems
202
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 31/12/2025
For those who missed my #Asahilinux #39c3 talk, it's available at media.ccc.de/v/39c3-asahi-linux-por… now. I've also just pushed my slides to github.com/svenpeter42/39c3 and uploaded them as PDF to cfp.cccv.de/39c3/talk/YGHB9K
media.ccc.de
Asahi Linux - Porting Linux to Apple Silicon
In this talk, you will learn how Apple Silicon hardware differs from regular laptops or desktops. We'll cover how we reverse engineered t...
2115
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 31/12/2025
#39c3 impact on my sleep schedule 🙈
020
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 30/12/2025
#39c3 was amazing again! Met lots of old and new friends again despite having to build slides and unfortunately missed a few people I wanted to talk to as usual. Didn’t get much sleep and looking forward to catch up on that now. Can’t wait for next year!
020
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 30/12/2025
3.5 hours until my talk about #asahilinux which will be recorded and also live streamed at streaming.media.ccc.de/39c3/one
147
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 28/12/2025
Janne brought some more Asahi stickers! I'm at the fail0verflow assembly at #39c3 Feel free to come and say hi and grab one. social.treehouse.systems/users/jann…
social.treehouse.systems
@sven I bring a few more on sunday with me
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 27/12/2025
The plan: I’m gonna finish my slides on day 1 long before the evening, this is gonna be easy and there’s plenty of time. Reality: spent the past hours talking to people and not even starting with the title slide 😅
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 27/12/2025
Just arrived at #39c3, I’m at the fail0verflow assembly if anyone wants to say hi!
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 26/12/2025
I’ll be bringing leftover stickers to #39c3 for anyone who wants one #asahilinux social.treehouse.systems/@janne/115…
social.treehouse.systems
Janne Grunau (@janne@treehouse.systems)
Attached: 1 image the #asahilinux stickers I ordered for #xdc2025 finally arrived. The reds are not well matched but at least the fruit is gone. I wanted to do that for years.
100
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 23/12/2025
What a nice early Christmas present! atcphy was just picked up from LKML 🥳: lore.kernel.org/asahi/176651191159.… #asahilinux
002
Reposted by Sven Peter
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 17/12/2025
> Rust is too constrained without [unsafe blocks] to get any useful work done. Just saw this in the wild again. @veloren has about 330,000 lines of Rust code today. It's a networked, multi-threaded, 3D, portable game and game engine played by thousands of people. Very much not a contrived […]
social.coop
Original post on social.coop
040
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 16/12/2025
Well… played Metroid prime 4 and most of the game was okay. Not nearly as good as Prime 1 or Dread and worse than Prime 2 or 3. Now I’m close to the end and it turns out that what looked like an optional side quest for upgrades or whatever (collecting green crystals) is actually required to […]
social.treehouse.systems
Original post on social.treehouse.systems
100
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 10/12/2025
Whenever you think USB surely can’t get any more cursed it always manages to surprise you! chaos.social/@karotte/1156975105741…
chaos.social
Lukas (@karotte@chaos.social)
You may have heard of eUSB, the low-voltage cousin to the venerable USB 2.0 from 25 years ago. It's used on SoCs made on small process nodes that can't support standard USB 2.0 voltage levels. Turns out, it recently got an upgrade called eUSB2V2 (yes, really). It supports asymmetric operation (which is a first for USB) at up to 4.8Gbit/s and is aimed at connecting high-resolution webcams in laptops.
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 02/12/2025
Now that the schedule is finally out: I'll be giving a talk mostly about the USB Type-C mess on Dec 30th, 11:00 at #39c3 #asahilinux fahrplan.events.ccc.de/congress/202…
fahrplan.events.ccc.de
[39c3] Asahi Linux - Porting Linux to Apple Silicon
In this talk, you will learn how Apple Silicon hardware differs from regular laptops or desktops. We'll cover how we reverse engineered the hardware without staring at disassembly but by using a thin hypervisor that traces all MMIO access and the...
013
Reposted by Sven Peter
Patrick Breyer @echo-pbreyer.digitalcourage.social.ap.brid.gy · 15/11/2025
🇪🇺✅ SUCCESS: We've prevented mandatory #ChatControl through the back door!🎉 A big win & THANKS to everyone! 🙏 But ⚠️: Anonymity-breaking age checks & "voluntary" mass scanning are still planned. The fight continues next year! chatcontrol.eu
The image shows a short excerpt of text from the latest Council draft regulation on "Chat Control". The text reads: "(17a) Nothing in this Regulation should be understood as imposing any detection obligations on providers."
33473
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 10/11/2025
Just came back from a vacation in Portugal where it was warm and I rarely used a computer. Now I’m back and it’s cold in Germany and I have to use a computer all day. I need another vacation already 🫠
000
Reposted by Sven Peter
Rairii :win3_progman: :win3: @rairii.labyrinth.zone.ap.brid.gy · 07/11/2025
so I’ve been reversing the classic mac os usb stack and I found a credits easter egg of sorts. The OHCI controller driver emulates a hub device, which uses the OHCI root hub registers on the back end. The USB device string descriptors for this emulated hub […] [Original post on labyrinth.zone]
0714
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 03/11/2025
huh, neat, I never realized that it’s ofc possible to use WLAN Calling via mobile data of another network if you have two SIM cards in your phone
Screenshot of an iPhone which shows a weak connection to one carrier with 5g (“o2-de”) and another carrier with no connection which is using wlan calling via mobile data if the other one (“Telekom.de using Mobile Data”)
000
Sven Peter @sven.social.treehouse.systems.ap.brid.gy · 26/10/2025
Now that the Apple Silicon dwc3 driver is in -next it's time to continue with the Type-C PHY driver, which is the last part required for upstream USB3: lore.kernel.org/asahi/20251026-b4-a… #asahilinux #linux
lore.kernel.org
[PATCH 0/3] Apple Silicon Type-C PHY - Sven Peter
114
Reposted by Sven Peter
Vlastimil Babka 🇨🇿🇪🇺🇺🇦 @vbabka.mastodon.social.ap.brid.gy · 26/10/2025
On Thursday, I sent this RFC: lore.kernel.org/lkml/20251023-sheav… On Friday, there was the expected phoronix coverage. But also an unexpected one: www.nytimes.com/2025/10/24/learning…
lore.kernel.org
[PATCH RFC 00/19] slab: replace cpu (partial) slabs with sheaves - Vlastimil Babka
001