Experimental Kernel module for Arturo182's BBQ10 PMOD. Forked from:
Tested on pmOS but should generally work on any distro.
First test to make sure you're I2C is hooked up properly. Run
i2c-detect -y 3.
This should show 0x1F showing up. It shouldn't be blank or just -- all throughout.
Fetch the kernel headers. On debian or arch you can probably just install linux-headers and be on your merry way. On pmOS linux-headers for linux-postmarketos-allwinner are currently broken. So instead you can just grab the source from GH and prepare things:
Clone this repo:
Build the kernel module
Load the kernel module