I'm trying to install sht21 on Raspberry with openwrt, but it turns out that by following this tutorial, https://forum.archive.openwrt.org/viewtopic.php?id=60085, I get the following errors:
root@OpenWrt:~# sensors-detect
#sensors-detect revision $Revision$
#DMI data unavailable, please consider installing dmidecode 2.7
#or later for better results.
#Kernel: 4.14.128 aarch64
Use of uninitialized value in concatenation (.) or string at /usr/sbin/sensors-detect line 3122.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/sensors-detect line 3122.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/sensors-detect line 3122.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/sensors-detect line 3122.
#Processor: (//)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
failed to find a module named cpuid
Failed to load module cpuid.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 17h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
Sorry, no supported PCI bus adapters found.
Next adapter: i2c-gpio0 (i2c-0)
Do you want to scan it? (YES/no/selectively): YES
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
https://hwmon.wiki.kernel.org/device_support_status for driver status.
I already tried two sensors but the result is the same.
Could you be more explicit? I happen to be a bit confused because the kernal version for bcm2710 would have to be 4.9, following this site https://openwrt.org/packages/pkgdata/kernel, but when I do the system build it sets the kernel for the version 4.14 Is this the problem?
I've been trying to compile with version 4.9 but by doing make -j1 it always returns error.