Just did some GPIO investigation related to the Xiaomi Pad 5 Pro's keyboard case. On the mainline sm8250 kernel it is just powered on at boot and this causes the keyboard to show up no matter if the case is attached or not, forcing the tablet into docked mode in Phosh. Looking at the downstream kernel, there are three different GPIOs - power, reset, and interrupt, that govern the keyboard behavior. Using the gpioset utility, I can power off or hold the keyboard in reset...
=> More informations about this toot | View the thread | More toots from CalcProgrammer1@mastodon.social
text/gemini
This content has been proxied by September (ba2dc).