Lines Matching full:ir
2 // test ir decoder
6 // A lirc chardev is a device representing a consumer IR (cir) device which
7 // can receive infrared signals from remote control and/or transmit IR.
9 // IR is sent as a series of pulses and space somewhat like morse code. The
13 // This test works by sending IR over rc-loopback, so the IR is processed by
15 // associated with rc-loopback, see the output of ir-keytable(1).
24 // 2. Attach bpf_lirc_mode2 program which decodes some IR.
25 // 3. Send some IR to the same IR device; since it is loopback, this will
27 // 4. bpf program should decode IR and report keycode
107 /* Write raw IR */ in main()
110 printf("Failed to send test IR message: %m\n"); in main()
120 /* Read decoded IR */ in main()
123 printf("Failed to read decoded IR: %m\n"); in main()
133 /* Write raw IR */ in main()
136 printf("Failed to send test IR message: %m\n"); in main()
143 /* Read decoded IR */ in main()
146 printf("Failed to read decoded IR: %m\n"); in main()