Hi,

I'm relatively new to configuring lirc, so please forgive me for using lingo incorrectly.  I'm trying to use a sony rm-yd028 remote with huludesktop, which requires the --release argument for lircd.  Watching irw on keypresses it's sending these release events twice.  The remote has no problems working in mythtv and the general function otherwise is correct.  So my problem is twofold, I don't understand why lirc is sending the release events twice (looking at example logs other places, theirs only send once), and I don't know of a way to make huludesktop ignore one since it seems to be keying off of it.  I tried modifying the lirc_repeat_threshold option to values ranging from 0 to 10 and 9000 in .huludesktop, but this doesn't seem to have an effect on this problem.

I used irrecord to generate a config file and compared it to the archived supported sony remotes.  The results were near identical, except my remote had a line for min_repeat 2
http://lirc.sourceforge.net/remotes/sony/RM-YD010

I'm using an ir receiver that came with an mceusb remote from newegg.  I modified the configuration files generated by mythbuntu by commenting out the mceusb include and then pasting the output from irrecord into the file.  The only other modification was to hardware.conf to add the -r argument for hulu

.huludesktop
[remote]
lirc_device = /dev/lircd
lirc_remote_identifier = sonyremote
lirc_release_suffix = _UP
lirc_repeat_threshold = 10
button_name_up = Up
button_name_down = Down
button_name_left = Left
button_name_right = Right
button_name_select = OK
button_name_menu = Home


lsusb
Bus 002 Device 002: ID 1784:0008 TopSeed Technology Corp.

irw - pushing each button once: left, up, right, down
00000000000002d0 00 Left sonyremote
00000000000002d0 01 Left sonyremote
00000000000002d0 02 Left sonyremote
00000000000002d0 00 Left_UP sonyremote
00000000000002d0 03 Left sonyremote
00000000000002d0 00 Left_UP sonyremote
00000000000002f0 00 Up sonyremote
00000000000002f0 01 Up sonyremote
00000000000002f0 02 Up sonyremote
00000000000002f0 00 Up_UP sonyremote
00000000000002f0 03 Up sonyremote
00000000000002f0 00 Up_UP sonyremote
0000000000000cd0 00 Right sonyremote
0000000000000cd0 01 Right sonyremote
0000000000000cd0 02 Right sonyremote
0000000000000cd0 00 Right_UP sonyremote
0000000000000cd0 03 Right sonyremote
0000000000000cd0 00 Right_UP sonyremote
0000000000000af0 00 Down sonyremote
0000000000000af0 01 Down sonyremote
0000000000000af0 00 Down_UP sonyremote
0000000000000af0 02 Down sonyremote
0000000000000af0 00 Down_UP sonyremote


# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev lirc_mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS="-r"

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""



lircd.conf
#Configuration for the Windows Media Center Transceivers/Remotes (all) remote:
#include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"

begin remote

  name  sonyremote
  bits           12
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2481   507
  one          1268   523
  zero          671   523
  gap          44783
  toggle_bit_mask 0x0

      begin codes
          Left                 0x2D0
          Up                   0x2F0
          Right                0xCD0
          Down                 0xAF0
          OK                   0xA70
      end codes

end remote

begin remote

  name  sonyremote_play
  bits            15
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2400   600
  one          1200   600
  zero          600   600
  gap          44828
  toggle_bit_mask 0x0

      begin codes
          Stop                 0x0CE9
          Play                 0x2CE9
          Pause                0x4CE9
          Rewind               0x6CE9
          Forward              0x1CE9
      end codes

end remote