#asahi · 2023-04-13 08:30
chadmedits just a total dead end #asahi · 2023-04-13 08:30
marcannobody wants to work on it#asahi · 2023-04-13 08:30
chadmedtheyre struggling to find people interested in working on it, the number of commits has dropped precipitously recently#asahi · 2023-04-13 08:29
marcanKDE will drop support in the next version#asahi · 2023-04-13 08:29
marcanpipppero: xorg is already basically unmaintained#asahi · 2023-04-13 08:29
marcanthe main question right now is how to make at least the F keys work in XWayland clients when those keys are mapped as media-keys-first, since that has to work (I don't intend to break XWayland for at least normal use cases of apps, not desktop integration components)#asahi · 2023-04-13 08:29
pippperoxorg going unmaintained? :o#asahi · 2023-04-13 08:29
marcanyup#asahi · 2023-04-13 08:29
chadmedwe need to shepherd people away from that tangled mess, especially now that its looking increasingly likely that it will go unmaintained in the next year or so #asahi · 2023-04-13 08:29
marcanon Wayland (hopefully) this can all just be dealt with XKB as normal, which means you can also configure it all through existing UIs, and it can all be made nice and user friendly#asahi · 2023-04-13 08:28
marcanI'm just not interested in such emulation just for the sake of xorg so it won't be me writing it :p#asahi · 2023-04-13 08:28
marcanthen if you want media keys and extended Fn key chords or customizable F mappings, either use Wayland where all this will work, or roll your own emulation with uinput#asahi · 2023-04-13 08:27
marcanthat will give you usable TTY/xorg#asahi · 2023-04-13 08:27
mazmarcan: I'm all for keeping the kernel driver simple and rely on userspace to deal with the outcome (that's what i do for chromebooks).#asahi · 2023-04-13 08:27
marcanmy plan for the keyboard driver is to *only* implement the Fn mappings for the edit keys (home/end/pgup/dn/ins/del) so that at least those work on the TTY/Xorg, and leave the F keys as F keys by default (not media keys)#asahi · 2023-04-13 08:25
pipppero...or the beginning of the 2000s#asahi · 2023-04-13 08:25
marcanI mean I'm certainly not going to stop people from making workarounds for xorg, but it's not something anyone is likely to ship by default#asahi · 2023-04-13 08:25
pippperonot in the 80's!#asahi · 2023-04-13 08:25
marcanmaz: you could play games with uinput if you want, but that's just overcomplicating what should be a simple xkb mapping#asahi · 2023-04-13 08:24
marcanturns out there are more than 256 possible key codes in the universe, who'dve thought#asahi · 2023-04-13 08:24
mazmarcan: can't this be dealt with in userspace with something like keyd?#asahi · 2023-04-13 08:24
pippperooh wow #asahi · 2023-04-13 08:24
marcanXorg can't see it at all#asahi · 2023-04-13 08:24
marcanthe Fn key is more than 8 bits#asahi · 2023-04-13 08:24
pippperofn + media key is more than 8 bits?#asahi · 2023-04-13 08:23
marcanright now the Fn mess is handled in the keyboard driver and that is just thoroughly wrong, we need to chagne that. But Xorg can't see the Fn key and never will, because it's more than 8 bits and there is no way to fix that in the legacy protocol.#asahi · 2023-04-13 08:23
marcan(as soon as I figure out how to make at least the F-keys do the right thing on XWayland, which I don't want to break)#asahi · 2023-04-13 08:23
marcanayke_: it is likely that we will stop supporting Fn key combinations on Xorg in the future (other than the edit keys for minimal functionality), so no more media/system keys.#asahi · 2023-04-13 07:58
mpsand this is for #asahi-alt ofc#asahi · 2023-04-13 07:58
mpsalso there is '/usr/sbin/update-u-boot-asahi' which could be run manually to update second stage m1n1#asahi · 2023-04-13 07:57
mpsapk add m1n1 u-boot-asahi, will do 'trick'#asahi · 2023-04-13 07:56
mpsyou should upgrade, they should be installed automatically#asahi · 2023-04-13 07:56
ktzmps: I didn't even have those packages installed... how comes? I've never installed them manually on the one year+ I'm running alpinelinux #asahi · 2023-04-13 07:54
ktzapparently this is indeed dated on my distribution, I think it happened a couple of times having it being overwritten by an alarm update which caused my distro being super slow, I had to chroot from alarm and replace m1n1 with the .old version the update adds #asahi · 2023-04-13 07:54
mpsktz: iirc you are using alpine, upgrade m1n1 and u-boot-asahi and linux-asahi pkgs, that should upgrade second stage m1n1#asahi · 2023-04-13 07:53
mpsoh, jannau is faster#asahi · 2023-04-13 07:53
mpsktz: second stage m1n1 means m1n1+dtbs+u-boot on ESP in m1n1/boot.bin file#asahi · 2023-04-13 07:51
jannauthere is a second m1n1 on the ESP in asahi/boot.bin. that one is used to keep the devicetree updated with kernel updates and allows to distribute m1n1 updates#asahi · 2023-04-13 07:51
ktzok thanks for the hints on m1n1 and libinput, I'll try to take it from there#asahi · 2023-04-13 07:50
jannauthat shouldn't have anything to do with keyboard/touchpad though. the error looks like the problem we had with the outdated libinput version#asahi · 2023-04-13 07:49
ktzsecond stage means initrd?#asahi · 2023-04-13 07:48
jannauthe dcp error means you're using an old 2nd stage m1n1#asahi · 2023-04-13 07:47
ktzI'm not running alarm tho so most likely that's a discussion for #asahi-alt #asahi · 2023-04-13 07:47
ktzjannau: if you've got a minute please check here https://0x0.st/HXC3.txt#asahi · 2023-04-13 07:46
ktz[ 0.857703] apple-dcp 231c00000.dcp: Could not read 'apple,firmware-compat': -22#asahi · 2023-04-13 07:46
ktzI'm mostly trying to make sure my machine is properly configured at this point, eg the builtin keyboard only functions in a tty console and the touchpad doesn't work at all, I think it could be due to this #asahi · 2023-04-13 07:44
jannauktz: I think it's suspected/known broken. not a priority item to fix. if you need ap mode I'd recommend getting usb wifi adapter#asahi · 2023-04-13 07:41
ktzwith those commands, prepended with iwctl of course#asahi · 2023-04-13 07:40
ktzap wlan0 start net passphrase#asahi · 2023-04-13 07:39
ktzdevice wlan0 set-property Mode ap