aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ir/ir_loopback.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-05-16kselftests/ir : Improve readability of modprobe error messageGautam Menghani1-1/+1
Improve the readability of error message which says module not found. The new behaviour is consistent with the modprobe command. Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2019-02-13selftests: ir: skip when non-root user runs the testShuah Khan1-0/+5
Skip instead of fail when non-root user runs the test. Signed-off-by: Shuah Khan <shuah@kernel.org> Acked-by: Sean Young <sean@mess.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
2018-11-06media: rc: self test for IR encoders and decodersSean Young1-0/+20
ir-loopback can transmit IR on one rc device and check the correct scancode and protocol is decoded on a different rc device. This can be used to check IR transmission between two rc devices. Using rc-loopback, we use it to check the IR encoders and decoders themselves. No hardware is required for this test. Signed-off-by: Sean Young <sean@mess.org> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Shuah Khan <shuah@kernel.org>