I noticed the following errors in dmesg on a Revpi Connect 4.
Sometimes the red power light turns on the front of the device.
I noticed someone else has the same error: viewtopic.php?p=15160
Code: Select all
[ 354.692296] piControl: AIO addr 30: communication failed (req:20,ret:-5)
[ 364.253774] pi-bridge serial1-0: receive head error in io-req
[ 364.253781] piControl: AIO addr 31: communication failed (req:20,ret:-5)
[ 383.291964] pi-bridge serial1-0: receive head error in io-req
[ 383.291972] piControl: AIO addr 31: communication failed (req:20,ret:-5)
[ 383.294647] pi-bridge serial1-0: invalid checksum (expected: 0x01, got 0xc1
[ 383.294653] piControl: AIO addr 30: communication failed (req:20,ret:-74)
[ 383.305962] pi-bridge serial1-0: receive data error in io-req(len: 20)
[ 383.305969] piControl: AIO addr 31: communication failed (req:20,ret:-5)
[ 385.492314] pi-bridge serial1-0: receive data error in io-req(len: 20)
[ 385.492323] piControl: AIO addr 31: communication failed (req:20,ret:-5)
[ 386.128728] pi-bridge serial1-0: receive head error in io-req
[ 386.128736] piControl: AIO addr 30: communication failed (req:20,ret:-5)
[ 386.141751] pi-bridge serial1-0: failed to discard 9 bytes within timeout
[ 386.141760] pi-bridge serial1-0: received packet truncated (9 bytes missing)
[ 386.141765] piControl: AIO addr 31: communication failed (req:20,ret:-74)
[ 418.492061] pi-bridge serial1-0: receive head error in io-req
[ 418.492069] piControl: AIO addr 30: communication failed (req:20,ret:-5)
[ 431.692200] pi-bridge serial1-0: receive head error in io-req
[ 431.692207] piControl: AIO addr 30: communication failed (req:20,ret:-5)
[ 469.182110] pi-bridge serial1-0: receive head error in io-req
[ 469.182118] piControl: AIO addr 31: communication failed (req:20,ret:-5)
[ 469.182831] pi-bridge serial1-0: unexpected response addr 0x1f
[ 469.182835] piControl: AIO addr 30: communication failed (req:20,ret:-74)
[ 469.194167] pi-bridge serial1-0: receive data error in io-req(len: 20)
[ 469.194176] piControl: AIO addr 31: communication failed (req:20,ret:-5)
Code: Select all
pi@Pi1:~ $ piTest -d
Found 4 devices:
Address: 0 module type: 136 (0x88) RevPi Connect 4 V1.0
Module is present
input offset: 178 length: 6
output offset: 184 length: 7
Address: 31 module type: 103 (0x67) RevPi AIO V1.5
Module is present
input offset: 89 length: 20
output offset: 109 length: 4
Address: 30 module type: 103 (0x67) RevPi AIO V1.5
Module is present
input offset: 0 length: 20
output offset: 20 length: 4
Address: 64 module type: 24580 (0x6004) ModbusRTU Master Adapter V0.0
Module is present
input offset: 191 length: 101
output offset: 292 length: 73
Code: Select all
pi@Pi1:~ $ piTest -f
Virtual modules don't have firmware to update
Code: Select all
pi@Pi1:~ $ uname -a
Linux Pi1 6.1.46-rt13-v7l #1 SMP PREEMPT_RT Mon, 5 Feb 2024 15:02:39 +0100 armv7l GNU/Linux
Code: Select all
cat /boot/config.txt
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=31
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
#max_framebuffers=2
[pi4]
[cm4s]
dtoverlay=dwc2,dr_mode=host
[all]
enable_uart=1
Code: Select all
pi@Pi1:~ $ sudo apt update
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:2 http://packages.revolutionpi.de bullseye InRelease [14.2 kB]
Hit:3 http://packages.revolutionpi.de bullseye-backports InRelease
Hit:4 http://repository.teamviewer.com/deb stable InRelease
Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:6 https://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:7 http://packages.revolutionpi.de bullseye/main armhf Packages [33.9 kB]
Get:8 https://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Fetched 13.6 MB in 11s (1,223 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (tvrevpi/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Packages (tvrevpi/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Translations (tvrevpi/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Translations (tvrevpi/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Packages (tvrevpi/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Packages (tvrevpi/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Translations (tvrevpi/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
W: Target Translations (tvrevpi/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/teamviewer-iot-agent.list:3 and /etc/apt/sources.list.d/teamviewer-revpi.list:2
pi@Pi1:~ $ sudo apt install revpi-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
revpi-tools is already the newest version (3.4.0-1+revpi11+1).
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
pi@Pi1:~ $ revpi-sos
-bash: revpi-sos: command not found
Photo of setup: I have attached the Dmesg log.