#
✕ nick:integralpilot
#asahi-dev · 2026-01-06 05:25
integralpiloti'll start prototyping some ideas i had re. that and see if any work
#asahi-dev · 2026-01-06 05:25
integralpilotit is a bit messy so maybe that would be ideal
#asahi-dev · 2026-01-06 05:19
integralpilotmaybe a future 4th series adds trackpad support but that's really messy currently as i think it's partially grafted onto the (already existing upstream) driver for the USB/bluetooth magic mouse and not as important as keyboard
#asahi-dev · 2026-01-06 05:17
integralpilot*the previous ones
#asahi-dev · 2026-01-06 05:17
integralpiloteach is dependent on each other
#asahi-dev · 2026-01-06 05:17
integralpilot3rd series introduces dockchannel hid for keyboard
#asahi-dev · 2026-01-06 05:17
integralpilot2nd series introduces the dockchannel protocol
#asahi-dev · 2026-01-06 05:17
integralpilot1st series introduces the RTKit helper
#asahi-dev · 2026-01-06 05:16
integralpilotokay i've been researching how best to upstream MTP keyboard support i think i've decided it's best split into 3 series
#asahi-dev · 2026-01-06 03:12
integralpilotgoodnight!
#asahi-dev · 2026-01-06 03:02
integralpiloti recall doing something similar but undid it after i got it working and forgot exactly how, sorry
#asahi-dev · 2026-01-06 02:58
integralpilotcould you make it so m1n1 adds a BP for the address its about to jump to when it jumps to the kernel, then you can watch everything from the start?
#asahi-dev · 2026-01-06 02:54
integralpilotlooking through it now
#asahi-dev · 2026-01-06 02:50
integralpilotactually wait by the time start_kernel is called i think we've already switched to virtual memory because of the assembly that runs before it, sorry
#asahi-dev · 2026-01-06 02:48
integralpilotit's so fine, happy to help! i don't know much about linux early boot either, just inferring from my experience making my own (really bad) simple OSes
#asahi-dev · 2026-01-06 02:46
integralpilotalso, i think set_sym_bp will use the virtual higher half address but when start_kernel is called we haven't switched to higher half yet and are still running in 0x10... rather than 0xfff... so the breakpoint will never hit (take this with a grain of salt, i'm not 100% sure)
#asahi-dev · 2026-01-06 02:45
integralpilotre. breakpoint not working, maybe it never gets there? looking at your traceback it looks to not even be in the part of the kernel with symbols which is super weird
#asahi-dev · 2026-01-06 02:44
integralpiloti know nothing about graphics except for when i made a terrible godot 2d game so i might be misunderstanding the results though
#asahi-dev · 2026-01-06 02:39
integralpilothmmm i've been doing some experiments with M3 GPU and the actual kernel DRM driver seems to be doing okay and might just need a little bit of modification unless i'm interpreting what's happening wrong (don't know too much about graphics)? i assume most of the work would then would be in mesa / the userspace stuff
#asahi-dev · 2026-01-05 22:42
integralpilot*then
#asahi-dev · 2026-01-05 22:40
integralpilotfor BPs as soon as you see EL1 m1n1 come on, immediately press ^C before it starts Linux and you can set a breakpoint the
#asahi-dev · 2026-01-05 19:56
integralpilotthe hypervisor’s own shell is quite well featured though and has like everything you could need, thanks to the ppl who made it!
#asahi-dev · 2026-01-05 19:54
integralpilotgdbserver didn’t work for me :(
#asahi-dev · 2026-01-05 19:53
integralpilotstep has been working well for me, used it extensively when doing XNU bring up
#asahi-dev · 2026-01-05 19:35
integralpilotif you press ^C and then type “bt”, what’s the kernel up to?
#asahi-dev · 2026-01-05 19:16
integralpilotbut if it’s causing you issues there’s no harm in just skipping m1n1 cpufreq for now as it’s just early bring up so not important
#asahi-dev · 2026-01-05 19:15
integralpilotI know t8122 does that not supported thing, got mixed up not sure about t6030 I’ll see
#asahi-dev · 2026-01-05 19:14
integralpilotwait sorry I might be remembering wrong
#asahi-dev · 2026-01-05 19:13
integralpilott6030 just goes “cpufreq: not supported on this chip” and m1n1 doesnt bother (though Linux has working cpufreq b/c of the device tree I made) so perhaps your issue is with m1n1 cpufreq somewhere and you should just skip it for now?
#asahi-dev · 2026-01-05 12:58
integralpiloti think it's fine though, it's late here so i have to log off now
#asahi-dev · 2026-01-05 12:58
integralpilotoh no git defaulted to me in From, i thought it changed it. b4 doens't use outgoing folder?
#asahi-dev · 2026-01-05 12:56
integralpilotdone! :)
#asahi-dev · 2026-01-05 12:56
integralpiloti've checked and i think it's alright, i'm going to send it now
#asahi-dev · 2026-01-05 12:27
integralpilotmy version: https://github.com/IntegralPilot/linux-next/blob/smc-power/drivers/power/supply/macsmc-power.c
#asahi-dev · 2026-01-05 12:27
integralpilotoriginal: https://github.com/AsahiLinux/linux/blob/df583f4d7a597821e124f2738eab95530ac49bb3/drivers/power/supply/macsmc-power.c
#asahi-dev · 2026-01-05 12:26
integralpilotpushed to https://github.com/IntegralPilot/linux-next, smc-power branch
#asahi-dev · 2026-01-05 11:48
integralpilotwill do, thank you
#asahi-dev · 2026-01-05 11:42
integralpilotim not sure if it's considered significant changes, though.
#asahi-dev · 2026-01-05 11:20
integralpilotthank you!
#asahi-dev · 2026-01-05 11:18
integralpilotdo i add Signed-off-by marcan too or no as he hasn't seen and approved the final version
#asahi-dev · 2026-01-05 11:14
integralpilotthere's some false positives where it things a string literal in the SMC key macro is a subtraction (it's AC-i) and it wants spaces is that okay to ignore?
#asahi-dev · 2026-01-05 11:14
integralpiloti've been using strict
#asahi-dev · 2026-01-05 11:11
integralpilotthank you for the help and recommendation!
#asahi-dev · 2026-01-05 11:06
integralpilot(i'd use his full name and email just truncating for IRC)
#asahi-dev · 2026-01-05 11:05
integralpilotjust getting the messages ready now, is it okay to have Co-developed-by marcan? i want to make sure i've got the right credit for the base driver i worked off (i added a note about this in the cover letter too)
#asahi-dev · 2026-01-05 10:52
integralpilotyay!
#asahi-dev · 2026-01-05 10:20
integralpilotit works!!
#asahi-dev · 2026-01-05 10:08
integralpilotbusybox-as-init helps cause i can just write a massive shell script to test everything in the sysfs
#asahi-dev · 2026-01-05 10:07
integralpilotmoment of truth doing the final power test 🤞
#asahi-dev · 2026-01-05 09:59
integralpilotleaning towards MTP as it's annoying to not be able to type/run terminal commands when testing on linux-next

plus ›