Difference between revisions of "Mythtv stuff"

From Combobulate
(Created page with "Here's some stuff for mythtv. == Harmony generated remote config == Turns out I didn't really need this, but a logitech harmony e300 remote, configured as Microsoft/MCE-1039...")
 
 
Line 3: Line 3:
 
== Harmony generated remote config ==
 
== Harmony generated remote config ==
  
Turns out I didn't really need this, but a logitech harmony e300 remote, configured as Microsoft/MCE-1039:
+
Here's the config I ended up with, using the logitech software to map hash and star to spare buttons:
 +
<nowiki>root@pvr:/etc# cat lircd.conf
 +
# Please make this file available to others
 +
# by sending it to <lirc@bartelmus.de>
 +
#
 +
# This config file was automatically generated
 +
# using lirc-0.9.1(default) on Tue Jan  5 19:32:24 2016
 +
#
 +
# Command line used: # Command line: lirc-harmony.conf
 +
# Remote name (as of config file): lirc-harmony.conf
 +
 
 +
# 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 capture devices: usb vendor id, product id
 +
#    and device string (use dmesg or lsusb):
 +
# Type of device controlled
 +
#    (TV, VCR, Audio, DVD, Satellite, Cable, PVR, HTPC, ...) :
 +
# Device(s) controlled by this remote:
 +
# Kernel version (uname -r):
 +
 
 +
begin remote
 +
 
 +
  name  mceusb
 +
  bits          13
 +
  flags RC6|CONST_LENGTH
 +
  eps            30
 +
  aeps          100
 +
 
 +
  header      2616  891
 +
  one          437  444
 +
  zero          437  444
 +
  pre_data_bits  24
 +
  pre_data      0x1BFF83
 +
  gap          105473
 +
  min_repeat      2
 +
#  suppress_repeat 2
 +
#  uncomment to suppress unwanted repeats
 +
  toggle_bit_mask 0x8000
 +
  rc6_mask    0x100000000
 +
 
 +
      begin codes
 +
          One                    0x1BFE
 +
          Two                    0x1BFD
 +
          Three                    0x1BFC
 +
          Four                    0x1BFB
 +
          Five                    0x1BFA
 +
          Six                    0x1BF9
 +
          Seven                    0x1BF8
 +
          Eight                    0x1BF7
 +
          Nine                    0x1BF6
 +
          Zero                    0x1BFF
 +
          Star                    0x1BE2
 +
          Hash                    0x1BE3
 +
          Clear                0x1BF5
 +
          Enter                0x1BF4
 +
          Record              0x1BE8
 +
          Stop                0x1BE6
 +
          Pause                0x1BE7
 +
          Replay                0x1BE4
 +
          Skip                0x1BE5
 +
          Rewind              0x1BEA
 +
          Forward              0x1BEB
 +
          Play                0x1BE9
 +
          Mute                0x1BF1
 +
          Audio                0x1BB3
 +
          LiveTV                  0x1BDA
 +
          Back                0x1BDC
 +
          Up                  0x1BE1
 +
          Down                0x1BE0
 +
          Left                0x1BDF
 +
          Right                0x1BDE
 +
          OK                  0x1BDD
 +
          VolUp            0x1BEF
 +
          VolDown          0x1BEE
 +
          ChanUp            0x1BED
 +
          ChanDown          0x1BEC
 +
          Red                  0x1BA4
 +
          Green                0x1BA3
 +
          Yellow              0x1BA2
 +
          Blue                0x1BA1
 +
          Menu                0x1BDB
 +
          Info                0x1BF0
 +
          Guide                  0x1BD9
 +
          Power                0x1BF3
 +
          Text                0x1BA5
 +
      end codes
 +
 
 +
end remote
 +
 
 +
</nowiki>
 +
 
 +
The first generated config, using newer keynames (Missing a key or two too, hash and star spring to mind).:
  
 
  <nowiki># Please make this file available to others
 
  <nowiki># Please make this file available to others

Latest revision as of 14:21, 17 January 2016

Here's some stuff for mythtv.

Harmony generated remote config

Here's the config I ended up with, using the logitech software to map hash and star to spare buttons:

root@pvr:/etc# cat lircd.conf
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# This config file was automatically generated
# using lirc-0.9.1(default) on Tue Jan  5 19:32:24 2016
#
# Command line used: # Command line: lirc-harmony.conf
# Remote name (as of config file): lirc-harmony.conf

# 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 capture devices: usb vendor id, product id
#     and device string (use dmesg or lsusb):
# Type of device controlled
#     (TV, VCR, Audio, DVD, Satellite, Cable, PVR, HTPC, ...) :
# Device(s) controlled by this remote:
# Kernel version (uname -r):

begin remote

  name  mceusb
  bits           13
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2616   891
  one           437   444
  zero          437   444
  pre_data_bits   24
  pre_data       0x1BFF83
  gap          105473
  min_repeat      2
#  suppress_repeat 2
#  uncomment to suppress unwanted repeats
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000

      begin codes
          One                    0x1BFE
          Two                    0x1BFD
          Three                    0x1BFC
          Four                    0x1BFB
          Five                    0x1BFA
          Six                    0x1BF9
          Seven                    0x1BF8
          Eight                    0x1BF7
          Nine                    0x1BF6
          Zero                    0x1BFF
          Star                     0x1BE2
          Hash                     0x1BE3
          Clear                0x1BF5
          Enter                0x1BF4
          Record               0x1BE8
          Stop                 0x1BE6
          Pause                0x1BE7
          Replay                0x1BE4
          Skip                 0x1BE5
          Rewind               0x1BEA
          Forward              0x1BEB
          Play                 0x1BE9
          Mute                 0x1BF1
          Audio                0x1BB3
          LiveTV                   0x1BDA
          Back                 0x1BDC
          Up                   0x1BE1
          Down                 0x1BE0
          Left                 0x1BDF
          Right                0x1BDE
          OK                   0x1BDD
          VolUp             0x1BEF
          VolDown           0x1BEE
          ChanUp            0x1BED
          ChanDown          0x1BEC
          Red                  0x1BA4
          Green                0x1BA3
          Yellow               0x1BA2
          Blue                 0x1BA1
          Menu                 0x1BDB
          Info                 0x1BF0
          Guide                  0x1BD9
          Power                0x1BF3
          Text                 0x1BA5
      end codes

end remote


The first generated config, using newer keynames (Missing a key or two too, hash and star spring to mind).:

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# This config file was automatically generated
# using lirc-0.9.1(default) on Tue Jan  5 19:32:24 2016
#
# Command line used: # Command line: lirc-harmony.conf
# Remote name (as of config file): lirc-harmony.conf

# 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 capture devices: usb vendor id, product id
#     and device string (use dmesg or lsusb):
# Type of device controlled
#     (TV, VCR, Audio, DVD, Satellite, Cable, PVR, HTPC, ...) :
# Device(s) controlled by this remote:
# Kernel version (uname -r):

begin remote

  name  lirc-harmony.conf
  bits           13
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2616   891
  one           437   444
  zero          437   444
  pre_data_bits   24
  pre_data       0x1BFF83
  gap          105473
  min_repeat      2
#  suppress_repeat 2
#  uncomment to suppress unwanted repeats
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000

      begin codes
          KEY_1                    0x1BFE
          KEY_2                    0x1BFD
          KEY_3                    0x1BFC
          KEY_4                    0x1BFB
          KEY_5                    0x1BFA
          KEY_6                    0x1BF9
          KEY_7                    0x1BF8
          KEY_8                    0x1BF7
          KEY_9                    0x1BF6
          KEY_0                    0x1BFF
          KEY_CLEAR                0x1BF5
          KEY_ENTER                0x1BF4
          KEY_RECORD               0x1BE8
          KEY_STOP                 0x1BE6
          KEY_PAUSE                0x1BE7
          KEY_AGAIN                0x1BE4
          KEY_NEXT                 0x1BE5
          KEY_REWIND               0x1BEA
          KEY_FORWARD              0x1BEB
          KEY_PLAY                 0x1BE9
          KEY_MUTE                 0x1BF1
          KEY_AUDIO                0x1BB3
          KEY_TV                   0x1BDA
          KEY_BACK                 0x1BDC
          KEY_UP                   0x1BE1
          KEY_DOWN                 0x1BE0
          KEY_LEFT                 0x1BDF
          KEY_RIGHT                0x1BDE
          KEY_OK                   0x1BDD
          KEY_VOLUMEUP             0x1BEF
          KEY_VOLUMEDOWN           0x1BEE
          KEY_CHANNELUP            0x1BED
          KEY_CHANNELDOWN          0x1BEC
          KEY_RED                  0x1BA4
          KEY_GREEN                0x1BA3
          KEY_YELLOW               0x1BA2
          KEY_BLUE                 0x1BA1
          KEY_MENU                 0x1BDB
          KEY_INFO                 0x1BF0
          KEY_EPG                  0x1BD9
          KEY_POWER                0x1BF3
          KEY_TEXT                 0x1BA5
      end codes

end remote