#
…

2025-09-02

00:02hdbngr has quit [Ping timeout: 480 seconds]
00:02pb17 has quit [Ping timeout: 480 seconds]
00:02hightower2 has quit [Ping timeout: 480 seconds]
00:05zumi_ has joined #asahi-dev
00:06pb17 has joined #asahi-dev
00:10zumi has quit [Ping timeout: 480 seconds]
00:10zumi_ is now known as zumi
00:19hdbngr has joined #asahi-dev
00:28hdbngr has quit [Ping timeout: 480 seconds]
01:10hdbngr has joined #asahi-dev
01:19hdbngr has quit [Ping timeout: 480 seconds]
02:08cylm has joined #asahi-dev
02:11beastd|2 has joined #asahi-dev
02:14beastd has quit [Ping timeout: 480 seconds]
02:16hexdump0815 has joined #asahi-dev
02:18hexdump02 has quit [Ping timeout: 480 seconds]
02:33hdbngr has joined #asahi-dev
02:40tobhe_ has joined #asahi-dev
02:42hdbngr has quit [Ping timeout: 480 seconds]
02:47tobhe has quit [Ping timeout: 480 seconds]
02:59Pokemod97736 has joined #asahi-dev
03:01skipwich has quit [Remote host closed the connection]
03:01skipwich has joined #asahi-dev
04:00nora has joined #asahi-dev
04:01nora_ has quit [Ping timeout: 480 seconds]
04:17hdbngr has joined #asahi-dev
04:26hdbngr has quit [Ping timeout: 480 seconds]
04:29eluks has quit [Remote host closed the connection]
04:30eluks has joined #asahi-dev
05:52ipatch has quit [Ping timeout: 480 seconds]
06:07zumi_ has joined #asahi-dev
06:08pb17 has quit [Ping timeout: 480 seconds]
06:11zumi has quit [Ping timeout: 480 seconds]
06:12zumi_ is now known as zumi
06:13hdbngr has joined #asahi-dev
06:24pb17 has joined #asahi-dev
06:26hdbngr has quit [Ping timeout: 480 seconds]
06:28hightower2 has joined #asahi-dev
06:35hightower3 has quit [Ping timeout: 480 seconds]
06:36hdbngr has joined #asahi-dev
06:45hdbngr has quit [Ping timeout: 480 seconds]
06:49hdbngr has joined #asahi-dev
06:54mripard has joined #asahi-dev
06:58hdbngr has quit [Ping timeout: 480 seconds]
07:01ravikant_ has joined #asahi-dev
07:06cylm has quit [Ping timeout: 480 seconds]
07:19hdbngr has joined #asahi-dev
07:28hdbngr has quit [Ping timeout: 480 seconds]
07:40hdbngr has joined #asahi-dev
08:29JTL has quit [Remote host closed the connection]
08:29JTL has joined #asahi-dev
09:00snklp has joined #asahi-dev
09:04rivendell has joined #asahi-dev
09:14rivendell has quit [Ping timeout: 480 seconds]
09:15rivendell has joined #asahi-dev
09:18hightower3 has joined #asahi-dev
09:24hightower2 has quit [Ping timeout: 480 seconds]
09:42catred has joined #asahi-dev
10:00bgb_ has joined #asahi-dev
10:00bgb has quit [Remote host closed the connection]
10:23ravikant_ has quit [Ping timeout: 480 seconds]
10:26snklp has quit [Ping timeout: 480 seconds]
10:37snklp has joined #asahi-dev
10:44VinDuv has quit [Ping timeout: 480 seconds]
10:47rusty_dave has joined #asahi-dev
10:59bgb_ has quit [Remote host closed the connection]
11:00bgb has joined #asahi-dev
11:01rivendell has quit [Read error: Connection reset by peer]
11:02rivendell has joined #asahi-dev
11:03ravikant_ has joined #asahi-dev
11:04rivendell has quit []
11:04rivendell has joined #asahi-dev
11:07ravikant_ has quit [Remote host closed the connection]
11:08ravikant_ has joined #asahi-dev
12:01mattia013 has joined #asahi-dev
12:03mripard has quit [Quit: WeeChat 4.7.0]
12:05Gnappo85 has joined #asahi-dev
12:06Gnappo85 has quit []
12:06zumi_ has joined #asahi-dev
12:09Gnappo85 has joined #asahi-dev
12:09Gnappo85 has quit []
12:10zumi has quit [Ping timeout: 480 seconds]
12:11zumi_ is now known as zumi
12:40mattia013 has quit [Remote host closed the connection]
12:42mattia013 has joined #asahi-dev
13:01pb17 has quit [Ping timeout: 480 seconds]
13:11pb17 has joined #asahi-dev
13:37snklp1 has joined #asahi-dev
13:37snklp has quit [Read error: Connection reset by peer]
13:37snklp1 is now known as snklp
13:45snklp has quit [Ping timeout: 480 seconds]
13:48malfunction54 has quit [Quit: Leaving]
13:54tobhe_ is now known as tobhe
14:22john-cabaj has joined #asahi-dev
14:26svenso pipehandler as part of dwc3 glue makes everything worse, it'll stay inside atcphy
14:27sveni've also apparently managed to break gadget mode somehow again :/
14:27sveneither when converting to the glue driver or when cleaning that one up
14:31ravikant_ has quit []
14:55VinDuv has joined #asahi-dev
15:33svencan anyone run trace_atc.py while connecting the target to something that makes it switch to device mode? my setup seems to first negotiate host and then do the switch to device mode and i'd like to see something that directly goes to device mode
15:34chaos_princesswhats your approach?
15:35chaos_princessalso, does it have to be a t8013, or a t6000 is also fine?
15:36svenanything is fine
15:36sveni have a somewhat weird setup here. c-to-c cable to another (x86) computer running linux and that seems to first negotiate host and then switch to device. I think my a-to-c cable that I used before broke because it doesn't negotiate anything anymore
15:37sveneven under macos
15:37svenbefore that the approach was macbook air -> c-to-a adapter -> a-to-c cable -> mac mini
15:37chaos_princessyea, i should have an a-to-c somewhere and a x86 pc
15:39svenatcphy is the same for t8103 and t6000 and all the other supported SoCs. i think apple hides any differences inside the tunables anyway
15:39sventhe only reason they have a different ADT compatible is that they hardcode the fuse offsets inside the kext iirc
15:45chaos_princessok, i might be doing sth wrong, do i need a specific port? And does the cable need to be usb-3 compatible?
15:45svenno, both ports short work :/
15:45svenusb 2 only is fine as well
15:45sven3 would be better because i want to see the pipehandler setup as well, but 2 should be fine
15:46chaos_princess"both" - so, i have 3, and one didn't work :P. captured, give me a sec
15:47svenweird :D
15:47svenanything attached to atcphy should work
15:48j`eyhttps://lore.kernel.org/all/20250901111241.233875-1-tzimmermann@suse.de/ I can't remember the vblank stuff with dcp, so not sure if this timer is actually useful I just vaguely rememeber there was something about it
15:50svenchaos_princess: thanks!
16:00jannauj`ey: the problem doesn't apply to dcp as dcp limits fb flips, i.e. we have vblank hw, it's just inconvenient to use. if we used the timer we have deal with syncing it to dcp's swaps
16:19j`eyjannau: ok!
16:36hdbngr has quit [Ping timeout: 480 seconds]
16:56ipatch has joined #asahi-dev
17:14cylm has joined #asahi-dev
17:14hdbngr has joined #asahi-dev
17:24maettu102 has quit [Quit: The Lounge - https://thelounge.chat]
17:43cylm_ has joined #asahi-dev
17:45cylm has quit [Ping timeout: 480 seconds]
17:52svenhttps://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/log/?h=wip/atcphy gadget mode possibly broken, but otherwise rather happy with this now
17:53svenneed to wait for a new a->c cable to arrive before i can look into fixing gadget mode again
17:57cylm has joined #asahi-dev
17:58pb17 has quit [Ping timeout: 480 seconds]
17:58cylm_ has quit [Ping timeout: 480 seconds]
18:04zumi_ has joined #asahi-dev
18:07pb17 has joined #asahi-dev
18:08zumi has quit [Ping timeout: 480 seconds]
18:09zumi_ is now known as zumi
18:14hdbngr has quit [Ping timeout: 480 seconds]
18:16svenoh, lol, i think i may have fixed it. can't test it here though
18:40hdbngr has joined #asahi-dev
18:48hdbngr has quit [Ping timeout: 480 seconds]
18:59svenhah, i can test gadget mode through my tbt dock. seems to work now
19:03jannauI almost reported that the atc fuses m1n1 PR or dwc3/atcphy do not work on m2 until I remembered that your branch has only t8103 DT changes
19:06svenit usually works with wrong fuses as well, you just sometimes lose superspeed and. and tbt is very allergic is they are wrong
19:09cylm has quit [Ping timeout: 480 seconds]
19:37jannauatcphy refuses to probe without apple,tunable-fuses though
19:38jannauworks on the m2 mini but still (again?) 5 seconds delay until superspeed devices are detected
19:42ipatch_ has joined #asahi-dev
19:42ipatch has quit [Read error: Connection reset by peer]
19:49pb17 has quit [Ping timeout: 480 seconds]
19:50pb17 has joined #asahi-dev
19:53bgb has quit [Remote host closed the connection]
19:53bgb has joined #asahi-dev
19:58svenugh… that doesn’t happen on my m1 :/
19:59hdbngr has joined #asahi-dev
19:59sventhere’s a second or two delay until the device appears here I think
20:07sventimed out waiting for ACIOPHY_TOP_PHY_STAT_LN0_UNK0 that’s also not great
20:08svenI don’t see that here
20:10yuka has quit [Remote host closed the connection]
20:14jannauI don't think I see that with the asahi tree
20:16yuka has joined #asahi-dev
20:20svencan you try moving the phy_set_mode calls to after dwc3_host_init?
20:20sventhat makes no sense to me but it’s a difference between Asahi tree and that branch
20:27jannauon shutdown uas errors drom the usb ssd
20:27svenI hate this thing :(
20:28dani has joined #asahi-dev
20:30dani has quit []
20:30dani has joined #asahi-dev
20:31dani is now known as aizuchi
20:34jannaustill "timed out waiting for ACIOPHY_TOP_PHY_STAT_LN0_UNK0" but the delay between "hub 3-0:1.0: 1 port detected" and "new SuperSpeed Plus Gen 2x1 USB device" os now only 4.75s
20:34svenhrm, something else is broken then
20:36jannauthis was 5d4191594cf6
20:40jannausame behavior with 90e2c56eccad though
21:06john-cabaj has quit [Remote host closed the connection]
21:08john-cabaj has joined #asahi-dev
21:15maettu102 has joined #asahi-dev
21:27pb17 has quit [Ping timeout: 480 seconds]
21:28pb17 has joined #asahi-dev
21:36jannaum1 max behaves in the same way as m2
21:37svenhmmm… maybe because I‘m using a usb3/dp connected to my usb 3 hdd here
21:38svenI’m traveling for $work for the rest of the week but I’ll compare macOS vs. my branch on the weekend to see what’s going on
21:43jannauyes, no delay or timeout on ACIOPHY_TOP_PHY_STAT_LN0_UNK0 when using an usb3/dp switch
21:44svenok, weird but at least that explains the difference
21:45jannauapproved the m1n1 PR as the weirdness is unlikely to be found there
21:46jannaudidn't you want to use usb3/dp mode by for usb3 only anyway as that's what macos does?
21:46svenohh… yup
21:46svenand I never understood _why_. maybe we do now
21:50jannauthe timeout on ACIOPHY_TOP_PHY_STAT_LN0_UNK0 doesn't change to ACIOPHY_TOP_PHY_STAT_LN1_UNK0 based on the plug orientation
21:51svencan reproduce it here as well when directly connecting the device without the usb3/dp inbetween
22:06john-cabaj has quit [Ping timeout: 480 seconds]
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:08imnotpoz has joined #asahi-dev
22:09jannausven: https://github.com/jannau/linux/commits/wip/atcphy-20250902/ has t600x and t8112 devicetree changes on top of your branch
22:13jannauand now actually passing dtbs_check
22:14sventhanks
23:55aizuchi has quit [Remote host closed the connection]
…