<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm at my wits end trying to get my new remote to work and thought the
lirc with alsa driver would do the trick.<br>
<br>
I built the circuit (<a class="moz-txt-link-freetext" href="http://www.lirc.org/ir-audio.html">http://www.lirc.org/ir-audio.html</a>) with some
modifications to reuse the Hauppauge receiver and get power from a
spare USB plug.&nbsp; It seems to work.&nbsp; When it's plugged in and I press
buttons I hear the bumps, pops and beeps.<br>
<br>
Then I compiled lirc with the alsa driver.&nbsp; Everything seemed to
install fine.<br>
<br>
Now, following the instructions
(<a class="moz-txt-link-freetext" href="http://www.lirc.org/html/audio-alsa.html">http://www.lirc.org/html/audio-alsa.html</a>) I try to use arecord.&nbsp; For
some reason the U8 format doesn't work and I get this error:<br>
<br>
<blockquote><tt>$ arecord -D hw:0,3 -r8000 -c1 -f U8<br>
RIFF$??WAVEfmt @data??Recording WAVE 'stdout' : Unsigned 8 bit, Rate
8000 Hz, Mono<br>
arecord: set_params:896: Sample format non available</tt><br>
  <br>
</blockquote>
I have to change the channel switch to c2 and the format to S16_LE to
get it to show me anything (<tt>arecord -D hw:0,3 -r8000 -c2 -f S16_LE</tt>).&nbsp;
However, now I turn down the line-in in volume and <i>should</i> only
see junk on the screen when I press a button, but continue to see the
page scroll with extra crap.&nbsp; I've muted all other input items in
alsamixer and have set line-in to capture.<br>
<br>
When I try to run '<tt>irrecord -d hw:0,3 file</tt>' I get the
following messages:<br>
<br>
<blockquote><tt>irrecord -&nbsp; application for recording IR-codes for
usage with lirc<br>
  <br>
Copyright (C) 1998,1999 Christoph Bartelmus(<a class="moz-txt-link-abbreviated" href="mailto:lirc@bartelmus.de">lirc@bartelmus.de</a>)<br>
  <br>
irrecord: ALSA function snd_pcm_hw_params_set_format returned error:
Invalid argument<br>
irrecord: hw_params_set_format: Success<br>
irrecord: could not init hardware (lircd running ? --&gt; close it,
check permissions)<br>
  <br>
  </tt></blockquote>
I've verified that lircd is not running, however, there seems to be a
process called lirc_dev.<br>
<br>
Just as extra information, here's my audio device list:<br>
<br>
<blockquote><tt>$ arecord -l<br>
**** List of CAPTURE Hardware Devices ****<br>
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel
82801DB-ICH4]<br>
&nbsp; Subdevices: 1/1<br>
&nbsp; Subdevice #0: subdevice #0<br>
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 1: Intel ICH - MIC
ADC [Intel 82801DB-ICH4 - MIC ADC]<br>
&nbsp; Subdevices: 1/1<br>
&nbsp; Subdevice #0: subdevice #0<br>
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 2: Intel ICH - MIC2
ADC [Intel 82801DB-ICH4 - MIC2 ADC]<br>
&nbsp; Subdevices: 1/1<br>
&nbsp; Subdevice #0: subdevice #0<br>
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 3: Intel ICH - ADC2
[Intel 82801DB-ICH4 - ADC2]<br>
&nbsp; Subdevices: 1/1<br>
&nbsp; Subdevice #0: subdevice #0<br>
  <br>
  </tt></blockquote>
<br>
Any ideas?<br>
<br>
Thanks,<br>
Jeremy<br>
</body>
</html>