Re: [PATCH v9 3/4] docs: Add documentation for userspace client interface
From: Jeffrey Hugo
Date: Mon Oct 26 2020 - 09:39:05 EST
On 10/25/2020 3:46 PM, Jakub Kicinski wrote:
On Fri, 23 Oct 2020 16:17:54 -0700 Hemant Kumar wrote:
+UCI driver enables userspace clients to communicate to external MHI devices
+like modem and WLAN. UCI driver probe creates standard character device file
+nodes for userspace clients to perform open, read, write, poll and release file
+operations.
What's the user space that talks to this?
Multiple.
Each channel has a different purpose. There it is expected that a
different userspace application would be using it.
Hemant implemented the loopback channel, which is a simple channel that
just sends you back anything you send it. Typically this is consumed by
a test application.
Diag is a typical channel to be consumed by userspace. This is consumed
by various applications that talk to the remote device for diagnostic
information (logs and such).
Sahara is another common channel that is usually used for the multistage
firmware loading process.
--
Jeffrey Hugo
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.