#
#asahi-dev · 2023-03-14 17:06
jannauhid.country=iso is unfortunately not enough information, there are apple iso layouts which have KEY_GRAVE on KEY_102ND and others not
#asahi-dev · 2023-03-14 17:05
marcanalso -asahi10 package in asahi-dev now
#asahi-dev · 2023-03-14 17:05
marcanI should sleep :p
#asahi-dev · 2023-03-14 17:05
marcananyway, the table so far pushed to bits/090-spi-hid and asahi-wip (no tag for now)
#asahi-dev · 2023-03-14 17:04
marcanOTOH using kblang-calibration would mean we don't need to touch the driver for new devices...
#asahi-dev · 2023-03-14 16:58
marcanjannau: does hid-apple actually need to know more than iso/ansi/jis? I thought it only checked that (it can only check that, those are the only three types ever exposed in hid->country)
#asahi-dev · 2023-03-14 16:57
marcanthough we can map it N:1 of course
#asahi-dev · 2023-03-14 16:57
marcanyes, the problem is that doesn't map 1:1 to the HID codes IIRC
#asahi-dev · 2023-03-14 16:56
jannaumaybe we should just use kblang-calibration, we still have to make a distinction between different iso layouts in hid-apple
#asahi-dev · 2023-03-14 16:52
mazholds off buying another M2 until there is something that actually boots.
#asahi-dev · 2023-03-14 16:48
axboejannau: oh...
#asahi-dev · 2023-03-14 16:48
marcanbut it looks like the ordering doesn't follow a neat pattern like that
#asahi-dev · 2023-03-14 16:48
marcanthat's where the %3 guess came from, and the assumption that there was a model they scrapped between those two (or out of order)
#asahi-dev · 2023-03-14 16:48
jannauaxboe: not yet speaking about the m2 pro/max models
#asahi-dev · 2023-03-14 16:48
marcanyes
#asahi-dev · 2023-03-14 16:47
jannaujapanese air has Keyboard type 8?
#asahi-dev · 2023-03-14 16:47
axboeI'll get my m2 installed as soon as it's in the installer...
#asahi-dev · 2023-03-14 16:45
marcanbut I think that's 0?
#asahi-dev · 2023-03-14 16:45
marcanthen I'm just missing ANSI M2 Pro
#asahi-dev · 2023-03-14 16:45
marcanwould be nice to have someone with the ISO layout on that one
#asahi-dev · 2023-03-14 16:44
marcanyeah, that tracks
#asahi-dev · 2023-03-14 16:44
mazyup
#asahi-dev · 2023-03-14 16:44
mazUS ANSI, I believe.
#asahi-dev · 2023-03-14 16:44
marcanM2 Air US?
#asahi-dev · 2023-03-14 16:44
mazmarcan: [ 1.528928] dockchannel-hid 24eb30000.input: Keyboard type: 7
#asahi-dev · 2023-03-14 16:44
marcan3/4/5 are unknown
#asahi-dev · 2023-03-14 16:44
marcanguessing 6 is ISO but I don't have that data point
#asahi-dev · 2023-03-14 16:43
marcan7 seems to be J413 ansi
#asahi-dev · 2023-03-14 16:43
marcanit was wrong
#asahi-dev · 2023-03-14 16:43
marcanthe % 3 was a guess
#asahi-dev · 2023-03-14 16:43
jannaumarcan: do you remember where the '% 3' was coming from? maybe ansi is 7 instead of 0
#asahi-dev · 2023-03-14 16:41
jannauyes
#asahi-dev · 2023-03-14 16:41
jannau'dockchannel-hid 24eb30000.input: Keyboard type: 1' (macbook pro 13", german)
#asahi-dev · 2023-03-14 16:41
marcanjannau: you have iso layout, right?
#asahi-dev · 2023-03-14 16:39
marcan(and what layout you have)
#asahi-dev · 2023-03-14 16:39
marcanfor people with M2s, can I get some confirmation of keyboard codes? `dmesg | grep 'Keyboard type'`
#asahi-dev · 2023-03-14 16:25
jannau-10 looks good
#asahi-dev · 2023-03-14 16:24
marcanwe're back to some measurable reduction in code
#asahi-dev · 2023-03-14 16:24
marcan 10 files changed, 530 insertions(+), 554 deletions(-)
#asahi-dev · 2023-03-14 16:24
marcanalso I'd forgotten to remove the old header file
#asahi-dev · 2023-03-14 16:24
axboeliving dangerously
#asahi-dev · 2023-03-14 16:23
marcanworked for me but eh
#asahi-dev · 2023-03-14 16:23
marcanoh 9 had that UB so who knows what that did
#asahi-dev · 2023-03-14 16:23
axboeit was in reference to -9
#asahi-dev · 2023-03-14 16:23
axboeyep -10 looks good to me
#asahi-dev · 2023-03-14 16:23
marcanuh, the changes I just made should've fixed that
#asahi-dev · 2023-03-14 16:23
axboebooted for me, but "hung" on the loading screen for a while
#asahi-dev · 2023-03-14 16:22
jannau-9 exploded while booting
#asahi-dev · 2023-03-14 16:22
axboeboots too
#asahi-dev · 2023-03-14 16:21
axboeclean as a whistle

plus ›