#
✕ nick:sven
#asahi-dev · 2022-11-15 19:29
svenI’ll have to take a look at macOS and see if it also has that 5s delay
#asahi-dev · 2022-11-15 19:29
svennice!
#asahi-dev · 2022-11-15 18:07
svenlol
#asahi-dev · 2022-11-15 18:05
svenmarcan did the hard part of finding the fuses
#asahi-dev · 2022-11-15 18:02
sventhe most important feature next to backlight ;p
#asahi-dev · 2022-11-15 17:59
svenI haven’t even seen it complain about anything on t8103 in the last days though
#asahi-dev · 2022-11-15 17:59
svenfamous last words but I think at this stage atcphy can always recover with a hotplug in the worst case
#asahi-dev · 2022-11-15 17:57
svenI’ll look into suspend for atcphy after that typec mess for altmode is done
#asahi-dev · 2022-11-15 17:57
svenlol
#asahi-dev · 2022-11-15 17:56
svenusually when you break atcphy either usb2 or usb3 survives
#asahi-dev · 2022-11-15 17:56
svenhrm, yeah, that’s not surprising
#asahi-dev · 2022-11-15 17:38
svenmaybe there’s a reason for that but that reason is very much not obvious then
#asahi-dev · 2022-11-15 17:38
svenmy favorite part is an ops struct that is shared by two separate components. and each of those is really only allow to implement a distinct subset of callbacks afaict. don’t ask me why it’s not two ops struct then
#asahi-dev · 2022-11-15 17:36
svennope, my current idea about that subsystem is batshit crazy unless I’m missing something
#asahi-dev · 2022-11-15 17:32
svensounds like my adventures in the typec subsystem. That’s also gonna take more work that expected
#asahi-dev · 2022-11-15 17:29
svensounds good as well
#asahi-dev · 2022-11-15 17:29
svenlol :D
#asahi-dev · 2022-11-15 17:29
svenSounds good otherwise
#asahi-dev · 2022-11-15 17:28
svenjust in case you didn’t notice: I didn’t add the atcphy nodes for t8112
#asahi-dev · 2022-11-15 12:01
svenat least we've graduated from people compiling kernels with wrong .config options and then complaining that things don't work and that it must be a bug :D
#asahi-dev · 2022-11-15 11:50
svenbecause it contains atcphy
#asahi-dev · 2022-11-15 11:50
svenyes, exactly
#asahi-dev · 2022-11-15 11:49
svenas I mentioned above, you need https://github.com/AsahiLinux/linux/commits/atcphy-for-asahi-wip
#asahi-dev · 2022-11-15 11:48
svenatcphy isn't in there
#asahi-dev · 2022-11-15 11:47
sven*sigh*
#asahi-dev · 2022-11-15 11:47
svenyes
#asahi-dev · 2022-11-15 11:45
svenwhich commit is that?
#asahi-dev · 2022-11-15 11:45
svenbut there's something wrong with my tracing code there so dmesg is better
#asahi-dev · 2022-11-15 11:44
sven /sys/kernel/debug/tracing/trace i think
#asahi-dev · 2022-11-15 11:44
svenor look into that trace log somewhere in debugfs
#asahi-dev · 2022-11-15 11:44
svenand ideally boot with "tp_printk trace_event=appletypecphy:*"
#asahi-dev · 2022-11-15 11:43
svenfull
#asahi-dev · 2022-11-15 11:43
svenjoske: full dmesg please
#asahi-dev · 2022-11-15 11:42
svenwhich made it sometimes fast but unstable
#asahi-dev · 2022-11-15 11:42
svenso it kept usb3 despite shutting down atcphy
#asahi-dev · 2022-11-15 11:42
svenah, yes, that was a bug where I didn't transition the pipehandler to the disabled state sometimes
#asahi-dev · 2022-11-15 11:39
svenit just made it stable
#asahi-dev · 2022-11-15 11:39
svenyeah, but it didn't
#asahi-dev · 2022-11-15 11:29
svenI thought I just renamed some registers and moved the pipehandler stuff from configure to power on which is called like 5 lines above from dwc3
#asahi-dev · 2022-11-15 11:29
svenhuh. wonder what’s different there
#asahi-dev · 2022-11-15 11:15
svenbecause right now it happens again. but if it's fixed in that branch i'll see if I can diff what fixed it
#asahi-dev · 2022-11-15 11:14
svenhuh, really? wtf. how :D
#asahi-dev · 2022-11-15 11:13
svenit'll come up after the first plug is connected
#asahi-dev · 2022-11-15 11:13
svenalso note that dwc3 won't come up at all at boot time if you have nothing connected. that's expected behavior.
#asahi-dev · 2022-11-15 11:12
svenno idea why yet or if that's the case on macos as well
#asahi-dev · 2022-11-15 11:12
svenif you test it note that there's always a ~5 seconds delay after xhci is up and when the SuperSpeed device is recognized
#asahi-dev · 2022-11-15 11:11
sven*works
#asahi-dev · 2022-11-15 11:10
svenmarcan: https://github.com/AsahiLinux/linux/commits/atcphy-for-asahi-wip briefly tested on t8103, probably work on t6k but can't test it there and can't get myself to care about t8112 :D
#asahi-dev · 2022-11-15 10:44
svenbah... and I brought this cheap compile vm on hetzner down again. I should really move to compiling my kernels on the m1 as well
#asahi-dev · 2022-11-15 10:39
sven*of

plus ›