Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The DS18B20 sensors disconnects after some time. #11

Open
mcfrojd opened this issue Sep 26, 2023 · 55 comments
Open

The DS18B20 sensors disconnects after some time. #11

mcfrojd opened this issue Sep 26, 2023 · 55 comments

Comments

@mcfrojd
Copy link

mcfrojd commented Sep 26, 2023

I am running a Raspberry Pi 3b+ with the latest release candidate v3.20~4.
Screenshot MCRYZEN 2023-09-26 17_5148

( I have the same problem on my production system, a pi 4 with v3.01 )
VenusOS-TemperatureService version 0.5
Using two DS18B20 temperature sensors with a 4.7kohm resistor.

I have no trubbel setting them up and using them for a couple of days.
But after some time the two DS18B20 temperature sensors will end up disconnected.

And this is the only thing i find in the logs at /data/log/VenusOS-TemperatureService/current

@40000000650cb9a5242d8efc INFO:root:1Wire Sensor found with no Service -> Create:
@40000000650cb9a5281d572c INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id03
@40000000650cb9a52944cfcc INFO:root:Add setting /Settings/Temperature/3de104572da1/TemperatureType [0, 0, 3]
@40000000650cb9a52958d8b4 INFO:root:Add setting /Settings/Temperature/3de104572da1/CustomName ['', 0, 0]
@40000000650cb9a539272c14 INFO:root:Retreived setting /Settings/Temperature/1/TemperatureType /TemperatureType 2
@40000000650cb9a539324fa4 INFO:root:Retreived setting /Settings/Temperature/1/CustomName /CustomName CPU
@40000000650cb9a5393ce694 INFO:root:Retreived setting /Settings/Temperature/3de1045750fa/TemperatureType /TemperatureType 2
@40000000650cb9a539510ad4 INFO:root:Retreived setting /Settings/Temperature/3de1045750fa/CustomName /CustomName Probe1
@40000000650cb9a539512a14 INFO:root:Retreived setting /Settings/Temperature/3de104572da1/TemperatureType /TemperatureType 2
@40000000650cb9a5396788a4 INFO:root:Retreived setting /Settings/Temperature/3de104572da1/CustomName /CustomName Probe2
@40000000650cb9a5397d6e1c INFO:root:Created Service 1Wire ID: 3 Settings ID:3
@40000000650cb9c004b3ae94 INFO:root:W1-temp:28-3de1045750fa temperature interface connected
@40000000650cb9c0053d29e4 INFO:root:W1-temp:28-3de104572da1 temperature interface connected
@40000000650cb9c00580e5bc INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
@400000006512b44d223a90cc INFO:root:W1-temp:28-3de1045750fa temperature interface disconnected
@400000006512b4551efcea2c INFO:root:W1-temp:28-3de104572da1 temperature interface disconnected

Screenshot MCRYZEN 2023-09-26 17_4955

The CPU temperature keeps connected.

Is there any way to find out why they get disconnected?
A reboot wount make them come back to life, instead they disappear.

Running setup with option "i" wount make them come back to life.
But if i disconnect the 3.3v pin and connect it again they will come back.

This is in the log after a reboot, running setup with the option "i" and the disconnect and reconnect the 3.3v pin

@400000006512b44d223a90cc INFO:root:W1-temp:28-3de1045750fa temperature interface disconnected
@400000006512b4551efcea2c INFO:root:W1-temp:28-3de104572da1 temperature interface disconnected
@40000000651300573421aa3c *** CCGX booted (0) ***
@400000006513005b1633960c INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
@400000006513005b1715725c INFO:root:Loglevel set to INFO
@400000006513005b198e4a2c INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.RPi_cpu_id01
@400000006513005b198e713c INFO:root:Add setting /Settings/Temperature/1/TemperatureType [0, 0, 3]
@400000006513005b198e84c4 INFO:root:Add setting /Settings/Temperature/1/CustomName ['', 0, 0]
@400000006513005b22437624 Traceback (most recent call last):
@400000006513005b22439564   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 403, in <module>
@400000006513005b2243a8ec     initSettings(newSettings)
@400000006513005b2243b0bc   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 263, in initSettings
@400000006513005b2243c444     settings = SettingsDevice(
@400000006513005b2243d7cc   File "/opt/victronenergy/dbus-modem/settingsdevice.py", line 51, in __init__
@400000006513005b2243f70c     raise Exception("The settings service com.victronenergy.settings does not exist!")
@400000006513005b2245cfb4 Exception: The settings service com.victronenergy.settings does not exist!
@400000006513005d19863f94 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
@400000006513005d1991305c INFO:root:Loglevel set to INFO
@400000006513005d1a1062dc INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.RPi_cpu_id01
@400000006513005d1a46b134 INFO:root:Add setting /Settings/Temperature/1/TemperatureType [0, 0, 3]
@400000006513005d1a51d8ac INFO:root:Add setting /Settings/Temperature/1/CustomName ['', 0, 0]
@400000006513005e30d895d4 INFO:root:Retreived setting /Settings/Temperature/1/TemperatureType /TemperatureType 2
@400000006513005e30ef65ac INFO:root:Retreived setting /Settings/Temperature/1/CustomName /CustomName CPU
@400000006513005e310533b4 INFO:root:cpu temperature interface connected
@400000006513005e315d3adc INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
@40000000651300c503555ee4 VenusOS-TemperatureService/setup: --- starting setup script v0.5
@40000000651300cb2ac57c5c VenusOS-TemperatureService/setup: ++ Installing VenusOS Temperature Service
@40000000651300cb2d0fd1ec VenusOS-TemperatureService/setup: restarting VenusOS-TemperatureService service
@40000000651300cb3159915c VenusOS-TemperatureService/setup: restarting VenusOS-TemperatureService logger
@40000000651300cb391405bc VenusOS-TemperatureService/setup: completed
@40000000651300cc2a8e5344 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
@40000000651300cc2a94891c INFO:root:Loglevel set to INFO
@40000000651300cc2bb14b8c INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.RPi_cpu_id01
@40000000651300cc2be6172c INFO:root:Add setting /Settings/Temperature/1/TemperatureType [0, 0, 3]
@40000000651300cc2bef4e8c INFO:root:Add setting /Settings/Temperature/1/CustomName ['', 0, 0]
@40000000651300cc2f869294 INFO:root:Retreived setting /Settings/Temperature/1/TemperatureType /TemperatureType 2
@40000000651300cc2f96bf34 INFO:root:Retreived setting /Settings/Temperature/1/CustomName /CustomName CPU
@40000000651300cc2fa7d24c INFO:root:cpu temperature interface connected
@40000000651300cc2ffde574 INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
@40000000651300fe310431e4 INFO:root:1Wire Sensor found with no Service -> Create:
@40000000651300fe31b7c2a4 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id02
@40000000651300fe31fa7cac INFO:root:Add setting /Settings/Temperature/3de1045750fa/TemperatureType [0, 0, 3]
@40000000651300fe323eb584 INFO:root:Add setting /Settings/Temperature/3de1045750fa/CustomName ['', 0, 0]
@40000000651300fe35fa3eb4 INFO:root:Retreived setting /Settings/Temperature/1/TemperatureType /TemperatureType 2
@40000000651300fe35fe8474 INFO:root:Retreived setting /Settings/Temperature/1/CustomName /CustomName CPU
@40000000651300fe3608c95c INFO:root:Retreived setting /Settings/Temperature/3de1045750fa/TemperatureType /TemperatureType 2
@40000000651300fe361bad4c INFO:root:Retreived setting /Settings/Temperature/3de1045750fa/CustomName /CustomName Probe1
@40000000651300fe364691c4 INFO:root:Created Service 1Wire ID: 2 Settings ID:2
@40000000651300ff311817a4 INFO:root:1Wire Sensor found with no Service -> Create:
@40000000651300ff31c0908c INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id03
@40000000651300ff323562cc INFO:root:Add setting /Settings/Temperature/3de104572da1/TemperatureType [0, 0, 3]
@40000000651300ff323fab9c INFO:root:Add setting /Settings/Temperature/3de104572da1/CustomName ['', 0, 0]
@40000000651300ff37638ae4 INFO:root:Retreived setting /Settings/Temperature/1/TemperatureType /TemperatureType 2
@40000000651300ff376c492c INFO:root:Retreived setting /Settings/Temperature/1/CustomName /CustomName CPU
@40000000651300ff377526b4 INFO:root:Retreived setting /Settings/Temperature/3de1045750fa/TemperatureType /TemperatureType 2
@40000000651300ff377d873c INFO:root:Retreived setting /Settings/Temperature/3de1045750fa/CustomName /CustomName Probe1
@40000000651300ff3785f764 INFO:root:Retreived setting /Settings/Temperature/3de104572da1/TemperatureType /TemperatureType 2
@40000000651300ff37d27d3c INFO:root:Retreived setting /Settings/Temperature/3de104572da1/CustomName /CustomName Probe2
@40000000651300ff381d16e4 INFO:root:Created Service 1Wire ID: 3 Settings ID:3
@40000000651301002e740184 INFO:root:W1-temp:28-3de1045750fa temperature interface connected
@40000000651301002ecb261c INFO:root:W1-temp:28-3de104572da1 temperature interface connected
@Rikkert-RS
Copy link
Owner

Hello,

It seems like the 1Wire bus is stuck.
When the 1Wire no longer reports the sensor, I set the status to “Disconnected”.
Can you describe your setup to me in more detail? So cable length, cable type etc.

best regards Rikkert-RS

@Rikkert-RS
Copy link
Owner

Hello @mcfrojd Is the problem still existent?

@Sarah-1331
Copy link

Hi Rikkert I do have an issue related to this

I have one sensor absolutely fine 5mrt long 4.7k resistor
I have added two more 1mtr sensors at 4m down the 5m now have three at 1m at the end of a 4m extension

the two new ones have disconnected any advise wires are good to me

thanks
Paul

@Rikkert-RS
Copy link
Owner

Hello,

This is most likely not due to the driver itself but rather the cable length/type or the wiring of the sensors.
Do you have a sketch of your wiring and the type of sensors for me?

@Sarah-1331
Copy link

Am sorry am lazy I just gone and checked the connections soldered them and heat shrunk and all ok

was using WAGO connectors too “heavy” on the thin wires

@Sarah-1331
Copy link

@Rikkert-RS they just disconnected again but weirdly it’s just the two new ones any advise ?

@Rikkert-RS
Copy link
Owner

Rikkert-RS commented Jan 10, 2024

Hello i can only help if you send a sketch of your wiring / length / cabletyp and the type of sensors

@Sarah-1331
Copy link

Sorry it’s not good of a drawing am a builder not an artist

temp 1 is the original wire that was 5m but now has a “junction in it”
I don’t have the wire thicknesses but temp 2 and 3 are slightly thinner

sensors I don’t have a brand only ds18b20 they were off eBay

image

@Rikkert-RS
Copy link
Owner

Rikkert-RS commented Jan 10, 2024

OK the topology is like line with star at the end.
A line topology with short stubs less 3m is best. Then even 300m in total is possible
But what you did should work. what kind of cable are you using? and how is it structured? Are there other power lines nearby?

@Rikkert-RS
Copy link
Owner

Rikkert-RS commented Jan 10, 2024

Twisted cables are mandatory for 1 Wire!
And the voltage supply to the sensors must be good. Most DS18B20 run at 3.3V but can also be operated at 5V for longer distances. But here you have to have 4 lines.

@Sarah-1331
Copy link

The standard cable it came with I obviously don’t know the wire size of that. I think it’s the thinner wire of the two additional ones as it’s thinner and the original one still works. but it’s not run with any power cables

@Rikkert-RS
Copy link
Owner

Rikkert-RS commented Jan 10, 2024

Some 1Wire Guidelines:
https://www.analog.com/en/technical-articles/guidelines-for-reliable-long-line-1wire-networks.html

Connection example with 5V for Raspi but Attention, all pins are only 3,3V tolerant!!!
https://www.msxfaq.de/sonst/bastelbude/raspi/raspi-1wire.htm

@Rikkert-RS
Copy link
Owner

Rikkert-RS commented Jan 10, 2024

The standard cable it came with I obviously don’t know the wire size of that. I think it’s the thinner wire of the two additional ones as it’s thinner and the original one still works. but it’s not run with any power cables

I think the problem is that the extension cable is not twisted or the sensor power supply at the end is bad because of the voltage drop (thin wire gauge).

Network cable e.g. cat5 is very suitable

@Rikkert-RS
Copy link
Owner

But you don't have a board like that between, do you?

grafik

@Sarah-1331
Copy link

No I don’t have that board I soldered the wires together and have this on the pi
IMG_0765

@Rikkert-RS
Copy link
Owner

Rikkert-RS commented Jan 10, 2024

ok, that's good. Your Setup is ok, but i think your extension cable is not good enough

If the driver says that the sensor is not connected but others are still there then it is due to the signal quality and this depends on the cable and wiring. Can you swap the 4m cable for a better one? Network cable Cat5 or better.

The cable must be good and not too thin since we only operate the sensor with 3.3V

@Sarah-1331
Copy link

So that’s what I’ll do I’ll order one now
I have just put VCC TO 5v and signal -4.7k to 3.3 while I await but I fear it’s the new sensors as the cables are thin

@morphias2004
Copy link

I have the same issue.

I mine is connected directly to the Pi without any extensions on the cable.

The disconnect is random. Sometimes it will be hours, other times it will be days.

The main issue is that you have to shut down and remove power from the Pi to get the sensor back.

@Sarah-1331
Copy link

Sarah-1331 commented Jan 21, 2024

I have the same. I have 5 connected directly at the pi now and they are doing the same except one, my first one I purchased. It’s got a flat bottom rather than round, I have purchased from multiple sellers to try eliminating “cheap” ones

@Rikkert-RS
Copy link
Owner

Hello everyone,

So I can't reproduce the error on my side at the moment.
Therefore I need more information from your side whether it is my driver or the 1Wire driver / overlay file or a wiring problem.
For both (@Sarah-1331 and @morphias2004) please post your log files.

To get the log file you need to login with SSH to your Venus OS
inside the ssh session run this command:
tail -n 200 /data/log/VenusOS-TemperatureService/current | tai64nlocal

@morphias2004

  1. Which Raspberry Pi Version?
  2. Which Version of Venus OS?
  3. Which Version of VenusOS-TemperatureService?
  4. Which Pin you using?
  5. Which cable / wiring?
  6. How many sensors and how connected (wired)?
  7. Do you have other drivers that also use pins?

@Sarah-1331

Have you already switched to the other cable?

If I can make it today, I will test a 50 meter network cable today. I will connect 2 or 3 sensors to the end of the cable for testing.

@Sarah-1331
Copy link

Sarah-1331 commented Jan 21, 2024

I’ll power off and on then wait for it to disconnect and log it today

I decided to put the sensors close to the pi and eliminate the “extension” I purchased a few more to eliminate “cheap” sensors

I currently have 7 sensors
5 x 1m
3 x 5m

I have all the ground wires split up into different GND pins
All data to gpio 18 with a 4.7k resistor to the same pin at the pi
I have 2x 1m sensor and 1x 5m sensor to 3.3v
I have 3x 1m sensors and 2x 5m sensors to 5v

will log what goes down first

one thing I have noticed is in VRM once it disconnects the device shows as “last seen” just minutes ago the entire time but no temp is recorded

if i reboot not power down it then shows as last seen xx hours ago

if i power cycle everything reappears

I must admit I still think cheap sensors as my original first 5m sensor never disconnects

Quick log before i power cycle and test again

2024-01-17 22:42:56.124110500 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
2024-01-17 22:42:56.124749500 INFO:root:Loglevel set to INFO
2024-01-17 22:42:56.209268500 Traceback (most recent call last):
2024-01-17 22:42:56.209275500   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 403, in <module>
2024-01-17 22:42:56.209280500     initSettings(newSettings)
2024-01-17 22:42:56.209283500   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 263, in initSettings
2024-01-17 22:42:56.209287500     settings = SettingsDevice(
2024-01-17 22:42:56.209290500   File "/opt/victronenergy/dbus-modem/settingsdevice.py", line 51, in __init__
2024-01-17 22:42:56.209295500     raise Exception("The settings service com.victronenergy.settings does not exist!")
2024-01-17 22:42:56.209403500 Exception: The settings service com.victronenergy.settings does not exist!
2024-01-20 19:10:38.792171500 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
2024-01-20 19:10:38.792714500 INFO:root:Loglevel set to INFO
2024-01-20 19:10:38.919671500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:38.974070500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id01
2024-01-20 19:10:38.977577500 INFO:root:Add setting /Settings/Temperature/3c01d60728a6/TemperatureType [0, 0, 3]
2024-01-20 19:10:38.978320500 INFO:root:Add setting /Settings/Temperature/3c01d60728a6/CustomName ['', 0, 0]
2024-01-20 19:10:39.116130500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:39.116763500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:39.119084500 INFO:root:Created Service 1Wire ID: 1 Settings ID:1
2024-01-20 19:10:40.001999500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:40.025519500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id02
2024-01-20 19:10:40.034519500 INFO:root:Add setting /Settings/Temperature/022010ed82ae/TemperatureType [0, 0, 3]
2024-01-20 19:10:40.035376500 INFO:root:Add setting /Settings/Temperature/022010ed82ae/CustomName ['', 0, 0]
2024-01-20 19:10:41.284154500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:41.284624500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:41.285584500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 19:10:41.287000500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 19:10:41.288269500 INFO:root:Created Service 1Wire ID: 2 Settings ID:2
2024-01-20 19:10:42.210919500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:42.256798500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id03
2024-01-20 19:10:42.259947500 INFO:root:Add setting /Settings/Temperature/3c01d6076b91/TemperatureType [0, 0, 3]
2024-01-20 19:10:42.260550500 INFO:root:Add setting /Settings/Temperature/3c01d6076b91/CustomName ['', 0, 0]
2024-01-20 19:10:43.063749500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:43.064402500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:43.065184500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 19:10:43.068521500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 19:10:43.068530500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-20 19:10:43.085232500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-20 19:10:43.085241500 INFO:root:Created Service 1Wire ID: 3 Settings ID:3
2024-01-20 19:10:44.036172500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:44.053897500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id04
2024-01-20 19:10:44.059140500 INFO:root:Add setting /Settings/Temperature/3ce1e38061b1/TemperatureType [0, 0, 3]
2024-01-20 19:10:44.060787500 INFO:root:Add setting /Settings/Temperature/3ce1e38061b1/CustomName ['', 0, 0]
2024-01-20 19:10:44.545321500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:44.546169500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:44.546757500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 19:10:44.547413500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 19:10:44.548053500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-20 19:10:44.548681500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-20 19:10:44.549315500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-20 19:10:44.550481500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-20 19:10:44.551557500 INFO:root:Created Service 1Wire ID: 4 Settings ID:4
2024-01-20 19:10:45.480246500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:45.514544500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id05
2024-01-20 19:10:45.518162500 INFO:root:Add setting /Settings/Temperature/3ce104577d8f/TemperatureType [0, 0, 3]
2024-01-20 19:10:45.518849500 INFO:root:Add setting /Settings/Temperature/3ce104577d8f/CustomName ['', 0, 0]
2024-01-20 19:10:45.935091500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:45.935823500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:45.936491500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 19:10:45.937115500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 19:10:45.937719500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-20 19:10:45.938399500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-20 19:10:45.939521500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-20 19:10:45.943584500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-20 19:10:45.954852500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/TemperatureType /TemperatureType 2
2024-01-20 19:10:45.956426500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/CustomName /CustomName INTT
2024-01-20 19:10:45.957478500 INFO:root:Created Service 1Wire ID: 5 Settings ID:5
2024-01-20 19:10:46.854140500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:46.878279500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id06
2024-01-20 19:10:46.884010500 INFO:root:Add setting /Settings/Temperature/485e4c1f64ff/TemperatureType [0, 0, 3]
2024-01-20 19:10:46.884863500 INFO:root:Add setting /Settings/Temperature/485e4c1f64ff/CustomName ['', 0, 0]
2024-01-20 19:10:47.181452500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:47.182055500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:47.182575500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 19:10:47.183074500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 19:10:47.183568500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-20 19:10:47.184055500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-20 19:10:47.184561500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-20 19:10:47.185173500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-20 19:10:47.185711500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/TemperatureType /TemperatureType 2
2024-01-20 19:10:47.186203500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/CustomName /CustomName INTT
2024-01-20 19:10:47.186696500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 0
2024-01-20 19:10:47.187187500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName
2024-01-20 19:10:47.187677500 INFO:root:Created Service 1Wire ID: 6 Settings ID:6
2024-01-20 19:10:48.041036500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 19:10:48.052596500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id07
2024-01-20 19:10:48.057280500 INFO:root:Add setting /Settings/Temperature/53754c1f64ff/TemperatureType [0, 0, 3]
2024-01-20 19:10:48.057443500 INFO:root:Add setting /Settings/Temperature/53754c1f64ff/CustomName ['', 0, 0]
2024-01-20 19:10:48.301007500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-20 19:10:48.301632500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-20 19:10:48.302193500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 19:10:48.302743500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 19:10:48.303279500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-20 19:10:48.303807500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-20 19:10:48.304339500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-20 19:10:48.304868500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-20 19:10:48.305512500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/TemperatureType /TemperatureType 2
2024-01-20 19:10:48.306033500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/CustomName /CustomName INTT
2024-01-20 19:10:48.306648500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 0
2024-01-20 19:10:48.307176500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName
2024-01-20 19:10:48.307710500 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/TemperatureType /TemperatureType 0
2024-01-20 19:10:48.308324500 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/CustomName /CustomName
2024-01-20 19:10:48.308785500 INFO:root:Created Service 1Wire ID: 7 Settings ID:7
2024-01-20 19:10:49.158733500 INFO:root:W1-temp:28-3c01d60728a6 temperature interface connected
2024-01-20 19:10:49.160323500 INFO:root:W1-temp:28-022010ed82ae temperature interface connected
2024-01-20 19:10:49.163265500 INFO:root:W1-temp:28-3c01d6076b91 temperature interface connected
2024-01-20 19:10:49.166157500 INFO:root:W1-temp:28-3ce1e38061b1 temperature interface connected
2024-01-20 19:10:49.168671500 INFO:root:W1-temp:28-3ce104577d8f temperature interface connected
2024-01-20 19:10:49.170141500 INFO:root:W1-temp:28-485e4c1f64ff temperature interface connected
2024-01-20 19:10:49.172149500 INFO:root:W1-temp:28-53754c1f64ff temperature interface connected
2024-01-20 19:10:49.177849500 INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
2024-01-20 19:32:50.839184500 INFO:root:Storing change to setting /Settings/Temperature/485e4c1f64ff/TemperatureType 2
2024-01-20 19:32:57.168985500 INFO:root:Setting changed, setting: /Settings/Temperature/485e4c1f64ff/TemperatureType, old: 0, new: 2
2024-01-20 19:32:57.171181500 INFO:root:Setting changed, setting: /Settings/Temperature/485e4c1f64ff/TemperatureType, old: 0, new: 2
2024-01-20 19:33:15.722281500 INFO:root:Storing change to setting /Settings/Temperature/53754c1f64ff/TemperatureType 2
2024-01-20 19:33:22.041176500 INFO:root:Setting changed, setting: /Settings/Temperature/53754c1f64ff/TemperatureType, old: 0, new: 2
2024-01-20 19:33:22.043231500 INFO:root:Storing change to setting /Settings/Temperature/485e4c1f64ff/CustomName 5mx1
2024-01-20 19:33:28.283986500 INFO:root:Setting changed, setting: /Settings/Temperature/485e4c1f64ff/CustomName, old: , new: 5mx1
2024-01-20 19:33:28.284908500 INFO:root:Setting changed, setting: /Settings/Temperature/485e4c1f64ff/CustomName, old: , new: 5mx1
2024-01-20 19:33:59.159709500 INFO:root:Storing change to setting /Settings/Temperature/53754c1f64ff/CustomName 5mx2
2024-01-20 19:34:05.320129500 INFO:root:Setting changed, setting: /Settings/Temperature/53754c1f64ff/CustomName, old: , new: 5mx2
2024-01-20 19:46:06.517847500 INFO:root:W1-temp:28-3c01d60728a6 temperature interface disconnected
2024-01-20 19:46:06.523386500 INFO:root:W1-temp:28-3c01d6076b91 temperature interface disconnected
2024-01-20 19:46:06.525490500 INFO:root:W1-temp:28-3ce1e38061b1 temperature interface disconnected
2024-01-20 19:46:06.533605500 INFO:root:W1-temp:28-3ce104577d8f temperature interface disconnected
2024-01-20 22:58:52.287516500 *** CCGX booted (0) ***
2024-01-20 22:58:58.595051500 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
2024-01-20 22:58:58.595864500 INFO:root:Loglevel set to INFO
2024-01-20 22:58:58.637088500 Traceback (most recent call last):
2024-01-20 22:58:58.637094500   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 403, in <module>
2024-01-20 22:58:58.637099500     initSettings(newSettings)
2024-01-20 22:58:58.637101500   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 263, in initSettings
2024-01-20 22:58:58.637106500     settings = SettingsDevice(
2024-01-20 22:58:58.637109500   File "/opt/victronenergy/dbus-modem/settingsdevice.py", line 51, in __init__
2024-01-20 22:58:58.637113500     raise Exception("The settings service com.victronenergy.settings does not exist!")
2024-01-20 22:58:58.637202500 Exception: The settings service com.victronenergy.settings does not exist!
2024-01-20 22:59:02.645734500 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
2024-01-20 22:59:02.670355500 INFO:root:Loglevel set to INFO
2024-01-20 22:59:02.727398500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 22:59:02.736747500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id01
2024-01-20 22:59:02.740736500 INFO:root:Add setting /Settings/Temperature/022010ed82ae/TemperatureType [0, 0, 3]
2024-01-20 22:59:02.741546500 INFO:root:Add setting /Settings/Temperature/022010ed82ae/CustomName ['', 0, 0]
2024-01-20 22:59:03.635281500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 22:59:03.635288500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 22:59:03.635293500 INFO:root:Created Service 1Wire ID: 1 Settings ID:1
2024-01-20 22:59:20.836106500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 22:59:20.898837500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id02
2024-01-20 22:59:20.898845500 INFO:root:Add setting /Settings/Temperature/485e4c1f64ff/TemperatureType [0, 0, 3]
2024-01-20 22:59:20.898850500 INFO:root:Add setting /Settings/Temperature/485e4c1f64ff/CustomName ['', 0, 0]
2024-01-20 22:59:21.140714500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 22:59:21.140723500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 22:59:21.145890500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 2
2024-01-20 22:59:21.145899500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName 5mx1
2024-01-20 22:59:21.145904500 INFO:root:Created Service 1Wire ID: 2 Settings ID:2
2024-01-20 22:59:22.011336500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-20 22:59:22.039180500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id03
2024-01-20 22:59:22.044596500 INFO:root:Add setting /Settings/Temperature/53754c1f64ff/TemperatureType [0, 0, 3]
2024-01-20 22:59:22.055076500 INFO:root:Add setting /Settings/Temperature/53754c1f64ff/CustomName ['', 0, 0]
2024-01-20 22:59:23.129471500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-20 22:59:23.129479500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-20 22:59:23.129485500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 2
2024-01-20 22:59:23.129627500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName 5mx1
2024-01-20 22:59:23.130161500 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/TemperatureType /TemperatureType 2
2024-01-20 22:59:23.131397500 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/CustomName /CustomName 5mx2
2024-01-20 22:59:23.132710500 INFO:root:Created Service 1Wire ID: 3 Settings ID:3
2024-01-20 22:59:24.107725500 INFO:root:W1-temp:28-022010ed82ae temperature interface connected
2024-01-20 22:59:24.121786500 INFO:root:W1-temp:28-485e4c1f64ff temperature interface connected
2024-01-20 22:59:24.121794500 INFO:root:W1-temp:28-53754c1f64ff temperature interface connected
2024-01-20 22:59:24.129889500 INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
root@raspberrypi2:~#

@Rikkert-RS
Copy link
Owner

@Sarah-1331

OK first of all nothing unusual in your log file the error at the start with the "settings" is normal there must be a waiting loop because the Venus OS settings service is not yet ready after a reboot. Everything looks ok.

The sensors are disconnected because, for example, the path /sys/devices/w1_bus_master1/28-022010ed82ae of the sensor on the 1Wire bus is no longer available. So currently no problem with the "VenusOS-TemperatureService" driver. We now have to see what the 1Wire service itself is doing or why it is taking the sensors off the bus.

Can you check via SSH when the sensors are gone again if the appropriate folder of the sensor also gone in the folder /sys/devices/w1_bus_master1/28-XXXX ?
If yes we have a 1Wire Problem not a "VenusOS-TemperatureService" problem. My service only intercepts the 1Wire data and brings the sensor data into the Venus OS dbus service and into the user interface.
I am looking to see if we can get a logfile from the 1Wire service to find out more.

@Sarah-1331
Copy link

i agree i dont think its the driver as one of them never disconnects but i just cannot narrow it down and honestly am quite good with electronics

@Sarah-1331
Copy link

Sarah-1331 commented Jan 21, 2024

4 just disconnected

2024-01-21 09:57:40.290489500 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
2024-01-21 09:57:40.291074500 INFO:root:Loglevel set to INFO
2024-01-21 09:57:40.433965500 Traceback (most recent call last):
2024-01-21 09:57:40.433973500   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 403, in <module>
2024-01-21 09:57:40.433978500     initSettings(newSettings)
2024-01-21 09:57:40.433980500   File "/data/VenusOS-TemperatureService/dbus-i2c.py", line 263, in initSettings
2024-01-21 09:57:40.433985500     settings = SettingsDevice(
2024-01-21 09:57:40.433988500   File "/opt/victronenergy/dbus-modem/settingsdevice.py", line 51, in __init__
2024-01-21 09:57:40.433992500     raise Exception("The settings service com.victronenergy.settings does not exist!")
2024-01-21 09:57:40.434105500 Exception: The settings service com.victronenergy.settings does not exist!
2024-01-21 09:57:44.622391500 INFO:root:/data/VenusOS-TemperatureService/dbus-i2c.py is starting up - python 3
2024-01-21 09:57:44.622736500 INFO:root:Loglevel set to INFO
2024-01-21 09:57:44.815598500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:44.915107500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id01
2024-01-21 09:57:44.919001500 INFO:root:Add setting /Settings/Temperature/3c01d60728a6/TemperatureType [0, 0, 3]
2024-01-21 09:57:44.919892500 INFO:root:Add setting /Settings/Temperature/3c01d60728a6/CustomName ['', 0, 0]
2024-01-21 09:57:45.424907500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:45.424917500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:45.424923500 INFO:root:Created Service 1Wire ID: 1 Settings ID:1
2024-01-21 09:57:46.287942500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:46.353083500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id02
2024-01-21 09:57:46.353092500 INFO:root:Add setting /Settings/Temperature/022010ed82ae/TemperatureType [0, 0, 3]
2024-01-21 09:57:46.353097500 INFO:root:Add setting /Settings/Temperature/022010ed82ae/CustomName ['', 0, 0]
2024-01-21 09:57:46.793719500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:46.793728500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:46.793734500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-21 09:57:46.793739500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-21 09:57:46.793745500 INFO:root:Created Service 1Wire ID: 2 Settings ID:2
2024-01-21 09:57:47.654085500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:47.687517500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id03
2024-01-21 09:57:47.690929500 INFO:root:Add setting /Settings/Temperature/3c01d6076b91/TemperatureType [0, 0, 3]
2024-01-21 09:57:47.691675500 INFO:root:Add setting /Settings/Temperature/3c01d6076b91/CustomName ['', 0, 0]
2024-01-21 09:57:48.052415500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:48.052427500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:48.052948500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-21 09:57:48.053579500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-21 09:57:48.054588500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-21 09:57:48.056179500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-21 09:57:48.057355500 INFO:root:Created Service 1Wire ID: 3 Settings ID:3
2024-01-21 09:57:48.943559500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:48.980536500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id04
2024-01-21 09:57:48.984001500 INFO:root:Add setting /Settings/Temperature/3ce1e38061b1/TemperatureType [0, 0, 3]
2024-01-21 09:57:48.984639500 INFO:root:Add setting /Settings/Temperature/3ce1e38061b1/CustomName ['', 0, 0]
2024-01-21 09:57:49.403563500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:49.404312500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:49.405313500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-21 09:57:49.405690500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-21 09:57:49.406379500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-21 09:57:49.407023500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-21 09:57:49.407742500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-21 09:57:49.413496500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-21 09:57:49.419632500 INFO:root:Created Service 1Wire ID: 4 Settings ID:4
2024-01-21 09:57:50.290742500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:50.325794500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id05
2024-01-21 09:57:50.328867500 INFO:root:Add setting /Settings/Temperature/3ce104577d8f/TemperatureType [0, 0, 3]
2024-01-21 09:57:50.329454500 INFO:root:Add setting /Settings/Temperature/3ce104577d8f/CustomName ['', 0, 0]
2024-01-21 09:57:50.820849500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:50.821417500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:50.821955500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-21 09:57:50.822484500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-21 09:57:50.823053500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-21 09:57:50.823548500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-21 09:57:50.824227500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-21 09:57:50.824771500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-21 09:57:50.825350500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/TemperatureType /TemperatureType 2
2024-01-21 09:57:50.835266500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/CustomName /CustomName INTT
2024-01-21 09:57:50.838490500 INFO:root:Created Service 1Wire ID: 5 Settings ID:5
2024-01-21 09:57:51.737077500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:51.763946500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id06
2024-01-21 09:57:51.791757500 INFO:root:Add setting /Settings/Temperature/485e4c1f64ff/TemperatureType [0, 0, 3]
2024-01-21 09:57:51.791771500 INFO:root:Add setting /Settings/Temperature/485e4c1f64ff/CustomName ['', 0, 0]
2024-01-21 09:57:52.223950500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:52.223960500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:52.223965500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-21 09:57:52.223971500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-21 09:57:52.226279500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-21 09:57:52.226289500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-21 09:57:52.226295500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-21 09:57:52.239015500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-21 09:57:52.239025500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/TemperatureType /TemperatureType 2
2024-01-21 09:57:52.239031500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/CustomName /CustomName INTT
2024-01-21 09:57:52.239036500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 2
2024-01-21 09:57:52.239041500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName 5mx1
2024-01-21 09:57:52.249905500 INFO:root:Created Service 1Wire ID: 6 Settings ID:6
2024-01-21 09:57:53.131205500 INFO:root:1Wire Sensor found with no Service -> Create:
2024-01-21 09:57:53.149197500 INFO:root:registered ourselves on D-Bus as com.victronenergy.temperature.Wire_id07
2024-01-21 09:57:53.152252500 INFO:root:Add setting /Settings/Temperature/53754c1f64ff/TemperatureType [0, 0, 3]
2024-01-21 09:57:53.152884500 INFO:root:Add setting /Settings/Temperature/53754c1f64ff/CustomName ['', 0, 0]
2024-01-21 09:57:53.440454500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/TemperatureType /TemperatureType 0
2024-01-21 09:57:53.441443500 INFO:root:Retreived setting /Settings/Temperature/3c01d60728a6/CustomName /CustomName Fridge
2024-01-21 09:57:53.442351500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/TemperatureType /TemperatureType 2
2024-01-21 09:57:53.443289500 INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Externa ORIGl
2024-01-21 09:57:53.444865500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/TemperatureType /TemperatureType 2
2024-01-21 09:57:53.445881500 INFO:root:Retreived setting /Settings/Temperature/3c01d6076b91/CustomName /CustomName Internal
2024-01-21 09:57:53.446857500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/TemperatureType /TemperatureType 2
2024-01-21 09:57:53.447834500 INFO:root:Retreived setting /Settings/Temperature/3ce1e38061b1/CustomName /CustomName External
2024-01-21 09:57:53.448823500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/TemperatureType /TemperatureType 2
2024-01-21 09:57:53.449821500 INFO:root:Retreived setting /Settings/Temperature/3ce104577d8f/CustomName /CustomName INTT
2024-01-21 09:57:53.450859500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 2
2024-01-21 09:57:53.451824500 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName 5mx1
2024-01-21 09:57:53.452788500 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/TemperatureType /TemperatureType 2
2024-01-21 09:57:53.454523500 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/CustomName /CustomName 5mx2
2024-01-21 09:57:53.457303500 INFO:root:Created Service 1Wire ID: 7 Settings ID:7
2024-01-21 09:57:54.376987500 INFO:root:W1-temp:28-3c01d60728a6 temperature interface connected
2024-01-21 09:57:54.379621500 INFO:root:W1-temp:28-022010ed82ae temperature interface connected
2024-01-21 09:57:54.382155500 INFO:root:W1-temp:28-3c01d6076b91 temperature interface connected
2024-01-21 09:57:54.384800500 INFO:root:W1-temp:28-3ce1e38061b1 temperature interface connected
2024-01-21 09:57:54.387439500 INFO:root:W1-temp:28-3ce104577d8f temperature interface connected
2024-01-21 09:57:54.389949500 INFO:root:W1-temp:28-485e4c1f64ff temperature interface connected
2024-01-21 09:57:54.392650500 INFO:root:W1-temp:28-53754c1f64ff temperature interface connected
2024-01-21 09:57:54.396445500 INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
2024-01-21 10:21:28.296623500 INFO:root:W1-temp:28-3c01d60728a6 temperature interface disconnected
2024-01-21 10:21:28.314037500 INFO:root:W1-temp:28-3c01d6076b91 temperature interface disconnected
2024-01-21 10:21:28.314045500 INFO:root:W1-temp:28-3ce1e38061b1 temperature interface disconnected
2024-01-21 10:21:28.314049500 INFO:root:W1-temp:28-3ce104577d8f temperature interface disconnected

@Rikkert-RS
Copy link
Owner

i agree i dont think its the driver as one of them never disconnects but i just cannot narrow it down and honestly am quite good with electronics

Yes, I would also like my service to run well, and I would also like to know why it is not working so that I can set up a small wiki for the FAQ and small tips in the future.

@Sarah-1331
Copy link

just edited the above my friend the folders have gone also

@Rikkert-RS
Copy link
Owner

OK can you run the command: "dmesg" on ssh

@Sarah-1331
Copy link

yes i can

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.110-rpi-venus-4 (oe-user@oe-host) (arm-ve-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.34.0.20200910) #1 SMP Wed Dec 20 00:28:59 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.4
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x37400000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   DMA zone: 2133 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s51916 r8192 d21812 u81920
[    0.000000] pcpu-alloc: s51916 r8192 d21812 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 877720K/970752K available (10240K kernel code, 1333K rwdata, 3100K rodata, 1024K init, 885K bss, 27496K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33798 entries in 100 pages
[    0.000000] ftrace: allocated 100 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3b4/0x588 with crng_init=1
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000326] Console: colour dummy device 80x30
[    0.000391] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000425] pid_max: default: 32768 minimum: 301
[    0.000627] LSM: Security Framework initializing
[    0.000870] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000899] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002293] cgroup: Disabling memory control group subsystem
[    0.002566] CPU: Testing write buffer coherency: ok
[    0.003056] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004296] Setting up static identity map for 0x100000 - 0x10003c
[    0.004491] rcu: Hierarchical SRCU implementation.
[    0.005605] smp: Bringing up secondary CPUs ...
[    0.006755] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008035] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009264] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009430] smp: Brought up 1 node, 4 CPUs
[    0.009472] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.009489] CPU: All CPU(s) started in HYP mode.
[    0.009505] CPU: Virtualization extensions available.
[    0.010587] devtmpfs: initialized
[    0.028677] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.028939] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.028974] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032024] pinctrl core: initialized pinctrl subsystem
[    0.033192] NET: Registered protocol family 16
[    0.037193] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.042899] audit: initializing netlink subsys (disabled)
[    0.043213] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043785] thermal_sys: Registered thermal governor 'step_wise'
[    0.044035] cpuidle: using governor menu
[    0.044788] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.044810] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.045097] Serial: AMBA PL011 UART driver
[    0.067392] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.080108] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:20:54, variant start
[    0.090122] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[    0.134984] Kprobes globally optimized
[    0.137464] cryptd: max_cpu_qlen set to 1000
[    0.140420] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.142627] SCSI subsystem initialized
[    0.142893] usbcore: registered new interface driver usbfs
[    0.142963] usbcore: registered new interface driver hub
[    0.143039] usbcore: registered new device driver usb
[    0.144995] clocksource: Switched to clocksource arch_sys_counter
[    1.872656] VFS: Disk quotas dquot_6.6.0
[    1.872793] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.873017] FS-Cache: Loaded
[    1.873299] CacheFiles: Loaded
[    1.873521] simple-framebuffer 3eaa9000.framebuffer: framebuffer at 0x3eaa9000, 0x151800 bytes, mapped to 0x(ptrval)
[    1.873546] simple-framebuffer 3eaa9000.framebuffer: format=a8r8g8b8, mode=720x480x32, linelength=2880
[    1.879779] Console: switching to colour frame buffer device 90x30
[    1.879862] simple-framebuffer 3eaa9000.framebuffer: fb0: simplefb registered!
[    1.891485] NET: Registered protocol family 2
[    1.891750] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.893697] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.893856] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.893982] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.894179] TCP: Hash tables configured (established 8192 bind 8192)
[    1.894359] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.894421] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.894704] NET: Registered protocol family 1
[    1.895487] RPC: Registered named UNIX socket transport module.
[    1.895506] RPC: Registered udp transport module.
[    1.895523] RPC: Registered tcp transport module.
[    1.895540] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.897176] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.902685] Initialise system trusted keyrings
[    1.902929] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.912404] zbud: loaded
[    1.914506] FS-Cache: Netfs 'nfs' registered for caching
[    1.915509] NFS: Registering the id_resolver key type
[    1.915556] Key type id_resolver registered
[    1.915575] Key type id_legacy registered
[    1.915728] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.915749] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.917091] Key type asymmetric registered
[    1.917112] Asymmetric key parser 'x509' registered
[    1.917172] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.917192] io scheduler mq-deadline registered
[    1.917210] io scheduler kyber registered
[    1.920778] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.925105] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 720x480
[    1.929167] Serial: 8250/16550 driver, 1 ports
[    1.929203] Serial: 8250/16550 driver, ISA IRQ sharing enabled
[    1.931979] bcm2835-rng 3f104000.rng: hwrng registered
[    1.932480] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.933691] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.946033] brd: module loaded
[    1.957981] loop: module loaded
[    1.959786] Loading iSCSI transport class v2.0-870.
[    1.961642] usbcore: registered new interface driver lan78xx
[    1.961716] usbcore: registered new interface driver smsc95xx
[    1.961745] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.162378] Core Release: 2.80a
[    2.162399] Setting default values for core params
[    2.162433] Finished setting default values for core params
[    2.362822] Using Buffer DMA mode
[    2.362842] Periodic Transfer Interrupt Enhancement - disabled
[    2.362859] Multiprocessor Interrupt Enhancement - disabled
[    2.362878] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.362913] Dedicated Tx FIFOs mode
[    2.363506]
[    2.363526] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = b7514000 dma = 0xf7514000 len=9024
[    2.363567] FIQ FSM acceleration enabled for :
[    2.363567] Non-periodic Split Transactions
[    2.363567] Periodic Split Transactions
[    2.363567] High-Speed Isochronous Endpoints
[    2.363567] Interrupt/Control Split Transaction hack enabled
[    2.363589] dwc_otg: Microframe scheduler enabled
[    2.363657]
[    2.363666] WARN::hcd_init_fiq:457: FIQ on core 1
[    2.363679]
[    2.363688] WARN::hcd_init_fiq:458: FIQ ASM at 807f7168 length 36
[    2.363702]
[    2.363710] WARN::hcd_init_fiq:496: MPHI regs_base at bb810000
[    2.363736] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.363779] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.363831] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    2.363888] Init: Port Power? op_state=1
[    2.363904] Init: Power Port (0)
[    2.364279] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.364302] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.364322] usb usb1: Product: DWC OTG Controller
[    2.364342] usb usb1: Manufacturer: Linux 5.10.110-rpi-venus-4 dwc_otg_hcd
[    2.364361] usb usb1: SerialNumber: 3f980000.usb
[    2.365154] hub 1-0:1.0: USB hub found
[    2.365228] hub 1-0:1.0: 1 port detected
[    2.366475] dwc_otg: FIQ enabled
[    2.366488] dwc_otg: NAK holdoff enabled
[    2.366500] dwc_otg: FIQ split-transaction FSM enabled
[    2.366517] Module dwc_common_port init
[    2.367374] usbcore: registered new interface driver usb-storage
[    2.367578] mousedev: PS/2 mouse device common for all mice
[    2.368978] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.371782] sdhci: Secure Digital Host Controller Interface driver
[    2.371801] sdhci: Copyright(c) Pierre Ossman
[    2.372447] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    2.373131] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    2.373384] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.375438] ledtrig-cpu: registered to indicate activity on CPUs
[    2.375875] hid: raw HID events driver (C) Jiri Kosina
[    2.376039] usbcore: registered new interface driver usbhid
[    2.376056] usbhid: USB HID core driver
[    2.380651] Initializing XFRM netlink socket
[    2.381405] NET: Registered protocol family 10
[    2.382835] Segment Routing with IPv6
[    2.382934] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.383788] NET: Registered protocol family 17
[    2.383961] Key type dns_resolver registered
[    2.384531] Registering SWP/SWPB emulation handler
[    2.388209] registered taskstats version 1
[    2.388267] Loading compiled-in X.509 certificates
[    2.389075] Key type ._fscrypt registered
[    2.389095] Key type .fscrypt registered
[    2.389113] Key type fscrypt-provisioning registered
[    2.400502] uart-pl011 3f201000.serial: there is not valid maps for state default
[    2.400726] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.400822] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    3.510087] printk: console [ttyAMA0] enabled
[    3.517653] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[    3.527623] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    3.536579] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    3.542595] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    3.549980] Indeed it is in host mode hprt0 = 00021501
[    3.629536] sdhost: log_buf @ (ptrval) (f7513000)
[    3.671340] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.678556] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.684103] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.693259] of_cfs_init
[    3.695982] of_cfs_init: OK
[    3.699934] uart-pl011 3f201000.serial: no DMA platform data
[    3.706005] Waiting for root device /dev/mmcblk0p2...
[    3.711803] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.720345] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.757831] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.768967] mmc0: new high speed SDHC card at address b368
[    3.775041] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.781894] Indeed it is in host mode hprt0 = 00001101
[    3.847378] mmcblk0: mmc0:b368 F0F0F 3.74 GiB
[    3.854152]  mmcblk0: p1 p2 p3 p4
[    3.890334] mmc1: new high speed SDIO card at address 0001
[    3.892604] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    3.903284] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    4.025401] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.033598] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.041526] hub 1-1:1.0: USB hub found
[    4.045448] hub 1-1:1.0: 4 ports detected
[    4.365060] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.495385] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.503747] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.511838] hub 1-1.1:1.0: USB hub found
[    4.515907] hub 1-1.1:1.0: 3 ports detected
[    4.615034] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[    4.778139] usb 1-1.3: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[    4.786529] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.793846] usb 1-1.3: Product: MK3-USB Interface
[    4.798591] usb 1-1.3: Manufacturer: VictronEnergy
[    4.803388] usb 1-1.3: SerialNumber: HQ2245ZDUKA
[    4.845038] usb 1-1.1.2: new full-speed USB device number 5 using dwc_otg
[    5.003763] usb 1-1.1.2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[    5.012332] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.019845] usb 1-1.1.2: Product: FT232R USB UART
[    5.024557] usb 1-1.1.2: Manufacturer: FTDI
[    5.028767] usb 1-1.1.2: SerialNumber: AG0K0KVJ
[    5.049460] EXT4-fs (mmcblk0p2): recovery complete
[    5.064035] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    5.072343] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    5.081217] devtmpfs: mounted
[    5.093001] Freeing unused kernel memory: 1024K
[    5.098072] Run /sbin/init as init process
[    5.102172]   with arguments:
[    5.102183]     /sbin/init
[    5.102194]   with environment:
[    5.102205]     HOME=/
[    5.102216]     TERM=linux
[    5.135060] usb 1-1.1.3: new high-speed USB device number 6 using dwc_otg
[    5.265707] usb 1-1.1.3: New USB device found, idVendor=0403, idProduct=6011, bcdDevice= 8.00
[    5.274248] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.281771] usb 1-1.1.3: Product: Quad RS232-HS
[    5.286326] usb 1-1.1.3: Manufacturer: FTDI
[    5.585073] usb 1-1.1.1: new high-speed USB device number 7 using dwc_otg
[    5.657577] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.725749] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    5.734311] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.986477] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.007363] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[    6.239290] EXT4-fs (mmcblk0p4): recovery complete
[    6.249550] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    6.264670] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
[    6.457229] udevd[167]: starting version 3.2.9
[    6.474605] random: udevd: uninitialized urandom read (16 bytes read)
[    6.481845] random: udevd: uninitialized urandom read (16 bytes read)
[    6.488456] random: udevd: uninitialized urandom read (16 bytes read)
[    6.540826] udevd[168]: starting eudev-3.2.9
[    6.700508] Driver for 1-wire Dallas network protocol.
[    6.759225] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    6.774104] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    6.786189] gpio-18 (onewire@12): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    6.792101] [vc_sm_connected_init]: start
[    6.801048] [vc_sm_connected_init]: installed successfully
[    6.867926] mc: Linux media interface: v0.10
[    6.882511] w1_master_driver w1_bus_master1: Attaching one wire slave 28.3c01d60728a6 crc a1
[    6.944500] videodev: Linux video capture interface: v2.00
[    7.083076] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    7.083083] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    7.086233] w1_master_driver w1_bus_master1: Attaching one wire slave 28.022010ed82ae crc fa
[    7.091898] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    7.095035] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    7.190683] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    7.225555] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    7.230957] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    7.235123] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    7.253447] usbcore: registered new interface driver usbserial_generic
[    7.260308] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    7.260358] usbserial: USB Serial support registered for generic
[    7.283248] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    7.284717] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.307680] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    7.314955] usbcore: registered new interface driver ftdi_sio
[    7.316478] w1_master_driver w1_bus_master1: Attaching one wire slave 28.3c01d6076b91 crc 6e
[    7.323182] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    7.329415] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    7.333656] usbserial: USB Serial support registered for FTDI USB Serial Device
[    7.334112] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[    7.334343] usb 1-1.3: Detected FT-X
[    7.351568] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
[    7.368039] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    7.371657] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    7.378449] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    7.378923] ftdi_sio 1-1.1.2:1.0: FTDI USB Serial Device converter detected
[    7.379103] usb 1-1.1.2: Detected FT232RL
[    7.382773] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    7.386135] usb 1-1.1.2: FTDI USB Serial Device converter now attached to ttyUSB1
[    7.386478] ftdi_sio 1-1.1.3:1.0: FTDI USB Serial Device converter detected
[    7.386619] usb 1-1.1.3: Detected FT4232H
[    7.387227] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB2
[    7.387480] ftdi_sio 1-1.1.3:1.1: FTDI USB Serial Device converter detected
[    7.387636] usb 1-1.1.3: Detected FT4232H
[    7.388031] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB3
[    7.388287] ftdi_sio 1-1.1.3:1.2: FTDI USB Serial Device converter detected
[    7.402382] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    7.410175] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.423738] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    7.426656] usb 1-1.1.3: Detected FT4232H
[    7.433121] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    7.442637] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB4
[    7.446891] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    7.461132] ftdi_sio 1-1.1.3:1.3: FTDI USB Serial Device converter detected
[    7.465839] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    7.465886] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    7.481933] w1_master_driver w1_bus_master1: Attaching one wire slave 28.3ce1e38061b1 crc a4
[    7.484133] usb 1-1.1.3: Detected FT4232H
[    7.495272] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    7.503264] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB5
[    7.509464] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    7.586391] random: crng init done
[    7.589818] random: 2 urandom warning(s) missed due to ratelimiting
[    7.602143] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.620644] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.646804] usbcore: registered new interface driver brcmfmac
[    7.651668] w1_master_driver w1_bus_master1: Attaching one wire slave 28.3ce104577d8f crc 3d
[    7.669429] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    7.695589] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    7.725229] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    7.759284] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    7.767171] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    7.791468] w1_master_driver w1_bus_master1: Attaching one wire slave 28.485e4c1f64ff crc 41
[    7.801562] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    7.930454] w1_master_driver w1_bus_master1: Attaching one wire slave 28.53754c1f64ff crc 1e
[    7.963767] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.972771] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.993371] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[    8.140863] rtc-ds1307: probe of 1-0068 failed with error -121
[    8.447790] Bluetooth: Core ver 2.22
[    8.451500] NET: Registered protocol family 31
[    8.455979] Bluetooth: HCI device and connection manager initialized
[    8.462355] Bluetooth: HCI socket layer initialized
[    8.467265] Bluetooth: L2CAP socket layer initialized
[    8.472348] Bluetooth: SCO socket layer initialized
[    8.488815] Bluetooth: HCI UART driver ver 2.3
[    8.493283] Bluetooth: HCI UART protocol H4 registered
[    8.498641] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    8.505227] Bluetooth: HCI UART protocol Broadcom registered
[    8.666829] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   10.632809] watchdog: watchdog0: watchdog did not stop!
[   11.765397] NET: Registered protocol family 38
[   13.143305] device eth0 entered promiscuous mode
[   13.443793] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   18.287178] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   20.310290] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[   33.755754] cam-dummy-reg: disabling
root@raspberrypi2:~#

@Rikkert-RS
Copy link
Owner

OK the log is directly after the restart. As you can see, the 1Wire sensors are attached. You have to do this again if the sensors lose the connection again.

After 7.481933 seconds: -> w1_master_driver w1_bus_master1: Attaching one wire slave 28.3ce1e38061b1 crc a4

I just saw that you are using GPIO 18 for the 1Wire. Maybe there is interference with other drivers on the pin. Can you connect it to pin 4 or 26 for testing purposes?

@Sarah-1331
Copy link

Sarah-1331 commented Jan 21, 2024

Sure can will do gpio 4 now - testing…

@Rikkert-RS
Copy link
Owner

So I have also started a test.
I connected another sensor with a 50m Cat7 cable.

Sensor Power on 5V
Pullup from 3.3V to data pin
GND

Is recognized immediately and is currently stable.
Here are a few pictures.

2024-01-21 13 16 40
2024-01-21 13 16 58

@Sarah-1331
Copy link

Tested on gpio4 and disconnect again I have three remaining 4 folders in the devices have been removed also
Again all sensors are connected direct to pi weirdly all the 1m ones have gone and the three 5m remain

@Rikkert-RS
Copy link
Owner

Here you can see my 50m sensor ist still connected:
grafik

There must be a problem with the cable or the wiring. Have a look under the link this is also a good description
https://www.analog.com/en/technical-articles/guidelines-for-reliable-long-line-1wire-networks.html

grafik

!
grafik

@Sarah-1331
Copy link

Sarah-1331 commented Jan 21, 2024

i tend to agree but all sensors are connect directly at the pi

the 3 5m ones are still active and the 5 1m have disconnected the only way i could test further is cut the 5s down to 1m
but have tested with just 1m sensors and they disconnect when ony these installed

i feel if the 5m dont disconnect for 48hr ill just use theses 3 sensors

this aangers me
Screenshot 2024-01-21 165832
Screenshot 2024-01-21 165809

lated a couple hours

2024-01-21 11:15:46.125106500 INFO:root:Created Service 1Wire ID: 7 Settings ID:7
2024-01-21 11:15:47.011592500 INFO:root:W1-temp:28-3c01d60728a6 temperature interface connected
2024-01-21 11:15:47.013882500 INFO:root:W1-temp:28-022010ed82ae temperature interface connected
2024-01-21 11:15:47.015657500 INFO:root:W1-temp:28-3c01d6076b91 temperature interface connected
2024-01-21 11:15:47.017764500 INFO:root:W1-temp:28-3ce1e38061b1 temperature interface connected
2024-01-21 11:15:47.020999500 INFO:root:W1-temp:28-3ce104577d8f temperature interface connected
2024-01-21 11:15:47.022978500 INFO:root:W1-temp:28-485e4c1f64ff temperature interface connected
2024-01-21 11:15:47.026155500 INFO:root:W1-temp:28-53754c1f64ff temperature interface connected
2024-01-21 11:15:47.031464500 INFO:root:Connected to dbus, and switching over to GLib.MainLoop() (= event based)
2024-01-21 13:42:17.918034500 INFO:root:W1-temp:28-3c01d60728a6 temperature interface disconnected
2024-01-21 13:42:17.923490500 INFO:root:W1-temp:28-3c01d6076b91 temperature interface disconnected
2024-01-21 13:42:17.928124500 INFO:root:W1-temp:28-3ce1e38061b1 temperature interface disconnected
2024-01-21 13:42:17.935335500 INFO:root:W1-temp:28-3ce104577d8f temperature interface disconnected

i do apreacate the help you have provided

@morphias2004
Copy link

@Sarah-1331 have you got a link for the ones that don't disconnect?

I'd like to order some to try.

@Rikkert-RS
Copy link
Owner

Here is also some info about fake Sensors
https://github.com/cpetrich/counterfeit_DS18B20

@Sarah-1331
Copy link

Sarah-1331 commented Jan 23, 2024

https://www.ebay.co.uk/itm/124433541502?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=sf_h7LceQnu&sssrc=4429486&ssuid=45bWpJJDSEe&var=&widget_ver=artemis&media=COPY
5m haven’t disconnected but the same listing 1m has

I have purchased 1m from several sellers and all disconnected

@Sarah-1331
Copy link

Confirm 3days with only the 5m sensors and all good so far it must be the cheap crap in the 1m’s

@morphias2004
Copy link

Cool. Maybe they use larger CSA or better quality wire in the longer ones?

Anything is possible with Chinese manufacturing.

I'll get some 5m ones to try and will cut one down to 1m to see if it continues to work as expected.

@morphias2004
Copy link

FWIW, I'm using pin 27.

@Sarah-1331
Copy link

I cut one down to a meter and it never failed in any test I found changing gpio had no effect either

@morphias2004
Copy link

morphias2004 commented Jan 25, 2024

With the temp sensor showing as 'Disconnected'.

root@raspberrypi2:/u-boot# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.110-rpi-venus-4 (oe-user@oe-host) (arm-ve-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.34.0.20200910) #1 SMP Tue Dec 5 23:19:16 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x37400000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   DMA zone: 2133 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s51916 r8192 d21812 u81920
[    0.000000] pcpu-alloc: s51916 r8192 d21812 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p3 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 877720K/970752K available (10240K kernel code, 1333K rwdata, 3100K rodata, 1024K init, 885K bss, 27496K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33798 entries in 100 pages
[    0.000000] ftrace: allocated 100 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3b4/0x588 with crng_init=1
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000325] Console: colour dummy device 80x30
[    0.000390] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000425] pid_max: default: 32768 minimum: 301
[    0.000629] LSM: Security Framework initializing
[    0.000874] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000902] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002297] cgroup: Disabling memory control group subsystem
[    0.002571] CPU: Testing write buffer coherency: ok
[    0.003067] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004305] Setting up static identity map for 0x100000 - 0x10003c
[    0.004495] rcu: Hierarchical SRCU implementation.
[    0.005619] smp: Bringing up secondary CPUs ...
[    0.006766] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008048] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009273] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009440] smp: Brought up 1 node, 4 CPUs
[    0.009482] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.009499] CPU: All CPU(s) started in HYP mode.
[    0.009515] CPU: Virtualization extensions available.
[    0.010600] devtmpfs: initialized
[    0.028782] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.029041] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.029078] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032085] pinctrl core: initialized pinctrl subsystem
[    0.033259] NET: Registered protocol family 16
[    0.037284] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.042963] audit: initializing netlink subsys (disabled)
[    0.043268] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043854] thermal_sys: Registered thermal governor 'step_wise'
[    0.044109] cpuidle: using governor menu
[    0.044865] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.044885] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.045179] Serial: AMBA PL011 UART driver
[    0.068029] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.080102] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:20:54, variant start
[    0.090115] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[    0.134846] Kprobes globally optimized
[    0.137343] cryptd: max_cpu_qlen set to 1000
[    0.140308] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.142534] SCSI subsystem initialized
[    0.142801] usbcore: registered new interface driver usbfs
[    0.142881] usbcore: registered new interface driver hub
[    0.142959] usbcore: registered new device driver usb
[    0.144858] clocksource: Switched to clocksource arch_sys_counter
[    1.873625] VFS: Disk quotas dquot_6.6.0
[    1.873763] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.873975] FS-Cache: Loaded
[    1.874217] CacheFiles: Loaded
[    1.874448] simple-framebuffer 3ea81000.framebuffer: framebuffer at 0x3ea81000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.874474] simple-framebuffer 3ea81000.framebuffer: format=a8r8g8b8, mode=800x480x32, linelength=3200
[    1.881331] Console: switching to colour frame buffer device 100x30
[    1.892375] simple-framebuffer 3ea81000.framebuffer: fb0: simplefb registered!
[    1.902268] NET: Registered protocol family 2
[    1.902530] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.904666] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.904733] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.904902] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.905109] TCP: Hash tables configured (established 8192 bind 8192)
[    1.905382] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.905456] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.905768] NET: Registered protocol family 1
[    1.906814] RPC: Registered named UNIX socket transport module.
[    1.906834] RPC: Registered udp transport module.
[    1.906851] RPC: Registered tcp transport module.
[    1.906867] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.908614] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.914114] Initialise system trusted keyrings
[    1.914386] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.923907] zbud: loaded
[    1.926044] FS-Cache: Netfs 'nfs' registered for caching
[    1.926921] NFS: Registering the id_resolver key type
[    1.926992] Key type id_resolver registered
[    1.927010] Key type id_legacy registered
[    1.927176] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.927197] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.928525] Key type asymmetric registered
[    1.928546] Asymmetric key parser 'x509' registered
[    1.928608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.928628] io scheduler mq-deadline registered
[    1.928646] io scheduler kyber registered
[    1.932291] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.936595] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 800x480
[    1.940809] Serial: 8250/16550 driver, 1 ports
[    1.940844] Serial: 8250/16550 driver, ISA IRQ sharing enabled
[    1.943648] bcm2835-rng 3f104000.rng: hwrng registered
[    1.944170] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.945467] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.957845] brd: module loaded
[    1.969815] loop: module loaded
[    1.971763] Loading iSCSI transport class v2.0-870.
[    1.973611] usbcore: registered new interface driver lan78xx
[    1.973685] usbcore: registered new interface driver smsc95xx
[    1.973714] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.174271] Core Release: 2.80a
[    2.174293] Setting default values for core params
[    2.174326] Finished setting default values for core params
[    2.374680] Using Buffer DMA mode
[    2.374700] Periodic Transfer Interrupt Enhancement - disabled
[    2.374717] Multiprocessor Interrupt Enhancement - disabled
[    2.374735] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.374761] Dedicated Tx FIFOs mode
[    2.375460]
[    2.375482] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = b7514000 dma = 0xf7514000 len=9024
[    2.375524] FIQ FSM acceleration enabled for :
[    2.375524] Non-periodic Split Transactions
[    2.375524] Periodic Split Transactions
[    2.375524] High-Speed Isochronous Endpoints
[    2.375524] Interrupt/Control Split Transaction hack enabled
[    2.375546] dwc_otg: Microframe scheduler enabled
[    2.375620]
[    2.375631] WARN::hcd_init_fiq:457: FIQ on core 1
[    2.375645]
[    2.375654] WARN::hcd_init_fiq:458: FIQ ASM at 807f7168 length 36
[    2.375668]
[    2.375676] WARN::hcd_init_fiq:496: MPHI regs_base at bb810000
[    2.375703] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.375748] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.375802] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    2.375860] Init: Port Power? op_state=1
[    2.375877] Init: Power Port (0)
[    2.376252] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.376276] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.376296] usb usb1: Product: DWC OTG Controller
[    2.376316] usb usb1: Manufacturer: Linux 5.10.110-rpi-venus-4 dwc_otg_hcd
[    2.376335] usb usb1: SerialNumber: 3f980000.usb
[    2.377111] hub 1-0:1.0: USB hub found
[    2.377183] hub 1-0:1.0: 1 port detected
[    2.378467] dwc_otg: FIQ enabled
[    2.378479] dwc_otg: NAK holdoff enabled
[    2.378491] dwc_otg: FIQ split-transaction FSM enabled
[    2.378509] Module dwc_common_port init
[    2.379323] usbcore: registered new interface driver usb-storage
[    2.379542] mousedev: PS/2 mouse device common for all mice
[    2.381030] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.383837] sdhci: Secure Digital Host Controller Interface driver
[    2.383855] sdhci: Copyright(c) Pierre Ossman
[    2.384511] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    2.385287] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    2.385545] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.387577] ledtrig-cpu: registered to indicate activity on CPUs
[    2.387998] hid: raw HID events driver (C) Jiri Kosina
[    2.388172] usbcore: registered new interface driver usbhid
[    2.388189] usbhid: USB HID core driver
[    2.392801] Initializing XFRM netlink socket
[    2.393545] NET: Registered protocol family 10
[    2.395170] Segment Routing with IPv6
[    2.395301] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.396163] NET: Registered protocol family 17
[    2.396315] Key type dns_resolver registered
[    2.396875] Registering SWP/SWPB emulation handler
[    2.400510] registered taskstats version 1
[    2.400553] Loading compiled-in X.509 certificates
[    2.401358] Key type ._fscrypt registered
[    2.401378] Key type .fscrypt registered
[    2.401396] Key type fscrypt-provisioning registered
[    2.412757] uart-pl011 3f201000.serial: there is not valid maps for state default
[    2.412978] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.413093] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    3.522084] printk: console [ttyAMA0] enabled
[    3.527044] Indeed it is in host mode hprt0 = 00021501
[    3.595058] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[    3.605071] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    3.614048] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    3.620098] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    3.652927] sdhost: log_buf @ (ptrval) (f7513000)
[    3.692544] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.699776] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.706977] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.712524] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.721397] of_cfs_init
[    3.723995] of_cfs_init: OK
[    3.727817] uart-pl011 3f201000.serial: no DMA platform data
[    3.733826] Waiting for root device /dev/mmcblk0p3...
[    3.740985] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.746568] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.753170] Indeed it is in host mode hprt0 = 00001101
[    3.852733] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.863825] mmc0: new high speed SDHC card at address 0001
[    3.870430] mmcblk0: mmc0:0001 JB1RT 29.8 GiB
[    3.877299]  mmcblk0: p1 p2 p3 p4
[    3.909176] mmc1: new high speed SDIO card at address 0001
[    3.953844] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    3.962039] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    3.969746] devtmpfs: mounted
[    3.981507] Freeing unused kernel memory: 1024K
[    3.995259] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.003448] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.011188] Run /sbin/init as init process
[    4.011942] hub 1-1:1.0: USB hub found
[    4.015310]   with arguments:
[    4.015320]     /sbin/init
[    4.019063]   with environment:
[    4.019074]     HOME=/
[    4.019085]     TERM=linux
[    4.019177] hub 1-1:1.0: 4 ports detected
[    4.344935] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.475500] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.483902] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.492538] hub 1-1.1:1.0: USB hub found
[    4.496775] hub 1-1.1:1.0: 3 ports detected
[    4.503598] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    4.650862] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[    4.756616] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.782373] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    4.979659] udevd[164]: starting version 3.2.9
[    5.021476] random: udevd: uninitialized urandom read (16 bytes read)
[    5.028978] random: udevd: uninitialized urandom read (16 bytes read)
[    5.035591] random: udevd: uninitialized urandom read (16 bytes read)
[    5.088192] udevd[165]: starting eudev-3.2.9
[    5.094956] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.233455] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.01
[    5.241941] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.249296] usb 1-1.2: Product: USB2.1 Hub
[    5.253402] usb 1-1.2: Manufacturer: Generic
[    5.260414] hub 1-1.2:1.0: USB hub found
[    5.267813] hub 1-1.2:1.0: 5 ports detected
[    5.284352] Driver for 1-wire Dallas network protocol.
[    5.310692] gpio-27 (onewire@1b): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    5.373146] w1_master_driver w1_bus_master1: Attaching one wire slave 28.3c01f0952677 crc 53
[    5.555004] usb 1-1.1.1: new high-speed USB device number 5 using dwc_otg
[    5.576748] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.589610] mc: Linux media interface: v0.10
[    5.601607] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.630841] [vc_sm_connected_init]: start
[    5.667453] videodev: Linux video capture interface: v2.00
[    5.678752] [vc_sm_connected_init]: installed successfully
[    5.699202] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    5.707986] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.749828] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.749834] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.795080] usb 1-1.2.1: new full-speed USB device number 6 using dwc_otg
[    5.819354] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.845830] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.857514] input: raspberrypi-ts as /devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input0
[    5.864520] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.900269] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.912442] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.922176] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.929228] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.941870] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.944552] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.952643] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.973246] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.983586] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.989951] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    5.992552] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.011443] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[    6.021579] usb 1-1.2.1: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[    6.030212] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.037261] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.037793] usb 1-1.2.1: Product: MK3-USB Interface
[    6.050281] usb 1-1.2.1: Manufacturer: VictronEnergy
[    6.051644] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.055313] usb 1-1.2.1: SerialNumber: HQ2043SR2HG
[    6.068848] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    6.076105] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    6.088981] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.092808] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
[    6.145948] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    6.173898] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    6.177562] usb 1-1.2.2: new full-speed USB device number 7 using dwc_otg
[    6.185725] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    6.199215] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    6.212092] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.237725] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.275291] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.287782] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.316608] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.320962] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.350938] usb 1-1.2.2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[    6.351657] random: crng init done
[    6.359568] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.362922] random: 2 urandom warning(s) missed due to ratelimiting
[    6.376780] usb 1-1.2.2: Product: CP2102 USB to UART Bridge Controller
[    6.383316] usb 1-1.2.2: Manufacturer: Silicon Labs
[    6.388248] usb 1-1.2.2: SerialNumber: 0001
[    6.430557] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    6.446492] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.454987] usb 1-1.1.3: new high-speed USB device number 8 using dwc_otg
[    6.479964] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.497149] usbcore: registered new interface driver brcmfmac
[    6.597647] usb 1-1.1.3: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
[    6.606279] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.613808] usb 1-1.1.3: Product: Cruzer Blade
[    6.618348] usb 1-1.1.3: Manufacturer: SanDisk
[    6.622843] usb 1-1.1.3: SerialNumber: 00010401082722102513
[    6.644096] usb-storage 1-1.1.3:1.0: USB Mass Storage device detected
[    6.666090] scsi host0: usb-storage 1-1.1.3:1.0
[    6.695011] usb 1-1.2.3: new full-speed USB device number 9 using dwc_otg
[    6.776151] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.785135] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.803319] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[    6.860656] usb 1-1.2.3: New USB device found, idVendor=1d50, idProduct=606f, bcdDevice= 0.00
[    6.869324] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.876914] usb 1-1.2.3: Product: candleLight USB to CAN adapter
[    6.882979] usb 1-1.2.3: Manufacturer: bytewerk
[    6.887699] usb 1-1.2.3: SerialNumber: 0028002A4E56510B20303734
[    6.994952] usb 1-1.2.4: new full-speed USB device number 10 using dwc_otg
[    7.129986] usb 1-1.2.4: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[    7.139051] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.146643] usb 1-1.2.4: Product: CP2102 USB to UART Bridge Controller
[    7.153236] usb 1-1.2.4: Manufacturer: Silicon Labs
[    7.158221] usb 1-1.2.4: SerialNumber: 0001
[    7.363531] Bluetooth: Core ver 2.22
[    7.370641] NET: Registered protocol family 31
[    7.375180] Bluetooth: HCI device and connection manager initialized
[    7.381596] Bluetooth: HCI socket layer initialized
[    7.402465] Bluetooth: L2CAP socket layer initialized
[    7.407672] Bluetooth: SCO socket layer initialized
[    7.430267] Bluetooth: HCI UART driver ver 2.3
[    7.434762] Bluetooth: HCI UART protocol H4 registered
[    7.440153] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    7.454297] Bluetooth: HCI UART protocol Broadcom registered
[    7.631120] usbcore: registered new interface driver usbserial_generic
[    7.641960] usbserial: USB Serial support registered for generic
[    7.676366] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    7.703110] sd 0:0:0:0: [sda] 31260672 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.712729] sd 0:0:0:0: [sda] Write Protect is off
[    7.717681] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    7.719967] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.744187] usbcore: registered new interface driver ftdi_sio
[    7.757953] usbcore: registered new interface driver cp210x
[    7.761694] usbserial: USB Serial support registered for FTDI USB Serial Device
[    7.772158] usbserial: USB Serial support registered for cp210x
[    7.779065] ftdi_sio 1-1.2.1:1.0: FTDI USB Serial Device converter detected
[    7.783537] cp210x 1-1.2.2:1.0: cp210x converter detected
[    7.789022] usb 1-1.2.1: Detected FT-X
[    7.800951] CAN device driver interface
[    7.805261] usb 1-1.2.1: FTDI USB Serial Device converter now attached to ttyUSB0
[    7.813776] usbcore: registered new interface driver uas
[    7.819802]  sda: sda1
[    7.825519] usb 1-1.2.2: cp210x converter now attached to ttyUSB1
[    7.836011] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    7.843818] cp210x 1-1.2.4:1.0: cp210x converter detected
[    7.854240] gs_usb 1-1.2.3:1.0: Configuring for 1 interfaces
[    7.860277] usb 1-1.2.4: cp210x converter now attached to ttyUSB2
[    7.870717] usbcore: registered new interface driver gs_usb
[    7.980307] gs_usb 1-1.2.3:1.0 can10: renamed from can0
[    8.258451] F2FS-fs (sda): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    8.265221] F2FS-fs (sda): Can't find valid F2FS filesystem in 1th superblock
[    8.273203] F2FS-fs (sda): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    8.279952] F2FS-fs (sda): Can't find valid F2FS filesystem in 2th superblock
[    8.602362] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    8.729121] i2c /dev entries driver
[    8.774950] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[   10.729911] watchdog: watchdog0: watchdog did not stop!
[   11.808092] NET: Registered protocol family 38
[   13.081288] device eth0 entered promiscuous mode
[   13.081425] lan78xx 1-1.1.1:1.0 eth0: kevent 4 may have been dropped
[   13.103255] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.110455] IPv6: ADDRCONF(NETDEV_CHANGE): ll-eth0: link becomes ready
[   13.188258] 8021q: 802.1Q VLAN Support v1.8
[   13.192530] 8021q: adding VLAN 0 to HW filter on device eth0
[   13.209850] 8021q: adding VLAN 0 to HW filter on device ll-eth0
[   13.507646] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   17.491549] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.920383] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68
[   17.937459] rtc-ds1307 1-0068: registered as rtc0
[   17.943304] rtc-ds1307 1-0068: setting system clock to 2024-01-04T08:22:58 UTC (1704356578)
[   18.220300] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[   20.670322] can: controller area network core
[   20.686227] NET: Registered protocol family 29
[   20.795157] IPv6: ADDRCONF(NETDEV_CHANGE): can10: link becomes ready
[   22.461536] can: raw protocol
[   23.801634] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   33.755011] cam-dummy-reg: disabling

