Posts: 55
Threads: 13
Joined: Dec 2018
Reputation:
2
Hi, I am having problems installing my IR remote control with Tinypilot version 0.24. Everything was going well with version 0.12 which I decided to update with the latest version following a compass stabilization problem. The compass heading is quite stable with this version, but I cannot get my remote to work correctly. It seems that this new version brings an update to lircd. The command 'sudo mode2 -d / dev / lirc0' had to be replaced by 'sudo mode2 --driver default --device / dev / lirc0' to work. the 'irw' command gives me an error like 'Cannot connect to socket / usr / local / var / run / lirc / lircd: No such file or directory'. I set up my remote with 'irrecord -d / dev / lirc0 test.conf', then adding the result to /etc/lircd.conf, I can't have a working remote.
An idea?
cordially
Posts: 1,079
Threads: 14
Joined: Jun 2016
Reputation:
29
Are you using a custom remote?
irw should work. Perhaps you have killed lircd from programming it? The tinypilot 0.24 image certainly supports lircd remote reception.
You also may need to edit ~/.lircrc file depending on how you assigned the raw codes.
My new hardware supports IR decoding by either raspberry pi, or the onboard avr (basically arduino mini). So this is an option to not use lirc an and you don't need special programming with irrecord, only assign the code it receives from the web site. Not sure what tinypilot hardware you have.
Posts: 55
Threads: 13
Joined: Dec 2018
Reputation:
2
Thank you Sean for your answer,
I am using a tv remote which I am trying to configure with irrecord. Everything goes well during the procedure, but after adding the contents of test.conf to the /etc/lircd.conf file, the remote control does not work (although the same procedure works with version 0.12).
I am running this version (10/27/2020) on a Chinese nano arduino.
I checked the ~ / .lircrc file and everything seems to be in place; When doing a 'sudo sv status licd', the response is' run: lircd: (pid 1862) 1149s, normally down; run: log: (pid 569) 1189s'
So much for the info, I'm still looking for the solution
Happy new year to you
cordially
Posts: 1,079
Threads: 14
Joined: Jun 2016
Reputation:
29
it seems strange that it worked in 0.12
I did have to recompile everything for the new version though. I would figure out how to get irw working.
Posts: 1,079
Threads: 14
Joined: Jun 2016
Reputation:
29
I'm wondering if the lirc socket is actually in /tmp somewhere. Can you "find /tmp | grep lirc"
Sorry, I found lirc to be a big pain which is why I support using the arduino to decode now which requires no special programming