1Wire disappeared and disabled

Moderators: fantom, leecollings

Post Reply
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

1Wire disappeared and disabled

Post by emme »

Ciao,

From today at 9.45am my 4 DS18B20 linked to 1Wire bus disappeared...

I did an upgrade yesterday bumbing the kernet from 4.4 to 4.9.11 but I did bood yesterday and all went good....

cannot figure out what's wrong....
I know this is something related to the hardware and not software, since domoticz has nothing to do with it because the sensors disappeared form /sys/bus/w1/devices but I was wondering if someone else experienced the same issue....

My 1Wire is hooked to pin 4 (physical 7), configured correctly with:

dtoverlay=w1_gpio,gpio=4
in /boot/config.txt

cannot figure out what's wrong :(

I'm not hat home at the moment so I cannot check if something has been unplugged... but it shouldn't.....
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
Neutrino
Posts: 21
Joined: Sunday 08 May 2016 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: France
Contact:

Re: 1Wire disappeared and disabled

Post by Neutrino »

Hi,
Try another GPIO and change the dtoverlay line.
Gpio 24 works fine.
I had the same problem, my gpio 4 was dead :(
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: 1Wire disappeared and disabled

Post by emme »

found the issue....

it seems that kernel 4.9 needs to upgrade WiringPi libraries
I had to purge WiringPi and reinstall from git

everythings went well and now I have my ds18b20 back! :P

uh... I played too much with rpi-update... now I know how to recover a stucked kernel version!!! :lol: :lol: :lol:
The most dangerous phrase in any language is:
"We always done this way"
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests