HAL to user process event passing

More
28 Mar 2023 00:46 #267654 by zdenek
I need to signal upstream from boolean HAL pins or signals to a user space process, using a proper kernel-based IPC so the [slow] user space process can be suspended until signaled from a [fast] HAL thread. I could not find anything like that when consulting the existing component list, so I am about to create this component. But before I do I wanted to see if I was perhaps missing anything or if anyone had any other suggestions.
I am envisioning to simply take a boolean input and send it over via one of the standard IPC mechanisms, likely a message queue or a pipe.
Thanks!

Please Log in or Create an account to join the conversation.

More
31 Mar 2023 08:21 #267954 by bkt

Please Log in or Create an account to join the conversation.

More
31 Mar 2023 14:51 #267966 by zdenek
Thanks. I just wanted to check if I was missing an existing mechanism/component.
I have already written the real-time component (and it's user process counterpart) I needed -- it took just a few lines of code.
Cheers

Please Log in or Create an account to join the conversation.

More
01 Apr 2023 06:20 #268008 by bkt
good.

Have a nice Lcnc adventure.

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum