Device driver over network

Rik van Riel riel at surriel.com
Mon Dec 18 21:37:17 EST 2017


On Mon, 2017-12-18 at 16:30 -0500, Max Ruttenberg wrote:
> Hi all,
> 
> I have two compute nodes on a machine that are both running embedded
> Linux. The nodes are connected to each other over Ethernet.
> 
> The both have an i2c bus. Node A has a thermal sensor. Node B has
> three fans.
> 
> Right now I have a user space application running on node B that uses
> ssh to read from node A's thermal sensor and then adjust the fan
> speeds accordingly. I am wondering if there's away instead to have a
> hwmon driver running on Node B for the thermal monitor running on
> node
> A. This way I could get rid of the user space application and replace
> it with something a little bit more standard like thermald.
> 
> Is this something that people have done? Maybe if not this
> specifically, how about a driver for a device over the network?

The "standard" way of doing something like this seems to be to
have a daemon on node A, which forwards data to a daemon on node
B, which pretends to be a bus on node B.

Look at the fuse user space file system for an example of this.

-- 
All Rights Reversed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171218/0cc12ab9/attachment.bin 


More information about the Kernelnewbies mailing list