#
✕ nick:marcan
#asahi-re · 2021-12-14 14:57
marcan _writeRegInternal(this,"virtual IOReturn AppleCS42L84Hw::setOutputVolume(SInt16)",0x28b,
#asahi-re · 2021-12-14 14:57
marcan "CS42L84_HPOUT_DACB_PATH_VOL_LSB",0x3006,"val",uVar2);
#asahi-re · 2021-12-14 14:57
marcan _writeRegInternal(this,"virtual IOReturn AppleCS42L84Hw::setOutputVolume(SInt16)",0x28a,
#asahi-re · 2021-12-14 14:57
marcan "CS42L84_HPOUT_DACA_PATH_VOL_MSB",0x3005,"signBit",uVar1);
#asahi-re · 2021-12-14 14:57
marcan _writeRegInternal(this,"virtual IOReturn AppleCS42L84Hw::setOutputVolume(SInt16)",0x289,
#asahi-re · 2021-12-14 14:57
marcan uVar1 = uVar1 >> 8 & 1;
#asahi-re · 2021-12-14 14:57
marcan "CS42L84_HPOUT_DACA_PATH_VOL_LSB",0x3004,"val",uVar2);
#asahi-re · 2021-12-14 14:57
marcan _writeRegInternal(this,"virtual IOReturn AppleCS42L84Hw::setOutputVolume(SInt16)",0x288,
#asahi-re · 2021-12-05 20:17
marcanI haven't seen it try to send a crashlog
#asahi-re · 2021-12-05 20:16
marcanheh
#asahi-re · 2021-12-05 20:14
marcanbut I was also playing with sending NMIs; not sure if that's required to cause that to happen (and it's not consistent anyway)
#asahi-re · 2021-12-05 20:14
marcansven: it's weird that sometimes I got it to start the rtkit init and fail later
#asahi-re · 2021-12-02 10:52
marcanat least that's how I parse it
#asahi-re · 2021-12-02 10:52
marcan_jannau_: you see, it's PCIE_RC > PCIE_DSP > PF0 > PTM_RES_CAP > PTM_RES_CAP_HDR_OFF > PTM_RES_EXT_CAP_ID > UMASK
#asahi-re · 2021-12-02 04:44
marcanI'm so glad we *don't* have access to Apple's documentation, so nobody is tempted to use the official register names
#asahi-re · 2021-12-02 04:43
marcanPCIE_RC_PCIE_DSP_PF0_PTM_RES_CAP_PTM_RES_CAP_HDR_OFF_PTM_RES_EXT_CAP_ID_UMASK
#asahi-re · 2021-11-23 15:42
marcan:)
#asahi-re · 2021-11-23 15:41
marcanafter I catch up on pmgr/DT stuff, and maybe rewrite that cpufreq thing, next up I want to take care of SMC and WiFi
#asahi-re · 2021-11-23 15:41
marcanawesome :D
#asahi-re · 2021-11-23 15:40
marcaninteresting
#asahi-re · 2021-11-23 15:40
marcanyeah 0x6 is definitely the final shutdown/initial powerup command
#asahi-re · 2021-11-23 15:39
marcanheh
#asahi-re · 2021-10-16 02:20
marcanalyssa: update your adt, I made that much nicer a while ago ;)
#asahi-re · 2021-10-16 02:20
marcan function-reg_on = 141:pKW4('gP0d', 0x800000)
#asahi-re · 2021-10-09 08:14
marcanpovik: lol this is open source
#asahi-re · 2021-10-09 08:12
marcanwat
#asahi-re · 2021-10-09 08:12
marcanit's in the core kernel
#asahi-re · 2021-10-09 08:12
marcanuhh this isn't even in the pmgr driver
#asahi-re · 2021-10-09 08:08
marcanyeah definitely not something we need to do
#asahi-re · 2021-10-09 08:08
marcanit's the board_id pullup even... :p
#asahi-re · 2021-10-09 08:08
marcanI think more things would break without it
#asahi-re · 2021-10-09 08:08
marcanpovik: that's used for stuff like the trackpad too, right?
#asahi-re · 2021-10-09 07:55
marcanI assume this somehow dates back to old iPhone docks?
#asahi-re · 2021-10-09 07:55
marcanbut I have no idea whatsoever wtf it is
#asahi-re · 2021-10-09 07:55
marcani've known about it for a while, since it has some kind of special UART even
#asahi-re · 2021-10-09 07:54
marcanyeah, exactly
#asahi-re · 2021-10-09 07:53
marcanI'm very confused
#asahi-re · 2021-10-09 07:53
marcanapple literally calls this DOCKFIFO in the PMGR driver...
#asahi-re · 2021-10-09 07:53
marcanApplePMGR: [Die 0] DOCKFIFO | 0x23d100000 -> <ptr>
#asahi-re · 2021-09-24 09:10
marcaninteresting
#asahi-re · 2021-09-24 06:19
marcanyeah
#asahi-re · 2021-09-24 06:18
marcanstill, isolation is worth looking at
#asahi-re · 2021-09-24 06:18
marcanor maybe it doesn't and that mode actually gets passed through from dwc3
#asahi-re · 2021-09-24 06:18
marcan:p
#asahi-re · 2021-09-24 06:18
marcanwell, maybe it still matters for subtler stuff
#asahi-re · 2021-09-24 06:18
marcanheh
#asahi-re · 2021-09-24 06:17
marcanalso maybe do some delays in between
#asahi-re · 2021-09-24 06:17
marcanyeah
#asahi-re · 2021-09-24 06:17
marcanmaybe try isolation and back?
#asahi-re · 2021-09-24 06:17
marcanheh

plus ›