LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-02-2021, 06:05 PM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 10 (Buster)
Posts: 3,382

Rep: Reputation: 141Reputation: 141
lirc ftdi "buffer overflow while generating IR pattern


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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"*** buffer overflow detected ***: sudo terminated" for a single user skilli Linux - General 1 11-23-2019 03:03 AM
[SOLVED] Installed LIRC-0.9.0 on Fedora 14, /dev/lirc was not created, lirc programs won't run FalkiD Linux - Software 4 06-06-2011 09:33 AM
[SOLVED] SED Help (Pattern Buffer Overflow I think?) NvrBst Linux - Newbie 8 01-13-2010 05:56 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
What is the difference between the free buffer and buffer in the buffer hash queue? Swagata Linux - Enterprise 0 05-25-2006 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration