title: How to use irrecord with 2ms timing instead of the default 5ms?
body: <p>I'm trying to teach lirc on my Raspberry Pi the remote-codes for my heat pump - a Mitsubishi Electric MSZ-GE60VA (remote is SG10A 1833)</p>
  
  <p>I run irrecord as follows:</p>
  
  <pre><code>sudo /etc/init.d/lirc stop
  irrecord -d /dev/lirc0 heatpump
  </code></pre>
  
  <p>I get the usual cruft about pushing buttons, etc, and duly do so.</p>
  
  <p>After several dots (not always the same number), irrecord bails with the following error message: </p>
  
  <pre><code>irrecord: could not find gap.
  irrecord: gap not found, can't continue
  </code></pre>
  
  <p>Now, I've found elsewhere that the sample rate might be wrong, and to look at the waveform using xmode2 - which I've done.  I'm pretty sure I'd have more luck if I could get irrecord to sample faster, as xmode2 can.</p>
  
  <p>Any ideas?  (NB: I've run with the force option too, and no difference)</p>
  
  <p>Here are my results using xmode2 - you can see the 5ms sample can't really make heads or tails of the signal, but the 2ms sample can.</p>
  
  <p><a href="http://jnawk.net.nz/5ms.png" rel="nofollow noreferrer">5ms sample http://jnawk.net.nz/5ms.png</a> 5ms sample (default)</p>
  
  <p><a href="http://jnawk.net.nz/2ms.png" rel="nofollow noreferrer">2ms sample http://jnawk.net.nz/2ms.png</a> 2ms sample</p>