Jump to content

[OPLite] Can't get the sht1x.dts overlay working


K-Meleon

Recommended Posts

Hi all!

 

Has anyone some experience with dts overlays for the mainline kernel 4.14.47?

I connected the SHT11 temperature sensor to PA7 and PA8, installed the sht1x.dts overlay from

https://github.com/armbian/sunxi-DT-overlays/blob/master/examples/sht1x.dts

 

via "sudo armbian-add-overlay sht15.dts" and afterwards looked via dmesg into the kernel output. That's what my OPLite reports:

Quote

[    8.397262] sht15: probe of sht1x failed with error -5

 

It is a kernel IO error. The LogicAnalyzer doesn't record any pin toggle. But what am I doing wrong? Do I have to deactivate the pins in GPIO driver? Can someone please help me? As I soldered the SHT11 by myself I modified some RPi userspace code to verify the sensor is OK and it is. It's measuring humidity and temperature from user space. But I'd like to get it working from within the kernel.

 

Thank you very much for your help!

 

BR,

K-Meleon 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines