Hi,
I have plex-htpc installed on Lubuntu 22.04
I have an IR remote control from Microsoft model 1039 - RC6, which I believe is pretty common.
Using the command ir-keytable I can see my remote is recognized as rc6 and all button are detected and correctly mapped to the right function (OK, PLAY,…)
In plex-htpc, only the arrow keys and play work. All others are inactive.
Looking at the article https://support.plex.tv/articles/plex-htpc-input-maps/ , I see that I may need to change the input-map. Unfortunately in bullet point 5. I cannot see any name of a device.
In the logs, iIt looks like what I have is only keyboard and there is an error with LIRC
Mar 11, 2023 11:42:47.784 [0x7fcbb7e48c40] DEBUG - [InputManager] Initializing.
Mar 11, 2023 11:42:47.787 [0x7fcbb7e48c40] INFO - [InputManager] Loading inputmaps from: /snap/plex-htpc/31/resources/inputmaps
Mar 11, 2023 11:42:47.789 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] osd/libass: libass API version: 0x1600000
Mar 11, 2023 11:42:47.789 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] osd/libass: libass source: tarball: 0.16.0
Mar 11, 2023 11:42:47.795 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] osd/libass: Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 4.2.1 (COMPLEX)
Mar 11, 2023 11:42:47.795 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] osd/libass: Setting up fonts...
Mar 11, 2023 11:42:47.801 [0x7fcbb7e48c40] INFO - [InputManager] Loading inputmaps from: /home/player/snap/plex-htpc/common/inputmaps
Mar 11, 2023 11:42:47.802 [0x7fcbb7e48c40] INFO - **[InputManager/Keyboard] Successfully inited input**
Mar 11, 2023 11:42:47.871 [0x7fcb5ffff700] INFO - [Input/SDL] Found 0 joysticks
Mar 11, 2023 11:42:47.871 [0x7fcbb7e48c40] INFO - [InputManager/SDL] Successfully inited input
Mar 11, 2023 11:42:47.871 [0x7fcbb7e48c40] **ERROR - [InputManager/LIRC] LIRC Socket Error : 2**
Mar 11, 2023 11:42:47.871 [0x7fcbb7e48c40] WARN - [InputManager/LIRC] Failed to init input
Mar 11, 2023 11:42:47.872 [0x7fcb5f7fe700] INFO - libCEC was successfully initialized, found version 262151
Mar 11, 2023 11:42:47.897 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] osd/libass: Using font provider fontconfig
Mar 11, 2023 11:42:47.897 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] osd/libass: Done.
Mar 11, 2023 11:42:47.900 [0x7fcb937fe700] DEBUG - [MPVEngine/mpv] cplayer: Done loading scripts.
Mar 11, 2023 11:42:47.941 [0x7fcbb7e48c40] INFO - [InputManager/CEC] Successfully inited input
Mar 11, 2023 11:42:48.052 [0x7fcbb7e48c40] INFO - [DisplayManager] Found 1 Display(s).
Mar 11, 2023 11:42:48.052 [0x7fcbb7e48c40] INFO - [DisplayManager] Available modes for Display HDMI-1
Mar 11, 2023 11:42:48.052 [0x7fcbb7e48c40] INFO - [DisplayManager] Mode: 1920x 1080ix 0bpp@60.000Hz
When pressing on OK for instance there is no trace of it in the logs, only the working keys (arrows and PLAY):
Mar 11, 2023 11:43:10.463 [0x7fcbb7e48c40] DEBUG - [InputManager] Input received: source: Keyboard keycode: Right:3
Mar 11, 2023 11:43:10.463 [0x7fcbb7e48c40] DEBUG - [InputManager] Emit input action: ["right"]
Mar 11, 2023 11:43:10.463 [0x7fcbb7e48c40] INFO - [InputManager] [InputConnector] Sending actions to UI: ["right"]
Mar 11, 2023 11:43:10.769 [0x7fcbb7e48c40] DEBUG - [InputManager] Input received: source: Keyboard keycode: Right:1
Mar 11, 2023 11:43:18.896 [0x7fcbb7e48c40] DEBUG - [InputManager] Input received: source: Keyboard keycode: Media Play:3
Mar 11, 2023 11:43:18.896 [0x7fcbb7e48c40] DEBUG - [InputManager] Emit input action: ["play_pause"]
Mar 11, 2023 11:43:18.896 [0x7fcbb7e48c40] INFO - [InputManager] [InputConnector] Sending actions to UI: ["play_pause"]
I use the keyboard for the back/exit function. The keyboard works correctly.
Is there a way that Plex-htpc uses the default remote from linux, or how should I proceed if my remote looks recognized only as « keyboard ».
Thank you for helping.
Player Version#: plex-htpc 1.35.1