Article 5P3PV lirc ftdi "buffer overflow while generating IR pattern

lirc ftdi "buffer overflow while generating IR pattern

by
Quakeboy02
from LinuxQuestions.org on (#5P3PV)
After resolving the problem I had on the RS-232 lircd setup, I need to setup the other emitter, which is a FT232R. I followed the instructions at the website below. The problem is that it trows a "buffer overflow each time I try to send a change-channel command: "irsend --device=/var/run/lirc/lircd SEND_ONCE clikr5 KEY_EXIT". Is this buffer overflow an indication of a driver bug, or a setup problem? "irsend" command and error result below.

https://www.mythtv.org/wiki/FTDI_USB...ter_using_LIRC

Code:bob@musem:~$ irsend --device=/var/run/lirc/lircd-blaster SEND_ONCE clikr5 KEY_EXIT

transmission failed
Error running command: Input/output error

bob@musem:~$ sudo journalctl -xe
Sep 02 18:03:23 musem lircd[7404]: lircd-0.10.1[7404]: Notice: accepted new client on /var/run/lirc/lircd-blaster
Sep 02 18:03:23 musem lircd[7404]: lircd-0.10.1[7404]: Info: hwftdi_init: Already initialised
Sep 02 18:03:23 musem lircd[7404]: lircd-0.10.1[7404]: Error: buffer overflow while generating IR pattern
Sep 02 18:03:23 musem lircd[7404]: lircd-0.10.1[7404]: Error: error processing command: SEND_ONCE clikr5 KEY_EXIT
Sep 02 18:03:23 musem lircd[7404]: lircd-0.10.1[7404]: Error: transmission failed
Sep 02 18:03:23 musem lircd[7404]: lircd-0.10.1[7404]: Info: removed client
Sep 02 18:03:23 musem lircd-0.10.1[7404]: Notice: accepted new client on /var/run/lirc/lircd-blaster
Sep 02 18:03:23 musem lircd-0.10.1[7404]: Info: hwftdi_init: Already initialised
Sep 02 18:03:23 musem lircd-0.10.1[7404]: Error: buffer overflow while generating IR pattern
Sep 02 18:03:23 musem lircd-0.10.1[7404]: Error: error processing command: SEND_ONCE clikr5 KEY_EXIT
Sep 02 18:03:23 musem lircd-0.10.1[7404]: Error: transmission failed
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 0, input: "BEGIN"
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 1, input: "SEND_ONCE clikr5 KEY_EXIT"
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 2, input: "ERROR"
Sep 02 18:03:23 musem irsend[7694]: irsend: command failed: SEND_ONCE clikr5 KEY_EXIT
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 3, input: "DATA"
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 4, input: "1"
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 5, input: "transmission failed"
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run, state: 6, input: "END"
Sep 02 18:03:23 musem irsend[7694]: lirc_command_run: status:END, status:5
Sep 02 18:03:23 musem lircd-0.10.1[7404]: Info: removed client
Sep 02 18:03:28 musem sudo[7696]: bob : TTY=pts/0 ; PWD=/home/bob ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Sep 02 18:03:28 musem sudo[7696]: pam_unix(sudo:session): session opened for user root by (uid=0)latest?d=yIl2AUoC8zA latest?i=8p3FJqkfLLU:hWHGs_SKICk:F7zBnMy latest?i=8p3FJqkfLLU:hWHGs_SKICk:V_sGLiP latest?d=qj6IDK7rITs latest?i=8p3FJqkfLLU:hWHGs_SKICk:gIN9vFw8p3FJqkfLLU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments