2

While trying to configure my Pi0 for read-only mode I deleted my /sys/bus/w1 folder. Now the 1wire bus is not working anymore. How can I reinstall the module?

Ghanima
  • 15,958
  • 17
  • 65
  • 125
Domme
  • 375
  • 2
  • 11

2 Answers2

2

Add the line dtoverlay=w1-gpio to the file /boot/config.txt and then reboot.

See /boot/overlays/README for details.

joan
  • 71,852
  • 5
  • 76
  • 108
1

It's working again!

I was following this guide (I know it's written in German but you get the point) and configured the /sys/bus folder as a temporary file system. I didn't know that the whole /sys folder already is a temporary folder managed by the kernel. After removing the entry and rebooting from /etc/fstab everything went back to normal.

Domme
  • 375
  • 2
  • 11