Jump to content

Recommended Posts

Posted

I have the same problem like other users here, the 1-wire doesn't run correctly, I added 1-wire to armbianEnv.txt, 1-wire drivers are loaded, but I cannot access the data of DS18B20 attached to PA06.

L.

 

  ___  ____  _   _____              
 / _ \|  _ \(_) |__  /___ _ __ ___  
| | | | |_) | |   / // _ \ '__/ _ \ 
| |_| |  __/| |  / /|  __/ | | (_) |
 \___/|_|   |_| /____\___|_|  \___/ 
                                    
Welcome to Armbian 20.08.17 Bionic with Linux 5.8.16-sunxi

System load:   26%           	Up time:       0 min		
Memory usage:  14% of 491M   	IP:            192.168.3.163
CPU temp:      45°C           	Usage of /:    4% of 29G    	

Last login: Tue Nov 17 15:06:39 2020 from 192.168.3.31


pi@orangepizero:~$ cat /boot/armbianEnv.txt
verbosity=7
logo=disabled
console=serial
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
rootdev=UUID=4618846b-19e6-421b-8872-767a46ed5e1e
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
overlays=w1-gpio
param_w1_pin=PA06             # desired pin
param_w1_pin_int_pullup=1     # internal pullup-resistor: 1=on, 0=off


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 17 15:09 w1_bus_master1 -> ../../../devices/w1_bus_master1


pi@orangepizero:~$ sudo cat /sys/kernel/debug/gpio
[sudo] password for pi: 
gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl:
 gpio-11  (                    |sysfs               ) out lo 
 gpio-17  (                    |orangepi:red:status ) out lo 
 gpio-20  (                    |reg_vcc_wifi        ) out hi 
 gpio-110 (                    |onewire@0           ) out lo                      <--------------------
 gpio-166 (                    |cd                  ) in  lo ACTIVE LOW
 gpio-204 (                    |usb0_id_det         ) in  hi IRQ 

gpiochip1: GPIOs 352-383, parent: platform/1f02c00.pinctrl, 1f02c00.pinctrl:
 gpio-358 (                    |vdd-cpux            ) out hi 
 gpio-359 (                    |reset               ) out hi ACTIVE LOW
 gpio-362 (                    |orangepi:green:pwr  ) out hi 


pi@orangepizero:~$ lsmod 
Module                  Size  Used by
aes_arm_bs             20480  2
crypto_simd            16384  1 aes_arm_bs
ccm                    20480  6
xradio_wlan           114688  1
mac80211              516096  1 xradio_wlan
cfg80211              471040  2 mac80211,xradio_wlan
lima                   45056  0
rfkill                 20480  3 cfg80211
gpu_sched              28672  1 lima
libarc4                16384  1 mac80211
sun4i_gpadc_iio        16384  0
industrialio           53248  1 sun4i_gpadc_iio
sun8i_thermal          16384  0
sun8i_ce               24576  0
crypto_engine          16384  1 sun8i_ce
sun8i_di               20480  0
sunxi_cedrus           32768  0
w1_gpio                16384  0                                  <-------------
zram                   24576  2
wire                   32768  1 w1_gpio
cn                     16384  1 wire
uio_pdrv_genirq        16384  0
uio                    16384  1 uio_pdrv_genirq
cpufreq_dt             20480  0
sch_fq_codel           20480  6
usb_f_acm              20480  1
u_serial               24576  3 usb_f_acm
g_serial               16384  0
libcomposite           45056  2 g_serial,usb_f_acm
ip_tables              24576  0
x_tables               24576  1 ip_tables
autofs4                36864  2
pwrseq_simple          16384  1
sunxi                  20480  0
phy_generic            20480  2 sunxi


pi@orangepizero:~$ ls -l /boot/dtb/overlay/
total 384
-rw-r--r-- 1 root root 5448 Oct 20 22:15 README.sun4i-a10-overlays
-rw-r--r-- 1 root root 3262 Oct 20 22:15 README.sun5i-a13-overlays
-rw-r--r-- 1 root root 6817 Oct 20 22:15 README.sun7i-a20-overlays
-rw-r--r-- 1 root root 4736 Oct 20 22:15 README.sun8i-h3-overlays
-rw-r--r-- 1 root root  267 Oct 20 22:15 sun4i-a10-analog-codec.dtbo
-rw-r--r-- 1 root root  387 Oct 20 22:15 sun4i-a10-can.dtbo
-rw-r--r-- 1 root root 4832 Oct 20 22:15 sun4i-a10-fixup.scr
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun4i-a10-i2c1.dtbo
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun4i-a10-i2c2.dtbo
-rw-r--r-- 1 root root 2301 Oct 20 22:15 sun4i-a10-nand.dtbo
-rw-r--r-- 1 root root  778 Oct 20 22:15 sun4i-a10-pps-gpio.dtbo
-rw-r--r-- 1 root root  443 Oct 20 22:15 sun4i-a10-pwm.dtbo
-rw-r--r-- 1 root root 1040 Oct 20 22:15 sun4i-a10-spdif-out.dtbo
-rw-r--r-- 1 root root 1093 Oct 20 22:15 sun4i-a10-spi-jedec-nor.dtbo
-rw-r--r-- 1 root root 1069 Oct 20 22:15 sun4i-a10-spi-spidev.dtbo
-rw-r--r-- 1 root root  949 Oct 20 22:15 sun4i-a10-uart2.dtbo
-rw-r--r-- 1 root root 1205 Oct 20 22:15 sun4i-a10-uart3.dtbo
-rw-r--r-- 1 root root  935 Oct 20 22:15 sun4i-a10-uart4.dtbo
-rw-r--r-- 1 root root  802 Oct 20 22:15 sun4i-a10-uart5.dtbo
-rw-r--r-- 1 root root  806 Oct 20 22:15 sun4i-a10-uart6.dtbo
-rw-r--r-- 1 root root  806 Oct 20 22:15 sun4i-a10-uart7.dtbo
-rw-r--r-- 1 root root  777 Oct 20 22:15 sun4i-a10-w1-gpio.dtbo
-rw-r--r-- 1 root root  267 Oct 20 22:15 sun5i-a13-analog-codec.dtbo
-rw-r--r-- 1 root root 2146 Oct 20 22:15 sun5i-a13-fixup.scr
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun5i-a13-i2c1.dtbo
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun5i-a13-i2c2.dtbo
-rw-r--r-- 1 root root 1239 Oct 20 22:15 sun5i-a13-nand.dtbo
-rw-r--r-- 1 root root  382 Oct 20 22:15 sun5i-a13-pwm.dtbo
-rw-r--r-- 1 root root 1069 Oct 20 22:15 sun5i-a13-spi-jedec-nor.dtbo
-rw-r--r-- 1 root root 1045 Oct 20 22:15 sun5i-a13-spi-spidev.dtbo
-rw-r--r-- 1 root root  974 Oct 20 22:15 sun5i-a13-spi0.dtbo
-rw-r--r-- 1 root root  936 Oct 20 22:15 sun5i-a13-spi1.dtbo
-rw-r--r-- 1 root root  563 Oct 20 22:15 sun5i-a13-spi2.dtbo
-rw-r--r-- 1 root root  795 Oct 20 22:15 sun5i-a13-uart0.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun5i-a13-uart1.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun5i-a13-uart2.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun5i-a13-uart3.dtbo
-rw-r--r-- 1 root root  267 Oct 20 22:15 sun7i-a20-analog-codec.dtbo
-rw-r--r-- 1 root root  386 Oct 20 22:15 sun7i-a20-can.dtbo
-rw-r--r-- 1 root root 5532 Oct 20 22:15 sun7i-a20-fixup.scr
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun7i-a20-i2c1.dtbo
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun7i-a20-i2c2.dtbo
-rw-r--r-- 1 root root  500 Oct 20 22:15 sun7i-a20-i2c3.dtbo
-rw-r--r-- 1 root root  766 Oct 20 22:15 sun7i-a20-i2c4.dtbo
-rw-r--r-- 1 root root  590 Oct 20 22:15 sun7i-a20-mmc2.dtbo
-rw-r--r-- 1 root root 2301 Oct 20 22:15 sun7i-a20-nand.dtbo
-rw-r--r-- 1 root root  778 Oct 20 22:15 sun7i-a20-pps-gpio.dtbo
-rw-r--r-- 1 root root  443 Oct 20 22:15 sun7i-a20-pwm.dtbo
-rw-r--r-- 1 root root 1040 Oct 20 22:15 sun7i-a20-spdif-out.dtbo
-rw-r--r-- 1 root root  556 Oct 20 22:15 sun7i-a20-spi-add-cs1.dtbo
-rw-r--r-- 1 root root 1093 Oct 20 22:15 sun7i-a20-spi-jedec-nor.dtbo
-rw-r--r-- 1 root root 1069 Oct 20 22:15 sun7i-a20-spi-spidev.dtbo
-rw-r--r-- 1 root root  808 Oct 20 22:15 sun7i-a20-uart2.dtbo
-rw-r--r-- 1 root root 1078 Oct 20 22:15 sun7i-a20-uart3.dtbo
-rw-r--r-- 1 root root  513 Oct 20 22:15 sun7i-a20-uart4.dtbo
-rw-r--r-- 1 root root  513 Oct 20 22:15 sun7i-a20-uart5.dtbo
-rw-r--r-- 1 root root  513 Oct 20 22:15 sun7i-a20-uart6.dtbo
-rw-r--r-- 1 root root  513 Oct 20 22:15 sun7i-a20-uart7.dtbo
-rw-r--r-- 1 root root  777 Oct 20 22:15 sun7i-a20-w1-gpio.dtbo
-rw-r--r-- 1 root root  339 Oct 20 22:15 sun8i-h3-analog-codec.dtbo
-rw-r--r-- 1 root root  384 Oct 20 22:15 sun8i-h3-cir.dtbo
-rw-r--r-- 1 root root  478 Oct 20 22:15 sun8i-h3-cpu-clock-1.2GHz-1.3v.dtbo
-rw-r--r-- 1 root root  982 Oct 20 22:15 sun8i-h3-cpu-clock-1.368GHz-1.3v.dtbo
-rw-r--r-- 1 root root  898 Oct 20 22:15 sun8i-h3-cpu-clock-1.3GHz-1.3v.dtbo
-rw-r--r-- 1 root root 4185 Oct 20 22:15 sun8i-h3-fixup.scr
-rw-r--r-- 1 root root  374 Oct 20 22:15 sun8i-h3-i2c0.dtbo
-rw-r--r-- 1 root root  374 Oct 20 22:15 sun8i-h3-i2c1.dtbo
-rw-r--r-- 1 root root  374 Oct 20 22:15 sun8i-h3-i2c2.dtbo
-rw-r--r-- 1 root root  778 Oct 20 22:15 sun8i-h3-pps-gpio.dtbo
-rw-r--r-- 1 root root  862 Oct 20 22:15 sun8i-h3-pwm.dtbo
-rw-r--r-- 1 root root 1040 Oct 20 22:15 sun8i-h3-spdif-out.dtbo
-rw-r--r-- 1 root root 1177 Oct 20 22:15 sun8i-h3-spi-add-cs1.dtbo
-rw-r--r-- 1 root root  804 Oct 20 22:15 sun8i-h3-spi-jedec-nor.dtbo
-rw-r--r-- 1 root root  788 Oct 20 22:15 sun8i-h3-spi-spidev.dtbo
-rw-r--r-- 1 root root  502 Oct 20 22:15 sun8i-h3-uart1.dtbo
-rw-r--r-- 1 root root  502 Oct 20 22:15 sun8i-h3-uart2.dtbo
-rw-r--r-- 1 root root  502 Oct 20 22:15 sun8i-h3-uart3.dtbo
-rw-r--r-- 1 root root  504 Oct 20 22:15 sun8i-h3-usbhost0.dtbo
-rw-r--r-- 1 root root  504 Oct 20 22:15 sun8i-h3-usbhost1.dtbo
-rw-r--r-- 1 root root  504 Oct 20 22:15 sun8i-h3-usbhost2.dtbo
-rw-r--r-- 1 root root  504 Oct 20 22:15 sun8i-h3-usbhost3.dtbo
-rw-r--r-- 1 root root  777 Oct 20 22:15 sun8i-h3-w1-gpio.dtbo                       <-----------
-rw-r--r-- 1 root root  374 Oct 20 22:15 sun8i-r40-i2c2.dtbo
-rw-r--r-- 1 root root  374 Oct 20 22:15 sun8i-r40-i2c3.dtbo
-rw-r--r-- 1 root root  547 Oct 20 22:15 sun8i-r40-spi-spidev0.dtbo
-rw-r--r-- 1 root root  547 Oct 20 22:15 sun8i-r40-spi-spidev1.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun8i-r40-uart2.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun8i-r40-uart4.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun8i-r40-uart5.dtbo
-rw-r--r-- 1 root root  505 Oct 20 22:15 sun8i-r40-uart7.dtbo


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-300000000000 -> ../../../devices/w1_bus_master1/00-300000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-700000000000 -> ../../../devices/w1_bus_master1/00-700000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-b00000000000 -> ../../../devices/w1_bus_master1/00-b00000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:09 w1_bus_master1 -> ../../../devices/w1_bus_master1


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-700000000000 -> ../../../devices/w1_bus_master1/00-700000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-b00000000000 -> ../../../devices/w1_bus_master1/00-b00000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:09 w1_bus_master1 -> ../../../devices/w1_bus_master1


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-700000000000 -> ../../../devices/w1_bus_master1/00-700000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-b00000000000 -> ../../../devices/w1_bus_master1/00-b00000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-f00000000000 -> ../../../devices/w1_bus_master1/00-f00000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:09 w1_bus_master1 -> ../../../devices/w1_bus_master1


pi@orangepizero:~$ ls -l /sys/bus/w1/devices
total 0
lrwxrwxrwx 1 root root 0 Nov 17 15:22 00-080000000000 -> ../../../devices/w1_bus_master1/00-080000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-700000000000 -> ../../../devices/w1_bus_master1/00-700000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:21 00-f00000000000 -> ../../../devices/w1_bus_master1/00-f00000000000
lrwxrwxrwx 1 root root 0 Nov 17 15:09 w1_bus_master1 -> ../../../devices/w1_bus_master1


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/00-700000000000/
ls: cannot access '/sys/bus/w1/devices/00-700000000000/': No such file or directory


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/00-080000000000/
total 0
lrwxrwxrwx 1 root root    0 Nov 17 15:23 driver -> ../../../bus/w1/drivers/w1_slave_driver
-r--r--r-- 1 root root 4096 Nov 17 15:23 id
-r--r--r-- 1 root root 4096 Nov 17 15:23 name
drwxr-xr-x 2 root root    0 Nov 17 15:23 power
-rw-r--r-- 1 root root 4096 Nov 17 15:23 rw
lrwxrwxrwx 1 root root    0 Nov 17 15:23 subsystem -> ../../../bus/w1
-rw-r--r-- 1 root root 4096 Nov 17 15:22 uevent


pi@orangepizero:~$ ls -l /sys/bus/w1/devices/00-f00000000000/
ls: cannot access '/sys/bus/w1/devices/00-f00000000000/': No such file or directory

 

Posted
28 minutes ago, martinayotte said:

Shoud be "PA6" (pin 7) instead ...

Didn't help :(

pi@orangepizero:~$ ls -l /sys/bus/w1/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 17 16:07 w1_bus_master1 -> ../../../devices/w1_bus_master1

 

Posted
1 hour ago, lagerschaden said:

gpio-110 ( |onewire@0 ) out lo

Is this still present ? Because 110 is wrong ... It is like you still have the default pin which is PD14 ...

What "dmesg | grep w1" command is giving you ?

Posted
11 minutes ago, martinayotte said:

Is this still present ? Because 110 is wrong ... It is like you still have the default pin which is PD14 ...

What "dmesg | grep w1" command is giving you ?

pi@orangepizero:~$ dmesg | grep w1
[   10.918414] w1-gpio onewire@0: there is not valid maps for state default
[   13.026099] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[   60.043354] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
[   60.053853] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
[  118.651988] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
[  118.661513] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
[  165.455530] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca
[  165.461396] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca is not registered.
[  235.892434] w1_master_driver w1_bus_master1: Attaching one wire slave 00.200000000000 crc 23
[  235.898397] w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered.
[  294.518468] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a00000000000 crc af
[  294.527735] w1_master_driver w1_bus_master1: Family 0 for 00.a00000000000.af is not registered.
[  329.521925] w1_master_driver w1_bus_master1: Attaching one wire slave 00.600000000000 crc 65
[  329.528850] w1_master_driver w1_bus_master1: Family 0 for 00.600000000000.65 is not registered.
[  366.186710] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e00000000000 crc e9
[  366.193140] w1_master_driver w1_bus_master1: Family 0 for 00.e00000000000.e9 is not registered.
[  424.451012] w1_master_driver w1_bus_master1: Attaching one wire slave 00.100000000000 crc 9d
[  424.456823] w1_master_driver w1_bus_master1: Family 0 for 00.100000000000.9d is not registered.
[  460.156559] w1_master_driver w1_bus_master1: Attaching one wire slave 00.900000000000 crc 11
[  460.165709] w1_master_driver w1_bus_master1: Family 0 for 00.900000000000.11 is not registered.
[  529.873516] w1_master_driver w1_bus_master1: Attaching one wire slave 00.500000000000 crc db
[  529.880819] w1_master_driver w1_bus_master1: Family 0 for 00.500000000000.db is not registered.
[  577.478516] w1_master_driver w1_bus_master1: Attaching one wire slave 00.d00000000000 crc 57
[  577.486009] w1_master_driver w1_bus_master1: Family 0 for 00.d00000000000.57 is not registered.
[  601.598000] w1_master_driver w1_bus_master1: Attaching one wire slave 00.300000000000 crc be
[  601.604024] w1_master_driver w1_bus_master1: Family 0 for 00.300000000000.be is not registered.
[  647.507023] w1_master_driver w1_bus_master1: Attaching one wire slave 00.b00000000000 crc 32
[  647.513166] w1_master_driver w1_bus_master1: Family 0 for 00.b00000000000.32 is not registered.
[  683.415700] w1_master_driver w1_bus_master1: Attaching one wire slave 00.700000000000 crc f8
[  683.421654] w1_master_driver w1_bus_master1: Family 0 for 00.700000000000.f8 is not registered.
[  730.960493] w1_master_driver w1_bus_master1: Attaching one wire slave 00.f00000000000 crc 74
[  730.966974] w1_master_driver w1_bus_master1: Family 0 for 00.f00000000000.74 is not registered.
[  788.901338] w1_master_driver w1_bus_master1: Attaching one wire slave 00.080000000000 crc c2
[  788.907217] w1_master_driver w1_bus_master1: Family 0 for 00.080000000000.c2 is not registered.
[  837.233978] w1_master_driver w1_bus_master1: Attaching one wire slave 00.880000000000 crc 4e
[  837.240541] w1_master_driver w1_bus_master1: Family 0 for 00.880000000000.4e is not registered.
[  872.307557] w1_master_driver w1_bus_master1: Attaching one wire slave 00.480000000000 crc 84
[  872.314802] w1_master_driver w1_bus_master1: Family 0 for 00.480000000000.84 is not registered.
[  919.036110] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c80000000000 crc 08
[  919.043360] w1_master_driver w1_bus_master1: Family 0 for 00.c80000000000.08 is not registered.
[  989.661007] w1_master_driver w1_bus_master1: Attaching one wire slave 00.280000000000 crc e1
[  989.670331] w1_master_driver w1_bus_master1: Family 0 for 00.280000000000.e1 is not registered.
[ 1048.216544] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a80000000000 crc 6d
[ 1048.222266] w1_master_driver w1_bus_master1: Family 0 for 00.a80000000000.6d is not registered.
[ 1106.778063] w1_master_driver w1_bus_master1: Attaching one wire slave 00.680000000000 crc a7
[ 1106.783881] w1_master_driver w1_bus_master1: Family 0 for 00.680000000000.a7 is not registered.
[ 1143.420175] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e80000000000 crc 2b
[ 1143.429445] w1_master_driver w1_bus_master1: Family 0 for 00.e80000000000.2b is not registered.
[ 1201.748193] w1_master_driver w1_bus_master1: Attaching one wire slave 00.180000000000 crc 5f
[ 1201.754066] w1_master_driver w1_bus_master1: Family 0 for 00.180000000000.5f is not registered.
[ 1237.584915] w1_master_driver w1_bus_master1: Attaching one wire slave 00.980000000000 crc d3
[ 1237.590931] w1_master_driver w1_bus_master1: Family 0 for 00.980000000000.d3 is not registered.
[ 1283.465783] w1_master_driver w1_bus_master1: Attaching one wire slave 00.580000000000 crc 19
[ 1283.472311] w1_master_driver w1_bus_master1: Family 0 for 00.580000000000.19 is not registered.
[ 1331.134640] w1_master_driver w1_bus_master1: Attaching one wire slave 00.d80000000000 crc 95
[ 1331.140569] w1_master_driver w1_bus_master1: Family 0 for 00.d80000000000.95 is not registered.
[ 1355.295052] w1_master_driver w1_bus_master1: Attaching one wire slave 00.380000000000 crc 7c
[ 1355.301015] w1_master_driver w1_bus_master1: Family 0 for 00.380000000000.7c is not registered.
[ 1401.263815] w1_master_driver w1_bus_master1: Attaching one wire slave 00.b80000000000 crc f0
[ 1401.269638] w1_master_driver w1_bus_master1: Family 0 for 00.b80000000000.f0 is not registered.
[ 1460.613998] w1_master_driver w1_bus_master1: Attaching one wire slave 00.780000000000 crc 3a
[ 1460.623177] w1_master_driver w1_bus_master1: Family 0 for 00.780000000000.3a is not registered.
[ 1508.269479] w1_master_driver w1_bus_master1: Attaching one wire slave 00.f80000000000 crc b6
[ 1508.275477] w1_master_driver w1_bus_master1: Family 0 for 00.f80000000000.b6 is not registered.
[ 1566.259014] w1_master_driver w1_bus_master1: Attaching one wire slave 00.040000000000 crc 61
[ 1566.266563] w1_master_driver w1_bus_master1: Family 0 for 00.040000000000.61 is not registered.
[ 1614.675262] w1_master_driver w1_bus_master1: Attaching one wire slave 00.840000000000 crc ed
[ 1614.681407] w1_master_driver w1_bus_master1: Family 0 for 00.840000000000.ed is not registered.
[ 1673.243833] w1_master_driver w1_bus_master1: Attaching one wire slave 00.440000000000 crc 27
[ 1673.249694] w1_master_driver w1_bus_master1: Family 0 for 00.440000000000.27 is not registered.
[ 1720.024472] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c40000000000 crc ab
[ 1720.030365] w1_master_driver w1_bus_master1: Family 0 for 00.c40000000000.ab is not registered.
[ 1743.204900] w1_master_driver w1_bus_master1: Attaching one wire slave 00.240000000000 crc 42
[ 1743.211094] w1_master_driver w1_bus_master1: Family 0 for 00.240000000000.42 is not registered.
[ 1801.818256] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a40000000000 crc ce
[ 1801.825776] w1_master_driver w1_bus_master1: Family 0 for 00.a40000000000.ce is not registered.
[ 1826.570166] w1_master_driver w1_bus_master1: Attaching one wire slave 00.640000000000 crc 04
[ 1826.575799] w1_master_driver w1_bus_master1: Family 0 for 00.640000000000.04 is not registered.
[ 1873.306830] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e40000000000 crc 88
[ 1873.313309] w1_master_driver w1_bus_master1: Family 0 for 00.e40000000000.88 is not registered.
[ 1931.903404] w1_master_driver w1_bus_master1: Attaching one wire slave 00.140000000000 crc fc
[ 1931.909127] w1_master_driver w1_bus_master1: Family 0 for 00.140000000000.fc is not registered.
[ 1967.740962] w1_master_driver w1_bus_master1: Attaching one wire slave 00.940000000000 crc 70
[ 1967.750266] w1_master_driver w1_bus_master1: Family 0 for 00.940000000000.70 is not registered.
[ 2037.280620] w1_master_driver w1_bus_master1: Attaching one wire slave 00.540000000000 crc ba
[ 2037.286595] w1_master_driver w1_bus_master1: Family 0 for 00.540000000000.ba is not registered.
[ 2084.890718] w1_master_driver w1_bus_master1: Attaching one wire slave 00.d40000000000 crc 36
[ 2084.899901] w1_master_driver w1_bus_master1: Family 0 for 00.d40000000000.36 is not registered.
[ 2156.095202] w1_master_driver w1_bus_master1: Attaching one wire slave 00.340000000000 crc df
[ 2156.101045] w1_master_driver w1_bus_master1: Family 0 for 00.340000000000.df is not registered.
[ 2202.016954] w1_master_driver w1_bus_master1: Attaching one wire slave 00.b40000000000 crc 53
[ 2202.024525] w1_master_driver w1_bus_master1: Family 0 for 00.b40000000000.53 is not registered.
[ 2237.818316] w1_master_driver w1_bus_master1: Attaching one wire slave 00.740000000000 crc 99
[ 2237.827495] w1_master_driver w1_bus_master1: Family 0 for 00.740000000000.99 is not registered.
[ 2285.430112] w1_master_driver w1_bus_master1: Attaching one wire slave 00.f40000000000 crc 15
[ 2285.435977] w1_master_driver w1_bus_master1: Family 0 for 00.f40000000000.15 is not registered.
[ 2343.519916] w1_master_driver w1_bus_master1: Attaching one wire slave 00.0c0000000000 crc a3
[ 2343.526649] w1_master_driver w1_bus_master1: Family 0 for 00.0c0000000000.a3 is not registered.
[ 2391.853559] w1_master_driver w1_bus_master1: Attaching one wire slave 00.8c0000000000 crc 2f
[ 2391.862673] w1_master_driver w1_bus_master1: Family 0 for 00.8c0000000000.2f is not registered.
[ 2427.009253] w1_master_driver w1_bus_master1: Attaching one wire slave 00.4c0000000000 crc e5
[ 2427.015645] w1_master_driver w1_bus_master1: Family 0 for 00.4c0000000000.e5 is not registered.
[ 2473.778242] w1_master_driver w1_bus_master1: Attaching one wire slave 00.cc0000000000 crc 69
[ 2473.784744] w1_master_driver w1_bus_master1: Family 0 for 00.cc0000000000.69 is not registered.
[ 2496.842353] w1_master_driver w1_bus_master1: Attaching one wire slave 00.2c0000000000 crc 80
[ 2496.848331] w1_master_driver w1_bus_master1: Family 0 for 00.2c0000000000.80 is not registered.
[ 2555.408580] w1_master_driver w1_bus_master1: Attaching one wire slave 00.ac0000000000 crc 0c
[ 2555.415890] w1_master_driver w1_bus_master1: Family 0 for 00.ac0000000000.0c is not registered.
[ 2603.884316] w1_master_driver w1_bus_master1: Attaching one wire slave 00.6c0000000000 crc c6
[ 2603.890262] w1_master_driver w1_bus_master1: Family 0 for 00.6c0000000000.c6 is not registered.
[ 2650.613148] w1_master_driver w1_bus_master1: Attaching one wire slave 00.ec0000000000 crc 4a
[ 2650.619205] w1_master_driver w1_bus_master1: Family 0 for 00.ec0000000000.4a is not registered.
[ 2709.155413] w1_master_driver w1_bus_master1: Attaching one wire slave 00.1c0000000000 crc 3e
[ 2709.164588] w1_master_driver w1_bus_master1: Family 0 for 00.1c0000000000.3e is not registered.
[ 2745.016024] w1_master_driver w1_bus_master1: Attaching one wire slave 00.9c0000000000 crc b2
[ 2745.025158] w1_master_driver w1_bus_master1: Family 0 for 00.9c0000000000.b2 is not registered.
[ 2790.984781] w1_master_driver w1_bus_master1: Attaching one wire slave 00.5c0000000000 crc 78
[ 2790.993984] w1_master_driver w1_bus_master1: Family 0 for 00.5c0000000000.78 is not registered.
[ 2838.616666] w1_master_driver w1_bus_master1: Attaching one wire slave 00.dc0000000000 crc f4
[ 2838.623070] w1_master_driver w1_bus_master1: Family 0 for 00.dc0000000000.f4 is not registered.
[ 2909.653619] w1_master_driver w1_bus_master1: Attaching one wire slave 00.3c0000000000 crc 1d
[ 2909.659207] w1_master_driver w1_bus_master1: Family 0 for 00.3c0000000000.1d is not registered.
[ 2955.667376] w1_master_driver w1_bus_master1: Attaching one wire slave 00.bc0000000000 crc 91
[ 2955.674685] w1_master_driver w1_bus_master1: Family 0 for 00.bc0000000000.91 is not registered.
[ 3015.127169] w1_master_driver w1_bus_master1: Attaching one wire slave 00.7c0000000000 crc 5b
[ 3015.133061] w1_master_driver w1_bus_master1: Family 0 for 00.7c0000000000.5b is not registered.
[ 3062.731951] w1_master_driver w1_bus_master1: Attaching one wire slave 00.fc0000000000 crc d7
[ 3062.737811] w1_master_driver w1_bus_master1: Family 0 for 00.fc0000000000.d7 is not registered.
[ 3085.180293] w1_master_driver w1_bus_master1: Attaching one wire slave 00.020000000000 crc bc
[ 3085.186235] w1_master_driver w1_bus_master1: Family 0 for 00.020000000000.bc is not registered.
[ 3120.996817] w1_master_driver w1_bus_master1: Attaching one wire slave 00.820000000000 crc 30
[ 3121.002685] w1_master_driver w1_bus_master1: Family 0 for 00.820000000000.30 is not registered.
[ 3180.465728] w1_master_driver w1_bus_master1: Attaching one wire slave 00.420000000000 crc fa
[ 3180.471665] w1_master_driver w1_bus_master1: Family 0 for 00.420000000000.fa is not registered.
[ 3227.978446] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c20000000000 crc 76
[ 3227.985100] w1_master_driver w1_bus_master1: Family 0 for 00.c20000000000.76 is not registered.
[ 3309.320910] w1_master_driver w1_bus_master1: Attaching one wire slave 00.220000000000 crc 9f
[ 3309.330184] w1_master_driver w1_bus_master1: Family 0 for 00.220000000000.9f is not registered.
[ 3345.124197] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a20000000000 crc 13
[ 3345.130176] w1_master_driver w1_bus_master1: Family 0 for 00.a20000000000.13 is not registered.
[ 3381.024729] w1_master_driver w1_bus_master1: Attaching one wire slave 00.620000000000 crc d9
[ 3381.030641] w1_master_driver w1_bus_master1: Family 0 for 00.620000000000.d9 is not registered.
[ 3438.733732] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e20000000000 crc 55
[ 3438.739413] w1_master_driver w1_bus_master1: Family 0 for 00.e20000000000.55 is not registered.
[ 3474.839350] w1_master_driver w1_bus_master1: Attaching one wire slave 00.120000000000 crc 21
[ 3474.848520] w1_master_driver w1_bus_master1: Family 0 for 00.120000000000.21 is not registered.
[ 3533.467650] w1_master_driver w1_bus_master1: Attaching one wire slave 00.920000000000 crc ad
[ 3533.475242] w1_master_driver w1_bus_master1: Family 0 for 00.920000000000.ad is not registered.
[ 3592.079815] w1_master_driver w1_bus_master1: Attaching one wire slave 00.520000000000 crc 67
[ 3592.085701] w1_master_driver w1_bus_master1: Family 0 for 00.520000000000.67 is not registered.
[ 3638.896493] w1_master_driver w1_bus_master1: Attaching one wire slave 00.d20000000000 crc eb
[ 3638.902422] w1_master_driver w1_bus_master1: Family 0 for 00.d20000000000.eb is not registered.
[ 3651.693922] w1_master_driver w1_bus_master1: Attaching one wire slave 00.320000000000 crc 02
[ 3651.703123] w1_master_driver w1_bus_master1: Family 0 for 00.320000000000.02 is not registered.
[ 3710.317520] w1_master_driver w1_bus_master1: Attaching one wire slave 00.b20000000000 crc 8e
[ 3710.323562] w1_master_driver w1_bus_master1: Family 0 for 00.b20000000000.8e is not registered.
[ 3745.386025] w1_master_driver w1_bus_master1: Attaching one wire slave 00.720000000000 crc 44
[ 3745.391997] w1_master_driver w1_bus_master1: Family 0 for 00.720000000000.44 is not registered.
pi@orangepizero:~$

 

Posted

Now I removed the DS18B20 from the Orange Pi zero and Uuups:

 

pi@orangepizero:~$ ls -l /sys/bus/w1/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 17 17:33 00-100000000000 -> ../../../devices/w1_bus_master1/00-100000000000
lrwxrwxrwx 1 root root 0 Nov 17 17:34 00-500000000000 -> ../../../devices/w1_bus_master1/00-500000000000
lrwxrwxrwx 1 root root 0 Nov 17 17:33 00-900000000000 -> ../../../devices/w1_bus_master1/00-900000000000
lrwxrwxrwx 1 root root 0 Nov 17 17:25 w1_bus_master1 -> ../../../devices/w1_bus_master1
pi@orangepizero:~$ dmesg | grep w1
[   10.748887] w1-gpio onewire@0: there is not valid maps for state default
[   13.130265] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[   59.998244] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
[   60.004443] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
[  118.654109] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
[  118.660629] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
[  165.419201] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca
[  165.425341] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca is not registered.
[  235.897723] w1_master_driver w1_bus_master1: Attaching one wire slave 00.200000000000 crc 23
[  235.906918] w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered.
[  294.510450] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a00000000000 crc af
[  294.519639] w1_master_driver w1_bus_master1: Family 0 for 00.a00000000000.af is not registered.
[  329.522339] w1_master_driver w1_bus_master1: Attaching one wire slave 00.600000000000 crc 65
[  329.530005] w1_master_driver w1_bus_master1: Family 0 for 00.600000000000.65 is not registered.
[  366.223328] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e00000000000 crc e9
[  366.232760] w1_master_driver w1_bus_master1: Family 0 for 00.e00000000000.e9 is not registered.
[  424.435951] w1_master_driver w1_bus_master1: Attaching one wire slave 00.100000000000 crc 9d
[  424.445176] w1_master_driver w1_bus_master1: Family 0 for 00.100000000000.9d is not registered.
[  460.228297] w1_master_driver w1_bus_master1: Attaching one wire slave 00.900000000000 crc 11
[  460.237421] w1_master_driver w1_bus_master1: Family 0 for 00.900000000000.11 is not registered.
[  529.876961] w1_master_driver w1_bus_master1: Attaching one wire slave 00.500000000000 crc db
[  529.886380] w1_master_driver w1_bus_master1: Family 0 for 00.500000000000.db is not registered.
[  577.468995] w1_master_driver w1_bus_master1: Attaching one wire slave 00.d00000000000 crc 57
[  577.474916] w1_master_driver w1_bus_master1: Family 0 for 00.d00000000000.57 is not registered.
[  601.542743] w1_master_driver w1_bus_master1: Attaching one wire slave 00.300000000000 crc be
[  601.551880] w1_master_driver w1_bus_master1: Family 0 for 00.300000000000.be is not registered.
pi@orangepizero:~$ 

"Zombie" 1-wire-devices ???

 

L.

Posted
10 minutes ago, lagerschaden said:

[ 10.918414] w1-gpio onewire@0: there is not valid maps for state default

This line looks strange ...

Can you try PA7 (pin 12) instead, and look again at /sys/kernel/debug/gpio ?

Posted

I tried other pins and other DS18B20 and there was the same issue. Same issue with an Orange Pi one.

Then I tested two Rasperries -> everything is ok.

 

I will switch to a Raspberry.

L.

Posted
2 minutes ago, lagerschaden said:

I tried other pins and other DS18B20 and there was the same issue.

Try using external 4K7 pullup instead of internal one ...

 

BTW, which kernel are you using ?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines