Jump to content

shatz

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Had no luck with overlay, I tried to change .dtb file and got this: dmesg |grep w1 [ 10.673288] w1-gpio onewire@0: Failed to parse gpio property for data pin (-2) [ 10.673318] w1-gpio: probe of onewire@0 failed with error -2 So Please can anyone help me? Any thoughts or suggestions?
  2. Hi everybody. Recenly I've moved to Armbian mainline from Bananian on my Banana pro. 'uname -r' is now saying "BPro 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux". I tried to make ds18b20 work but had no luck. First I've decompiled /boot/dtb/overlay/sun7i-a20-w1-gpio.dtbo, edited dts section to look like this: __overlay__ { w1_pins { pins = "PB6"; function = "gpio_in"; linux,phandle = <0x1>; phandle = <0x1>; }; I connected, data line of sensor to pin 38 and pulled it up by external resistor. Then I compiled dts to dtbo, replaced original .dtbo file and added "overlays=w1-gpio" string to armbianEnv.txt. What I get after reboot: root@BPro:~/dtb# cat /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins |grep onewire pin 38 (PB6): onewire@0 (GPIO UNCLAIMED) function gpio_in group PB6 root@BPro:~/dtb# ls /sys/bus/w1/devices/ w1_bus_master1 root@BPro:~/dtb# dmesg |grep w1 So sensor doesn't work and what is strange for me, there is no even a word about w1 driver in dmesg. What can be the problem?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines