% sudo irrecord --device=/dev/lirc0 MyRemote Running as regular user graysky Using driver devinput on device /dev/lirc0 irrecord - application for recording IR-codes for usage with lirc Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de) This program will record the signals from your remote control and create a config file for lircd. A proper config file for lircd is maybe the most vital part of this package, so you should invest some time to create a working config file. Although I put a good deal of effort in this program it is often not possible to automatically recognize all features of a remote control. Often short-comings of the receiver hardware make it nearly impossible. If you have problems to create a config file READ THE DOCUMENTATION at https://sf.net/p/lirc-remotes/wiki If there already is a remote control of the same brand available at http://sf.net/p/lirc-remotes you might want to try using such a remote as a template. The config files already contains all parameters of the protocol used by remotes of a certain brand and knowing these parameters makes the job of this program much easier. There are also template files for the most common protocols available. Templates can be downloaded using irdb-get(1). You use a template file by providing the path of the file as a command line parameter. Please take the time to finish the file as described in https://sourceforge.net/p/lirc-remotes/wiki/Checklist/ an send it to so it can be made available to others. Press RETURN to continue. Usually you should not create a new config file for devinput devices. LIRC is installed with a devinput.lircd.conf file which is built for the current system which works with all remotes supported by the kernel. There might be a need to update this file so it matches the current kernel. For this, use the lirc-make-devinput(1) script. Press RETURN to continue. Checking for ambient light creating too much disturbances. Please don't press any buttons, just wait a few seconds... No significant noise (received 0 bytes) Enter name of remote (only ascii, no spaces) :streamzap Using streamzap.lircd.conf as output filename *** buffer overflow detected ***: irrecord terminated ======= Backtrace: ========= /usr/lib/libc.so.6(+0x6ed4b)[0x7f9a8af9bd4b] /usr/lib/libc.so.6(__fortify_fail+0x37)[0x7f9a8b024aa7] /usr/lib/libc.so.6(+0xf5c10)[0x7f9a8b022c10] /usr/lib/libc.so.6(+0xf607d)[0x7f9a8b02307d] /usr/lib/libirrecord.so.0(flushhw+0x53)[0x7f9a8b2d0663] irrecord[0x40405b] irrecord[0x4029e9] /usr/lib/libc.so.6(__libc_start_main+0xf1)[0x7f9a8af4d741] irrecord[0x403249] ======= Memory map: ======== 00400000-00407000 r-xp 00000000 103:03 4554 /usr/bin/irrecord 00606000-00607000 r--p 00006000 103:03 4554 /usr/bin/irrecord 00607000-00608000 rw-p 00007000 103:03 4554 /usr/bin/irrecord 02190000-021b1000 rw-p 00000000 00:00 0 [heap] 7f9a89798000-7f9a897ae000 r-xp 00000000 103:03 17801 /usr/lib/libgcc_s.so.1 7f9a897ae000-7f9a899ad000 ---p 00016000 103:03 17801 /usr/lib/libgcc_s.so.1 7f9a899ad000-7f9a899ae000 rw-p 00015000 103:03 17801 /usr/lib/libgcc_s.so.1 7f9a899ae000-7f9a899c2000 r-xp 00000000 103:03 33781 /usr/lib/libresolv-2.23.so 7f9a899c2000-7f9a89bc1000 ---p 00014000 103:03 33781 /usr/lib/libresolv-2.23.so 7f9a89bc1000-7f9a89bc2000 r--p 00013000 103:03 33781 /usr/lib/libresolv-2.23.so 7f9a89bc2000-7f9a89bc3000 rw-p 00014000 103:03 33781 /usr/lib/libresolv-2.23.so 7f9a89bc3000-7f9a89bc5000 rw-p 00000000 00:00 0 7f9a89bc5000-7f9a89cc8000 r-xp 00000000 103:03 33779 /usr/lib/libm-2.23.so 7f9a89cc8000-7f9a89ec7000 ---p 00103000 103:03 33779 /usr/lib/libm-2.23.so 7f9a89ec7000-7f9a89ec8000 r--p 00102000 103:03 33779 /usr/lib/libm-2.23.so 7f9a89ec8000-7f9a89ec9000 rw-p 00103000 103:03 33779 /usr/lib/libm-2.23.so 7f9a89ec9000-7f9a89ed8000 r-xp 00000000 103:03 4577 /usr/lib/liblirc_driver.so.0.0.0 7f9a89ed8000-7f9a8a0d7000 ---p 0000f000 103:03 4577 /usr/lib/liblirc_driver.so.0.0.0 7f9a8a0d7000-7f9a8a0d8000 r--p 0000e000 103:03 4577 /usr/lib/liblirc_driver.so.0.0.0 7f9a8a0d8000-7f9a8a0d9000 rw-p 0000f000 103:03 4577 /usr/lib/liblirc_driver.so.0.0.0 7f9a8a0d9000-7f9a8a0da000 rw-p 00000000 00:00 0 7f9a8a0da000-7f9a8a0e1000 r-xp 00000000 103:03 33782 /usr/lib/librt-2.23.so 7f9a8a0e1000-7f9a8a2e0000 ---p 00007000 103:03 33782 /usr/lib/librt-2.23.so 7f9a8a2e0000-7f9a8a2e1000 r--p 00006000 103:03 33782 /usr/lib/librt-2.23.so 7f9a8a2e1000-7f9a8a2e2000 rw-p 00007000 103:03 33782 /usr/lib/librt-2.23.so 7f9a8a4e6000-7f9a8a4fe000 r-xp 00000000 103:03 18682 /usr/lib/libpthread-2.23.so 7f9a8a4fe000-7f9a8a6fd000 ---p 00018000 103:03 18682 /usr/lib/libpthread-2.23.so 7f9a8a6fd000-7f9a8a6fe000 r--p 00017000 103:03 18682 /usr/lib/libpthread-2.23.so 7f9a8a6fe000-7f9a8a6ff000 rw-p 00018000 103:03 18682 /usr/lib/libpthread-2.23.so 7f9a8a6ff000-7f9a8a703000 rw-p 00000000 00:00 0 7f9a8a70d000-7f9a8a711000 r-xp 00000000 103:03 19718 /usr/lib/libcap.so.2.25 7f9a8a711000-7f9a8a910000 ---p 00004000 103:03 19718 /usr/lib/libcap.so.2.25 7f9a8a910000-7f9a8a911000 rw-p 00003000 103:03 19718 /usr/lib/libcap.so.2.25 7f9a8a911000-7f9a8a915000 r-xp 00000000 103:03 423628 /usr/lib/lirc/plugins/devinput.so 7f9a8a915000-7f9a8ab14000 ---p 00004000 103:03 423628 /usr/lib/lirc/plugins/devinput.so 7f9a8ab14000-7f9a8ab15000 r--p 00003000 103:03 423628 /usr/lib/lirc/plugins/devinput.so 7f9a8ab15000-7f9a8ab16000 rw-p 00004000 103:03 423628 /usr/lib/lirc/plugins/devinput.so 7f9a8ab16000-7f9a8ab17000 rw-p 00000000 00:00 0 7f9a8ab17000-7f9a8ab22000 r-xp 00000000 103:03 33774 /usr/lib/libnss_files-2.23.so 7f9a8ab22000-7f9a8ad21000 ---p 0000b000 103:03 33774 /usr/lib/libnss_files-2.23.so 7f9a8ad21000-7f9a8ad22000 r--p 0000a000 103:03 33774 /usr/lib/libnss_files-2.23.so 7f9a8ad22000-7f9a8ad23000 rw-p 0000b000 103:03 33774 /usr/lib/libnss_files-2.23.so 7f9a8ad23000-7f9a8ad29000 rw-p 00000000 00:00 0 7f9a8ad29000-7f9a8ad2b000 r-xp 00000000 103:03 33778 /usr/lib/libdl-2.23.so 7f9a8ad2b000-7f9a8af2b000 ---p 00002000 103:03 33778 /usr/lib/libdl-2.23.so 7f9a8af2b000-7f9a8af2c000 r--p 00002000 103:03 33778 /usr/lib/libdl-2.23.so 7f9a8af2c000-7f9a8af2d000 rw-p 00003000 103:03 33778 /usr/lib/libdl-2.23.so 7f9a8af2d000-7f9a8b0c4000 r-xp 00000000 103:03 19467 /usr/lib/libc-2.23.so 7f9a8b0c4000-7f9a8b2c4000 ---p 00197000 103:03 19467 /usr/lib/libc-2.23.so 7f9a8b2c4000-7f9a8b2c8000 r--p 00197000 103:03 19467 /usr/lib/libc-2.23.so 7f9a8b2c8000-7f9a8b2ca000 rw-p 0019b000 103:03 19467 /usr/lib/libc-2.23.so 7f9a8b2ca000-7f9a8b2ce000 rw-p 00000000 00:00 0 7f9a8b2ce000-7f9a8b2d6000 r-xp 00000000 103:03 4578 /usr/lib/libirrecord.so.0.0.0 7f9a8b2d6000-7f9a8b4d6000 ---p 00008000 103:03 4578 /usr/lib/libirrecord.so.0.0.0 7f9a8b4d6000-7f9a8b4d7000 r--p 00008000 103:03 4578 /usr/lib/libirrecord.so.0.0.0 7f9a8b4d7000-7f9a8b4d8000 rw-p 00009000 103:03 4578 /usr/lib/libirrecord.so.0.0.0 7f9a8b4d8000-7f9a8b4f8000 r-xp 00000000 103:03 4575 /usr/lib/liblirc.so.0.0.0 7f9a8b4f8000-7f9a8b6f7000 ---p 00020000 103:03 4575 /usr/lib/liblirc.so.0.0.0 7f9a8b6f7000-7f9a8b6f8000 r--p 0001f000 103:03 4575 /usr/lib/liblirc.so.0.0.0 7f9a8b6f8000-7f9a8b6fb000 rw-p 00020000 103:03 4575 /usr/lib/liblirc.so.0.0.0 7f9a8b6fb000-7f9a8b6fd000 rw-p 00000000 00:00 0 7f9a8b6fd000-7f9a8b706000 r-xp 00000000 103:03 4576 /usr/lib/liblirc_client.so.0.4.0 7f9a8b706000-7f9a8b905000 ---p 00009000 103:03 4576 /usr/lib/liblirc_client.so.0.4.0 7f9a8b905000-7f9a8b906000 r--p 00008000 103:03 4576 /usr/lib/liblirc_client.so.0.4.0 7f9a8b906000-7f9a8b907000 rw-p 00009000 103:03 4576 /usr/lib/liblirc_client.so.0.4.0 7f9a8b907000-7f9a8b92a000 r-xp 00000000 103:03 19466 /usr/lib/ld-2.23.so 7f9a8bae1000-7f9a8baff000 r-xp 00000000 103:03 32313 /usr/lib/libudev.so.1.6.4 7f9a8baff000-7f9a8bb00000 r--p 0001d000 103:03 32313 /usr/lib/libudev.so.1.6.4 7f9a8bb00000-7f9a8bb01000 rw-p 0001e000 103:03 32313 /usr/lib/libudev.so.1.6.4 7f9a8bb01000-7f9a8bb06000 rw-p 00000000 00:00 0 7f9a8bb29000-7f9a8bb2a000 rw-p 00000000 00:00 0 7f9a8bb2a000-7f9a8bb2b000 r--p 00023000 103:03 19466 /usr/lib/ld-2.23.so 7f9a8bb2b000-7f9a8bb2c000 rw-p 00024000 103:03 19466 /usr/lib/ld-2.23.so 7f9a8bb2c000-7f9a8bb2d000 rw-p 00000000 00:00 0 7ffc42805000-7ffc42826000 rw-p 00000000 00:00 0 [stack] 7ffc4282f000-7ffc42832000 r--p 00000000 00:00 0 [vvar] 7ffc42832000-7ffc42834000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] [1] 1618 abort sudo irrecord --device=/dev/lirc0 MyRemote