@morphias2004
Copy link

Directly following a shutdown, power off and power on:

Last login: Thu Jan 25 22:48:54 2024
root@raspberrypi2:~# ls /sys/bus/w1/devices/
28-3c01f0952677  w1_bus_master1
root@raspberrypi2:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.110-rpi-venus-4 (oe-user@oe-host) (arm-ve-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.34.0.20200910) #1 SMP Tue Dec 5 23:19:16 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x37400000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   DMA zone: 2133 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s51916 r8192 d21812 u81920
[    0.000000] pcpu-alloc: s51916 r8192 d21812 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p3 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 877720K/970752K available (10240K kernel code, 1333K rwdata, 3100K rodata, 1024K init, 885K bss, 27496K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33798 entries in 100 pages
[    0.000000] ftrace: allocated 100 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3b4/0x588 with crng_init=1
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000326] Console: colour dummy device 80x30
[    0.000390] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000425] pid_max: default: 32768 minimum: 301
[    0.000633] LSM: Security Framework initializing
[    0.000875] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000903] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002304] cgroup: Disabling memory control group subsystem
[    0.002577] CPU: Testing write buffer coherency: ok
[    0.003071] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004314] Setting up static identity map for 0x100000 - 0x10003c
[    0.004504] rcu: Hierarchical SRCU implementation.
[    0.005630] smp: Bringing up secondary CPUs ...
[    0.006780] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008058] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009287] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009454] smp: Brought up 1 node, 4 CPUs
[    0.009496] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.009513] CPU: All CPU(s) started in HYP mode.
[    0.009529] CPU: Virtualization extensions available.
[    0.010611] devtmpfs: initialized
[    0.028799] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.029055] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.029090] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032117] pinctrl core: initialized pinctrl subsystem
[    0.033289] NET: Registered protocol family 16
[    0.037342] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.043041] audit: initializing netlink subsys (disabled)
[    0.043351] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043941] thermal_sys: Registered thermal governor 'step_wise'
[    0.044194] cpuidle: using governor menu
[    0.044948] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.044968] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.045263] Serial: AMBA PL011 UART driver
[    0.068089] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.080103] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:20:54, variant start
[    0.090115] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[    0.134788] Kprobes globally optimized
[    0.137279] cryptd: max_cpu_qlen set to 1000
[    0.140151] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.142424] SCSI subsystem initialized
[    0.142690] usbcore: registered new interface driver usbfs
[    0.142772] usbcore: registered new interface driver hub
[    0.142848] usbcore: registered new device driver usb
[    0.144755] clocksource: Switched to clocksource arch_sys_counter
[    1.870547] VFS: Disk quotas dquot_6.6.0
[    1.870690] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.870901] FS-Cache: Loaded
[    1.871184] CacheFiles: Loaded
[    1.871410] simple-framebuffer 3ea81000.framebuffer: framebuffer at 0x3ea81000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.871435] simple-framebuffer 3ea81000.framebuffer: format=a8r8g8b8, mode=800x480x32, linelength=3200
[    1.878309] Console: switching to colour frame buffer device 100x30
[    1.889473] simple-framebuffer 3ea81000.framebuffer: fb0: simplefb registered!
[    1.900829] NET: Registered protocol family 2
[    1.901097] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.903035] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.903191] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.903317] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.903514] TCP: Hash tables configured (established 8192 bind 8192)
[    1.903694] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.903757] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.904039] NET: Registered protocol family 1
[    1.904834] RPC: Registered named UNIX socket transport module.
[    1.904853] RPC: Registered udp transport module.
[    1.904870] RPC: Registered tcp transport module.
[    1.904886] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.906565] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.912113] Initialise system trusted keyrings
[    1.912367] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.921864] zbud: loaded
[    1.923958] FS-Cache: Netfs 'nfs' registered for caching
[    1.924934] NFS: Registering the id_resolver key type
[    1.925014] Key type id_resolver registered
[    1.925033] Key type id_legacy registered
[    1.925190] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.925210] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.926530] Key type asymmetric registered
[    1.926550] Asymmetric key parser 'x509' registered
[    1.926611] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.926631] io scheduler mq-deadline registered
[    1.926649] io scheduler kyber registered
[    1.930274] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.934724] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 800x480
[    1.938978] Serial: 8250/16550 driver, 1 ports
[    1.939014] Serial: 8250/16550 driver, ISA IRQ sharing enabled
[    1.941853] bcm2835-rng 3f104000.rng: hwrng registered
[    1.942377] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.943612] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.956079] brd: module loaded
[    1.968106] loop: module loaded
[    1.969929] Loading iSCSI transport class v2.0-870.
[    1.971784] usbcore: registered new interface driver lan78xx
[    1.971858] usbcore: registered new interface driver smsc95xx
[    1.971887] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.172528] Core Release: 2.80a
[    2.172550] Setting default values for core params
[    2.172584] Finished setting default values for core params
[    2.372978] Using Buffer DMA mode
[    2.372997] Periodic Transfer Interrupt Enhancement - disabled
[    2.373014] Multiprocessor Interrupt Enhancement - disabled
[    2.373033] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.373069] Dedicated Tx FIFOs mode
[    2.373647]
[    2.373667] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = b7514000 dma = 0xf7514000 len=9024
[    2.373709] FIQ FSM acceleration enabled for :
[    2.373709] Non-periodic Split Transactions
[    2.373709] Periodic Split Transactions
[    2.373709] High-Speed Isochronous Endpoints
[    2.373709] Interrupt/Control Split Transaction hack enabled
[    2.373730] dwc_otg: Microframe scheduler enabled
[    2.373804]
[    2.373815] WARN::hcd_init_fiq:457: FIQ on core 1
[    2.373828]
[    2.373837] WARN::hcd_init_fiq:458: FIQ ASM at 807f7168 length 36
[    2.373852]
[    2.373860] WARN::hcd_init_fiq:496: MPHI regs_base at bb810000
[    2.373887] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.373932] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.373984] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    2.374042] Init: Port Power? op_state=1
[    2.374059] Init: Power Port (0)
[    2.374438] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.374461] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.374481] usb usb1: Product: DWC OTG Controller
[    2.374501] usb usb1: Manufacturer: Linux 5.10.110-rpi-venus-4 dwc_otg_hcd
[    2.374520] usb usb1: SerialNumber: 3f980000.usb
[    2.375330] hub 1-0:1.0: USB hub found
[    2.375401] hub 1-0:1.0: 1 port detected
[    2.376655] dwc_otg: FIQ enabled
[    2.376668] dwc_otg: NAK holdoff enabled
[    2.376680] dwc_otg: FIQ split-transaction FSM enabled
[    2.376697] Module dwc_common_port init
[    2.377568] usbcore: registered new interface driver usb-storage
[    2.377787] mousedev: PS/2 mouse device common for all mice
[    2.379281] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.382095] sdhci: Secure Digital Host Controller Interface driver
[    2.382113] sdhci: Copyright(c) Pierre Ossman
[    2.382767] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    2.383468] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    2.383725] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.385759] ledtrig-cpu: registered to indicate activity on CPUs
[    2.386193] hid: raw HID events driver (C) Jiri Kosina
[    2.386356] usbcore: registered new interface driver usbhid
[    2.386374] usbhid: USB HID core driver
[    2.390985] Initializing XFRM netlink socket
[    2.391738] NET: Registered protocol family 10
[    2.393152] Segment Routing with IPv6
[    2.393266] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.394118] NET: Registered protocol family 17
[    2.394284] Key type dns_resolver registered
[    2.395091] Registering SWP/SWPB emulation handler
[    2.398740] registered taskstats version 1
[    2.398798] Loading compiled-in X.509 certificates
[    2.399632] Key type ._fscrypt registered
[    2.399653] Key type .fscrypt registered
[    2.399671] Key type fscrypt-provisioning registered
[    2.411025] uart-pl011 3f201000.serial: there is not valid maps for state default
[    2.411245] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.411349] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    3.520227] printk: console [ttyAMA0] enabled
[    3.525134] Indeed it is in host mode hprt0 = 00021501
[    3.593149] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[    3.603257] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    3.612263] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    3.618323] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    3.651137] sdhost: log_buf @ (ptrval) (f7513000)
[    3.693103] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.700326] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.705894] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.714716] of_cfs_init
[    3.717333] of_cfs_init: OK
[    3.721300] uart-pl011 3f201000.serial: no DMA platform data
[    3.727363] Waiting for root device /dev/mmcblk0p3...
[    3.732987] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.741561] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.747146] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.753757] Indeed it is in host mode hprt0 = 00001101
[    3.850770] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.861851] mmc0: new high speed SDHC card at address 0001
[    3.868408] mmcblk0: mmc0:0001 JB1RT 29.8 GiB
[    3.875476]  mmcblk0: p1 p2 p3 p4
[    3.910279] mmc1: new high speed SDIO card at address 0001
[    3.982897] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    3.991136] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    3.998290] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    3.999223] devtmpfs: mounted
[    4.006514] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.009731] hub 1-1:1.0: USB hub found
[    4.020551] hub 1-1:1.0: 4 ports detected
[    4.027224] Freeing unused kernel memory: 1024K
[    4.032327] Run /sbin/init as init process
[    4.036466]   with arguments:
[    4.036477]     /sbin/init
[    4.036488]   with environment:
[    4.036499]     HOME=/
[    4.036510]     TERM=linux
[    4.344831] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.475434] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.483810] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.492079] hub 1-1.1:1.0: USB hub found
[    4.496266] hub 1-1.1:1.0: 3 ports detected
[    4.568430] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    4.652438] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[    4.800858] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.828604] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    5.035994] udevd[164]: starting version 3.2.9
[    5.074823] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.080955] random: udevd: uninitialized urandom read (16 bytes read)
[    5.088883] random: udevd: uninitialized urandom read (16 bytes read)
[    5.095489] random: udevd: uninitialized urandom read (16 bytes read)
[    5.153664] udevd[165]: starting eudev-3.2.9
[    5.212865] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.01
[    5.221399] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.228771] usb 1-1.2: Product: USB2.1 Hub
[    5.232911] usb 1-1.2: Manufacturer: Generic
[    5.240734] hub 1-1.2:1.0: USB hub found
[    5.247864] hub 1-1.2:1.0: 5 ports detected
[    5.346029] Driver for 1-wire Dallas network protocol.
[    5.360581] gpio-27 (onewire@1b): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    5.430064] w1_master_driver w1_bus_master1: Attaching one wire slave 28.3c01f0952677 crc 53
[    5.534931] usb 1-1.1.1: new high-speed USB device number 5 using dwc_otg
[    5.566509] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.591968] mc: Linux media interface: v0.10
[    5.622410] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.685946] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    5.694603] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.702190] [vc_sm_connected_init]: start
[    5.713488] videodev: Linux video capture interface: v2.00
[    5.724452] [vc_sm_connected_init]: installed successfully
[    5.734240] input: raspberrypi-ts as /devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input0
[    5.784910] usb 1-1.2.1: new full-speed USB device number 6 using dwc_otg
[    5.803874] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.803881] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.803887] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.821078] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.837247] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.858968] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.867512] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.879357] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.900178] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.917316] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.988737] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.997486] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.003284] usb 1-1.2.1: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[    6.011911] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.011938] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.019500] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.019514] usb 1-1.2.1: Product: MK3-USB Interface
[    6.019526] usb 1-1.2.1: Manufacturer: VictronEnergy
[    6.019538] usb 1-1.2.1: SerialNumber: HQ2043SR2HG
[    6.022642] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[    6.091458] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.096421] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
[    6.099800] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.114955] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.122060] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.137777] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.149779] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    6.159823] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.167223] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.174899] usb 1-1.2.2: new full-speed USB device number 7 using dwc_otg
[    6.180076] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    6.198528] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.207019] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    6.226099] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    6.233604] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    6.251891] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    6.285151] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.296395] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.304039] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.318444] usb 1-1.2.2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[    6.328614] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.329106] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.336210] usb 1-1.2.2: Product: CP2102 USB to UART Bridge Controller
[    6.350397] usb 1-1.2.2: Manufacturer: Silicon Labs
[    6.355347] usb 1-1.2.2: SerialNumber: 0001
[    6.355533] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    6.387986] random: crng init done
[    6.391430] random: 2 urandom warning(s) missed due to ratelimiting
[    6.408530] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.424921] usb 1-1.1.3: new high-speed USB device number 8 using dwc_otg
[    6.432491] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.463940] usbcore: registered new interface driver brcmfmac
[    6.556223] usb 1-1.1.3: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
[    6.565156] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.572687] usb 1-1.1.3: Product: Cruzer Blade
[    6.577247] usb 1-1.1.3: Manufacturer: SanDisk
[    6.581735] usb 1-1.1.3: SerialNumber: 00010401082722102513
[    6.601332] usb-storage 1-1.1.3:1.0: USB Mass Storage device detected
[    6.621181] scsi host0: usb-storage 1-1.1.3:1.0
[    6.654861] usb 1-1.2.3: new full-speed USB device number 9 using dwc_otg
[    6.758580] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.767994] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.784656] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[    6.802640] usb 1-1.2.3: New USB device found, idVendor=1d50, idProduct=606f, bcdDevice= 0.00
[    6.811542] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.819124] usb 1-1.2.3: Product: candleLight USB to CAN adapter
[    6.825213] usb 1-1.2.3: Manufacturer: bytewerk
[    6.829801] usb 1-1.2.3: SerialNumber: 0028002A4E56510B20303734
[    6.944928] usb 1-1.2.4: new full-speed USB device number 10 using dwc_otg
[    7.079753] usb 1-1.2.4: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[    7.089067] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.096646] usb 1-1.2.4: Product: CP2102 USB to UART Bridge Controller
[    7.103244] usb 1-1.2.4: Manufacturer: Silicon Labs
[    7.108222] usb 1-1.2.4: SerialNumber: 0001
[    7.374661] Bluetooth: Core ver 2.22
[    7.384915] NET: Registered protocol family 31
[    7.389413] Bluetooth: HCI device and connection manager initialized
[    7.410147] Bluetooth: HCI socket layer initialized
[    7.415109] Bluetooth: L2CAP socket layer initialized
[    7.420238] Bluetooth: SCO socket layer initialized
[    7.439314] Bluetooth: HCI UART driver ver 2.3
[    7.443817] Bluetooth: HCI UART protocol H4 registered
[    7.449316] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    7.463009] Bluetooth: HCI UART protocol Broadcom registered
[    7.630349] usbcore: registered new interface driver usbserial_generic
[    7.641096] usbserial: USB Serial support registered for generic
[    7.676330] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    7.690620] sd 0:0:0:0: [sda] 31260672 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.714267] sd 0:0:0:0: [sda] Write Protect is off
[    7.716835] usbcore: registered new interface driver ftdi_sio
[    7.719324] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    7.729236] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.737923] usbserial: USB Serial support registered for FTDI USB Serial Device
[    7.747892] ftdi_sio 1-1.2.1:1.0: FTDI USB Serial Device converter detected
[    7.763573] usbcore: registered new interface driver cp210x
[    7.773953] usb 1-1.2.1: Detected FT-X
[    7.777096] usbserial: USB Serial support registered for cp210x
[    7.786375] cp210x 1-1.2.2:1.0: cp210x converter detected
[    7.788469] usbcore: registered new interface driver uas
[    7.790571] usb 1-1.2.1: FTDI USB Serial Device converter now attached to ttyUSB0
[    7.803483]  sda: sda1
[    7.817884] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    7.826068] usb 1-1.2.2: cp210x converter now attached to ttyUSB1
[    7.832744] cp210x 1-1.2.4:1.0: cp210x converter detected
[    7.832828] CAN device driver interface
[    7.848152] usb 1-1.2.4: cp210x converter now attached to ttyUSB2
[    7.858879] gs_usb 1-1.2.3:1.0: Configuring for 1 interfaces
[    7.873977] usbcore: registered new interface driver gs_usb
[    8.003908] gs_usb 1-1.2.3:1.0 can10: renamed from can0
[    8.287764] F2FS-fs (sda): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    8.294488] F2FS-fs (sda): Can't find valid F2FS filesystem in 1th superblock
[    8.302572] F2FS-fs (sda): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    8.309317] F2FS-fs (sda): Can't find valid F2FS filesystem in 2th superblock
[    8.632691] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    8.759493] i2c /dev entries driver
[    8.805025] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[   10.827447] watchdog: watchdog0: watchdog did not stop!
[   11.889523] NET: Registered protocol family 38
[   13.094452] device eth0 entered promiscuous mode
[   13.376713] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   17.327395] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.565843] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   18.848252] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68
[   18.863854] rtc-ds1307 1-0068: registered as rtc0
[   18.870008] rtc-ds1307 1-0068: setting system clock to 2024-01-25T22:48:54 UTC (1706222934)
[   19.050784] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[   20.714130] can: controller area network core
[   20.718812] NET: Registered protocol family 29
[   20.779720] IPv6: ADDRCONF(NETDEV_CHANGE): can10: link becomes ready
[   21.531513] can: raw protocol
[   33.754856] cam-dummy-reg: disabling

@morphias2004
Copy link

morphias2004 commented Jan 25, 2024

Here is also some info about fake Sensors https://github.com/cpetrich/counterfeit_DS18B20

image

Based on that, I believe I have a clone. :(

root@raspberrypi2:~# ls /sys/bus/w1/devices/
28-3c01f0952677  w1_bus_master1

@MM0RBZ
Copy link

MM0RBZ commented Feb 13, 2024

I have this problem too, have ruled out software being the problem in discussion with Rikkert-RS on another forum.
my system consists of a raspberry pi using gpio 6 as the 1-wire pin, 10cm of open wires to a junction of two sensors, 1.k ohm resistor to 3v3 at this junction. 5m and 1m sensors don't work together, one or both drop out after a few hours.
1m sensor on its own is fine for days, so is the 5m one, but both together crash after a while.
both sensors are ebay sourced clones.
here's the waveform at the junction.

ds18b20-1

ds18b20-2

I think i need to get rid of that ripple on the top but otherwise the waveforms look good.
a capacitor vcc-gnd at the junction might help there.
maybe i need a longer/screened wire from pi to junction.

@Rikkert-RS
Copy link
Owner

Hello Bob,

Very good, I read your post in the Victron forum today, but didn't have time to reply. There I would have asked if you also have a recording of the oscilloscope measurement. I also have an oscilloscope and would probably reconnect my test with the 50m Cat7 cable and also make a recording.

I haven't had much time to continue here in the last few days. It's no longer really a problem with my driver. But I will leave the issue open until we have enough information to create a small wiki for a good hardware connection.

Best regards

@MM0RBZ
Copy link

MM0RBZ commented Feb 13, 2024

Thanks Rikkert.
I've added a 6.8uF capacitor across the supply lines and it's cleaned up the ripple, I'll leave it for 24hrs and see if it's helped but one sensor was working fine with the ripple there so I won't hold my breath.
I note that you use 50m of cat7 between the pi and the sensors, I have a gut feeling that having a longer cable there might help .
Theory says it should be short but maybes long might be better in practice.

@MM0RBZ
Copy link

MM0RBZ commented Feb 14, 2024

6.8uF capacitor gives better ripple but Sensors still dropped out after 18 hours. :-(

ds18b20-3

@MM0RBZ
Copy link

MM0RBZ commented Feb 15, 2024

I have ordered 3 of these... https://thepihut.com/products/ds18b20-one-wire-digital-temperature-sensor
they claim to be genuine Maxim chips so I'll try them and report back.

@Sarah-1331
Copy link

Quick update from me mine haven’t disconnected once since using the 5m ones

@MM0RBZ
Copy link

MM0RBZ commented Feb 15, 2024

Thanks Sarah. :-)
I think you maybe got lucky and a good batch of sensors was used to make your 5m ones.
Would you mind posting their serial numbers please?

@Sarah-1331
Copy link

Am unsure the SN but think it would be one of these numbers ???

TemperatureType /TemperatureType 1
@4000000065b843c429dc25fc INFO:root:Retreived setting /Settings/Temperature/022010ed82ae/CustomName /CustomName Fridge
@4000000065b843c429e5cabc INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/TemperatureType /TemperatureType 2
@4000000065b843c429edecc4 INFO:root:Retreived setting /Settings/Temperature/485e4c1f64ff/CustomName /CustomName External
@4000000065b843c429f6e5a4 INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/TemperatureType /TemperatureType 2
@4000000065b843c42a0c658c INFO:root:Retreived setting /Settings/Temperature/53754c1f64ff/CustomName /CustomName Internal

@MM0RBZ
Copy link

MM0RBZ commented Feb 16, 2024

Thanks Sarah.
it looks like your serial numbers are 28-022010ed82ae, 28-485e4c1f64ff and 28-53754c1f64ff.

@MM0RBZ
Copy link

MM0RBZ commented Feb 16, 2024

With reference to this- https://github.com/cpetrich/counterfeit_DS18B20
I think I have family B clones which have a wide swing of temperature conversion times that may result in a time greater than Maxim spec. I suspect that on occasion this exceeds the time the driver expects and this causes the crash. It could also cause a timing clash between sensors so the more sensors you have the higher the chance of timing issues.
This is speculation on my part, not gospel, but would explain why the sensors can be fine for hours before they drop out.
If your kernel and your clone will let you change the sensor resolution (mine doesn't) then a lower resolution should reduce the response time but without access to the raspberry pi kernel module I can't prove or improve this so my solution would be to use genuine Maxim chips and waterproof them yourself if needed.
On the other hand you might get lucky and find clone sensors with low response times. Caveat emptor.

P.S. I've just found another suggestion that might help. it has pro's and con's though.
once your system has found the connected sensors, run this in terminal-
echo 0 > /sys/bus/w1/devices/w1_bus_master1/w1_master_search
it turns off searching for more devices and reduces use of resources.
turn it back on if you change the sensors-
echo 1 > /sys/bus/w1/devices/w1_bus_master1/w1_master_search

@MM0RBZ
Copy link

MM0RBZ commented Feb 19, 2024

Update-
I've been running one genuine sensor and one 5m cabled clone sensor in parallel for 42 hours now and all looks good, no drop-outs.
Strangely the 5m ones do seem to be the better option of the cloned ones. even if you just need a 1m cable buy the 5m and cut the cable.
I'll add another genuine sensor tonight on a 16m screened twisted pair cable and see how that goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants