diff options
author | Sean Young <sean@mess.org> | 2017-08-03 16:15:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 09:27:01 -0400 |
commit | d9a830f7b9c76979916f909a807dd1a636b817e3 (patch) | |
tree | 3096aada0b21ae74797a21eb5ff3f45777d8523b | |
parent | 9d6ed74f8f08f6a5fb5895e723bd1f4f3bd319fd (diff) |
ir-ctl: report LIRCCODE drivers even if we don't supported them
Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r-- | utils/ir-ctl/ir-ctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/ir-ctl/ir-ctl.c b/utils/ir-ctl/ir-ctl.c index e7275989..544ad341 100644 --- a/utils/ir-ctl/ir-ctl.c +++ b/utils/ir-ctl/ir-ctl.c @@ -715,6 +715,8 @@ static void lirc_features(struct arguments *args, int fd, unsigned features) if (min_timeout || max_timeout) printf(_(" - Can set recording timeout min:%u microseconds max:%u microseconds\n"), min_timeout, max_timeout); } + } else if (features & LIRC_CAN_REC_LIRCCODE) { + printf(_(" - Device can receive using device dependent LIRCCODE mode (not supported)\n")); } else { printf(_(" - Device cannot receive\n")); } @@ -736,6 +738,8 @@ static void lirc_features(struct arguments *args, int fd, unsigned features) else printf(_(" - Set transmitter (%d available)\n"), rc); } + } else if (features & LIRC_CAN_SEND_LIRCCODE) { + printf(_(" - Device can send using device dependent LIRCCODE mode (not supported)\n")); } else { printf(_(" - Device cannot send\n")); } |