#
…

2026-05-04

00:08damas has joined #asahi-dev
00:11roxfan has joined #asahi-dev
00:17roxfan2 has quit [Ping timeout: 480 seconds]
00:18damas has quit [Ping timeout: 480 seconds]
00:27doihead has quit [Quit: doihead]
00:55damas has joined #asahi-dev
01:03damas has quit [Ping timeout: 480 seconds]
01:07AngelsOmen has joined #asahi-dev
01:08AngelsOmen has quit []
02:05xal has quit []
02:07xal has joined #asahi-dev
02:07hexdump02 has joined #asahi-dev
02:09hexdump0815 has quit [Ping timeout: 480 seconds]
02:17tobhe_ has joined #asahi-dev
02:24tobhe has quit [Ping timeout: 480 seconds]
03:04hexdump0815 has joined #asahi-dev
03:06hexdump02 has quit [Ping timeout: 480 seconds]
03:40voidah has quit [Ping timeout: 480 seconds]
03:45MikeM64 has quit [Remote host closed the connection]
03:46MikeM64 has joined #asahi-dev
03:47voidah has joined #asahi-dev
03:55nora_ has joined #asahi-dev
03:57voidah has quit [Ping timeout: 480 seconds]
03:57nora has quit [Ping timeout: 480 seconds]
04:05WindowPain has quit [Quit: ( ´・・)ノ]
04:07voidah has joined #asahi-dev
04:16voidah has quit [Ping timeout: 480 seconds]
04:20dataviruset has joined #asahi-dev
04:24voidah has joined #asahi-dev
04:34voidah has quit [Ping timeout: 480 seconds]
04:41voidah has joined #asahi-dev
04:51voidah has quit [Ping timeout: 480 seconds]
04:58dataviruset has quit [Quit: dataviruset]
04:58voidah has joined #asahi-dev
05:08voidah has quit [Ping timeout: 480 seconds]
05:18voidah has joined #asahi-dev
05:27voidah has quit [Ping timeout: 480 seconds]
05:31voidah has joined #asahi-dev
05:35mripard has joined #asahi-dev
05:45voidah has quit [Ping timeout: 480 seconds]
05:52dataviruset has joined #asahi-dev
05:53voidah has joined #asahi-dev
06:01duals has quit [Remote host closed the connection]
06:03voidah has quit [Ping timeout: 480 seconds]
06:03chadmed has quit [Quit: Konversation terminated!]
06:10voidah has joined #asahi-dev
06:14MikeM64 has quit [Ping timeout: 480 seconds]
06:18MikeM64 has joined #asahi-dev
06:26voidah has quit [Ping timeout: 480 seconds]
06:27yukaThe Neo SErrors in dapf_init_all
06:28yukaI am able to get the mtp_dart working by commenting out /arm-io/dart-aop and /arm-io/dart-isp
06:29yukain src/dapf.c
06:29yukaAnd then the keyboard also works
06:30LarstiQ has quit [Quit: ZNC - http://znc.in]
06:30yukaI'm not sure what is the proper solution or how to recognize from the adt that we can not init the dart-aop dart
06:30yuka*darf-aop dapf
06:31yukaAttempting to init it also leads to the machine rebooting a short while later even if it is not killed by the SError
06:32voidah has joined #asahi-dev
06:34LarstiQ has joined #asahi-dev
06:38chewyeclaire[m]yuka: This is most likely the 3rd recovery watchdog I found. The fix is in this PR https://github.com/AsahiLinux/m1n1/pull/564
06:38chewyeclaire[m]I am also working on the Neo, I can post my findings so far in tainted re channel
06:39yukanope it is not the 120s after boot watchdog
06:40yukaI already have that PR applied
06:40chewyeclaire[m]How long does it stay on? Mine does not turn off
06:40yukaPlease read again
06:41chewyeclaire[m]You said your machine reboots off after init
06:41voidah has quit [Ping timeout: 480 seconds]
06:42yukaAfter attempting to init the dapf-aop dart
06:42yuka*darf-aop dapf
06:43yukathe machine does not turn off in general. it only turns off a short while (few seconds) after writing specific values in dapf_init_all
06:44yukaAnd without dapf_init_all or iommu.passthrough=1 the mtp does not come up
06:45yukachewyeclaire: What did you do about dapf_init_all?
06:50voidah has joined #asahi-dev
06:53yuri[m]1 has left #asahi-dev [User left]
06:54yukaAh phone autocorrect is doing dart -> darf
06:54yukaor maybe I mistyped
06:59nickchanyuka: maybe the blocks are offline in pmgr
06:59voidah has quit [Ping timeout: 480 seconds]
06:59yukapossible
07:00Lyude has quit [Quit: Bouncer restarting]
07:00nickchanA18... I think I have some research on this
07:01Lyude has joined #asahi-dev
07:03yukaon which part? dapf? blocks being offline in pmgr?
07:04nickchannope, nothing relvant it seems
07:05svenserror does sounds like the block isn’t powered on
07:05sven*sound
07:05sventhe reboot is weird though
07:07voidah has joined #asahi-dev
07:10catred has quit [Remote host closed the connection]
07:12kaazoo has joined #asahi-dev
07:13yukaI also now know why things were weird on my M4 mac Mini: I didn't know to correctly calculate the addresses using the mmio ranges offset 🤦‍♀️
07:13yukathanks again for explaining that
07:16voidah has quit [Ping timeout: 480 seconds]
07:21nickchanyuka: Found a M4 device tree with ps-regs
07:21nickchanFirmware/all_flash/DeviceTree.j720ap.im4p
07:21nickchanhope this helps
07:22yukaMy J773g device tree also has ps-regs
07:23nickchanright it's a t604[01] specific issues got confused
07:24yukathe Neo's device tree does not have ps-regs
07:24voidah has joined #asahi-dev
07:27yukaIndeed it seems previous discussion of this was unspecific about which devices are affected
07:37yukaThe Neo is also lacking power-domains
07:38yukaand clocks
07:42voidah has quit [Ping timeout: 480 seconds]
07:51voidah has joined #asahi-dev
08:01voidah has quit [Ping timeout: 480 seconds]
08:08voidah has joined #asahi-dev
08:29voidah has quit [Ping timeout: 480 seconds]
08:35voidah has joined #asahi-dev
08:45KimTalmo has joined #asahi-dev
09:01voidah has quit [Ping timeout: 480 seconds]
09:08KimTalmo has quit [Ping timeout: 480 seconds]
09:09voidah has joined #asahi-dev
09:18voidah has quit [Ping timeout: 480 seconds]
09:28voidah has joined #asahi-dev
09:36voidah has quit [Ping timeout: 480 seconds]
09:45voidah has joined #asahi-dev
09:51dataviruset has quit [Quit: dataviruset]
09:53voidah has quit [Ping timeout: 480 seconds]
10:02voidah has joined #asahi-dev
10:02ddxtanx_ has joined #asahi-dev
10:07ddxtanx has quit [Ping timeout: 480 seconds]
10:11voidah has quit [Ping timeout: 480 seconds]
10:18WindowPain has joined #asahi-dev
10:21voidah has joined #asahi-dev
10:26rivendell has quit [Ping timeout: 480 seconds]
10:30voidah has quit [Ping timeout: 480 seconds]
10:35rivendell has joined #asahi-dev
10:38voidah has joined #asahi-dev
10:42rivendell has quit [Remote host closed the connection]
10:43JPeisach1 has quit [Ping timeout: 480 seconds]
10:43PenelopeGwen[mds] has quit [Ping timeout: 480 seconds]
10:43mjolnir[mds] has quit [Ping timeout: 480 seconds]
10:44travltux[mds] has quit [Ping timeout: 480 seconds]
10:44jykrwn_bot[mds] has quit [Ping timeout: 480 seconds]
10:44jacobm[mds] has quit [Ping timeout: 480 seconds]
10:44tumblingweed has quit [Ping timeout: 480 seconds]
10:44Q_ has quit [Ping timeout: 480 seconds]
10:44matrix_ds has quit [Ping timeout: 480 seconds]
10:45chadmed has joined #asahi-dev
10:46yukaI think the Neo can not do device mode because usb is behind a hub
10:47yukaWhich is quite annoying from the m1n1 perspective
10:47voidah has quit [Ping timeout: 480 seconds]
10:47chadmedi thought only the usb2 port was behind a hub
10:50jannauthere is only one usb port. usb2 on both ports is through the hub
10:50rivendell has joined #asahi-dev
10:51jannauone usb port on the SoC
10:52chadmedoh right lmao incredible
10:52chadmedcan we just wait and see if the neo 2 is less cursed :P
10:54jannauI think the best bet for the neo is to map debugusb to the non-connected usb2 pins (needs a special cable / breakout board)
10:55voidah has joined #asahi-dev
11:03chaos_princessor make the host machine enter the device mode
11:04voidah has quit [Ping timeout: 480 seconds]
11:05jannauand use the neo's usb2 port
11:07jannauno, that still prevents you from using usb under HV
11:13yuka> map debugusb to the non-connected usb2 pins
11:14yukacan you explain that a bit more? is this something we can do through software(
11:14voidah has joined #asahi-dev
11:30NickChan[m]The Neo must somehow be able to do device mode during a DFU reatore
11:31voidah has quit [Ping timeout: 480 seconds]
11:33jannauhttps://asahilinux.org/docs/hw/soc/usb-pd/#pin-sets and information how USB-C orientation symmetry works. It will need hardware since those pins are not connected in any standard usb cable
11:34NickChan[m]which according to Apple's website should be the USB3 port
11:35NickChan[m]But I expect if you do that, the other port won't work at all
11:37jannauthe neo has https://www.ti.com/product/TUSB2E22 which has a mux and is reachable via i2c
11:38jannaupossible that usb2 can bypass the hub
11:40voidah has joined #asahi-dev
11:41yukaAh nice so when enabling the debugusb you can choose which pins to put it on, and currently tuxvdmtool simply puts it on the normal data pins but you could also put it on some unused pins to continue using the data pins normally?
11:49voidah has quit [Ping timeout: 480 seconds]
11:56hightower2 has joined #asahi-dev
11:57voidah has joined #asahi-dev
11:59c10l has quit [Quit: Ping timeout (120 seconds)]
12:06voidah has quit [Ping timeout: 480 seconds]
12:14voidah has joined #asahi-dev
12:22voidah has quit [Ping timeout: 480 seconds]
12:23voidah has joined #asahi-dev
12:32voidah has quit [Ping timeout: 480 seconds]
12:40voidah has joined #asahi-dev
12:49voidah has quit [Ping timeout: 480 seconds]
12:56voidah has joined #asahi-dev
13:05voidah has quit [Ping timeout: 480 seconds]
13:09apc has quit [Ping timeout: 480 seconds]
13:13voidah has joined #asahi-dev
13:21voidah has quit [Ping timeout: 480 seconds]
13:24voidah has joined #asahi-dev
13:25troseman has joined #asahi-dev
13:28matrix_ds has joined #asahi-dev
13:28mjolnir[mds] has joined #asahi-dev
13:32freetolga has quit [Quit: Connection closed for inactivity]
13:33voidah has quit [Ping timeout: 480 seconds]
13:40voidah has joined #asahi-dev
13:42mjolnir[mds] has quit [Remote host closed the connection]
13:42matrix_ds has quit [Remote host closed the connection]
13:45ChickenKitten has joined #asahi-dev
13:49voidah has quit [Ping timeout: 480 seconds]
13:50yukaWhoops
13:50yukaI was going to send the text file
13:52yukaI looked at the properties of the pmgr devices entries
13:52yukaid2 is just counting up as previously
13:53yukaunk2_1 seemed interesting, and using it as an offset into pmgr.get_regs(0)[0] looks promising
13:53yukanot saying it's correct or the entire solution
13:55yuka(obviously not since it starts SErroring halfway into the dump)
13:58voidah has joined #asahi-dev
13:59apc has joined #asahi-dev
14:04chaos_princessif you can set custom xnu args - try enabling i_can_has_debugger, add this thing to kernel command line "pmgr-debug=0xffffffff pmgr-debug-devices=0xffffffff pmgr-debug-always-on=0xffffffff pmgr-debug-energy-model=0xffffffff pmgr-debug-restore-counter=1 pmgr-trace=1 -disable_mtx_chk" and see what it prints on console
14:06yuka> enabling i_can_has_debugger
14:06yukacan you point me somewhere for how to do this?
14:07nickchanyuka: im pretty sure that's /chosen/debug-enabled property to 1 in adt
14:07voidah has quit [Ping timeout: 480 seconds]
14:08yukaso I just disable boot security, go to the preboot or whatever partition and start editing the devicetree binary?
14:08nickchanyou can't modify the device tree binary
14:08nickchanso instead you need to modify the kernel itself
14:09mjolnir[mds] has joined #asahi-dev
14:09chaos_princessthe kernel has a function called PE_i_can_has_debugger or sth like that, just make it return true
14:17voidah has joined #asahi-dev
14:21damas has joined #asahi-dev
14:29testuser has joined #asahi-dev
14:29damas has quit [Ping timeout: 480 seconds]
14:30testuser has quit [Remote host closed the connection]
14:31testuser has joined #asahi-dev
14:31testuser has quit [Remote host closed the connection]
14:33testuser has joined #asahi-dev
14:34testuser has quit [Remote host closed the connection]
14:34ncopa has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
14:34voidah has quit [Ping timeout: 480 seconds]
14:35testuser has joined #asahi-dev
14:40testuser has quit [Remote host closed the connection]
14:40testuser has joined #asahi-dev
14:41voidah has joined #asahi-dev
14:41testuser has quit [Remote host closed the connection]
14:43rivendell has quit [Remote host closed the connection]
14:43xal_ has joined #asahi-dev
14:43testuser has joined #asahi-dev
14:43xal has quit [Read error: Connection reset by peer]
14:45testuser has quit [Remote host closed the connection]
14:46testuser has joined #asahi-dev
14:46testuser has quit [Remote host closed the connection]
14:47testuser has joined #asahi-dev
14:52testuser has quit [Remote host closed the connection]
14:52voidah has quit [Ping timeout: 480 seconds]
14:53testuser has joined #asahi-dev
14:53rivendell has joined #asahi-dev
15:00voidah has joined #asahi-dev
15:13testuser has quit [Remote host closed the connection]
15:14voidah has quit [Ping timeout: 480 seconds]
15:16yukathe things I get up to the SError match what I would expect as the primary pmgr nodes
15:17yukathis is looking excellent
15:19jannauiirc dump_pmgr also SErrors on some things on t60xx
15:21voidah has joined #asahi-dev
15:22yukaThe thing it errors on is DEBUG_GATED which has an offset (unk2_1) out of range of the primary pmgr and was also in pmgr_mini on M3
15:25jannauprobably a different reg then
15:39marvin24 has quit [Ping timeout: 480 seconds]
15:41voidah has quit [Ping timeout: 480 seconds]
15:51ncopa has joined #asahi-dev
15:57yukaOk I think I got it: the last 24 bits of unk2_1 are the offset
15:57yukaand before that is the reg
15:57yuka(index)
16:01xal_ has quit [Remote host closed the connection]
16:02xal has joined #asahi-dev
16:16voidah has joined #asahi-dev
16:24voidah has quit [Ping timeout: 480 seconds]
16:31voidah has joined #asahi-dev
16:35jykrwn_bot[mds] has joined #asahi-dev
16:35travltux[mds] has joined #asahi-dev
16:36JPeisach1 has joined #asahi-dev
16:36PenelopeGwen[mds] has joined #asahi-dev
16:36jacobm[mds] has joined #asahi-dev
16:37tumblingweed has joined #asahi-dev
16:37Q_ has joined #asahi-dev
16:44null has quit [Quit: oh no.]
16:46ChickenKitten has quit [Remote host closed the connection]
16:47yukaThe pinctrl_ap is supposedly at 0x31a000000
16:47yukaps_gpio is on
16:48yukaattempting to read32(0x31a000218) SErrors
16:48yukathe regmap cache does that in pinctrl probe
16:49voidah has quit [Remote host closed the connection]
16:49voidah has joined #asahi-dev
16:50yukathe adt has "no-restore-gpio-pins = [0x0000003100000086, 0x0000003300000032]"
16:51yukaAh but that's not new. it just has a slightly different format now
16:59cds_ has joined #asahi-dev
16:59ryzechdev_ has joined #asahi-dev
16:59dystiv_ has joined #asahi-dev
16:59akspecs_ has joined #asahi-dev
16:59pldtf_ has joined #asahi-dev
16:59nightbreak_ has joined #asahi-dev
17:00rosefromthedead_ has joined #asahi-dev
17:00signaryk_ has joined #asahi-dev
17:00truita_ has joined #asahi-dev
17:00jsk_ has joined #asahi-dev
17:00nickchan- has joined #asahi-dev
17:00flying_sausages_ has joined #asahi-dev
17:00qyliss_ has joined #asahi-dev
17:01qyliss has quit [Write error: connection closed]
17:01nickchan has quit [Write error: connection closed]
17:01flying_sausages has quit [Write error: connection closed]
17:01mini_ has quit [Write error: connection closed]
17:01nightbreak has quit [Remote host closed the connection]
17:01pldtf has quit [Write error: connection closed]
17:01akspecs has quit [Read error: Connection reset by peer]
17:01Stary has quit [Read error: Connection reset by peer]
17:01dystiv has quit [Read error: Connection reset by peer]
17:01signaryk has quit [Read error: Connection reset by peer]
17:01ryzechdev has quit [Ping timeout: 480 seconds]
17:01mini_ has joined #asahi-dev
17:01dystiv_ is now known as dystiv
17:01signaryk_ is now known as signaryk
17:01ryzechdev_ is now known as ryzechdev
17:02nightbreak_ is now known as nightbreak
17:02rosefromthedead has quit [Read error: Connection reset by peer]
17:02Stary has joined #asahi-dev
17:02srhm has quit [Ping timeout: 480 seconds]
17:02tsujp has quit [Ping timeout: 480 seconds]
17:02tsujp has joined #asahi-dev
17:02srhm has joined #asahi-dev
17:02truita has quit [Ping timeout: 480 seconds]
17:02cds has quit [Ping timeout: 480 seconds]
17:03cds_ is now known as cds
17:04yukaBut gpio 0x86 is indeed the one we can not read
17:04truita_ is now known as truita
17:04null has joined #asahi-dev
17:05null has quit []
17:05jsk has quit [Ping timeout: 480 seconds]
17:05null has joined #asahi-dev
17:06yukaOk I can work around this, but it might need a new device tree field to represent this
17:08jsk_ is now known as jsk
17:22Ardu0us_ has joined #asahi-dev
17:25Ardu0us has quit [Ping timeout: 480 seconds]
17:38voidah has quit [Ping timeout: 480 seconds]
17:42null_ has joined #asahi-dev
17:43null_ has quit [Remote host closed the connection]
17:47voidah has joined #asahi-dev
17:52mripard_ has joined #asahi-dev
17:54mripard has quit [Ping timeout: 480 seconds]
18:01hightower2 has quit [Remote host closed the connection]
18:07catred has joined #asahi-dev
19:08Shieldtail6 has quit [Quit: The Lounge - https://thelounge.chat]
19:28hardy94 has joined #asahi-dev
19:29hardy94as far as i know they used an usb hub from VIA Labs (if you have an look on ioreg in macOS)
19:31hardy94 | | | | +-o AppleUSBHubIICDevice <class AppleUSBHubIICDevice, id 0x100000468, registered, matched, active, busy 0 (33 ms), retain 6>
19:31hardy94 | | | | {
19:31hardy94 | | | | "IOClass" = "AppleUSBHubIICDevice"
19:31hardy94 | | | | "CFBundleIdentifier" = "com.apple.driver.AppleEmbeddedUSBHost"
19:32hardy94 | | | | "IOProviderClass" = "AppleARMIICDevice"
19:32hardy94 | | | | "AppleUSBHubIICDeviceTunables" = Yes
19:32hardy94 | | | | "IOProbeScore" = 0
19:32hardy94 | | | | "IONameMatch" = "usb-hub-i2c"
19:32hardy94 | | | | "IOMatchedAtBoot" = Yes
19:32hardy94 | | | | "IOMatchCategory" = "IODefaultMatchCategory"
19:32hardy94 | | | | "IONameMatched" = "usb-hub-i2c"
19:32hardy94 | | | | "IOPersonalityPublisher" = "com.apple.driver.AppleEmbeddedUSBHost"
19:32hardy94 | | | | "AppleUSBHubIICDeviceVendor" = "VIA Labs"
19:32hardy94 | | | | "CFBundleIdentifierKernel" = "com.apple.driver.AppleEmbeddedUSBHost"
19:32hardy94 | | | | "AppleUSBHubIICDeviceResetFunction" = Yes
19:32hardy94 | | | | }
19:33hardy94this belongs to the t8140 problem
19:39lynndotpy7 has quit [Quit: bye bye]
19:40lynndotpy7 has joined #asahi-dev
19:52maettu102 has quit [Quit: brb]
19:53Shieldtail6 has joined #asahi-dev
19:54maettu102 has joined #asahi-dev
19:56Shieldtail6 has quit []
19:57damas has joined #asahi-dev
20:08pierolenzo has joined #asahi-dev
20:22hardy94 has quit [Ping timeout: 480 seconds]
20:23damas has quit [Ping timeout: 480 seconds]
20:28voidah has quit [Ping timeout: 480 seconds]
20:29vimproved has quit [Remote host closed the connection]
20:31vimproved has joined #asahi-dev
20:32damas has joined #asahi-dev
20:36croissant has quit [Quit: Leaving]
20:41damas has quit [Ping timeout: 480 seconds]
20:43croissant has joined #asahi-dev
20:51pierolenzo has quit [Quit: pierolenzo]
20:56hami has joined #asahi-dev
20:56hami has quit []
21:18yuka> link didn't come up
21:18yuka> bridge configuration invalid ([bus 00-00]), reconfiguring
21:21yukaI tried all plausible regs for portX
21:22yuka39X03C000 SError
21:22yuka39X048000 Serror
21:22yuka39X044000 SError
21:23yuka39X024000 ready wait timeout
21:23yukaSo for now I'm going with the last remaining option, 39X028000
21:24yukaI don't have an M3 boot log to compare to
21:25yukaSome things which might seem like a problem (like "no iommu-map translation for id") are also present on my M1 Pro, so I ignored them
21:26yukaStill, I would expect if things work somehow, it would enumerate the wifi device
21:30Pokemod977362084712818 has quit []
21:31hardy94 has joined #asahi-dev
21:34ddxtanx_ has quit [Remote host closed the connection]
21:40r0ni has quit [Ping timeout: 480 seconds]
21:40damas has joined #asahi-dev
21:41marvin24 has joined #asahi-dev
21:48Pokemod977362084712818 has joined #asahi-dev
21:48damas has quit [Ping timeout: 480 seconds]
21:51klausvalka has quit [Quit: ZNC 1.10.1 - https://znc.in]
21:52klausvalka has joined #asahi-dev
22:06voidah has joined #asahi-dev
22:07klausvalka has quit [Quit: ZNC 1.10.1 - https://znc.in]
22:11klausvalka has joined #asahi-dev
22:16damas has joined #asahi-dev
22:21hardy94 has quit [Quit: hardy94]
22:22hardy94 has joined #asahi-dev
22:24damas has quit [Ping timeout: 480 seconds]
22:25hardy94 has quit []
22:25troseman has quit [Ping timeout: 480 seconds]
22:28roxfan has quit [Remote host closed the connection]
22:35alec_moore has joined #asahi-dev
22:38roxfan has joined #asahi-dev
22:51alec_moore has quit [Remote host closed the connection]
23:07c10l has joined #asahi-dev
23:08c10l has quit []
23:08c10l has joined #asahi-dev
23:20klausvalka has quit [Quit: ZNC 1.10.1 - https://znc.in]
23:47caszue0 has joined #asahi-dev
23:47apc has quit [Quit: Ping timeout (120 seconds)]
23:47ohtwoone has quit [Quit: Ping timeout (120 seconds)]
23:47caszue has quit [Quit: Ping timeout (120 seconds)]
23:47caszue0 is now known as caszue
23:48ohtwoone has joined #asahi-dev
23:48apc has joined #asahi-dev
…