You are not logged in.
Hello.
How to configure lirc with audio_alsa driver?
My steps:
- I plugged a ir-receiver into MIC IN internal audio card (jack 3,5);
- set up capture from rear mic in alsamixer;
- then
arecord -D hw:0,0 -c2 -r48000 -f S16_LEi see random symbols in stdout and symbols are changed when i pressing on buttons on ir remote. Also i hear noise when i pressed on buttons on ir remote;
- then
irrecord -f -H audio_alsa -d hw:0,0@48000,r lircd.confcreate lircd.conf file;
- i runnig lirc.service and systemctl status lirc says that is OK.
string which starting lirc in lirc.service:
/usr/bin/lircd --driver=audio_alsa --device=hw:0,0 /home/arch/lircd.confBut ir remote don't work.
Help me, please, with this trouble.
Last edited by 32reg (2014-02-21 06:33:22)
Offline
I think the audio_alsa driver is partially broken. It worked quite fine with an older kernel like 2.6.32, but with newest kernels it seems lirc randomly detects remote codes. Might be caused by the alsa driver.
Offline
I found out a solution: necessary replace hw:0,0 to default in
irrecord -f -H audio_alsa -d hw:0,0@48000,r lircd.confand
/usr/bin/lircd --driver=audio_alsa --device=hw:0,0 /home/arch/lircd.confin sum it looks like
irrecord -f -H audio_alsa -d default lircd.conf
...
/usr/bin/lircd --driver=audio_alsa --device=default /home/arch/lircd.confNow all works perfectly.
Offline