Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6369

two Linux kernel modules access one i2c slave device

$
0
0

I have 2 Linux kernel modules that both of them need to access the same device through i2c and I am trying to figure out how it is going to work.

The way I see it is that I have come up with anther module/driver to act as a hub to access the device through i2c and export functions to other module/drivers.

If you know better ways to do it, please share. Or pointing to me the existing code for an example.

Thanks


Viewing all articles
Browse latest Browse all 6369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>