I have a raspberry pi 400 running ubuntu server.

  • I have a DS18B20 with a 4.7k resistor connected from the power to the data wire.
  • I boot up the pi and run the sudo modprobe w1-gpio and sudo modprobe w1-therm commands.
  • I then go to the /sys/bus/w1/devices/ directory and run ls and nothing shows up.
  • I have added dtoverlay=w1-gpio to the boot config.txt.
  • I have also tried using a new sensor and a new resistor and I am getting the same problem.
  • Does it work with Raspberry Pi OS?
    – joan
    Feb 11, 2023 at 14:26
  • 1
    Why would anyone want to run a server on Pi400?
    – Milliways
    Feb 11, 2023 at 21:32
  • @Milliways How is that relevant?
    – TomB
    Feb 13, 2023 at 18:03

1 Answer 1


As Joan suggested me to try, Rasperry Pi OS was the solution. Thanks =)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.