harry7
5
OK, some research later I return with some additional questions:
- do I really need to work with trunk? Can’t I just add the “728-MIPS-ath79-add-gpio-irq.patch” patch to the /patches/ folder, just as I added the gpio-dht-handler to /package/?
That was what I did last, and after flashing the firmware, it seems that the handler is alive. At least logread showed me the line highlighted in the screenshot attached.
- now how do I make it work, that’s the tricky question. I have connected the data wire from the sensor to the GPIO pin 20. At first I connected the power to +5 pin on the board, but after reading about the requirements to use +3.3 - switched to that voltage. Still, no luck. The command “echo 20 > /sys/kernel/debug/irq-dht” returns an “Error” message in the log. The DHT itself has been taken off another project where it worked just fine, so I am pretty sure it should be functioning. So I presume I am doing something wrong - but what is it?