simpic_pi
Posts: 8
Joined: Fri Apr 17, 2015 1:02 pm

Fresh Image - No 1w Devices

Fri Apr 17, 2015 1:06 pm

Hello,

Some thing really bad happened to my previous image, everything got very curropted and no python scripts would run.

I have wiped the SD and installed a fresh Wheezy image from the official download page.

If I now do the following...

sudo modprobe w1-gpio
sudo modprobe w1-therm

And then...

pi@raspberrypi /sys/bus/w1/devices $ cat /sys/bus/w1/devices/28-*/w1_slave
cat: /sys/bus/w1/devices/28-*/w1_slave: No such file or directory

Nothing, nada.

If I plug the 1w header into another pi it picks everything up, so the devices themselves and the wiring are not a problem.

Can anyone advise on a resolution route?

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Fresh Image - No 1w Devices

Fri Apr 17, 2015 4:21 pm

Have you enabled 1-wire in the Device Tree by putting

Code: Select all

dtoverlay=w1-gpio
in /boot/config.txt?

simpic_pi
Posts: 8
Joined: Fri Apr 17, 2015 1:02 pm

Re: Fresh Image - No 1w Devices

Fri Apr 17, 2015 6:10 pm

Thanks,

Kinda works, I get something back from the w1 DIR now, just not all the devices only one that does not seem to be reading anything.

Code: Select all

 cat /sys/bus/w1/devices/28-*/w1_slave
00 00 0b 00 12 00 00 00 00 : crc=c7 NO
00 00 00 00 00 00 00 00 00 t=0
I'll re check all the wiring.

Regards,

Simpic

Return to “Troubleshooting”