どうやら、赤外線の受信と送信は、lircdでは両立しないようです。
送信と受信其々の/etc/lirc/lirc_options.confが必要になるようです。
受信用は、
driver = default
device = /dev/lirc1
送信用は、
device = auto
driver = default
のようです。
driver = default
device = /dev/lirc1
device = auto
driver = default
pi@raspi:~$ sudo ir-keytable -s rc1 -p all -t
[sudo] password for pi:
Protocols changed to lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon
Testing events. Please, press CTRL-C to abort.
259792.760063: lirc protocol(nec): scancode = 0x19
259792.760091: event type EV_MSC(0x04): scancode = 0x19
259792.760091: event type EV_SYN(0x00).
259794.080062: lirc protocol(nec): scancode = 0x16
259794.080090: event type EV_MSC(0x04): scancode = 0x16
259794.080090: event type EV_SYN(0x00).
259794.140092: lirc protocol(nec): scancode = 0x16 repeat
259794.140114: event type EV_MSC(0x04): scancode = 0x16
259794.140114: event type EV_SYN(0x00).
259794.240090: lirc protocol(nec): scancode = 0x16 repeat
259794.240111: event type EV_MSC(0x04): scancode = 0x16
259794.240111: event type EV_SYN(0x00).
259797.030106: lirc protocol(nec): scancode = 0x5a
259797.030132: event type EV_MSC(0x04): scancode = 0x5a
259797.030132: event type EV_SYN(0x00).
259797.100063: lirc protocol(nec): scancode = 0x5a repeat
259797.100088: event type EV_MSC(0x04): scancode = 0x5a
259797.100088: event type EV_SYN(0x00).
^C
pi@raspi:~$
日 | 月 | 火 | 水 | 木 | 金 | 土 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |