INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Configure IR remote?  (Read 2289 times)

Araj

  • World Citizen
  • ***
  • Posts: 190
Configure IR remote?
« on: August 18, 2020, 02:16:23 pm »

How do I configure an IR remote to work with JRMC26 on Ubuntu? The only keys that seem to be mapped correctly between my remote and MC are vol+ and vol-
The remote works fine with JRMC26 for Windows
I tried "Remote Control" in "Options" and when I click "Next", I get the message "You don't appear to have a Media Center Transceiver connected to your computer. Please connect it and try again."
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Configure IR remote?
« Reply #1 on: August 18, 2020, 04:33:29 pm »

I don't think you can use it with a (Windows) Media Center Remote.  You might find a remote (Logitech?) that would emulate a keyboard.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Configure IR remote?
« Reply #2 on: August 18, 2020, 08:38:21 pm »

I did test this at one time and got it working.
Mostly there needs to be an IR driver in your kernel that supports MCE and is configured properly then the functions get assigned to the X windows media keys.
Logged

Araj

  • World Citizen
  • ***
  • Posts: 190
Re: Configure IR remote?
« Reply #3 on: August 30, 2020, 09:11:51 am »

I'm a little bewildered.
There is an IR driver in the kernel and Rhythmbox, Ubuntu's default music player, somehow works a lot better with the remote.
As far as a remote that emulates a keyboard is concerned: I already have a wireless keyboard, but how would I assign the keys in MC?
What type of "Media Center Transceiver" does MC expect to identify in Ubuntu?
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Configure IR remote?
« Reply #4 on: August 30, 2020, 02:52:04 pm »

If you're registering keyboard input then you can pass MCWS commands using cURL or use an MCC (core command) although MCWS is more practical when sending commands over a network.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Configure IR remote?
« Reply #5 on: August 31, 2020, 12:23:31 pm »

The media keys we look for in linux MC are as follows:
XF86XK_AudioRaiseVolume
XF86XK_AudioLowerVolume
XF86XK_AudioMute
XF86XK_AudioNext
XF86XK_AudioPrev
XF86XK_AudioPlay
XF86XK_AudioPause
XF86XK_AudioStop

Any higher level IR drivers, Keyboard drivers, etc need to eventually send those as events into the XEvent system.
Logged

Araj

  • World Citizen
  • ***
  • Posts: 190
Re: Configure IR remote?
« Reply #6 on: September 01, 2020, 01:03:51 pm »

Hmmm. Sounds like it requires a fair amount of system knowledge and experience to get MC working with a remote. I was hoping there was a simpler solution.
Logged
Pages: [1]   Go Up