From: Markus Probst <markus.probst@posteo.de>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Keycodes for Factory reset button and USB Copy Button
Date: Fri, 21 Nov 2025 21:09:40 +0000 [thread overview]
Message-ID: <1c63eb04e7a2d3365bfcc9887352672769e61076.camel@posteo.de> (raw)
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
reply other threads:[~2025-11-21 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c63eb04e7a2d3365bfcc9887352672769e61076.camel@posteo.de \
--to=markus.probst@posteo.de \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®