#asahi-re · 2021-09-24 06:19
svenyeah, sure#asahi-re · 2021-09-24 06:19
sveni first though it would matter for usb3 but then again, usb3 phy seems to be more in the register the kext prefixes with CIO iirc#asahi-re · 2021-09-24 06:18
svenyeah, possibly#asahi-re · 2021-09-24 06:18
svenbecause i assumed until then I had to switch it to host mode :D#asahi-re · 2021-09-24 06:17
sveni was seriously surprised when kettenis told me he just got those usb ports working in openbsd#asahi-re · 2021-09-24 06:17
svenbut i can try and see what happens if i just do host -> isolation -> host#asahi-re · 2021-09-24 06:17
sveni've tried switching it to host mode before entering linux though and that didn't change anything#asahi-re · 2021-09-24 06:16
sventhe weird thing is that right now that mode selection it set to uhh.... device mode anyway I think. and host mode still works#asahi-re · 2021-09-24 06:15
svenyeah, possibly#asahi-re · 2021-09-24 06:14
svenit's part of a "full" reset cycle fwiw#asahi-re · 2021-09-24 06:14
svenwhich works most of the time#asahi-re · 2021-09-24 06:13
sventhat's what i used for the partial reset#asahi-re · 2021-09-24 06:13
svenyes#asahi-re · 2021-09-24 06:11
svenah, makes sense i guess#asahi-re · 2021-09-24 06:11
sven:D#asahi-re · 2021-09-24 06:11
svenuh#asahi-re · 2021-09-13 12:19
svenmarcan: have you ever dumped the firmware running on those PD chips btw?#asahi-re · 2021-09-13 11:25
svenmy dock does usb-c to uhh... displayport,ethernet,like 10 or so usb3 ports, sound and a sd card slot for some reason#asahi-re · 2021-09-13 11:24
svendon't think so#asahi-re · 2021-09-13 11:21
svenuh, i have a thunderbolt dock to connect all my peripherals to my macbook air#asahi-re · 2021-09-13 11:20
svenbecause the moment i disconnect my thunderbolt dock macos shuts cio down again#asahi-re · 2021-09-13 11:20
sveni *think* cio only needs to be booted when you want to tunnel pcie over thunderbolt#asahi-re · 2021-09-13 11:19
svenyeah, that's sio#asahi-re · 2021-09-13 11:18
svenuhhhh... that sounds weird. but then again, this is apple#asahi-re · 2021-09-13 11:18
sveni think marcan volunteered to fix that as well!#asahi-re · 2021-09-13 08:12
svenbut yeah, that's my plan. first get usb2 hot plug working and then take it from there#asahi-re · 2021-09-13 08:11
sven(and then reset the whole machine 2 minutes later because i probably skipped all the phy init and some internal state dies but those are details :-P)#asahi-re · 2021-09-13 08:11
svenyeah, no idea. all i know how is how to boot that thing so far#asahi-re · 2021-09-13 08:10
svennot sure though#asahi-re · 2021-09-13 08:10
sveni think acio is only for thunderbolt#asahi-re · 2021-09-13 08:10
sven(aka bunch of magic pokes and possibly tunables)#asahi-re · 2021-09-13 08:10
sventhat requires a real phy driver#asahi-re · 2021-09-13 08:09
svennot really#asahi-re · 2021-09-13 08:09
svenah, nice#asahi-re · 2021-09-13 08:04
svenso i guess a week or so for you then? :P#asahi-re · 2021-09-13 08:03
svenso you'll upstream power/clocks first and then fix the core code? :>#asahi-re · 2021-09-13 07:59
svennot a big deal and a quick fix, but i guess apple is the first one to use two of these chips on the same irq line#asahi-re · 2021-09-13 07:59
sventhe interrupt handling is also broken. it requests a shared interrupt but always returns IRQ_HANDLED#asahi-re · 2021-09-13 07:59
sventhe ti driver is pretty minimal#asahi-re · 2021-09-13 07:58
svenso it sounds like you're volunteering for thunderbolt to me? :>#asahi-re · 2021-09-13 07:57
sventrue#asahi-re · 2021-09-13 07:56
sveneventually we may or may not need to do more thanks to thunderbolt (ugh) but this might work for now#asahi-re · 2021-09-13 07:56
svenyeah, that could work once the interrupt stuff in the TI code is adapted#asahi-re · 2021-09-13 07:55
svenok, now i get what you mean#asahi-re · 2021-09-13 07:55
svenoh#asahi-re · 2021-09-13 07:54
sven(in gadget mode. i think in host mode it does)#asahi-re · 2021-09-13 07:54
svenno, i mean, dwc3 doesn't trigger an interrupt for disconnects. not even in m1n1#asahi-re · 2021-09-13 07:53
svenin gadget mode we don't even get disconnect events fwiw#asahi-re · 2021-09-13 07:52
svena thing?#asahi-re · 2021-09-13 07:49
svenmarcan: i mean, feel free to take over if you want to :D