On Fri, Jan 19, 2024 at 03:48:17PM +0800, Ting Shen wrote: > There is a new type of ChromeOS detachable keyboard that talks to > the host via CrOS EC host command interface, rather than the USB > interface. > > To trigger the firmware update daemon (hammerd) on this keyboard, a > signal is required to replace the typical USB hotplug event. This patch > addresses this by mapping the EC's BASE_ATTACHED event to SW_DOCK. I think emitting an uevent on attachment might make more sense here, SW_DOCK is to signal attachment of a legacy docking station. Thanks. -- Dmitry