Hi,
Experimenting with lirc (0.9.2pre1) I found that when starting lircd, it will parse each remote button in the config twice. The buttons are also added to the transmit buffer when doing this.
Why is it adding the button to the transmit buffer in the first place? This is also being done when using irsend to send a specific button.
The button isn't really send by the ir transmitter. This makes me wonder if it's just a matter of a not very descriptive debug message.
Why is it doing this twice for each button, if it should really be doing this in the first place? This seems like a waste of resources if you ask me.
Attached you'll find a log of a typical lircd start with the remote being parsed.
Don't get what you mean by "parse each remote button in the config twice". Your log doesn't show it.
The transmit buffer use is required as lircd needs to initialize some internal data structures. Use the source Luke.
There's a block like the following for each button present in the remotes config:
lircd-0.9.2pre1[477]: clearing transmit buffer
lircd-0.9.2pre1[477]: adding to transmit buffer:...
lircd-0.9.2pre1[477]: adding to transmit buffer:...
...
There's 70 of those blocks in the log, while there are only 35 buttons defined on the remote. So it's doing something with each button twice.
Last edit: Forage 2014-11-25
Yes, it does. lircd needs to get timing data for an initial transmission and a repeated transmission for each button.
I'm closing this issue. It's intended behaviour.