2022-04-13
00:37jakebot has quit [Quit: The Lounge - https://thelounge.chat]
00:37jakebot has joined #asahi-dev
00:57yuyichao_ has quit [Ping timeout: 480 seconds]
01:10chadmed_ has joined #asahi-dev
01:10chadmed has quit [Read error: Connection reset by peer]
01:39yuyichao_ has joined #asahi-dev
01:45c10l6 has joined #asahi-dev
02:14jakebot has quit [Quit: The Lounge - https://thelounge.chat]
02:17xet7 has joined #asahi-dev
02:39xet7 has quit [Remote host closed the connection]
02:50PhilippvK has joined #asahi-dev
02:53phiologe has quit [Ping timeout: 480 seconds]
03:29kov has quit [Quit: Coyote finally caught me]
03:29nicolas17 has quit [Quit: Konversation terminated!]
03:29kov has joined #asahi-dev
04:13balrog has quit [Quit: Bye]
04:13balrog has joined #asahi-dev
04:13Ariadne has quit [Read error: Connection reset by peer]
04:14Ariadne has joined #asahi-dev
05:53alexsv has joined #asahi-dev
06:17alexsv has quit [Ping timeout: 480 seconds]
06:26the_lanetly_052___ has joined #asahi-dev
06:27boardwalk has quit [Quit: Ping timeout (120 seconds)]
06:28boardwalk has joined #asahi-dev
06:32the_lanetly_052__ has quit [Ping timeout: 480 seconds]
06:36marcanat this point I'd almost consider dropping that mailbox driver, moving the register pokes to something near rtkit, and just having it follow the existing DT binding... especially if it takes more than a day or so to make this mess work with the RTKit refactoring
06:36marcanthat thing is holding us back and provides, as far as I can tell, absolutely zero actual useful benefit/code at this point
06:38marcanI'm okay with us spending time yak shaving stuff like sleep, but there is no way this much pain is justified for a couple mailbox registers with dedicated IRQs and hardware FIFOs we aren't even using
06:45kevans91kettenis: https://github.com/openbsd/src/blob/master/sys/arch/arm64/dev/aplpmgr.c#L146 -> should respect on? I suppose you don't want to disable_all on the way off, though
06:51svenif that doesn’t work I can at least send out rtkit the way it is now and we can “fix” then mailbox crap once you upstream SMC
07:03boardwalk has quit [Quit: Ping timeout (120 seconds)]
07:03boardwalk has joined #asahi-dev
07:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:29jluthra has quit [Remote host closed the connection]
07:30jluthra has joined #asahi-dev
08:21gladiac has quit [Quit: k thx bye]
08:21gladiac has joined #asahi-dev
08:56ketteniskevans91: yes that needs more work to support suspend/resume and runtime power management
10:04r_rei[m] has joined #asahi-dev
10:05the_lanetly_052___ has quit [Remote host closed the connection]
10:06the_lanetly_052___ has joined #asahi-dev
10:21millenialhacker has joined #asahi-dev
10:23millenialhackerHi, regarding missing hw support, who are items that are already WIP by other members?
10:24jakebot has joined #asahi-dev
10:27kettenisI was going to say that you're not allowed to work on new stuff before nvme has been upstreamed ;)
10:27millenialhackerCool, has anyone tried to get full power management?
10:28millenialhackermmm, webcam sounds look a good start, I'm not a HW engineer, but want to do something for learning and fun
10:28j`eysven: dont listen to kettenis! do whatever you want!.. just make sure what you want to do is upstreaming nvme!
10:28chadmed_last i heard about PM was that some stuff we need to work is being blocked upstream by some neccessary changes to PSCI not being there yet
10:28mps_ has joined #asahi-dev
10:30mps has quit [Ping timeout: 480 seconds]
10:37millenialhackerWhat's preventing nvme to be upstreamed?
10:59mps_ is now known as mps
11:15mazthe main thing is to keep the versions coming once a week. once you reach the point where you have a couple of consequtive versions without any significant comment, the maintainer is likely to pick it up.
11:19millenialhackerThat's a good technique, at work I called digestible CRs
11:19millenialhackerThere is always rejection to big chunk of codes no matter what
11:21mazthe volume doesn't really change here. it is about posting regularly new updates to the series, making sure it is always fresh in the reviewer's head.
11:22mazI'm definitely likely to drop series if the author only posts once per cycle, and I'm sure I'm not the only one.
11:23millenialhackerA function of volume and frequency I would say
11:28PhilippvK has quit [Quit: No Ping reply in 180 seconds.]
11:29phiologe has joined #asahi-dev
11:45millenialhacker has quit [Quit: Konversation terminated!]
11:46millenialhacker has joined #asahi-dev
12:03the_lanetly_052___ has quit [Remote host closed the connection]
12:04the_lanetly_052___ has joined #asahi-dev
12:09Jamie[m]1i did some RE/exploitation of a Windows Hello fingerprint sensor a couple of years ago, it established a TLS-PSK connection between the sensor's STM32 and the SGX applet
12:09chadmed_we know the "true" biometrics are stored in the SEP and that there is communication directly between the two
12:09chadmed_i havent seen anything to suggest that we can get useful data out of it without SEP however happy to be proven wrong
12:10matthewayers[m]I wonder if the fingerprint sensor is hard-wired to a secure enclave on a hardware level
12:10Jamie[m]1yeah tbh I wouldn't want to build a driver that encourages people to store their unchangable credentials anywhere but a secure enclave
12:11chadmed_unless it is somehow exposed transparently over bluetooth as a separate serial device to the rest of the keyboard or something
12:11kameks has joined #asahi-dev
12:11matthewayers[m]It seems like it could be? That’s a good point
12:12matthewayers[m]It probably encrypts the data and sends it over as a string of text like typing on a keyboard
12:12matthewayers[m]And whatever prompt asking for it will listen for input only from the fingerprint sensor “key”
12:15svenI know that it's fingerprint sensor <--SPI--> CPU <--> SEP sbio endpoint but i don't know much about the protocol itself
12:16Jamie[m]1sven: i don't see any mention of fingerprint/touch.?id in ioreg, am i grepping for the wrong stuff or is it not in there?
12:22Jamie[m]1which makes sense because that was broken in ways apple definitely wouldn't have accepted lol
12:27matthewayers[m]Maybe we’ll have to wait until Apple releases a repair manual for the MBP and (hopefully) talks about Touch ID replacement
12:31Shiz has joined #asahi-dev
12:58chadmed_not really. we know the address it's on, we know it's an spi device and we know what apple call it so we can figure it out by tracing what macos does with it when its use is required
12:59chadmed_my concern is just that it's pretty useless without SEP so without knowing how SEP deals with it theres no real point
12:59xet7 has joined #asahi-dev
13:00chadmed_it would be exceedingly dumb to have touch id support before SEP and then have users storing their biometrics pretty much in the clear in main storage
13:07Shiz has quit [Ping timeout: 480 seconds]
13:12thevar1able has joined #asahi-dev
13:17robinp has quit [Remote host closed the connection]
13:25thevar1able has quit [Quit: Textual IRC Client: www.textualapp.com]
13:25thevar1able has joined #asahi-dev
13:26thevar1able has quit []
13:26thevar1able has joined #asahi-dev
13:30thevar1able has quit []
13:30willow[m]1 has joined #asahi-dev
13:31thevar1able has joined #asahi-dev
13:32thevar1able has quit []
13:33kameks has quit [Ping timeout: 480 seconds]
13:33willow[m]1 has left #asahi-dev [#asahi-dev]
13:37willow[m]1 has joined #asahi-dev
13:43yuyichao_ has quit [Ping timeout: 480 seconds]
13:56bisko has joined #asahi-dev
13:56xet7 has quit [Remote host closed the connection]
14:01bisko has quit []
14:04yuyichao_ has joined #asahi-dev
14:13bisko has joined #asahi-dev
14:16bisko has quit []
14:25thevar1able has joined #asahi-dev
14:28millenialhacker has quit [Quit: Konversation terminated!]
14:33thevar1able has quit [Ping timeout: 480 seconds]
14:39alexsv has joined #asahi-dev
14:41roxfan2 has joined #asahi-dev
14:46roxfan has quit [Ping timeout: 480 seconds]
14:59millenialhacker has joined #asahi-dev
14:59millenialhacker has quit []
14:59bisko has joined #asahi-dev
15:00bisko has quit []
15:03___nick___ has joined #asahi-dev
15:03___nick___ has quit []
15:05___nick___ has joined #asahi-dev
15:05bisko has joined #asahi-dev
15:06thevar1able has joined #asahi-dev
15:16bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:20yrlf has quit [Quit: The Lounge - https://thelounge.chat]
15:21yrlf has joined #asahi-dev
15:22thevar1able has quit [Ping timeout: 480 seconds]
15:24bisko has joined #asahi-dev
15:33bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:46sventhe sensor will likely only reply to pairing requests which expect to get data back signed by some private key hidden inside the SEP
15:46svenand any further requests (i.e. "get fingerprint") will then be encrypted with a key they negotiated
15:49c10l6 has quit []
15:56bisko has joined #asahi-dev
16:11thevar1able has joined #asahi-dev
16:14thevar1able has quit []
16:23bisko has quit [Read error: Connection reset by peer]
16:24nicolas17 has joined #asahi-dev
16:24bisko has joined #asahi-dev
16:42bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:47bisko has joined #asahi-dev
16:50bisko has quit []
17:03bisko has joined #asahi-dev
17:07roxfan2 is now known as roxfan
17:08svenjannau: https://github.com/AsahiLinux/linux/commit/dcc9c30aa40607a6c8762f3a6a6b7a0471ea7605 i'm a bit concerned because it compiled and worked on the first try though ;)
17:08svendunno if I want to keep that apple_rtkit_send_message api change, that's left from my first approach that I then discarded
17:20bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:56nicolas17 has quit [Quit: Konversation terminated!]
18:25user982492 has joined #asahi-dev
18:29user982492 has quit []
18:32bisko has joined #asahi-dev
18:37bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:39bisko has joined #asahi-dev
18:41possiblemeatball has quit [Quit: left]
18:48user982492 has joined #asahi-dev
18:48rqou_chadmed_: "i dont think anyone's had a real look at the webcams, SEP or neural engine" <-- geohot has done some work on neural engine independent of the asahi project
18:50bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:12user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:19bisko has joined #asahi-dev
19:38bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:42bisko has joined #asahi-dev
19:52bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:26Major_Biscuit has joined #asahi-dev
20:44Major_Biscuit has quit [Ping timeout: 480 seconds]
21:05alexsv has quit [Ping timeout: 480 seconds]
21:12Major_Biscuit has joined #asahi-dev
21:20ar has quit [Remote host closed the connection]
21:20ar has joined #asahi-dev
21:22ar has quit [Remote host closed the connection]
21:23ar has joined #asahi-dev
22:03user982492 has joined #asahi-dev
22:06Major_Biscuit has quit [Ping timeout: 480 seconds]
23:36user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:42user982492 has joined #asahi-dev
23:43nicolas17 has joined #asahi-dev