Ping? Le lun. 3 juil. 2023, 02:59, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> a écrit :
> On, at least, some Chromebook PS/2 protocol is implemented by EC rather > than a real PS/2 controller. It works fine except for 2 things: > * Unusual layout like multimedia keys instead of F* > * Reset command returns garbage (usually last key) > This patch attempts to handle later as it stops keyboard from being > recognized at all. It works by checking getid if reset fails. How other > OSes handle the situation: > * Windows: no idea, but keyboard works > * Linux. Check only getid results. Reset is done but it's results are > ignored. > * FreeBSD. Skips probing if firmware is determined to be coreboot and > assumes presence of PS/2 keyboard. This is wrong e.g. coreboot supports > some MacBooks and they use USB keyboard instead. > * NetBSD shares the same code as OpenBSD AFAICT. Probably broken. > * Haiku was broken and recently they accepted a similar path from me. Ref: > https://review.haiku-os.org/c/haiku/+/6610 > >