# this config file was generated with the help of
# xmode2-0.7.0 on 2004-11-09
#
# contributed by Adrien Beau <adrien.put_my_name_here@free.fr>
#
# brand:                       Sony
# model no. of remote control: RM-S11
# devices being controlled by this remote: Sony CHC-P11, other Sony audio sets
#
# This remote is part of CHC-P11 package sold by Sony. The CHC-P11
# is a micro-sized high-fidelity integrated sound system including
# an amplifier, a radio tuner, two tape decks and a Compact Disc
# player.
#
# The RM-S11 uses the Sony encoding. Keys can send 12, 15, or 20
# bits, but LIRC only supports one of these at a time; you need to
# define one remote per bit-length if you want to have support for
# all of your keys. Thankfully, all the keys on this remote send
# 12 bits.
#
# The timings and protocol information for the Sony encoding were
# obtained from http://www.ustr.net/infrared/sony.shtml
# This helped me ensure that the information below is accurate and
# can be used as a basis for other Sony remotes. The gap was
# measured with xmode2.

begin remote

  name  Sony_RM-S11
  bits           12
  flags SPACE_ENC|REVERSE|CONST_LENGTH
  eps            30
  aeps          100

  header       2400   600
  one          1200   600
  zero          600   600
  gap          50000
  frequency    40244

#	Descriptive Key Name		Code		Real Function
      begin codes
	'SYSTEM_POWER'        0x0000000000000815    # System_Power
	'SLEEP'               0x0000000000000860    # Sleep
	'DBFB'                0x0000000000000631    # DBFB
	'TUNER_BAND'          0x000000000000068F    # Tuner_Band
	'TUNER_PREVIOUS_PRESET'  0x0000000000000691    # Tuner_Previous_Preset
	'TUNER_NEXT_PRESET'   0x0000000000000690    # Tuner_Next_Preset
	'CD_PLAY'             0x00000000000008B2    # CD_Play
	'CD_PAUSE'            0x00000000000008B9    # CD_Pause
	'CD_STOP'             0x00000000000008B8    # CD_Stop
	'CD_PREVIOUS_TRACK'   0x00000000000008B0    # CD_Previous_Track
	'CD_NEXT_TRACK'       0x00000000000008B1    # CD_Next_Track
	'CD_EDIT'             0x00000000000008EA    # CD_Edit
	'TAPE_BACKWARD'       0x0000000000000837    # Tape_Backward
	'TAPE_FORWARD'        0x0000000000000832    # Tape_Forward
	'TAPE_FAST_BACKWARD'  0x0000000000000833    # Tape_Fast_Backward
	'TAPE_FAST_FORWARD'   0x0000000000000834    # Tape_Fast_Forward
	'TAPE_DECK_SELECT'    0x0000000000000879    # Tape_Deck_Select
	'TAPE_STOP'           0x0000000000000838    # Tape_Stop
	'SELECT_1_TO_5'       0x000000000000066E    # Select_1_To_5
	'VOLUMEUP'            0x0000000000000812    # Volume_Up
	'VOLUMEDOWN'          0x0000000000000813    # Volume_Down
      end codes

end remote
