ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
linuxgemini180 has joined #asahi-dev
linuxgemini18 has quit [Ping timeout: 480 seconds]
<eiln_>
jannau: yeah, the engine region seems to be locked behind 5 then. weird the last two turn on though, whose domain is that?
<eiln_>
can you see if the 8th one turns on too?
<jannau>
updated, different content but do 7 and 8 actually turn anything on as the pmgr reg remains 0
<eiln_>
jannau: received, thank you so much. it looks like it's 6.
<eiln_>
so the kext turns on 5 to unlock the mmio region, then the fw turns on the last one... why are they playing games with power domains of all things
<sven>
huh, looks like the t8103 thunderbolt dart wasn't picked up for some reason
<sven>
guess i'll just send that series again :(
bps2 has quit [Ping timeout: 480 seconds]
<lina>
sven: And I never got a reply from Robin about what to do with the UAT IOMMU code... ;;
<lina>
I wonder if I should just do what DART did and reimplement it (except directly in Rust and not use io-pgtable at all...)
<sven>
:(
kettenis has joined #asahi-dev
kettenis_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
benpoulson has joined #asahi-dev
benpoulson has quit [Remote host closed the connection]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
benpoulson has joined #asahi-dev
billak has joined #asahi-dev
<maz>
shades of the same problem I had last year when building the installer from scratch: the 'core' crate appears to be missing, and I have no clue how to square that one (well, I managed it last year, but obviously paged it out since...)
<maz>
(yes, I'd like to get this m2 pro mini going...)
benpoulson has quit [Remote host closed the connection]
<jannau>
maz: just missing submodules? `git submode sync git submodule --init` should help then but `curl -L https://alx.sh/dev | sh` should support installing on m2 pro mini
<jannau>
you end up with the chainloaded m1n1 running in proxy mode since the dtb for the target is missing
<maz>
jannau: no amount of 'git submodule' seems to help, and I have the same error when building m1n1 with the CHAINLOAD option.
<maz>
I'll give the pre-build installer a go, which is likely the best option! ;-)
<maz>
"This device is not supported yet!"
<ChaosPrincess>
go to /tmp/asahi-installer and patch out the check
<jannau>
was that built before the m2* mini model numbers were fixed?
<maz>
yup, much happier now. I'll report back once I'm done with it (I'll probably need a pointer to a DT and such...)!
<jannau>
use 13.3 for installing, m1n1 main branch and asahi-wip in linux should work to the extent of what's supported, i.e. no display and gpu and no wifi/bt everything else should work
<maz>
jannau: brilliant! I seem to remember that u-boot works with the same constraints?
<jannau>
t6020 branch in u-boot
<marcan>
fixed the stupid trackpad stops working issue. I think what happens is sometimes the Broadcom touch controller freaks out, and then the STM times out and resets it. when that happens hid-magicmouse gets a report 0x60 and it has to re-send the HID report init/change packet to go back to regular MT mode.
<maz>
excellent. m1n1 is alive on the machine, thanks a bunch!
<jannau>
marcan: do you have more context? did this happen at plasma startup or randomly while it was running. if the latter any idea why it would create a new buffer
<marcan>
it happened when I first moved the mouse after plasma startup
<marcan>
could be the cursor
<jannau>
I'd start looking in the iommu code but I have no idea where. was that with or without lina's 4k patch?
<jannau>
based on version probably asahi-wip with the touchpad fixes
billak has quit [Remote host closed the connection]
<maz>
we're in business! a lot of thanks to everyone!
mamoos1 has quit [Ping timeout: 480 seconds]
<maz>
(hopefully I can now consider turning the M2 MBA into a real laptop and not just a dev board... ;-)
mamoos1 has joined #asahi-dev
<marcan>
jannau: it's asahi-wip plus spi debug stuff
<marcan>
now I'm trying to figure out why the reset report never makes it to hid-magicmouse, but only sometimes (usually the second time it happens) :/
korreckj328 has quit [Remote host closed the connection]
korreckj328 has joined #asahi-dev
<marcan>
[ 65.477961] apple_ll_close
<marcan>
lol okay.
<marcan>
the desktop environment closes the trackpad device when you close the lid. that makes sense but... yeah, then I lose the "omg reset" report sometimes.
<marcan>
I guess I have to make magicmouse send the init command unconditionally on every device open
steffen[m] has quit [Remote host closed the connection]
steffen[m] has joined #asahi-dev
<marcan>
well... there's no hook for that, lovely
<marcan>
so instead I guess we just keep the LL device open
<marcan>
not that there's any power disadvantage to doing that right now, it does not actually shut down anything in the LL driver, so meh
steffen[m] has quit [Remote host closed the connection]
mamoos1 has quit [Ping timeout: 480 seconds]
WindowPa- has joined #asahi-dev
steffen[m] has joined #asahi-dev
<marcan>
well I guess I could mutate the input device
<marcan>
maybe that's a better idea
WindowPain has quit [Ping timeout: 480 seconds]
steffen[m] has quit [Remote host closed the connection]
steffen[m] has joined #asahi-dev
mamoos1 has joined #asahi-dev
<marcan>
pushed
<marcan>
I *want* to say the spihid stuff might finally be stable now :)
mamoos1 has quit [Quit: Lost terminal]
bcrumb has joined #asahi-dev
djorz has quit [resistance.oftc.net reflection.oftc.net]
steven has quit [resistance.oftc.net reflection.oftc.net]
balrog has quit [resistance.oftc.net reflection.oftc.net]
msteffen has quit [resistance.oftc.net reflection.oftc.net]
_rudi has quit [resistance.oftc.net reflection.oftc.net]
zjstraus has quit [resistance.oftc.net reflection.oftc.net]
bpye has quit [resistance.oftc.net reflection.oftc.net]
nyx_o has quit [resistance.oftc.net reflection.oftc.net]
zzywysm has quit [resistance.oftc.net reflection.oftc.net]
enron has quit [resistance.oftc.net reflection.oftc.net]
CoolStar_ has quit [resistance.oftc.net reflection.oftc.net]
zalyx0 has quit [resistance.oftc.net reflection.oftc.net]
apalos has quit [resistance.oftc.net reflection.oftc.net]
refi64 has quit [resistance.oftc.net reflection.oftc.net]
kode54 has quit [resistance.oftc.net reflection.oftc.net]
jlco has quit [resistance.oftc.net reflection.oftc.net]
lawt has quit [resistance.oftc.net reflection.oftc.net]
weitcis has quit [resistance.oftc.net reflection.oftc.net]
Method has quit [resistance.oftc.net reflection.oftc.net]
soonercane has quit [resistance.oftc.net reflection.oftc.net]
turo has quit [resistance.oftc.net reflection.oftc.net]
Leo3418 has quit [resistance.oftc.net reflection.oftc.net]
TheFirst has quit [resistance.oftc.net reflection.oftc.net]
xaiki has quit [resistance.oftc.net reflection.oftc.net]
nathanchance has quit [resistance.oftc.net reflection.oftc.net]
liszt has quit [resistance.oftc.net reflection.oftc.net]
codingkoopa3 has quit [resistance.oftc.net reflection.oftc.net]
skoobasteeve has quit [resistance.oftc.net reflection.oftc.net]
cyrozap has quit [resistance.oftc.net reflection.oftc.net]
tbodt has quit [resistance.oftc.net reflection.oftc.net]
mokou has quit [resistance.oftc.net reflection.oftc.net]
ids1024 has quit [resistance.oftc.net reflection.oftc.net]
emptynine has quit [resistance.oftc.net reflection.oftc.net]
eigenform has quit [resistance.oftc.net reflection.oftc.net]
rcombs has quit [resistance.oftc.net reflection.oftc.net]
argonaut has quit [resistance.oftc.net reflection.oftc.net]
tmlind has quit [resistance.oftc.net reflection.oftc.net]
Poplar has quit [resistance.oftc.net reflection.oftc.net]
tpw_rules has quit [resistance.oftc.net reflection.oftc.net]
Skirmisher has quit [resistance.oftc.net reflection.oftc.net]
Gaelan_ has quit [resistance.oftc.net reflection.oftc.net]
Avaflow has quit [resistance.oftc.net reflection.oftc.net]
tmlind has joined #asahi-dev
mokou has joined #asahi-dev
TheFirst has joined #asahi-dev
lawt has joined #asahi-dev
msteffen has joined #asahi-dev
xaiki has joined #asahi-dev
skoobasteeve has joined #asahi-dev
turo has joined #asahi-dev
weitcis has joined #asahi-dev
tpw_rules has joined #asahi-dev
tbodt has joined #asahi-dev
Poplar has joined #asahi-dev
Avaflow has joined #asahi-dev
cyrozap has joined #asahi-dev
codingkoopa3 has joined #asahi-dev
liszt has joined #asahi-dev
kode54 has joined #asahi-dev
zjstraus has joined #asahi-dev
CoolStar_ has joined #asahi-dev
nyx_o has joined #asahi-dev
Leo3418 has joined #asahi-dev
soonercane has joined #asahi-dev
Gaelan has joined #asahi-dev
balrog has joined #asahi-dev
Method has joined #asahi-dev
rcombs has joined #asahi-dev
nathanchance has joined #asahi-dev
argonaut has joined #asahi-dev
Skirmisher has joined #asahi-dev
emptynine has joined #asahi-dev
ids1024 has joined #asahi-dev
zalyx0 has joined #asahi-dev
_rudi has joined #asahi-dev
enron has joined #asahi-dev
bpye has joined #asahi-dev
refi64 has joined #asahi-dev
zzywysm has joined #asahi-dev
steven has joined #asahi-dev
bcrumb has quit [Quit: WeeChat 3.8]
apalos has joined #asahi-dev
WindowPain has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
___nick___ has quit []
WindowPa- has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
<jannau>
marcan: as long as the touchbar drivers are ignored be kde and gnome it would make sense it include and build them in the edge kernel to make user space development simpler
* jannau
still needs to convince ChaosPrincess to remove the software rotation from the driver
<ChaosPrincess>
its at least a tiny bit useful with sw rotation
<ChaosPrincess>
actually, if you tell me how to get vertical stride from framebuffer, i can remove the rotation :P
<jannau>
the driver is to serve special user space programm(s) to be written from scratch so it should take the panel orientation into account from the beginning
<ChaosPrincess>
actually, i think im confusing myself
<jannau>
my understanding how it is supposed to work is that the driver exports a mode of 60x2008. user space uses then fb with 60 (stride 64) by 2008 pixels with pre-rotated content. I suspect your vertical stride is then inside pitches
korreckj328 has quit [Ping timeout: 480 seconds]
<marcan>
jannau: yeah, that's the only blocker as far as I'm concerned