[strace/strace] Add lirc ioctl decoding (PR #208)

Sean Young notifications at github.com
Thu Feb 3 08:45:00 UTC 2022


@seanyoung commented on this pull request.



> +	value = 8;
+	do_ioctl(LIRC_SET_SEND_MODE, &value);
+	printf("ioctl(-1, %s, [LIRC_MODE_SCANCODE]) = %s\n",
+	       XLAT_STR(LIRC_SET_SEND_MODE), errstr);
+
+	value = 4;
+	do_ioctl(LIRC_SET_REC_MODE, &value);
+	printf("ioctl(-1, %s, [LIRC_MODE_MODE2]) = %s\n",
+	       XLAT_STR(LIRC_SET_REC_MODE), errstr);
+
+	value = 16;
+	do_ioctl(LIRC_SET_REC_MODE, &value);
+	printf("ioctl(-1, %s, [LIRC_MODE_LIRCCODE]) = %s\n",
+	       XLAT_STR(LIRC_SET_REC_MODE), errstr);
+
+	// read ioctl

I've added this case. Please let me know what you think.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/208#discussion_r798334305
You are receiving this because you are subscribed to this thread.

Message ID: <strace/strace/pull/208/review/871521466 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220203/44f9b7be/attachment.htm>


More information about the Strace-devel mailing list