marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
bgb has joined #asahi
chamomile has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
<steev> jannau: you didn't commit the patch?
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
chamomile has quit [Ping timeout: 480 seconds]
darkapex3 has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
method_ has quit [Ping timeout: 480 seconds]
phiologe has quit [Ping timeout: 480 seconds]
chamomile has joined #asahi
Method has joined #asahi
kov has quit [Quit: Coyote finally caught me]
pent1ckel has quit [Remote host closed the connection]
pent1ckel has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
chamomile has quit [Ping timeout: 480 seconds]
chamomile has joined #asahi
chamomile has quit [Ping timeout: 480 seconds]
chamomile has joined #asahi
<jannau> steev: fixed
sailorek1234 has joined #asahi
chamomile has quit [Ping timeout: 480 seconds]
ae86 has joined #asahi
<ae86> Hello
ae86 has quit [Remote host closed the connection]
ae86 has joined #asahi
ae86 has quit [Remote host closed the connection]
<mps> jannau: you merged all previous patches in one big file?
<j_ey> mps: probably to simplify the process
<mps> good, will test it
aleasto has joined #asahi
<_jannau_> yes, handling became annoying. it's now 74 patches. indiviual patches are still there but collected in a single mbox file
<sven> sounds like we need to hurry up with the upstreaming :D
<sven> thanks for managing that tree btw.!
<mps> yes, thanks jannau
<_jannau_> the increase in patches is mostly t6000 dts fixes for squashing and binding updates for t6000
<_jannau_> I guess 30 patches are already submitted upstream
kov has joined #asahi
arapis[m] has joined #asahi
c10l8 has quit []
c10l8 has joined #asahi
c10l8 is now known as c10l
akemin_dayo has quit [Ping timeout: 480 seconds]
<marcan> I think the t6000 upstreaming branch has most of the immediately upstreamable stuff (and some not)
as400 has joined #asahi
<as400> jannau: thx for that new pkgbuild. I just cross-compiled it.
not_a_weeaboo[m] has joined #asahi
akemin_dayo has joined #asahi
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
darkapex3 is now known as darkapex
ae86 has joined #asahi
as400 has quit [Remote host closed the connection]
ae86 has quit [Remote host closed the connection]
ae86 has joined #asahi
sailorek1234 has quit []
ae86 has quit [Remote host closed the connection]
ae86 has joined #asahi
ae86 has quit [Remote host closed the connection]
ae86 has joined #asahi
ae86 has quit [Remote host closed the connection]
akemin_dayo has quit [Ping timeout: 480 seconds]
eta is now known as eta_
eta has joined #asahi
eta has quit []
eta has joined #asahi
eta has quit []
eta has joined #asahi
<mps> jannau: I built it and started, works. thanks
<mps> but still have 'my' old problems, touchpad is detected but cursor doesn't move, though button work (looks like) because I can select text (highlighted) in terminal in the centre of screen
<mps> also noticed that press Caps-Lock on console is sure method to freeze machine
<j_ey> console meaning the VT, before X11?
<mps> j_ey: yes
<j_ey> hm, I hadn't noticed that, will try later
<mps> in X that not happens, maybe because I remaped caps-lock to ctrl
darkapex1 has joined #asahi
<_jannau_> mps: air or pro 13/14/16?
<kettenis> that suggests that the corellium keyboard driver has bugs
<kettenis> (no surprise there)
darkapex has quit [Ping timeout: 480 seconds]
<_jannau_> trackpad works for me more or less as expected under kwin/wayland
eta_ has quit [Quit: Gateway shutdown]
<mps> _jannau_: pro 2020, i think it is j293 code
<mps> _jannau_: do you use FB or simpledrm
<mps> I'm guessing this trackpad problem could be related to display driver
<_jannau_> macbook pro 14", simpledrm but I don't see how that could be related to the trackpad
<mps> _jannau_: evtest shows moves
<mps> about audio, I see that mpv detects multimedia keys from usb audio card (increase and decreases volume and mute/unmute it) but mpv is stuck
<mps> kettenis: I'm thinking to test https://github.com/kettenis/u-boot but not sure should I use master branch or some other?
akemin_dayo has joined #asahi
nrl^ has quit [Remote host closed the connection]
<kettenis> the apple-m1-m1n1-nvme branch is what you want
<j_ey> mps: can you reproduce the caps lock thing? I can't. are the any errors printed?
hspak has quit [Quit: The Lounge - https://thelounge.chat]
<mps> kettenis: thanks
<mps> j_ey: yes, every time I press it (by mistake) machine freezes
hspak has joined #asahi
<j_ey> mps: so the cursor stops blinking?
<j_ey> you could try run it under the hypervisor to see if it shows a crash in the shell
<j_ey> kettenis: i stopped writing to CLKIDLE, and everything seems to work *shrug*
<mps> j_ey: yes, cursor stops blinking and pressing any key nothing happens
<sven> might be interesting to look at the signals for different values of that register. It sounds like it’ll introduce some delay sometime during the SPI transmission
<j_ey> sven: signals, like ososcosilssiope or?
<sven> yeah
* j_ey tries setting it to 0xff
<sven> probably not necessary though if it still works without that write
<sven> I’m just curious
<j_ey> no noticable difference if i write 0xff
<j_ey> (not very scientific, but I dont have such tools)
<sven> heh, yeah. getting access to the spi signals is probably going to be a bit annoying
<j_ey> nor 0xffffff, I will remove it
bgb_ has joined #asahi
<j_ey> sven: you know it's funny, the TX fifo is basically always empty
<j_ey> sven: i need to type at like 5000wpm to test it
<sven> hrm, I tested it from m1n1 by just writing to it without starting a transaction
<sven> or did I just confuse rx and tx?
<kettenis> tx is what you write from, rx is what you read from ;)
bgb has quit [Ping timeout: 480 seconds]
<sven> just making sure :D
<j_ey> ooh, pressing capslock means i can trigger TX_FIFO_LEVEL being more than 0
indra has joined #asahi
tomtastic has quit [Quit: ZNC - https://znc.in]
leah has quit [Quit: WeeChat 3.3]
tomtastic has joined #asahi
indra has quit []
dsrt^ has joined #asahi
slicey has joined #asahi
Gaspare has joined #asahi
chamomile has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
<YichaoYu[m]> Just curious, how is the fn key in the 13” mbp implemented? Is it implemented in the hard/firmware or does the kernel handle it?
<j_ey> software
<j_ey> there's some stuff around applespi_translate_fn_key in drivers/input/keyboard/applespi.c
<YichaoYu[m]> Does it mean it can be remapped? (Unlike most pc laptop)
d0p1 has joined #asahi
<j_ey> I havent tried
<YichaoYu[m]> k, there's a fnremap option which seems like it'll do that
<kettenis> applespi.c was written by someone who didn't rrealize that this is a standard apple HID keyboard
<YichaoYu[m]> Would be nice if that option (or the feature) survives the keyboard driver rewrite.
<kettenis> drivers/hid/hid-apple.c handles the function keys
<YichaoYu[m]> meaning it could have used existing code?
<kettenis> almst certainly
<YichaoYu[m]> I guess the `swap_fn_leftctrl` option would be what I want then. assuming the new driver uses it
<j_ey> would have needed a new HID transport driver
<kettenis> yes, applespi.c should have been written as a spi hid transport driver
<YichaoYu[m]> and how would drawing the touchbar be handled?
<kettenis> touchbar is a completely different device
<YichaoYu[m]> yeah, but would that be handled by userspace or the kernel
<YichaoYu[m]> for just showing F keys
akemin_dayo has quit [Ping timeout: 480 seconds]
akemin_dayo has joined #asahi
<j_ey> since applespi is there.. Im not sure if its too bad to just use it (277 insertions(+), 103 deletions(-))
aleasto has quit [Remote host closed the connection]
<jannau> I've started with looking into implementing a spi apple HID transport but I don't get to it due git tree handling
<j_ey> at least we have the applespi patch as something to use for now
Dcow_ has joined #asahi
Dcow has quit [Read error: Connection reset by peer]
Gaspare has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gaspare has joined #asahi
<jannau> mps: I get "applespi spi0.0: Received corrupted packet (invalid packet length 849)" on deactivating capslock
<j_ey> jannau: there's always one of those at the start, it was definitely after capslock?
<jannau> and I can wedge the trackpad when I press capslock and move a finger on the trackpad
slicey has quit [Quit: zzz]
<jannau> j_ey: yes, repeatable. and pressing capslock alone can wedge the trackpad
_chamomile has joined #asahi
<mps> jannau: ah, so I should try to remove xorg mapping from caps lock and maybe trackpad will work
<kettenis> unlikely
<j_ey> jannau: damn
<kettenis> the LED on the caps lock key is software controlled
<jannau> I think capslock is hardware/kernel driver problem. you can't do anything in user space
<j_ey> jannau: can you do the capslock thing in console?
<kettenis> like it is on a USB keyboard
<kettenis> and sending the command to turn the LED on/of probably interferes with receiving reports from the keyboard and/or touchpad
<mps> kettenis: you are right
<mps> unmapping didn't helped
<j_ey> jannau: you could try my new SPI driver.. I doubt it will make a difference
chamomile has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jannau> multiple keypresses wedge the trackpad as well. I'll look at it tomorrow
_chamomile has quit [Ping timeout: 480 seconds]
slicey has joined #asahi
Gaspare has joined #asahi
chamomile has joined #asahi
ae86 has joined #asahi
ae86 has quit [Remote host closed the connection]
ae86 has joined #asahi
ae86 has quit [Remote host closed the connection]
ae86 has joined #asahi
ae86 has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
X-Scale` has joined #asahi
Gaspare has joined #asahi
X-Scale has quit [Ping timeout: 480 seconds]
X-Scale has joined #asahi