#
#asahi-re · 2022-04-17 11:02
svenyeah, that’s what I’d expect
#asahi-re · 2022-04-17 10:59
chadmedoh the command buffer for the fingerprint sensor is encrypted in both directions after the power on sequence
#asahi-re · 2022-04-17 08:08
marcanobviously I can't stop people from going off and doing whatever they want outside the project
#asahi-re · 2022-04-17 08:07
marcanthe point is we're trying to keep everything developed as part of the Asahi Linux project legally in the clear
#asahi-re · 2022-04-17 08:07
marcanI mean you can share it too, that's your own choice; that policy is about the project as a whole
#asahi-re · 2022-04-17 08:07
millenialhackerThat was a rhetorical question :)
#asahi-re · 2022-04-17 08:06
millenialhacker(but nothings prevents to write my own driver as long as I do not share it, right?)
#asahi-re · 2022-04-17 08:05
marcanthen we're good :)
#asahi-re · 2022-04-17 08:05
millenialhackerI know, the clean room stuff
#asahi-re · 2022-04-17 08:05
marcansame thing; keep in mind that if you're reverse engineering the kext then you can't contribute to the Linux driver a priori
#asahi-re · 2022-04-17 08:04
millenialhackerApple's Camera KEXT*
#asahi-re · 2022-04-17 08:04
millenialhackerBoot-args I found was by RE init process in Apple's Facetime KEXT
#asahi-re · 2022-04-17 08:04
millenialhackerOh, marcan I only paste the link for sake of research but I haven't dive into it.
#asahi-re · 2022-04-17 08:03
marcanI meant the facetimehd driver
#asahi-re · 2022-04-17 08:02
millenialhackerI have read it a couple of days ago
#asahi-re · 2022-04-17 08:02
millenialhackerAre logs falling under "Referencing other open source project" ? or marcan was referring to some bits I got from strings dumped?
#asahi-re · 2022-04-17 08:02
jannauthis was 1 hour ago (07:00 UTC)
#asahi-re · 2022-04-17 08:02
j`eymillenialhacker: have you read https://asahilinux.org/copyright ?
#asahi-re · 2022-04-17 07:59
millenialhackerSorry, I just closed the laptop (it was 2am) and off course it's got disconnected
#asahi-re · 2022-04-17 07:56
jannaumillenialhacker: marcan was speaking to you after you were disconnected
#asahi-re · 2022-04-17 07:55
millenialhackerWhat do you mean?
#asahi-re · 2022-04-17 07:55
jannauhttps://oftc.irclog.whitequark.org/asahi-re/2022-04-17#30849834;
#asahi-re · 2022-04-17 07:54
jannaumillenialhacker: marcan> can someone tell them to stick around next time they show up? Or otherwise check logs.
#asahi-re · 2022-04-17 07:02
marcancan someone tell them to stick around next time they show up? Or otherwise check logs.
#asahi-re · 2022-04-17 07:02
marcan20:41:29 < marcan> this falls under the section "Referencing other open source code" and in particular the aution about Apple-specific stuff
#asahi-re · 2022-04-17 07:02
marcan20:41:06 < marcan> millenialhacker: reminder to read https://asahilinux.org/copyright/
#asahi-re · 2022-04-17 07:02
marcanI never got an ack on
#asahi-re · 2022-04-17 07:02
marcanoh, they're gone...
#asahi-re · 2022-04-17 07:01
marcanyou don't care about how the camera works, you only care about what interface ISP exposes for it over the mailbox
#asahi-re · 2022-04-17 07:01
marcanmillenialhacker: everything should be controlled via ISP over the RTKit interface. RTKit fundamentally uses 64-bit messages and shared memory for everything.
#asahi-re · 2022-04-17 07:00
marcanabsolutely no reason to believe the SEP has anything to do with the camera on these platforms until proven otherwise
#asahi-re · 2022-04-17 07:00
marcanthere is no control line from the SEP on M1 Pro/Max and a good chance the one GPIO from the SEP on M1 doesn't do anything
#asahi-re · 2022-04-17 07:00
marcanrobinp: that "security switch" is just the thing that turns off the mic/camera when the lid is closed
#asahi-re · 2022-04-17 05:16
robinpmillenialhacker: where did you get those cam debug stings from ?
#asahi-re · 2022-04-17 04:51
chadmedi still dont know where this 0x2 is coming from and what that endpoint is trying to do with it, but this is progress i guess
#asahi-re · 2022-04-17 04:49
chadmedbut if i try to do that after removing my finger, the pages are unmapped
#asahi-re · 2022-04-17 04:48
chadmedhmm so the sio dart seems to map the memory range with the fingerprint data in it _only_ while youre actively touching the sensor. if i break into the hypervisor while touching, i can add that range to RegMonitor, poll it, and get a huge dump of data
#asahi-re · 2022-04-17 04:30
chadmedi dont _think_ the offsets im reading out of the iova block are wrong since size always returns 0x7200 when you put your finger down
#asahi-re · 2022-04-17 04:28
chadmedobviously trying to map that fai;s because its not real or properly aligned
#asahi-re · 2022-04-17 04:27
chadmedand the 0x18 endpoint of mesa only ever tries to touch that when you put your finger on it?
#asahi-re · 2022-04-17 04:27
chadmedhuh so the unmapped iova is apparently at 0x2?
#asahi-re · 2022-04-17 01:29
chadmedas for DPE, no clue
#asahi-re · 2022-04-17 01:29
chadmedmy first guess would be apple scaling engine or something to that effect
#asahi-re · 2022-04-17 01:28
rqou_yeah, scalers
#asahi-re · 2022-04-17 01:28
chadmedin what context? the scalers?
#asahi-re · 2022-04-17 01:26
rqou_anybody happen to know what a "ASE" might be? or what a "DPE" might be?
#asahi-re · 2022-04-17 01:26
chadmedgenerating those mmio traces will probably be more useful than trying to decipher the censored XNU boot logs and decompiled kext since we know what interfaces it talks over
#asahi-re · 2022-04-17 01:25
chadmedmillennialhacker: you can write a tracer for the hypervisor to snoop memory accesses to the camera's MMIO. see the tracers in proxyclient/hv/ for examples
#asahi-re · 2022-04-17 01:22
rqou_also each tiny group of registers is managed by its own set of classes
#asahi-re · 2022-04-17 01:20
rqou_and the driver is implemented as a giant chain of classes inheriting from each other, one for each hardware version

plus ›