Skip to content

Improve i2c device detection on linux

Steven Franzen requested to merge sfranzen/OpenAuraSDK:linux-fixes into master

I recently installed an Asus Aura motherboard and came across this tool. It did not find my device even after preparing the kernel modules appropriately. After some digging, I found that devices are expected to be in /sys/class/i2c-adapter/, while my (openSUSE) system has them in /sys/class/i2c-dev/. I propose using /sys/bus/i2c/devices/ instead, which should be equally generic while avoiding the different class names.

Merge request reports

Loading