|
# cat /boot/armbianEnv.txt
verbosity=1
logo=disabled
console=both
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=usbhost2 usbhost3 w1-gpio
param_w1_pin=PA15
rootdev=UUID=ebe9dacf-124f-486c-b6c1-08749e209374
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
# ls /sys/bus/w1/devices/ ; cat /sys/bus/w1/devices/28*/w1_slave
28-0517025727ff w1_bus_master1
62 00 4b 46 7f ff 0c 10 af : crc=af YES
62 00 4b 46 7f ff 0c 10 af t=6125
ARMBIAN 5.35 user-built Ubuntu 16.04.3 LTS 4.13.16-sunxi
1W can only work on pin MOSI; if this pin is already used, you are doomed.
NB: on opi0, there are two MOSI, so with a bit of work, it should be possible to use the NAND MOSI for 1W.
https://forum.armbian.com/topic/1395-orange-pi-pc-1-wire/?page=2 |
|