1Wire disappeared and disabled

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

1Wire disappeared and disabled

Post by emme » Saturday 25 February 2017 17:20

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
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

Neutrino
Posts: 34
Joined: Sunday 08 May 2016 19:00
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: 1Wire disappeared and disabled

Post by Neutrino » Saturday 25 February 2017 23:27

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: 564
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: 1Wire disappeared and disabled

Post by emme » Sunday 26 February 2017 9:56

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:
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest