Greetings fellow Lintards
I'm trying to set up LIRC with IR over the 3.5mm microphone port. It supports this with the alsa_audio driver. I have everything rigged up and when I press a button on my TV remote it goes
remote -> RF receiver -> 3.5mm into computer -> the mic input bar in Ubuntu's pulseaudio sound control panel moves to indicate a signal
However, when I use lircd with the command
lircd --driver=audio_alsa --device=hw:0@44100,r lircd.conf
I get no indication of a signal when using irrecord.
Furthermore, when I run
arecord -d 10 /tmp/test-mic-input.wav
I can clearly hear signal at the exact time I press buttons on my remote.
However, when I run
arecord -d 10 /tmp/test.wav --device hw:0
I get
audio open error: Device or resource busy
This leads me to wonder if hw:0 is simply the wrong device for some reason. What does arecord use by default? Or is there something else I can check here?
>>59482734
Is there any pulseaudio instance running? Try to kill it if there is.
>>59482869
>Is there any pulseaudio instance running? Try to kill it if there is.
Yes, although I'm not clear on what to do after killing it.
>>59482869
>>59483090
k, so I can get it to work when pulse is not running, what's step 2? Kinda weird desu
>>59483549
Well, if you don't need pulseaudio for any thing you can google how to prevent the daemon from spawning.
>>59483622
any idea why my input is being captured totally by pulse? I suppose I could try to use alsa but I'd have to figure out how to configure the system to use it, kind of a pain