#asahi · 2021-06-26 01:43
marcansame result?#asahi · 2021-06-26 01:41
marcandid you try any non-thunderbolt cables?#asahi · 2021-06-26 01:40
marcanbut when you plug in a cable you should get one as 2 and the other as 0 or 1#asahi · 2021-06-26 01:40
marcanyes, that is correct#asahi · 2021-06-25 15:41
marcanalso try flipping the cable on the FUSB side. the voltage should at least swap cleanly, if they don't then something is weird/asymmetric in your board/FUSB#asahi · 2021-06-25 15:39
marcantry a different cable? maybe something is strange...#asahi · 2021-06-25 15:39
marcanthe spec says 0.25V - 1.60V is the valid range for vRd (CC line)#asahi · 2021-06-25 15:38
marcanthe code configures the threshold at 0.2V#asahi · 2021-06-25 15:38
marcanor at least >0.2V or so#asahi · 2021-06-25 15:38
marcanit should be more like 1V#asahi · 2021-06-25 15:37
marcanbgb: those numbers are too low. 0.06 is nominal for vconn, but 0.08 is way too low for CC#asahi · 2021-06-25 08:53
marcanyou might also just have a short between the CCx pins :-)#asahi · 2021-06-25 08:36
marcanin theory it should work, but you know#asahi · 2021-06-25 08:36
marcanI'm not sure if anyone has ever tried an active cable like that#asahi · 2021-06-25 08:35
marcanyou might also want to try a non-thunderbolt cable#asahi · 2021-06-25 08:24
marcanbgb: measure the voltage on both CCx pins with a multimeter#asahi · 2021-06-25 08:14
marcaneither that or there's a short somewhere and both pins are connected together for some reason#asahi · 2021-06-25 08:13
marcancc1=1 cc2=1 is usually a sign that both CC pins are connected through, which means no standard cable in use and both pins incorrectly connected through to the mac#asahi · 2021-06-25 08:12
marcanbgb: you're using a male-male type C cable?#asahi · 2021-06-25 08:10
marcanbgb: yes#asahi · 2021-06-25 08:01
marcanbgb: are you using a 5V arduino and did you wire VBUS properly?#asahi · 2021-06-25 08:01
marcanbgb: the pulls are internal#asahi · 2021-06-25 06:17
marcanif the latter, did you connect both CC lines? if so, that's wrong, connect only one#asahi · 2021-06-25 06:17
marcanbgb: are you using a cable, or using a connector directly on the mac?#asahi · 2021-06-23 17:55
marcan(but I kind of hope this is backwards compatible to some extent)#asahi · 2021-06-23 17:55
marcanso all we need to do is have our installer slurp the blobs from their site if it comes to that#asahi · 2021-06-23 17:54
marcanAIUI Apple tends to leave their OSes up forever, and M1s don't have hard call home requirements, you can run OSes in permissive mode#asahi · 2021-06-23 17:54
marcanbloom: we can pin the version btw#asahi · 2021-06-23 17:53
marcanyes#asahi · 2021-06-23 17:53
marcanthat seems to be what they fill the stack with#asahi · 2021-06-23 17:53
marcanprobably a fixed sized uninitialized buffer they strcpied a string into or whatever#asahi · 2021-06-23 17:53
marcanit's 00 terminated#asahi · 2021-06-23 17:52
marcan"this property changed"#asahi · 2021-06-23 17:52
marcanI think it might be a registry notification#asahi · 2021-06-23 17:52
marcandon't ask me why#asahi · 2021-06-23 17:52
marcanbloom: seems to be just that string#asahi · 2021-06-23 17:24
marcanoff to sleep#asahi · 2021-06-23 17:23
marcanwe still need to implement DCP#asahi · 2021-06-23 17:23
marcanboth#asahi · 2021-06-23 17:20
marcanhttps://hub.marcan.st/t/dcplog.txt if anyone wants to stare at it#asahi · 2021-06-23 17:19
marcanall pushed#asahi · 2021-06-23 17:19
marcanj_ey: I think I got the general idea for messages right, though some things are still a bit strange#asahi · 2021-06-23 14:20
marcanwe might be able to get away with a reduced parser that only follows the expected parts of the structure and ignores the rest though#asahi · 2021-06-23 14:20
marcanbloom: hardcoding offsets is a no-go, that's going to break badly with firmware changes#asahi · 2021-06-23 11:10
marcanright now it's just dump the world every time to see what's moving#asahi · 2021-06-23 11:10
marcannot for the startup stuff, and once I have the actual command protocol interpreted it'll be much lighter of course#asahi · 2021-06-23 11:10
marcanthe whole thing is uber slow now because I dump *all* of the endpoing buffers in their entirety on *every* command :D#asahi · 2021-06-23 11:09
marcanso now time to implement that#asahi · 2021-06-23 11:09
marcanthere are at least two if more more command/buffer protocols involved here :p#asahi · 2021-06-23 11:09
marcandiffing big chunks in IOVA address space instead of dumping just the head page made everything show up