ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
Droop has quit []
Droop has joined #asahi-dev
ah- has joined #asahi-dev
ah-_ has quit [Remote host closed the connection]
ah- has quit [Ping timeout: 480 seconds]
ah- has joined #asahi-dev
darkapex2 has joined #asahi-dev
darkapex1 has quit [Ping timeout: 480 seconds]
kesslerd has quit [Quit: Konversation terminated!]
thunfisch has quit [Ping timeout: 480 seconds]
thunfisch has joined #asahi-dev
chipxxx has joined #asahi-dev
sirn has quit [Ping timeout: 480 seconds]
zef has joined #asahi-dev
zef_ has quit [Ping timeout: 480 seconds]
sirn has joined #asahi-dev
c10l has quit [Ping timeout: 480 seconds]
sirn has quit [Quit: ZNC 1.8.2 - https://znc.in]
<marcan> yeah okay, we need the kblang thing then. sigh.
<marcan> robher: got some time to talk about keyboard layouts in device trees? there are two levels to the mess:
<marcan> - specifying/overriding the HID country code (which is a standard device property for real HID devices). we could just go apple,country-code, but this feels like this should probably be a standard prop?
<marcan> however, HID country codes are useless for specifying actual keyboard layouts (they get way more complex than that). Apple only uses them to select among the 3 physical keyboard types (key arrangements), not the layout printed on the keycaps.
<marcan> - so then we need something to specify the *actual* layout, in detail, in the device tree
<marcan> input: our bootloader knows the layout from system firmware, as a proprietary enum
<marcan> output: userspace eventually needs to know what xkb layout to use (and the equivalent best-fit console keymap, though console keymaps are pretty hit and miss anyway)
<marcan> how should this be expressed in the device tree? if we go with a country code type thing, that's lossy and userspace then still needs at least per-vendor tables (and Apple sometimes has more than one layout for a given country and not-technically-country-specific layouts, which is an issue).
<marcan> if we go with outright putting xkb type/model/options into the DT, that would nicely solve the problem but creates an interesting spec dependency with the xkb stuff (and that isn't as strictly managed as DT bindings are re backwards compat etc)
<marcan> alternatively we could just punt on standardizing any of this and keep doing what we do now, which is just shove the Apple-specific enum code somewhere and have userspace handle mapping that, but that's... maybe not ideal.
<marcan> right now we have that in /chosen which is probably also suboptimal (I imagine it should go in the HID device node)
<marcan> jannau: oh lol, kblang-calibration is just 2 bytes and then a CRC32 of those 2 bytes.
<marcan> okay, that eliminates a lot of mystery.
<marcan> and the first byte is the version
<marcan> so this is really just the language code
<marcan> no other info
<marcan> okay, that's one set of "what if we need more data" questions answered
<marcan> jannau: can you run experiments/mtp.py and paste the output? I think I might have found the real keyboard type.
<marcan> nevermind, macOS just has a table of the kblang -> everything else
<marcan> so we get to do the same
<marcan> it's actually just in AppleTopCase.kext/Contents/PlugIns/AppleTopCaseDriverV2.kext/Contents/Info.plist
<marcan> and there's more than one table, of course
tobhe has joined #asahi-dev
<marcan> yeah I don't think it's in there, meh
<marcan> kblang it is
tobhe_ has quit [Ping timeout: 480 seconds]
DarkShadow4444 has joined #asahi-dev
m5zs7k_ has quit [Max SendQ exceeded]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
m5zs7k has joined #asahi-dev
darkapex2 is now known as darkapex
darkapex has quit []
darkapex has joined #asahi-dev
gladiac is now known as Guest7789
Guest7789 has quit [Read error: Connection reset by peer]
gladiac has joined #asahi-dev
cy8aer has quit [Remote host closed the connection]
tobhe_ has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
cy8aer has joined #asahi-dev
cy8aer has quit [Remote host closed the connection]
cy8aer has joined #asahi-dev
amarioguy has quit [Remote host closed the connection]
amarioguy has joined #asahi-dev
chipxxx has quit [Ping timeout: 480 seconds]
chipxxx has joined #asahi-dev
chipxxx has quit [Remote host closed the connection]
chipxxx has joined #asahi-dev
tobhe has joined #asahi-dev
tobhe_ has quit [Ping timeout: 480 seconds]
Retr0id has quit [Read error: Connection reset by peer]
Retr0id has joined #asahi-dev
<kettenis> marcon: also, some countries use more than one keyboard layout
nyilas has joined #asahi-dev
bisko has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
<dottedmag> sven: A heads-up (in case it's important for you) about that Thunderbolt patchset. YADRO is on US sanctions list: https://home.treasury.gov/policy-issues/financial-sanctions/recent-actions/20220915
<sven> uhh… what’s yadro and how is that related to tbt?
<dottedmag> sven: You have mentioned Thunderbolt-related patchset that wasn't upstreamed couple of weeks ago, it was produced by ppl from this company
<dottedmag> something about chaining? I don't remember the details.
<mps> dottedmag: does these things apply to open/free source?
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
Mrmaxmeier has joined #asahi-dev
<sven> ah, that’s only vaguely related
grange_c6 has quit [Quit: The Lounge - https://thelounge.chat]
tobhe_ has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
<dottedmag> mps: IANAL, better check with the real one. However https://github.com/ipmitool/ipmitool was archived by GH today, due to a having developer from that company.
<povik> huh
<mps> ipmitool is archived two days ago
<mps> but this is company decision, not an open source entity
<povik> is there a statement from github about this?
<povik> could the developers have archived it?
<mps> dottedmag: though I agree, also IANAL
<mps> github is known of doing such actions quietly for some time
<mps> povik: ipmitool is archived already somewhere, I didn't followed where because I don't use it for two years now
<mps> happily I advised alpine to install gitlab instead of moving to github from patchwork
<mps> (hm, happily or luckily, not sure which is proper term)
<sven> that also all sounds off topic
<mps> right
tobhe has joined #asahi-dev
tobhe_ has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
<povik> mps: no, i meant could it have been the developers who marked the github repo as archived
<povik> anyway, bit off topic...
yrlf has joined #asahi-dev
kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
kujeger has joined #asahi-dev
kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
kujeger has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
c10l has joined #asahi-dev
balrog has quit [Quit: Bye]
balrog has joined #asahi-dev
hightower2 has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
pjakobsson has quit [Remote host closed the connection]
MajorBiscuit has joined #asahi-dev
hightower2 has joined #asahi-dev
nyilas has quit [Remote host closed the connection]
noface99 has quit [Quit: ]
zef has quit [Quit: leaving]
bluetail has joined #asahi-dev
noface99 has joined #asahi-dev
gladiac is now known as Guest7860
gladiac has joined #asahi-dev
Guest7860 has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
c10l has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
systwi has quit [Ping timeout: 480 seconds]
systwi has joined #asahi-dev
c10l has joined #asahi-dev
veeyee has quit [Quit: Leaving.]
MajorBiscuit has quit [Ping timeout: 480 seconds]
salimterryli has joined #asahi-dev
lawrence0 has joined #asahi-dev
lawrence has quit [Ping timeout: 480 seconds]
lawrence0 is now known as lawrence
zzywysm_ has quit [Quit: Textual IRC Client: www.textualapp.com]
zzywysm has joined #asahi-dev
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
nyilas has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee1 has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
mini_ has quit [Quit: ZNC closing...]
SalimTerryLi_ has joined #asahi-dev
mini_ has joined #asahi-dev
salimterryli has quit [Ping timeout: 480 seconds]
robinp has quit [Remote host closed the connection]
veeyee1 has quit [Quit: Leaving.]
gladiac has quit [Quit: k thx bye]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi-dev
veeyee has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
rosefromthedead has joined #asahi-dev
nyilas has quit [Remote host closed the connection]
salimterryli has joined #asahi-dev
SalimTerryLi_ has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
tobhe has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
veeyee has quit [Ping timeout: 480 seconds]
veeyee has joined #asahi-dev
eiln has quit [Quit: Page closed]