I have set dtoverlay=w1-gpio in /boot/config.txt and sure enough if I put the iButton next to the reader (and wait 10s for it to be scanned) I can see the device:
However when I remove the device and wait for the next scan the entry doesn't disappear.
Code: Select all
$cat /sys/devices/w1_bus_master1/w1_master_slaves 01-0a0d009c7321
I can force its removal by writing 01-0a0d009c7321 to cat /sys/devices/w1_bus_master1/w1_master_remove but that defeats the point of the auto scan.
I haven't played with iButton for a while but last time I did (many months ago) I didn't have this problem.