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

Sean Young notifications at github.com
Thu Feb 10 08:57:14 UTC 2022


> On Mon, Feb 07, 2022 at 10:58:01AM -0800, Sean Young wrote: > There are also > LIRC_CAN_SEND_RAW, LIRC_CAN_SEND_MODE2, LIRC_CAN_SEND_SCANCODE, > LIRC_CAN_SEND_LIRCCODE, LIRC_CAN_REC_RAW, LIRC_CAN_REC_PULSE, > LIRC_CAN_REC_LIRCCODE, LIRC_CAN_SET_REC_FILTER, LIRC_CAN_GET_REC_RESOLUTION, > and LIRC_CAN_SET_REC_DUTY_CYCLE_RANGE flags seem to be missing. I've added LIRC_CAN_REC_LIRCCODE, LIRC_CAN_SEND_LIRCCODE (may be used in pre-4.16 kernels) and LIRC_CAN_GET_REC_RESOLUTION was just missing. The other onces were never implemented, out-of-tree or not. They should have never been added to the header in the first place.
> Generally it is worth adding such constants to the xlat file in comments (with a reason why they were omitted), so those who are looking at it afterwards won't spend too much time to figure out they are missing (as it is not pointed out in the kernel header explicitly, only in the documentation).

I'm (slowly) removing these entries, see https://www.spinics.net/lists/linux-media/msg206895.html and https://git.linuxtv.org/media_stage.git/commit/?id=b2a90f4fcb146d0e033203ab646f0fd22cfa947f

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

Message ID: <strace/strace/pull/208/c1034656210 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220210/95b43d13/attachment.htm>


More information about the Strace-devel mailing list