#asahi-dev · 2023-03-20 08:19
cy8aer... and better wait until the hid stuff is switched off#asahi-dev · 2023-03-20 08:18
cy8aerdottedmag hm that sounds promissing. I never really dealt with the subject because it was simply there... So I need to transform the whole ctrl-super-alt key changing from hid to xkb...#asahi-dev · 2023-03-20 08:07
dottedmagI don't think I understand the question. Are you asking about the VT/Linux console layouts? They can be generated from XKB nowadays. IIRC Debian folks has created a tool other distros use to convert XKB -> console layout.#asahi-dev · 2023-03-20 08:00
cy8aers/wan/won/#asahi-dev · 2023-03-20 07:59
cy8aerI just wander what I have to expect, sorry for these questions.#asahi-dev · 2023-03-20 07:58
cy8aer But that means: simple console no keyboard settings (and - for me - the crapped Mac-layout) with disabling the apple hid stuff?#asahi-dev · 2023-03-20 07:31
dottedmagTheoretically Wayland supports configuration mechanisms other than XKB, but in practice 1) no other format is defined in specification; 2) no compositor supports anything else; 3) most importantly, clients support only XKB#asahi-dev · 2023-03-20 06:58
cy8aermarcan: oups so I misunderstood the whole mechanism (then the desk environments use exactly xkb for chosing the keytables...)#asahi-dev · 2023-03-20 03:41
Tramtristmarcan you planning to include speakersafetyd in this release? #asahi-dev · 2023-03-20 03:38
eilnmarcan: that and some ML coreml stuff on macos (non hypervisor). after this release sounds good though.#asahi-dev · 2023-03-20 03:32
marcaneiln: like running some tests on t6000? I can do that for you if you want, but better thursday+ or so once the release is done#asahi-dev · 2023-03-20 01:30
eilnneed some t6000 coreml samples#asahi-dev · 2023-03-20 01:30
eilnmarcan: nothing urgent, but is there a way to request help? akin to the yak page#asahi-dev · 2023-03-20 00:35
marcanxkb works *better* in wayland because it is not subject to the ancient X limitations like not supporting the Fn key#asahi-dev · 2023-03-20 00:35
marcanthat's the whole point of doing things in xkb#asahi-dev · 2023-03-20 00:34
marcancy8aer: xkb is used for wayland#asahi-dev · 2023-03-19 17:22
cy8aerhm read marcan's post ok that is all a X-mess no wayland thingie. #asahi-dev · 2023-03-19 16:37
cy8aer just a probably stupid question: Does xkb work with wayland (cause I screwed up my keytable with iso and stuff to have it more, like, iso...)#asahi-dev · 2023-03-19 14:51
marcansince we can't just yank out the Fn-mappings out from them#asahi-dev · 2023-03-19 14:50
marcanbut we'll probably want fnmode=4 anyway so that other older macs can switch to the Right Way too eventually#asahi-dev · 2023-03-19 14:50
marcanthough honestly, I'm also tempted to just not support the media keys at all on these models, then fnmode!=0 would give you edit keys only and what you pick is irrelevant (and if you want media keys on Fn, don't use xorg)#asahi-dev · 2023-03-19 14:49
Tramtrist👍#asahi-dev · 2023-03-19 14:49
marcanyes, fnmode 4 as default#asahi-dev · 2023-03-19 14:49
marcanthat needs to be fixed in xkb#asahi-dev · 2023-03-19 14:49
Tramtristfnmode 4 as default #asahi-dev · 2023-03-19 14:48
marcanthen we're also disabling the iso_layout nonsense on anything apple silicon#asahi-dev · 2023-03-19 14:48
marcanfor those who want to fully control everything, fnmode=0 will then disable even that#asahi-dev · 2023-03-19 14:48
marcanand then all the other fn mappings happen in xkb#asahi-dev · 2023-03-19 14:48
marcanand defaulting to that for anything apple silicon, which gives you a usable TTY/Xorg without anything machine-specific#asahi-dev · 2023-03-19 14:47
marcanI propose adding fnmode=4, edit keys only#asahi-dev · 2023-03-19 14:47
marcanfnmode already has fnmode=0 which disables the fn emulation nonsense#asahi-dev · 2023-03-19 14:46
jannauI just noticed that we can drop apple_fn_keys_mbp13, upstream has macbookpro_dedicated_esc_fn_keys which is identical#asahi-dev · 2023-03-19 14:44
marcanthat's the plan :p#asahi-dev · 2023-03-19 14:44
marcanjannau: yes, it does#asahi-dev · 2023-03-19 14:41
jannaumarcan: that would mean that we have to define our own translation table and diverge from hid-apple which media keys by default and F1 - F12 with fn#asahi-dev · 2023-03-19 14:26
marcanand we can add a module param if we want to get the media keys, and even enable it by default for now if we want in userspace, as long as the kernel default is not doing that stuff#asahi-dev · 2023-03-19 14:25
marcanif we upstream this from the get go with pure software Fn on all M1+ models, we don't have to have that argument#asahi-dev · 2023-03-19 14:25
marcanbecause if we upstream stuff with media key support, we enter into "don't break userspace" territory#asahi-dev · 2023-03-19 14:24
marcanalso, maybe we should do this *now*, before upstreaming support for these machines at all (spi/hid-apple/etc)#asahi-dev · 2023-03-19 14:24
marcanand yes this excludes xorg, and around the time we'll probably get this sorted out will be prime time for xorg to die#asahi-dev · 2023-03-19 14:23
marcanall the funny media key stuff should be done in xkb, among other things so users can switch between F-key and media key by default modes in the UI, not by hacking up module params#asahi-dev · 2023-03-19 14:23
marcanthe Fn key should be pure software, except maaybe fn+arrows for pgup/down/home/end, fn+bksp for delete, and fn+enter for insert, which are important enough to have in TTY mode and not model-specific#asahi-dev · 2023-03-19 14:21
marcanjannau: I think I'm going to have to open an issue on xkeyboard-config to work out how to solve this mess, but for starters, all that should be done in userspace, not hid-apple#asahi-dev · 2023-03-19 14:16
marcanI hope the differences aren't too major though#asahi-dev · 2023-03-19 14:16
marcanbut at that point that just needs to look at the machine ID or something#asahi-dev · 2023-03-19 14:16
marcankettenis: it is not, this is why they have separate tables per model too, which is yuck#asahi-dev · 2023-03-19 11:54
spikerguyApologies for the mess Manjaro ARM team is being creating with Asahi while I am trying to go slow others are trying to rush for the PR. :(#asahi-dev · 2023-03-19 11:52
spiekrguyRegarding this. IDK why our developers just rush stuff and invite bad pr :( SOrry about this #asahi-dev · 2023-03-19 11:52
spiekrguyhttps://github.com/archlinuxarm/PKGBUILDs/pull/1946#issuecomment-1475214911#asahi-dev · 2023-03-19 11:52
kettenisthe symbols on the F4/F5/F6 keys are indeed different on that usb keyboard, and different again on the my 2015 macbook