#asahi-dev · 2022-11-22 11:46
povikyeah, that's what's the cause for the broken-until-replug state#asahi-dev · 2022-11-22 11:46
marcanis that breaking something?#asahi-dev · 2022-11-22 11:45
povikmarcan: we can disable pulseaudio's suspend-on-idle for the release#asahi-dev · 2022-11-22 11:24
poviksomeone's idea of fun#asahi-dev · 2022-11-22 11:24
svenlol#asahi-dev · 2022-11-22 11:24
marcanliterally using TCP packet headers (but no IP)#asahi-dev · 2022-11-22 11:24
marcanwhich *itself* is a cursed fake-TCP-over-USB because of course#asahi-dev · 2022-11-22 11:23
marcanand uses the iPhone sync protocol stuff / usbmuxd (which I wrote like 10 years ago lol)#asahi-dev · 2022-11-22 11:23
marcanthird stage is macOS#asahi-dev · 2022-11-22 11:23
marcanas is the second iBoot/iBSS stage#asahi-dev · 2022-11-22 11:23
marcanDFU itself is a bespoke USB iBoot protocol#asahi-dev · 2022-11-22 11:23
marcan(running from a ramdisk)#asahi-dev · 2022-11-22 11:22
marcanwhich is just macOS on the device side#asahi-dev · 2022-11-22 11:22
marcankettenis_: no, I mean restore mode which is the third step after DFU mode#asahi-dev · 2022-11-22 11:22
marcanit's all networking now#asahi-dev · 2022-11-22 11:22
marcanyeah that's gone#asahi-dev · 2022-11-22 11:22
kettenis_marcan: with restore you mean DFU mode? That isn't realy macOS isn't it?#asahi-dev · 2022-11-22 11:22
ChaosPrincessthats certainly a way to implement it #asahi-dev · 2022-11-22 11:22
marcanChaosPrincess: it's no different from a USB-ethernet dongle using standard classes#asahi-dev · 2022-11-22 11:22
svenohhh… that target disk thing is what I remember in tbt mode probably #asahi-dev · 2022-11-22 11:22
marcanyeah, I've seen it too#asahi-dev · 2022-11-22 11:21
svenI’ve seen it on my Linux laptop early on when I was implementing dwc3 in m1n1#asahi-dev · 2022-11-22 11:21
marcan(yes really)#asahi-dev · 2022-11-22 11:21
marcanyou connect to recoveryOS and get a samba share or something#asahi-dev · 2022-11-22 11:21
marcanit's also the supported replacement for "target disk mode" which is no longer a thing#asahi-dev · 2022-11-22 11:21
marcanapple used to have their own bespoke ethernet nonsense in the bad old iPhone days but I assume it's standard now#asahi-dev · 2022-11-22 11:21
ChaosPrincessi know about tb host to host networking, but usb is new to me#asahi-dev · 2022-11-22 11:21
svenI think it was that #asahi-dev · 2022-11-22 11:21
marcanprobably CDC Ethernet? I don't remember exactly#asahi-dev · 2022-11-22 11:21
svenyes#asahi-dev · 2022-11-22 11:21
ChaosPrincesswhat device class then?#asahi-dev · 2022-11-22 11:21
marcanyes#asahi-dev · 2022-11-22 11:21
poviknetworking as in IP networking, right?#asahi-dev · 2022-11-22 11:21
marcanworks with an A to C cable#asahi-dev · 2022-11-22 11:20
marcanno, it's standard usb2/3 device#asahi-dev · 2022-11-22 11:20
sven*some#asahi-dev · 2022-11-22 11:20
ChaosPrincessbut that is usb4 only, no?#asahi-dev · 2022-11-22 11:20
svenI thought tb was sone different mode but maybe I misremember #asahi-dev · 2022-11-22 11:20
marcanif you use a USB cable you get USB networking#asahi-dev · 2022-11-22 11:20
marcanpretty sure it can do both#asahi-dev · 2022-11-22 11:20
svenpretty sure it’s usb#asahi-dev · 2022-11-22 11:20
marcanit can be both#asahi-dev · 2022-11-22 11:20
ChaosPrincessisn't that tb networking, not usb device mode?#asahi-dev · 2022-11-22 11:19
marcan(it's also used during restores and looks like an iPhone then, though they crippled it to USB2 only at some point for some reason)#asahi-dev · 2022-11-22 11:19
povikhuh#asahi-dev · 2022-11-22 11:19
marcanyou get a network#asahi-dev · 2022-11-22 11:19
marcanit does#asahi-dev · 2022-11-22 11:19
kettenis_does macOS even offer device mode functionality?#asahi-dev · 2022-11-22 11:15
sveni don’t think I ever traced macOS to see if it configures the phy differently #asahi-dev · 2022-11-22 11:15
svenhm, did anyone test what happens with usb3 in device mode btw? does that just work?