#asahi-dev · 2026-07-25 22:56
yukawell port 1 is usb2 only#asahi-dev · 2026-07-25 22:56
chaos_princessso for example if you plug in a device into port 0 and it establishes a 2.0 link, then plug in something into port 1, the device on port 1 does not get reset#asahi-dev · 2026-07-25 22:55
JamesCalligeros[m]We are reaching think different levels that should not be possible#asahi-dev · 2026-07-25 22:55
chaos_princessi think you will have to have a fake mux or something in front of hpms#asahi-dev · 2026-07-25 22:54
yukabut only usb2 goes over the hub#asahi-dev · 2026-07-25 22:54
chaos_princesscursed#asahi-dev · 2026-07-25 22:54
yukayes#asahi-dev · 2026-07-25 22:54
chaos_princessso, we have one dwc and two hpms?#asahi-dev · 2026-07-25 22:53
yukathe problem is that currently there is no proper way to describe in the adt that a cable plug on _either_ of the ports should reset/re-enumerate dwc3#asahi-dev · 2026-07-25 22:53
chaos_princessbecause of the whole needing a reset for it to work reliably#asahi-dev · 2026-07-25 22:53
yukathe glue driver mentions something about DWC3 being shut down when no cable is connected#asahi-dev · 2026-07-25 22:52
chaos_princesswe shut it down#asahi-dev · 2026-07-25 22:52
yukaI think this logic is missing in the dwc3-apple glue driver#asahi-dev · 2026-07-25 22:52
yukaor do we shut it down when no cable is connected to either of the ports#asahi-dev · 2026-07-25 22:52
yukaOk, so the question is: does dwc3 just keep running with the usb2 hub enumerated?#asahi-dev · 2026-07-25 22:45
chaos_princessso, like, you can drive it in a usb2 mode somewhat, as that is using the eusb repeater and not atcphy#asahi-dev · 2026-07-25 22:45
yukasorry I meant no hpm remote-port#asahi-dev · 2026-07-25 22:45
yukathat's not possible with the apple glue driver?#asahi-dev · 2026-07-25 22:45
yukato dwc3#asahi-dev · 2026-07-25 22:44
chaos_princessto what?#asahi-dev · 2026-07-25 22:44
yukawhat happens if no atcphy is connected?#asahi-dev · 2026-07-25 22:44
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi/arch/arm64/boot/dts/apple/t6021-j475c.dts#L41#asahi-dev · 2026-07-25 22:44
yukaAh right#asahi-dev · 2026-07-25 22:44
yukait's there, but there is no obvious signal when it's booted#asahi-dev · 2026-07-25 22:44
yukat8140 does not need anything to enable the hub#asahi-dev · 2026-07-25 22:43
chaos_princessfrom what i remember on some other device that has a hub - we just have a thingy that enables a power gpio and that's all#asahi-dev · 2026-07-25 22:43
yukaokay but then I look at the mac studio#asahi-dev · 2026-07-25 22:42
yukausb-drd2 has usb[23]-hub-port[12]#asahi-dev · 2026-07-25 22:42
yukait's a hub#asahi-dev · 2026-07-25 22:42
yukaand I did not see any xhci controller in the lspci listing#asahi-dev · 2026-07-25 22:41
yukaHuh I do not see anything xhci in the j773g adt#asahi-dev · 2026-07-25 22:41
chaos_princesslike the m1 mac mini for type-a ports and the 4-port imacs#asahi-dev · 2026-07-25 22:41
yukaAhh possible#asahi-dev · 2026-07-25 22:41
chaos_princessi think that has a pcie usb controller#asahi-dev · 2026-07-25 22:41
yukabut 5 usb typec ports#asahi-dev · 2026-07-25 22:40
yukathe m4 mac mini only has 3 hpms#asahi-dev · 2026-07-25 22:40
yukaand also m4 mac mini I think?#asahi-dev · 2026-07-25 22:40
chaos_princessthere is a hub on mac studio on the front ports#asahi-dev · 2026-07-25 22:40
yukaI'm not sure what is the best way to model it in the dt (I do not see the hubs on any of the other models in the dts, but those also do not have such a cursed setup)#asahi-dev · 2026-07-25 22:39
yukathere is also a hub in between and currently it only gets detected (via dwc3 reset) once I pug something into the rear port, since that's the only one I have fully described in the device tree#asahi-dev · 2026-07-25 22:39
chaos_princessi think there was a hack#asahi-dev · 2026-07-25 22:38
yukasad#asahi-dev · 2026-07-25 22:38
chaos_princessyes#asahi-dev · 2026-07-25 22:38
yukais that signed?#asahi-dev · 2026-07-25 22:37
yukaactually...#asahi-dev · 2026-07-25 22:37
yukabut I guess the ace firmware is then programmed in a way that it does not try to negotiate usb4#asahi-dev · 2026-07-25 22:37
yukaexcept that it has no usb4 tunables#asahi-dev · 2026-07-25 22:37
yukat8122 atcphy also works fine on t8140 (it has compatible t8130)#asahi-dev · 2026-07-25 21:32
yukaand nvme + 0x1208 / 0x1200 (still got to find names for them) is also an M4+ thing