Keycodes for Factory reset button and USB Copy Button
From: Markus Probst
Date: Fri Nov 21 2025 - 16:09:47 EST
Hi Dmitry,
I am currently writing a "multi function device" driver for synology
NAS devices. They have an on-board chip that handles things like, leds,
fan speed, buzzer, proper shutdown/restart and button presses:
- Power button for shutdown
- Reset button for triggering a factory reset
- USB Copy button for transfering files between a usb stick (not
available on all devices).
With the exception of the Power button (KEY_POWER), I am not sure which
keycodes I should use for the buttons mentioned above in the driver.
What would you recommend?
Thanks
- Markus Probst