I would like to connect a humidity sensor (DHT-22) to my beaglebone white which is running latest Ubuntu (from www.armhf.com). But I can’t read any data from it. About 6 month ago I had the sensor up and running on the same beaglebone, but with an older kernel. The code I’m using to read the sensor can be found here: https://github.com/lhuet/beaglebone-project/tree/master/DHT22. I have only changed the GPIO pin from P8_3 to P8_6 which is the GPIO I have the sensor conneced to.
I know a lot has happend when a newer kernel were introduced. Is there any change on how the GPIO is handled? Can they be accessed via /dev/mem which seems like the DHT2 code is doing?