Driver for ina260 (sysfs)
Find a file
2023-08-11 09:48:06 +02:00
.gitignore Update 2023-07-12 16:07:20 +02:00
ina260.c Change sysfs architecture and add power,current and voltage metrics 2023-08-11 09:48:06 +02:00
Makefile Add metric feature 2023-08-10 17:38:01 +02:00
README.md Update 2023-07-12 16:07:20 +02:00

INA260-sysfs-driver

Installation

$ make
$ sudo insmod ina260.ko

Usage

  • Add device: echo ina260 <devaddr> > /sys/bus/i2c/devices/<busid>/new_device

  • Next, run: tree /sys/kernel/ina260