So I have been using 4 x DS18B20s with a 4.7k pull-up hooked up to a B+ running through one GPIO (#4) I bought at the end of last year. That has been working flawlessly for the last six months. Now I need to build a few more of these setups for a project I am working on so I bought two more B+ from RS.
The problem is I cannot get either of the new Pis to detect the 1-wire sensors at all. Been at this for hours and I know the kernel update has introduced the devicetree so I have made all the changes required but still cannot get anything to work. If I take the sensors and plug them back into the old B+, hey presto works like a charm still.
So I have tried changing config.txt to include dtoverlay=w1-gpio, gpiopin=4 (tried with and without and I know the default is pin 4). I also installed pigpio to test the actual GPIOs and both devices are fine.
I have also tried with devicetree= in config.txt but still no joy. I also turned on dtdebug and ran vcdbg log msg to see if there was anything untoward, I do get this which I'm not sure is related
Code: Select all
003318.224: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined
003318.249: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined
003318.271: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined
003318.293: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined
003318.315: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined
003318.338: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined
003318.358: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined
003318.381: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined
003318.404: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined
003318.427: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined
003318.450: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined
003318.471: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined
003318.493: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
The new Pis are running 3.18.14+ and the old one is running 3.18.11+ (was running 3.18.7)
I am completely out of ideas as to what else I can now!

Any help most appreciated
Gary