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

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

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

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"

#Chosen IR Transmitter

#Enable lircd

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

#Try to load appropriate kernel modules

# Default configuration files for your hardware if any

#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"

#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
  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
  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