Remote control denon RC1213

begin

prog = irexec

button = KEY_PLAYPAUSE

config = /usr/local/bin/volumio toggle

end

begin

prog = irexec

button = KEY_STOP

config = /usr/local/bin/volumio stop

end

begin

prog = irexec

button = KEY_PREVIOUSSONG

config = /usr/local/bin/volumio previous

end

begin

prog = irexec

button = KEY_NEXTSONG

config = /usr/local/bin/volumio next

end

begin

prog = irexec

button = KEY_FORWARD

config = /usr/local/bin/volumio seek plus

end

begin

prog = irexec

button = KEY_REWIND

config = /usr/local/bin/volumio seek minus

end

begin

prog = irexec

button = KEY_CLEAR

config = /usr/local/bin/volumio clear

end

begin

prog = irexec

button = RANDOM

config = /usr/local/bin/volumio random

end

begin

prog = irexec

button = REPEAT

config = /usr/local/bin/volumio repeat

end

Volume commands

begin

prog = irexec

button = KEY_VOLUMEUP

config = /usr/local/bin/volumio volume plus

end

begin

prog = irexec

button = KEY_VOLUMEDOWN

config = /usr/local/bin/volumio volume minus

end

begin

prog = irexec

button = KEY_MUTE

config = /usr/local/bin/volumio volume mute

end

Please convert the raw codes in the lircd.conf file to a regular configuration with

irrecord -a lircd.conf

and try if that converted file works. Maybe make a backup of your original recorded lircd.conf file.

volumio@volumio:/data/plugins/accessory/ir_controller/configurations/Denon Remot

e RC-1213$ sudo irrecord -a lircd.conf

[sudo] password for volumio:

Running as regular user volumio

Using driver default on device /dev/lirc0

irrecord: could not open logfile “/home/volumio/.cache/irrecord.log”

irrecord: Permission denied

Could not parse config file lircd.conf

Try without sudo. Make sure user volumio has sufficient permissions on your lircd.conf.

it’s same

begin remote

name Denon-RC1213
bits 48
flags SPACE_ENC
eps 30
aeps 100

header 3326 1704
one 397 1278
zero 397 439
ptrail 398
gap 74805
toggle_bit_mask 0x0
frequency 38000

  begin codes
      KEY_PLAYPAUSE            0x00000442C086
      next                     0x0000044180C5
      raw                      0x0000044980CD
      stop                     0x0000044780C3
      nextvel                  0x0000044580C1
      rawvel                   0x0000044D80C9
      volup                    0x00000E8B0085
      voldown                  0x00000E83008D
      mute                     0x00000E8D0083
      random                   0x000004454001
      repeat                   0x0000044280C6
      power                    0x0000044CC088
      enter                    0x000004462062
      up                       0x0000044FC08B
      down                     0x000004402064
      right                    0x0000044A206E
      left                     0x000004422066
  end codes

end remote

but the key_playpause don’t work!

begin remote

name Denon-RC1213
bits 48
flags SPACE_ENC
eps 30
aeps 100

header 3326 1704
one 397 1278
zero 397 439
ptrail 398
gap 74805
toggle_bit_mask 0x0
frequency 38000

  begin codes
      KEY_PLAYPAUSE            0x00000442C086
      KEY_NEXTSONG             0x0000044180C5
      KEY_PREVIOUSSONG         0x0000044980CD
      KEY_STOP                 0x0000044780C3
      KEY_FORWARD              0x0000044580C1
      KEY_REWIND               0x0000044D80C9
      KEY_VOLUMEUP             0x00000E8B0085
      KEY_VOLUMEDOWN           0x00000E83008D
      KEY_MUTE                 0x00000E8D0083
      RANDOM                   0x000004454001
      REPEAT                   0x0000044280C6
      #power                    0x0000044CC088
      #enter                    0x000004462062
      #up                       0x0000044FC08B
      #down                     0x000004402064
      #right                    0x0000044A206E
      #left                     0x000004422066
  end codes

end remote

None of the buttons work, I assume.

Did you

?

irw with or without sudo run but when push the button on remote control nothing i see.
Same situation if i use apple remote!

If i find time I will do a test recording on my Volumio Buster beta system tonight and get get back to you afterwards.

You’re my Angel! Thank you so much…

This morning i flashing new beta version and this is the generated file:

volumio@volumio:~$ irrecord -n -f -d /dev/lirc0 ~/ircd.conf
volumio@volumio:~$ irrecord -a lircd.conf

Summary

This config file was automatically generated

using lirc-0.10.1(emulation) on Thu May 20 09:24:26 2021

Command line used: -a denon.lircd.conf

Kernel version (uname -r): 5.4.83-v7l+

Remote name (as of config file): denon

Brand of remote device, the thing you hold in your hand:

Remote device model nr:

Remote device info url:

Does remote device has a bundled capture device e. g., a

usb dongle? :

For bundled USB devices: usb vendor id, product id

and device string (use dmesg or lsusb):

Type of device controlled

(TV, VCR, Audio, DVD, Satellite, Cable, HTPC, …) :

Device(s) controlled by this remote:

begin remote

name denon
bits 48
flags SPACE_ENC
eps 30
aeps 100

header 3330 1704
one 404 1273
zero 404 431
ptrail 406
gap 74798
toggle_bit_mask 0x0
frequency 38000

  begin codes
      KEY_PLAYPAUSE                     0x000004250021
      KEY_STOP                     0x0000042D0029
      KEY_NEXTSONG                     0x000004230027
      KEY_PREVIOUSSONG                   0x0000042B002F
      KEY_REWIND                   0x0000042F002B
      KEY_FORWARD                   0x000004270023
      KEY_VOLUMEUP                    0x00000E8B0085
      KEY_VOLUMEDOWN                  0x00000E83008D
      KEY_MUTE                     0x00000E8D0083
      RANDOM                   0x000004254061
      REPEAT                   0x0000042D4069
      #power                    0x0000042C0028
  end codes

end remote

But it does not work, right?

In the meanwhile I tried to record a lircd.conf using 3.074 beta, but had no success. IIRC it worked when I tried last year in December, but memory may fool me and I used another tool to get the scancodes :thinking:

No…don’t work.

In order to (hopefully) speed things up and get you a working profile you might try installing a (very) old Volumio version using a kernel version prior to 4.19. From kernel 4.19 on instead of the lirc-rpi the gpio-ir module had to be used. This lead to issues with irrecord and other tools from lirc… To my knowledge these problems should have been patched in the lirc version you get for Buster - but I could be wrong…

IIRC Volumio release version 2.587 has been the last version with an older kernel. 2.457 still seems to be downloadable. You may install that version instead of the Buster beta and attempt to record a lircd.conf for your remote.

Ok…I’ll try

the 2.457 on my R Pi4 don’t run!

Too bad! 2.457 might be too old for Pi 4 then :frowning:

I just had a look at the sources of lirc 0.10.1-6.3~deb10u1. Irrecord appears to be patched as expected. I puzzle over why it still doesn’t work…

now i’m on raspdebian last version and whit irrecond i had same problems!
i’ll buy an apple a1156… :frowning: :frowning_face: