* [PATCH] media: imon: Add iMON VFD HID OEM v1.2 key mappings
@ 2026-05-17 9:14 Alessandro Baldi
2026-05-18 9:16 ` Sean Young
0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Baldi @ 2026-05-17 9:14 UTC (permalink / raw)
To: sean, mchehab; +Cc: linux-media, linux-kernel, Alessandro Baldi
Add Vol+/Vol-/Mute panel button mappings for iMON VFD HID OEM v1.2.
This version differs in the codes that generate the
KEY_VOLUMEUP, KEY_VOLUMEDOWN and KEY_MUTE events.
Signed-off-by: Alessandro Baldi <baldovic@virgilio.it>
---
Note: this is my first kernel contribution.
Keycodes discovered by parsing USB packets with usbmon:
- modprobe usbmon
- cat /sys/kernel/debug/usb/usbmon/1u | grep Ii
Tested on Thermaltake Mozart Sx case with LibreELEC media center.
drivers/media/rc/imon.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index 9bb27ba82..049a73b5f 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -290,6 +290,10 @@ static const struct imon_usb_dev_descr imon_OEM_VFD = {
{ 0x000100000000ffeell, KEY_VOLUMEUP },
{ 0x010000000000ffeell, KEY_VOLUMEDOWN },
{ 0x000000000100ffeell, KEY_MUTE },
+ /* iMON VFD HID OEM v1.2 */
+ { 0x000000000a00ffeell, KEY_VOLUMEUP },
+ { 0x000000000b00ffeell, KEY_VOLUMEDOWN },
+ { 0x000000000c00ffeell, KEY_MUTE },
/* 0xffdc iMON MCE VFD */
{ 0x00010000ffffffeell, KEY_VOLUMEUP },
{ 0x01000000ffffffeell, KEY_VOLUMEDOWN },
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] media: imon: Add iMON VFD HID OEM v1.2 key mappings
2026-05-17 9:14 [PATCH] media: imon: Add iMON VFD HID OEM v1.2 key mappings Alessandro Baldi
@ 2026-05-18 9:16 ` Sean Young
0 siblings, 0 replies; 2+ messages in thread
From: Sean Young @ 2026-05-18 9:16 UTC (permalink / raw)
To: Alessandro Baldi; +Cc: mchehab, linux-media, linux-kernel
On Sun, May 17, 2026 at 11:14:15AM +0200, Alessandro Baldi wrote:
> Add Vol+/Vol-/Mute panel button mappings for iMON VFD HID OEM v1.2.
> This version differs in the codes that generate the
> KEY_VOLUMEUP, KEY_VOLUMEDOWN and KEY_MUTE events.
>
> Signed-off-by: Alessandro Baldi <baldovic@virgilio.it>
Thank you, patch applied.
Sean
> ---
>
> Note: this is my first kernel contribution.
> Keycodes discovered by parsing USB packets with usbmon:
> - modprobe usbmon
> - cat /sys/kernel/debug/usb/usbmon/1u | grep Ii
> Tested on Thermaltake Mozart Sx case with LibreELEC media center.
>
> drivers/media/rc/imon.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
> index 9bb27ba82..049a73b5f 100644
> --- a/drivers/media/rc/imon.c
> +++ b/drivers/media/rc/imon.c
> @@ -290,6 +290,10 @@ static const struct imon_usb_dev_descr imon_OEM_VFD = {
> { 0x000100000000ffeell, KEY_VOLUMEUP },
> { 0x010000000000ffeell, KEY_VOLUMEDOWN },
> { 0x000000000100ffeell, KEY_MUTE },
> + /* iMON VFD HID OEM v1.2 */
> + { 0x000000000a00ffeell, KEY_VOLUMEUP },
> + { 0x000000000b00ffeell, KEY_VOLUMEDOWN },
> + { 0x000000000c00ffeell, KEY_MUTE },
> /* 0xffdc iMON MCE VFD */
> { 0x00010000ffffffeell, KEY_VOLUMEUP },
> { 0x01000000ffffffeell, KEY_VOLUMEDOWN },
> --
> 2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-18 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-17 9:14 [PATCH] media: imon: Add iMON VFD HID OEM v1.2 key mappings Alessandro Baldi
2026-05-18 9:16 ` Sean Young
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®