Re: Device driver over network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux