#
#asahi-dev · 2023-03-19 11:49
jannauif the layout tables in the linux hid-apple driver are to be trusted the special key layout changed late 2020/2021 with the m1 devices
#asahi-dev · 2023-03-19 11:46
kettenisalthough my >10 year old "alumunium" apple usb keyboard has the brightness, volume and media keys in the same position, so maybe that is a thing of the past
#asahi-dev · 2023-03-19 11:44
jannaumarcan: I hadn't yet the motivation to clean it up but I discovered it and uses it for dcp's memory setup
#asahi-dev · 2023-03-19 11:42
kettenisand I don't think that is captured by the layout id
#asahi-dev · 2023-03-19 11:42
kettenisone thing that I wanted to mention relating to the keyboard layouts is that apple has been changing the special function keys quite a bit over the years
#asahi-dev · 2023-03-19 11:35
kettenis(and no real itch to fix it since the dutch keyboard layout is pretty much identical to the internatonal english one)
#asahi-dev · 2023-03-19 11:34
kettenisI didn't; too much confusion about what the differences are between the apple keyboard layouts
#asahi-dev · 2023-03-19 11:33
marcanthe keyboard thing did but the m1n1 bump is backwards-compatible (and I don't know if you even use the /chosen kblang node yet?)
#asahi-dev · 2023-03-19 11:32
marcanpurely a linux thing
#asahi-dev · 2023-03-19 11:32
marcannope
#asahi-dev · 2023-03-19 11:32
kettenismarcan: the mailbox flensing didn't actually result in device tree changes did it?
#asahi-dev · 2023-03-19 11:31
marcanguess that needs some cleanup
#asahi-dev · 2023-03-19 11:31
marcan(in a lot of codepaths)
#asahi-dev · 2023-03-19 11:30
marcanjannau: heh, why are we always calling fdt_get_alias then?
#asahi-dev · 2023-03-19 11:15
jannaumarcan: fdt_path_offset(dt, "keyboard") will resolve the alias for you
#asahi-dev · 2023-03-19 11:10
mpson j316s
#asahi-dev · 2023-03-19 11:09
mpsworks fine for me
#asahi-dev · 2023-03-19 11:01
marcansounds like an issue with initial sync between the compositor and DCP? but only when buffers first get created (wouldn't be surprised if sleep uses an extra dummy buffer or something)
#asahi-dev · 2023-03-19 11:01
marcanyeah, I get it fairly consistently on first sleep too, right when the screen goes black (but never subsequent sleeps)
#asahi-dev · 2023-03-19 10:59
mpsok, building it now
#asahi-dev · 2023-03-19 10:58
jannauyes, only the first 1 or 2 frames on startup. I haven't any other render errors
#asahi-dev · 2023-03-19 10:58
marcanyes
#asahi-dev · 2023-03-19 10:57
mpsit is asahi-6.2-11 tag? will build it now and test on m1pro macbook
#asahi-dev · 2023-03-19 10:56
marcanbut never randomly in use or anything
#asahi-dev · 2023-03-19 10:55
marcanit's only on startup right? and I also noticed it on first sleep/resume
#asahi-dev · 2023-03-19 10:55
jannau+me
#asahi-dev · 2023-03-19 10:55
jannauno objections from, everything works fine after the drm_sched fix except for the pink squares
#asahi-dev · 2023-03-19 10:55
marcanI did notice the "pink squares" issue on kwin, but I guess we'll call that a known regression until either lina tracks it down or someone finds a worse repro
#asahi-dev · 2023-03-19 10:54
marcanif nobody has any objections let's push this out tomorrow or something (cc lina, you get to write the blog post)
#asahi-dev · 2023-03-19 10:54
marcaneverything is on asahi-dev now
#asahi-dev · 2023-03-19 10:51
marcanjannau: seems to work for me
#asahi-dev · 2023-03-19 10:49
jannauCS42L83 on the mini works for me. on the air a speaker amp is on the same i2c bus as CS42L83
#asahi-dev · 2023-03-19 10:41
marcanit almost smells similar to the CS42L84 race I fixed that was breaking everything
#asahi-dev · 2023-03-19 10:41
marcanI think some altdistro folks have reported problems with that for a while now (i2c lockups), but I have no idea how to repro it
#asahi-dev · 2023-03-19 10:40
marcanlet me test that
#asahi-dev · 2023-03-19 10:40
jannaumarcan: did you test headphone audio on the m1 macbook air? iirc it was unclear if it was working after the PLL changes. I wouldn't rule out that it was just CS42L42 vs. CS42L83 confusion though
#asahi-dev · 2023-03-19 10:33
svendon’t think so, seems to work for me
#asahi-dev · 2023-03-19 10:31
marcanjannau, sven, kettenis, povik: any release blockers at this point?
#asahi-dev · 2023-03-19 10:28
marcanpushed asahi-6.2-11 which should fix the M2 keyboard country code silliness (alongside new m1n1) and pulls in some fixes from lina
#asahi-dev · 2023-03-18 02:42
marcancool, I'll go with that
#asahi-dev · 2023-03-18 02:41
robhermarcan: Seems fine to me. I'd drop the 'apple' at least for hid-country-code.
#asahi-dev · 2023-03-18 02:38
marcanand leave it to userspace to figure out what to do with all that, or we can make the driver just mirror them into /sys
#asahi-dev · 2023-03-18 02:38
marcanboth in the keyboard node (which does exist on the MTP machines, and we can add something for the SPI machines)
#asahi-dev · 2023-03-18 02:37
marcan(the former is based on the latter according to a lookup table, but I'd rather have that in the firmware and just provide both in the DT)
#asahi-dev · 2023-03-18 02:37
marcanrobher: how about `apple,hid-country-code` for the HID country bit and `apple,kblayout-id` for the actual specific Apple layout ID?
#asahi-dev · 2023-03-18 02:35
marcanjannau: I think that's around the limit, a bit more and you start getting panics on boot policy mutations (due to timeouts, I think)
#asahi-dev · 2023-03-17 21:09
jannauI just ran cleanbp.sh and 24 mostly stale boot policies are not yet a problem
#asahi-dev · 2023-03-17 15:02
robher"/chosen" doesn't seem right to me either.
#asahi-dev · 2023-03-17 15:01
robherEveryone says HID is discoverable until it is not...
#asahi-dev · 2023-03-17 09:47
kettenisalthough the other keyboards would probably be usb keyboards and not show up in the device tree anyway

plus ›