More > JRiver Media Center 30 for Linux

JRiver Media Center 30.0.96 for Debian Buster (amd64, i386, arm64 and armhf)

<< < (2/4) > >>

bob:
We use these (lirc should be set to map the remote keys to the one in the first column. The rest is the internal mapping of the X-Windows key to MC's key)

--- Code: ---case XF86XK_AudioMute:                nVirtualKey = VK_VOLUME_MUTE; break;      // 0xAD - Volume Mute
case XF86XK_AudioLowerVolume:         nVirtualKey = VK_VOLUME_DOWN; break;      // 0xAE - Volume Down
case XF86XK_AudioRaiseVolume:         nVirtualKey = VK_VOLUME_UP; break;        // 0xAF - Volume Up
case XF86XK_AudioNext:                nVirtualKey = VK_MEDIA_NEXT_TRACK; break; // 0xB0 - Next Track
case XF86XK_AudioPrev:                nVirtualKey = VK_MEDIA_PREV_TRACK; break; // 0xB1 - Previous Track
case XF86XK_AudioForward:             nVirtualKey = VK_MEDIA_NEXT_TRACK; break; // 0xB0 - Alternate Next Track
case XF86XK_AudioRewind:              nVirtualKey = VK_MEDIA_PREV_TRACK; break; // 0xB1 - Alternate Previous Track
case XF86XK_AudioStop:                nVirtualKey = VK_MEDIA_STOP; break;       // 0xB2 - Stop
case XK_Cancel:                  nVirtualKey = VK_MEDIA_STOP; break;       // 0xB2 - alternate stop
case XF86XK_AudioPlay: /* Intentional fall-thru */
case XF86XK_AudioPause:               nVirtualKey = VK_MEDIA_PLAY_PAUSE; break; // 0xB3 - Play / Pause
--- End code ---

djp:
Hmmmm. After diving down numerous rabbit holes trying to figure this out, it appears that what you've listed above are XFree86 keysymbols, that I suspect are generated by media keys on "fancy" keyboards that have media controls on them. Of course, MC also responds to more traditional keysymbols (number keys, cursor keys, etc).

As it turns out, the Media Center remote (the generic family of Windows Media Center remotes, of which the remote you sell is one) is supported in the Linux kernel, with no configuration necessary. That's the good news. The bad news is that the keysymbols generated by the Linux kernel are entirely different from the XFree86 keysymbols you llisted. There is a small overlap with standard keyboard keysymbols (e.g. the four cursor keys, which is why they worked with MC out of the box). The Linux MCE keysymbols are listed at:

https://github.com/torvalds/linux/blob/master/drivers/media/rc/keymaps/rc-rc6-mce.c

Since what you've listed doesn't include a lot of the video functionality of the remote (which *do* work well in the Windows version of MC, e.g. DVD menu, etc), keysymbols will need to be added to bring MC Linux functionality up to parity with MC Windows. Since additional keysymbols shouldn't conflict with the existing XFree86 keysymbols, I humbly suggest (beg?) that MC Linux add recognition of the Linux kernel xorg keysymbols. This would allow MC Linux to have full remote capabilities using a standard Linux install, vice needing to create some custom lircd driver. MC 31 maybe?  :)

JimH:
djp,
Thanks for the help.  We'd like to have this working as in Windows.  I think that it's just a matter of time.

a_yzelman:
Hi all,

I've not been able to install MC for Linux so far and wanted to install from source as a next attempt. The wiki page [1] refers to this topic as the location of the sources, however, I only see .deb files. Might it be that it MC is supported for Debian and Ubuntu, but not for Linux generally? (I'm on CentOS Stream.)

Many thanks!
Albert-Jan

[1] https://wiki.jriver.com/index.php/Linux_Installation_%26_Removal

Awesome Donkey:
JRiver only officially supports Debian (hence why .deb files are only available, there's no other packages for other distros/package managers) but it does work for other distros (Ubuntu, Mint, etc.). Generally you're on your own if any issues arise using MC on unofficially supported distros though. I've never tried to use MC on CentOS so your mileage will vary here.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version