#
✕ nick:sven
#asahi-dev · 2022-11-12 08:46
svenargh.. and I forgot to rebase on your branch. sorry :(
#asahi-dev · 2022-11-12 08:45
svenhttps://github.com/AsahiLinux/linux/tree/asahi-dcpext-2022-11-12
#asahi-dev · 2022-11-12 08:39
svenlet me commit and push all that stuff
#asahi-dev · 2022-11-12 08:39
svenand another one was that I really need to shut dwc3 down before turning off atcphy
#asahi-dev · 2022-11-12 08:38
sventhe other was that it apparently really wants me to do some BIST (built-in self test I guess) before setting up the pipehandler
#asahi-dev · 2022-11-12 08:38
sven^-- that was one issue
#asahi-dev · 2022-11-12 08:38
sven+#define ACIOPHY_CROSSBAR_PROTOCOL_USB3_DP_SWAPPED 0x11
#asahi-dev · 2022-11-12 08:38
sven-#define ACIOPHY_CROSSBAR_PROTOCOL_USB3_DP_SWAPPED 0x10
#asahi-dev · 2022-11-12 08:38
svenjannau: I think I have usb3/dp hotplug stable now
#asahi-dev · 2022-11-11 18:27
svenunless you look behind the scenes, then it’s just a bunch of linear algebra pretending to be magic
#asahi-dev · 2022-11-10 13:00
svenI'm too paranoid to skip compiling and running dtbs_check / dt_binding_check on each commit before I run git send-mail anyway
#asahi-dev · 2022-11-09 20:08
svencan you please stop breaking everything? :<
#asahi-dev · 2022-11-09 09:47
svenjannau: looks like your extcon fix was also merged. Let’s hope it survives this time :D
#asahi-dev · 2022-11-08 09:22
sven:)
#asahi-dev · 2022-11-07 20:47
sventhat is the only tunable where I have required = false
#asahi-dev · 2022-11-07 20:47
svenhrm, or maybe it is
#asahi-dev · 2022-11-07 20:46
sven-s
#asahi-dev · 2022-11-07 20:46
svenuh. that doesn’t sounds correct
#asahi-dev · 2022-11-07 20:45
svenI think some tunable only exists for t6k
#asahi-dev · 2022-11-07 20:45
svendoes it just not recognize the device at all?
#asahi-dev · 2022-11-07 20:45
svenespecially the first time should always work
#asahi-dev · 2022-11-07 20:44
svenhuh. I’ll check once I’m back home if I forgot to commit anything else :(
#asahi-dev · 2022-11-07 20:24
svenit was very stable on t8103 here
#asahi-dev · 2022-11-07 20:24
svenweird
#asahi-dev · 2022-11-07 20:24
svenI’m traveling for $work until thursday, I’ll look into those other magic pokes afterwards
#asahi-dev · 2022-11-07 20:23
svenhrm, but that pipehandler hack shouldn’t change the first connection after boot :/
#asahi-dev · 2022-11-07 20:19
sven?
#asahi-dev · 2022-11-07 20:19
svenEven with fixing the pipehandler to usb3
#asahi-dev · 2022-11-07 20:16
svenI think the correct fix is to first set the usb role to none and then do the mux set from tipd but that’s a bit annoying to implement
#asahi-dev · 2022-11-07 20:15
sveniirc I hardcoded that in usb3_set_mode
#asahi-dev · 2022-11-07 20:14
svenjannau: can you check what happens if you always configure the pipehandler for usb3? I think I forgot to commit that hack :/
#asahi-dev · 2022-11-07 20:09
svenit’s been very stable here when I tested it
#asahi-dev · 2022-11-07 20:09
sventhe other part is weird :/
#asahi-dev · 2022-11-07 20:09
svenusb/DP makes sense, that probably first comes up as usb only and only then as usb/dp and there’s a usb role switch transition missing
#asahi-dev · 2022-11-07 16:45
sven-between
#asahi-dev · 2022-11-07 16:44
svenbut it‘s ~5 seconds between after xhci is up and running
#asahi-dev · 2022-11-07 16:44
svenhrm, maybe I was confused when I was multi tasking today and it also always took 5s
#asahi-dev · 2022-11-07 16:42
svenyeah, it just showed me a bunch of commits and I didn’t feel like going through them because i don’t have much time today
#asahi-dev · 2022-11-07 16:34
sven*mystery
#asahi-dev · 2022-11-07 16:33
svenand those maybe also explain why it sometimes takes ~5 seconds between plug insertion and "new SuperSpeed USB device"
#asahi-dev · 2022-11-07 16:32
sveni've also found some more register pokes and macos polling for something when bringing up usb3. I guess those can be used to replace that myster msleep(500); in atcphy_configure_pipehandler
#asahi-dev · 2022-11-07 16:31
svenjannau: didn't manage to rebase on top of your new branch yet but https://github.com/AsahiLinux/linux/commits/dp-altmode-WIP makes usb3 stable for me
#asahi-dev · 2022-11-07 09:47
svenjannau: I think i found the usb3 bug. __dwc3_set_mode first initializes xhci and then configures the phy. that should be the other way around
#asahi-dev · 2022-11-07 07:26
svenjannau: i’m @svenpeter.deV. I unfortunately don’t have the .de domain :(
#asahi-dev · 2022-11-06 20:57
svenI’ll rebase on that branch and continue there tomorrow
#asahi-dev · 2022-11-06 20:57
sven“Fix” ;)
#asahi-dev · 2022-11-06 20:50
svenNice, thanks
#asahi-dev · 2022-11-06 20:26
svenyeah, good idea
#asahi-dev · 2022-11-06 20:24
svenI’ll probably try to reverse engineer where that single pma actually comes from sometime this week
#asahi-dev · 2022-11-06 20:22
svenstrange, but the display works with t8103 on macOS?

plus ›