#
✕ nick:kloenk
#asahi-dev · 2026-05-19 08:14
kloenkhomepod mini also has no debugusb (and thats the end of devices I have right now :) )
#asahi-dev · 2026-05-19 08:10
kloenksadly airpods don't reply xP
#asahi-dev · 2026-02-05 15:48
kloenkwrote with yukain the meantime and found the ml :)
#asahi-dev · 2026-02-05 15:47
kloenkjannaunot sure I parse correclty. the first sentence is superseeded by you seeing my mail? :)
#asahi-dev · 2026-02-05 14:24
kloenkno, but thanks. have my b4 setup and all that, favor that over github web ui shit :)
#asahi-dev · 2026-02-05 14:20
kloenkjust wish I could do it without forking and then fighting with github :)
#asahi-dev · 2026-02-05 14:13
kloenkwill do a gh pr in a bit
#asahi-dev · 2026-02-05 14:13
kloenkit's not in upstream. otherwise would just have send it to miguel :)
#asahi-dev · 2026-02-05 14:10
kloenkjust discovered that linux asahi-6.18.7-2 does not build without "RUST_FW_LOADER_ABSTRACTIONS". Looks like a copy past error. but also actually using kconfig more complex and I actually did include a shortcut to catch this. what is the prefered way to contibute to the linux tree? gh pr or mail as with other linux trees?
#asahi-dev · 2022-09-12 20:18
kloenkMailbox would make it easier to have a more generic reactor
#asahi-dev · 2022-09-12 20:18
kloenkmarcan: oh, what will be used instead of mailbox?
#asahi-dev · 2022-09-12 17:40
kloenkAs soon as I have time to maybe maybe understand the Mailbox framework, I plan to look, if it would make sense writing async for that, and the port RTkit to async rust. But sadly time is always not enough
#asahi-dev · 2022-09-12 17:39
kloenkand the NVMe driver is not async, wonder what that will do.
#asahi-dev · 2022-07-10 18:48
kloenkPartaly only there, as I'm not sure it's correct what I'm doing. I just could write it, and then write rtkit, and only then test. not sure what is better/easier
#asahi-dev · 2022-07-10 18:35
kloenkCurrently writing the abstraction about the mailbox framework in rust, to implement RTKit, but can't figure out how to best test it. the mailbox-test driver sounds promising, but no clue how to use it with e.g. qemu. Does anyone know how/if it is possible?
#asahi-dev · 2022-06-30 19:44
kloenkEither way, good night :)
#asahi-dev · 2022-06-30 19:44
kloenkI could do a enum with an anonymous struct. one u8 for the value of it, and one bool if its's reply or not
#asahi-dev · 2022-06-30 19:41
kloenkOkay, will have to see how to do it best. Could do const, but enum has a bit nicer syntax IMHO
#asahi-dev · 2022-06-30 19:39
kloenksame with "APPLE_RTKIT_MGMT_SET_AP_PWR_STATE" (rust can't have that in enums, so can only define it once)
#asahi-dev · 2022-06-30 19:38
kloenk"APPLE_RTKIT_MGMT_EPMAP"and "APPLE_RTKIT_MGMT_EPMAP_REPLY" have the same value, is that intentional?
#asahi-dev · 2022-06-30 19:31
kloenkEP in "APPLE_RTKIT_EP_MGMT"
#asahi-dev · 2022-06-30 19:31
kloenkFor what does EP stand? Doing the enums right now, and then to bed, Uni tomorrow
#asahi-dev · 2022-06-30 19:28
kloenkIt's in the rtkit internal header
#asahi-dev · 2022-06-30 19:28
kloenkThis one is the line I'm not sure how complicated it will be: "DECLARE_BITMAP(endpoints, APPLE_RTKIT_MAX_ENDPOINTS);"
#asahi-dev · 2022-06-30 19:18
kloenkAFK right now. Will look again when back. Could be that I remember wrong and that was a different file
#asahi-dev · 2022-06-30 19:15
kloenkSaw some bitmaps. They will be a bit to implement IIRC. And exporting it to C is not really possible yet. But should be manageable, maybe even quite automatic and I just have to write the header for now
#asahi-dev · 2022-06-30 18:58
kloenkWhich branch should I look at, so see how the RTKit adapter works? Just want to look at it, and see how hard it would be to write in rust
#asahi-dev · 2022-02-03 16:55
kloenkthe installer is python in userspace? or how was that written?
#asahi-dev · 2022-02-02 09:16
kloenkmarcan: I'm sorry If I'm too fast for you. I will for now continue on my gpt crate, to make that easier/more stable to use.
#asahi-dev · 2022-02-02 09:03
kloenkNo, but would like to upstream it then
#asahi-dev · 2022-02-02 08:51
kloenkChaosPrincess: would it be a good idea to include the block size as a const in the block_device trait?
#asahi-dev · 2022-02-01 18:57
kloenkyes, plan to implement it. The current commit is more or less WIP, I'm building a dedicated GPT library, that also verifies the second header
#asahi-dev · 2022-02-01 18:57
kloenkoh yeah, looked at a different ipml :)
#asahi-dev · 2022-02-01 18:56
kloenk*replace
#asahi-dev · 2022-02-01 18:56
kloenkChaosPrincess: Maybe then you should BlockDevice's write with a direct error, so it's completely forbidden
#asahi-dev · 2022-02-01 18:54
kloenkyeah, fair point
#asahi-dev · 2022-02-01 18:52
kloenkokay, it would be quite easy though :)
#asahi-dev · 2022-02-01 18:52
kloenk> Software should ask a user for confirmation before restoring the primary GPT and must report whenever it does modify the media to restore a GPT.
#asahi-dev · 2022-02-01 18:52
kloenkThe spec only says it has to print a warning, not that user entry is required to fix a gpt header
#asahi-dev · 2022-02-01 18:51
kloenkDoes m1n1 have gui? (Asking because what should happen if one of the two gpt headers are broken)
#asahi-dev · 2022-02-01 18:37
kloenkyes, in a sec
#asahi-dev · 2022-02-01 17:51
kloenkNot sure yet. we could also include the signature in the bin file
#asahi-dev · 2022-02-01 17:49
kloenkah yeah, think nixos uses it as well. I use it for ssh
#asahi-dev · 2022-02-01 17:48
kloenkthat exact library?
#asahi-dev · 2022-02-01 17:47
kloenkAFAIK the plan is to use https://crates.io/crates/ed25519-dalek
#asahi-dev · 2022-02-01 16:53
kloenkOr like that
#asahi-dev · 2022-02-01 16:53
kloenkBut afk right now. Send my your username, and I’ll give you access as soon as possible
#asahi-dev · 2022-02-01 16:52
kloenkCan you give me some time. I would suggest giving you access to my m1n1 fork. And then putting it there as a workspace member
#asahi-dev · 2022-02-01 15:23
kloenkfirst will continue on my nogpt library
#asahi-dev · 2022-02-01 15:23
kloenkoh, git did that. uff. yeah, will have to fix that

plus ›