janvda/docker-lirc

fastforward key is not properly recognized of my Belgacom-BGC TV V4 remote

janvda opened this issue · 3 comments

I have created Belgacom-BGC_TV_V4.lircd.conf but this file doesn't properly recognize the fast forward key.

So when pressing the fastforward button it recognizes it as the play key instead of the fastforward key.

Also notice that unlike the other keys I couldn't record that key using irrecord !

Maybe I should manually update Belgacom-BGC_TV_V4.lircd.conf based on the raw output (see below) produced by mode2 command.

sh-4.4# mode2 --driver default --device /dev/lirc0
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Warning: Running as root.
space 3629838
pulse 434
space 286
pulse 156
space 286
pulse 156
space 607
pulse 164
space 286
pulse 173
space 590
pulse 156
space 772
pulse 156
space 286
pulse 173
space 269
pulse 173
space 269
pulse 156
space 312
pulse 121
space 616
pulse 164
space 451
pulse 156
space 616
pulse 156
space 286
pulse 156
space 607
pulse 164
space 616
pulse 156
space 286
pulse 156
space 88996
pulse 460
space 251
pulse 156
space 286
pulse 173
space 590
pulse 182
space 260
pulse 173
space 590
pulse 156
space 789
pulse 164
space 269
pulse 156
space 286
pulse 156
space 286
pulse 147
space 616
pulse 156
space 616
pulse 156
space 451
pulse 156
space 616
pulse 156
space 286
pulse 173
space 590
pulse 156
space 616
pulse 156
space 286
pulse 156
pulse 125634

manual update didn't fix it !
Maybe I have chosen the wrong part (I have chosen the last part).

          name KEY_FASTFORWARD
old values
              460     260     182     269     173     590
              156     286     156     607     156     781
              156     312     121     303     164     295
              121     295     156     607     164     451
              156     616     156     286     156     607
              164     616     156     286     173

New values

              460     251     156     286     173     590
              182     260     173     590     156     789
              164     269     156     286     156     286
              147     616     156     616     156     451
              156     616     156     286     173     590
              156     616     156     286     156

another approach:

  1. raw recording of several key strokes
  2. aligning them based on gaps
  3. check for same number after gap
  4. identify median pulse value.
  5. identify median value gap (must be 0 or 1)
    6....