INTERACT FORUM

Please login or register.

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

Author Topic: HP RC6 remote control transceiver not working  (Read 1230 times)

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
HP RC6 remote control transceiver not working
« on: December 31, 2023, 10:53:52 am »

Greetings, and happy new year to all!

I am a long time user on Windows, just installed MC31.0.83 on Linux Ubuntu (very easy), congratulations to the extended team, for MC client machines I am now ready to ditch Windows, huge progress done.

Last issue to me, MC31 does not recognize my old HP RC6 remote control USB transceiver that I use with a Logitech Harmony remote.  Both remote and transceiver function correctly in Windows.

In the Tools/Options/Remote Control windows, it says that I do not have a transceiver connected.
Same goes for the Windows version of MC31 (31.0.87 on Win 11), but the Logitech works perfectly in Windows, while in the Linux version only the directional keys are recognized.

Any suggestion?

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7906
  • Long cold Winter...
Re: HP RC6 remote control transceiver not working
« Reply #1 on: December 31, 2023, 11:50:34 am »

After doing a quick search, it appears that HP RC6 remote + receiver may not be supported in Linux at all, at least all the search results I found are of users trying to use it and not really finding a solution. You should check and see if it's even seen by the OS at all as any sort of input device. Maybe it detects it as a keyboard or something?

This thread is 14+ years old, but it does go into the issues of using that remote in Ubuntu: https://ubuntuforums.org/showthread.php?p=6775769
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
Re: HP RC6 remote control transceiver not working
« Reply #2 on: January 01, 2024, 07:08:03 am »

Thank you.  I will continue to search.

Is there a recommended IR remote solution for MC Linux, preferably with a USB transceiver compatible with my existing Harmony remote?

Cheers.
Logged

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
Re: HP RC6 remote control transceiver not working
« Reply #3 on: January 01, 2024, 11:21:55 am »

It appears "Recent Linux kernels have built-in support for IR remotes" :
https://mauricius.dev/configure-an-infrared-remote-control-with-linux/

My fresh install of Ubuntu 22.04 needed
Code: [Select]
$ sudo apt install ir-keytable
Found /sys/class/rc/rc0/ with:
Name: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
Driver: mceusb
Default keymap: rc-rc6-mce
Input device: /dev/input/event3
LIRC device: /dev/lirc0
Attached BPF protocols: Operation not supported
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm
Enabled kernel protocols: lirc rc-6
bus: 3, vendor/product: 1934:5168, version: 0x0001
Repeat delay = 500 ms, repeat period = 125 ms

With the following command, i was able to see real time the scancodes of pressed keys:
Code: [Select]
$ sudo ir-keytable -v -t -p rc-5,rc-5-sz,jvc,sony,nec,sanyo,mce_kbd,rc-6,sharp,xmp
Found device /sys/class/rc/rc0/
Parsing uevent /sys/class/rc/rc0/lirc0/uevent
/sys/class/rc/rc0/lirc0/uevent uevent MAJOR=239
/sys/class/rc/rc0/lirc0/uevent uevent MINOR=0
/sys/class/rc/rc0/lirc0/uevent uevent DEVNAME=lirc0
Input sysfs node is /sys/class/rc/rc0/input13/
Event sysfs node is /sys/class/rc/rc0/input13/event3/
Parsing uevent /sys/class/rc/rc0/input13/event3/uevent
/sys/class/rc/rc0/input13/event3/uevent uevent MAJOR=13
/sys/class/rc/rc0/input13/event3/uevent uevent MINOR=67
/sys/class/rc/rc0/input13/event3/uevent uevent DEVNAME=input/event3
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-rc6-mce
/sys/class/rc/rc0/uevent uevent DRV_NAME=mceusb
/sys/class/rc/rc0/uevent uevent DEV_NAME=Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
input device is /dev/input/event3
/sys/class/rc/rc0/protocols protocol rc-5 (disabled)
/sys/class/rc/rc0/protocols protocol nec (disabled)
/sys/class/rc/rc0/protocols protocol rc-6 (enabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol rc-5-sz (disabled)
/sys/class/rc/rc0/protocols protocol sanyo (disabled)
/sys/class/rc/rc0/protocols protocol sharp (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol xmp (disabled)
/sys/class/rc/rc0/protocols protocol imon (disabled)
/sys/class/rc/rc0/protocols protocol rc-mm (disabled)
/sys/class/rc/rc0/protocols protocol lirc (enabled)
Opening /dev/input/event3
Input Protocol version: 0x00010001
Protocols changed to rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Testing events. Please, press CTRL-C to abort.
1457.925220: lirc protocol(rc6_mce): scancode = 0x800f0422
1457.925250: event type EV_MSC(0x04): scancode = 0x800f0422
1457.925250: event type EV_KEY(0x01) key_down: KEY_OK(0x0160)
1457.925250: event type EV_SYN(0x00).
1458.031174: lirc protocol(rc6_mce): scancode = 0x800f0422 repeat
1458.031208: event type EV_MSC(0x04): scancode = 0x800f0422
1458.031208: event type EV_SYN(0x00).
1458.208102: event type EV_KEY(0x01) key_up: KEY_OK(0x0160)
1458.208102: event type EV_SYN(0x00).
1511.926791: lirc protocol(rc6_mce): scancode = 0x800f041f toggle=1
1511.926825: event type EV_MSC(0x04): scancode = 0x800f041f
1511.926825: event type EV_KEY(0x01) key_down: KEY_DOWN(0x006c)
1511.926825: event type EV_SYN(0x00).
^[[B1512.032799: lirc protocol(rc6_mce): scancode = 0x800f041f repeat toggle=1
1512.032824: event type EV_MSC(0x04): scancode = 0x800f041f
1512.032824: event type EV_SYN(0x00).
1512.138800: lirc protocol(rc6_mce): scancode = 0x800f041f repeat toggle=1
1512.138833: event type EV_MSC(0x04): scancode = 0x800f041f
1512.138833: event type EV_SYN(0x00).
1512.316102: event type EV_KEY(0x01) key_up: KEY_DOWN(0x006c)
1512.316102: event type EV_SYN(0x00).
1581.667305: lirc protocol(rc6_mce): scancode = 0x800f040f
1581.667337: event type EV_MSC(0x04): scancode = 0x800f040f
1581.667337: event type EV_KEY(0x01) key_down: KEY_INFO(0x0166)
1581.667337: event type EV_SYN(0x00).
1581.772242: lirc protocol(rc6_mce): scancode = 0x800f040f repeat
1581.772272: event type EV_MSC(0x04): scancode = 0x800f040f
1581.772272: event type EV_SYN(0x00).
1581.878304: lirc protocol(rc6_mce): scancode = 0x800f040f repeat
1581.878334: event type EV_MSC(0x04): scancode = 0x800f040f
1581.878334: event type EV_SYN(0x00).
1582.056099: event type EV_KEY(0x01) key_up: KEY_INFO(0x0166)
1582.056099: event type EV_SYN(0x00).
1936.684831: lirc protocol(rc6_mce): scancode = 0x800f041a toggle=1
1936.684863: event type EV_MSC(0x04): scancode = 0x800f041a
1936.684863: event type EV_KEY(0x01) key_down: KEY_NEXT(0x0197)
1936.684863: event type EV_SYN(0x00).
1936.790859: lirc protocol(rc6_mce): scancode = 0x800f041a repeat toggle=1
1936.790895: event type EV_MSC(0x04): scancode = 0x800f041a
1936.790895: event type EV_SYN(0x00).
1936.896863: lirc protocol(rc6_mce): scancode = 0x800f041a repeat toggle=1
1936.896898: event type EV_MSC(0x04): scancode = 0x800f041a
1936.896898: event type EV_SYN(0x00).
1937.076104: event type EV_KEY(0x01) key_up: KEY_NEXT(0x0197)
1937.076104: event type EV_SYN(0x00).

The full mapping:
Code: [Select]
$ sudo ir-keytable -r
scancode 0x800f0400 = KEY_NUMERIC_0 (0x200)
scancode 0x800f0401 = KEY_NUMERIC_1 (0x201)
scancode 0x800f0402 = KEY_NUMERIC_2 (0x202)
scancode 0x800f0403 = KEY_NUMERIC_3 (0x203)
scancode 0x800f0404 = KEY_NUMERIC_4 (0x204)
scancode 0x800f0405 = KEY_NUMERIC_5 (0x205)
scancode 0x800f0406 = KEY_NUMERIC_6 (0x206)
scancode 0x800f0407 = KEY_NUMERIC_7 (0x207)
scancode 0x800f0408 = KEY_NUMERIC_8 (0x208)
scancode 0x800f0409 = KEY_NUMERIC_9 (0x209)
scancode 0x800f040a = KEY_DELETE (0x6f)
scancode 0x800f040b = KEY_ENTER (0x1c)
scancode 0x800f040c = KEY_SLEEP (0x8e)
scancode 0x800f040d = KEY_MEDIA (0xe2)
scancode 0x800f040e = KEY_MUTE (0x71)
scancode 0x800f040f = KEY_INFO (0x166)
scancode 0x800f0410 = KEY_VOLUMEUP (0x73)
scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)
scancode 0x800f0412 = KEY_CHANNELUP (0x192)
scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)
scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)
scancode 0x800f0415 = KEY_REWIND (0xa8)
scancode 0x800f0416 = KEY_PLAY (0xcf)
scancode 0x800f0417 = KEY_RECORD (0xa7)
scancode 0x800f0418 = KEY_PAUSE (0x77)
scancode 0x800f0419 = KEY_STOP (0x80)
scancode 0x800f041a = KEY_NEXT (0x197)
scancode 0x800f041b = KEY_PREVIOUS (0x19c)
scancode 0x800f041c = KEY_NUMERIC_POUND (0x20b)
scancode 0x800f041d = KEY_NUMERIC_STAR (0x20a)
scancode 0x800f041e = KEY_UP (0x67)
scancode 0x800f041f = KEY_DOWN (0x6c)
scancode 0x800f0420 = KEY_LEFT (0x69)
scancode 0x800f0421 = KEY_RIGHT (0x6a)
scancode 0x800f0422 = KEY_OK (0x160)
scancode 0x800f0423 = KEY_EXIT (0xae)
scancode 0x800f0424 = KEY_DVD (0x185)
scancode 0x800f0425 = KEY_TUNER (0x182)
scancode 0x800f0426 = KEY_EPG (0x16d)
scancode 0x800f0427 = KEY_FULL_SCREEN (0x174)
scancode 0x800f0432 = KEY_MODE (0x175)
scancode 0x800f0433 = KEY_PRESENTATION (0x1a9)
scancode 0x800f0434 = KEY_EJECTCD (0xa1)
scancode 0x800f043a = KEY_BRIGHTNESSUP (0xe1)
scancode 0x800f0446 = KEY_TV (0x179)
scancode 0x800f0447 = KEY_AUDIO (0x188)
scancode 0x800f0448 = KEY_PVR (0x16e)
scancode 0x800f0449 = KEY_CAMERA (0xd4)
scancode 0x800f044a = KEY_VIDEO (0x189)
scancode 0x800f044c = KEY_LANGUAGE (0x170)
scancode 0x800f044d = KEY_TITLE (0x171)
scancode 0x800f044e = KEY_PRINT (0xd2)
scancode 0x800f0450 = KEY_RADIO (0x181)
scancode 0x800f045a = KEY_SUBTITLE (0x172)
scancode 0x800f045b = KEY_RED (0x18e)
scancode 0x800f045c = KEY_GREEN (0x18f)
scancode 0x800f045d = KEY_YELLOW (0x190)
scancode 0x800f045e = KEY_BLUE (0x191)
scancode 0x800f0465 = KEY_POWER2 (0x164)
scancode 0x800f0469 = KEY_MESSENGER (0x1ae)
scancode 0x800f046e = KEY_PLAYPAUSE (0xa4)
scancode 0x800f046f = KEY_PLAYER (0x183)
scancode 0x800f0480 = KEY_BRIGHTNESSDOWN (0xe0)
scancode 0x800f0481 = KEY_PLAYPAUSE (0xa4)
Enabled kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
$
But still only the 4 directional arrows recognized by MC31.

So if everything is already there, is it possible somehow MC31 does not connect to those kernel drivers?
(I have not installed LIRC, it is still the basic installation of Ubuntu 22.04))

Cheers.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5242
  • "Linux Merit Badge" Recipient
Re: HP RC6 remote control transceiver not working
« Reply #4 on: January 01, 2024, 11:56:17 am »

You may be interested in some recent discussion about IR remotes on Linux in this thread:

https://yabb.jriver.com/interact/index.php/topic,136975.0.html

The basic issue is that Ubuntu's desktop environment (Gnome) consumes media keypresses.  You can work around this in various ways, but the last post in that thread offers a particularly interesting suggestion.
Logged

David Sydney

  • Galactic Citizen
  • ****
  • Posts: 377
Re: HP RC6 remote control transceiver not working
« Reply #5 on: January 03, 2024, 02:02:24 am »

I am running on Manjaro/KDE and I have a generic RC6 receiver and a Windows Media Centre remote I got off ebay and I get volume up/down, GreenWindows button jumps to Theatre view and the direction arrows / OK work.... but that's about it. Would be nice if there was more.

Whats more annoying is the media keys on my Corsair Straffe v2 keyboard dont do anything in Linux in MC but also in Spotify and maybe others, but the volume wheel works. 

I know there are KDE settings for keyboard shortcuts inc media keys, but I have not had a chance to dive into the details as referenced by mwillems?

Happy new year all...
Logged
Dave
------
Linux Manjaro 24 / Windows 10 Pro | i7 14700K Gigabyte Z790 UD AX | JRMark 10253 | Realtek Integrated HDAudio SPDIF | PC Sound = 1/ Yamaha TSS-15 5.1 Speaker System, 2/ SMSL SU-1 DAC + TA-66 Tube Headphone Amp + Klipsch ProMedia Heritage 2.1 Speakers | HiFi Sound = 1/ Network DLNA to WiiM Ultra Streamer + Advaned Paris A10 Amp in Music Room, 2/ DLNA to Yamaha RX-V777 AV Receiver in Living Room & Outside Deck, 3/ DLNA to Paired Yamaha WiFi WX-010 MusicCast Speakers to Outside Areas

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
Re: HP RC6 remote control transceiver not working
« Reply #6 on: January 03, 2024, 06:59:56 am »

Thank you mwillems, I will have a look.

If I succeed, I will post a follow up.
Cheers.
Logged
Pages: [1]   Go Up