<jannau>
hid-appleft is no more, suppport is integrated in hid-magicmouse
<jannau>
extended report mode is only switched on by request from hid-magicmouse, I added resolution for X and Y based on the j314 trackpad, no idea if the other ones have other dimensions
<jannau>
fixed all report from kernel test robot
balrog has quit [Quit: Bye]
Dcow has joined #asahi-dev
balrog has joined #asahi-dev
kov has joined #asahi-dev
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao has quit [Ping timeout: 480 seconds]
<chadmed>
does the ANS driver depend on ARCH_APPLE to be built? i want to test it on my A1708 since im pretty sure its the same nvme controller
c10l8 is now known as c10l
<chadmed>
oh its not a platform device on the intel macs anyway rip
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
yuyichao has quit []
yuyichao has joined #asahi-dev
PhilippvK has joined #asahi-dev
kov has quit [Quit: Coyote finally caught me]
phiologe has quit [Ping timeout: 480 seconds]
kov has joined #asahi-dev
<marcan>
chadmed: NVMe support for intel macs has been in mainline for years now
<marcan>
(the quirks they need that is)
<marcan>
jannau: awesome, I'll test it in a bit!
Dcow has joined #asahi-dev
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chadmed>
theres still a bug on the A1708 (and others i believe) where if you let the machine suspend you lose disk access on wake and everything breaks. something to do with d3cold/controller power management
the_lanetly_052__ has joined #asahi-dev
Dcow has joined #asahi-dev
the_lanetly_052___ has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<j`ey>
jannau: awesome
<kettenis>
jannau: the j314 touchpad coordinates seem to roughly match the j293 values I'm seeing
<kettenis>
also, I'm seeing a "read" packet for "device" 0 with "type" 0xe010 and I'm wondering if that provides some sort of identification of the device
<jannau>
kettenis: I see that as well. message payload "e0 10 00 00 00". which doubles the type (ignoring endianess)
Dcow has joined #asahi-dev
<jannau>
touchpad coordinates are rounded away from zero to the next multiple of 100, I should have added the measured values as comment
riker77 has quit [Quit: Quitting IRC - gone for good...]
<jannau>
the first thing I receive is a packet with payload "a0 80 00 00" i.e. too short for the message header
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
<kettenis>
jannau: I see that one too
riker77 has joined #asahi-dev
_jannau_ has quit [Ping timeout: 480 seconds]
jannau has quit [Ping timeout: 480 seconds]
thunfisch has quit [Ping timeout: 480 seconds]
_jannau_ has joined #asahi-dev
jannau has joined #asahi-dev
<kettenis>
jannau, the ioreg output that marcan pasted at some point has a VendorID and ProductID for the keyboard/touchpad
<kettenis>
"VendorID" = 1452
<kettenis>
"ProductID" = 641
<kettenis>
so it might make sense to use these in the driver
Dcow__ has joined #asahi-dev
<kettenis>
my j293 with ISO keyboard layout has "ProductID" = 833
<_jannau_>
vendor id is Apple's USB vender id
Dcow_ has quit [Ping timeout: 480 seconds]
<_jannau_>
product id's are not yet in linux' hid-ids.h
<sven>
chadmed: the Intel Macs use a related nvme chip running in a different mode fwiw
the_lanetly_052 has joined #asahi-dev
aleasto has joined #asahi-dev
<povik>
here j314 (14' mbp) with "ProductID" = 834
<Jamie[m]1>
unless I'm being obtuse, the m3 mailbox interface in AVD seems different to the m3 mailbox interface in the kernel
<kettenis>
povik, what keyboard layout is that?
somkls^ has quit [Ping timeout: 480 seconds]
<povik>
i don't know, let's see
<povik>
it's czech localization, don't know if that's ISO or not
tom-w has quit [Quit: Connection closed for inactivity]
<sven>
Jamie[m]1: the m3 mailbox in the kernel is used for the thunderbolt ("CIO") co-processors
<sven>
AVD is probably yet another thing. afaik it also doesn't run rtkit
<jannau>
j314 with iso international has "ProductID" = 834. let's hope there is a way to read the ID's over HID
<jannau>
ioreg output looks like could be possible
thunfisch has joined #asahi-dev
blzd has quit [Remote host closed the connection]
thunfisch has quit [Quit: frrrp!]
thunfisch has joined #asahi-dev
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kettenis>
so it seems that apple no longer uses separate product IDs for the ANIS, ISO and JIS keyboard layouts
<kettenis>
s/ANIS/ANSI/
<ChaosPrincess>
can someone help out, i am trying to update a version of m1n1 that is on the apfs volume, but kmutil configure-boot fails with error 'Invalid Mach-O boot properties'
<_jannau_>
ChaosPrincess: check if the m1n1 apfs volume is the actiive startup disk. that's a requirement with macos 12.0 1tr. please continue in #asahi
Gaspare has joined #asahi-dev
Gaspare has quit [Remote host closed the connection]
the_lanetly_052 has quit [Remote host closed the connection]
the_lanetly_052 has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
riker77 has quit [Quit: Quitting IRC - gone for good...]
riker77 has joined #asahi-dev
<marcan>
Jamie[m]1: AVD does not use the m3 mailbox
<marcan>
AVD is just a random hardware block that happens to include a random cortex-m3 that doesn't run RTKit
<marcan>
it is unrelated to anything else
<marcan>
there will be no shared code for it or mailbox driver or anything; it'll talk directly to the hardware
aleasto has quit [Remote host closed the connection]
kgarrington has quit [Remote host closed the connection]
kgarrington has joined #asahi-dev
kgarrington has quit [Remote host closed the connection]
tpw_rules has joined #asahi-dev
kgarrington has joined #asahi-dev
kgarrington has quit [Remote host closed the connection]
<tpw_rules>
so i am working on a boot flow using https://github.com/kettenis/u-boot/tree/apple-m1-m1n1-nvme/ and the latest linux-asahi kernel as of today. it seems there's an issue where if u-boot starts the nvme by running "nvme scan", the kernel fails to start it and prints "apple-ans-nvme 27bcc0000.nvme: RTKit did not boot". but if i stop u-boot from running that command, the kernel can start the nvme fine and everything works
<tpw_rules>
in both cases i'm booting off a usb disk. i'm not sure if u-boot should be de-initializing something before it starts up the kernel, or the kernel needs better handling of an nvme that's already been initialized. cc: kettenis sven
<tpw_rules>
(to be clear, this is not a new problem caused by recent changes AFAICT. i don't know of a setup that works)
<sven>
yeah, that's known
<sven>
u-boot will eventually need to shutdown the co-processor before handing control over to linux
<sven>
but i think openbsd currently required the co-proc to be already running
<sven>
this is all still very much WIP :-)
<tpw_rules>
is that something u-boot currently doesn't do, or do we not know how to shut it down?
<sven>
uboot just doesn't do it because of this: <sven> but i think openbsd currently required the co-proc to be already running
<tpw_rules>
if you can point me to code that shuts it down, i can probably figure out a patch for my setup