$ sudo apt update |
# /etc/lirc/hardware.conf |
$ lsmod | grep ir |
$ cat /etc/modules |
$ ls /dev/lirc* |
$ mode2 -d /dev/lirc0 |
$ sudo /etc/init.d/lirc stop |
$ sudo irrecord -n -d /dev/lirc0
my.conf Now hold down button "UP".Please enter the name for the next button (press <ENTER> to finish recording)(Enterキー) Checking for toggle bit mask. Please press an arbitrary button repeatedly as fast as possible. Make sure you keep pressing the SAME button and that you DON'T HOLD the button down!. If you can't see any dots appear, then wait a bit between button presses. Press RETURN to continue.(Enterキー) (適当なボタンを押し続ける) ............................. No toggle bit mask found. Successfully written config file. |
# Please make this file available to
others |
# Please make this file available to
others |
$ sudo cp my.conf /etc/lirc/lircd.conf |
$ irsend LIST "" "" |
#!/bin/bash |
#!/bin/bash |
begin |
$ irexec /etc/lirc/lircrc |