Search found 41 matches

by in06khattab
07 May 2024, 23:40
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

I have noticed that when there are too many warnings, I can no longer read updated Analog inputs. I keep getting an old value returned.
I will be reverting back to the old kernel in the short term

Code: Select all

sudo apt install raspberrypi-kernel=1:9.20230926+1-5.10.152-1+revpi11+1
by in06khattab
07 May 2024, 21:46
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

Thank you for your suggestion.
I am still getting errors after removing those entries.
by in06khattab
05 May 2024, 13:29
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

I think I found another bug in Pictory. When I changed the parity from even to none, saved the project and restarted the driver using the GUI. I then restarted the pi. After opening Pictory again, I noticed the following boxes missing numbers. Screenshot_13.jpg All the text boxes that are missing ha...
by in06khattab
05 May 2024, 13:06
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

I think I have figured out the source of the issue. When I delete all rows from Modbus Extended data, the errors go away from journalctl. When I add the rows back in, the errors come back. I tried a brand new Pictory project and as soon as I add all the rows, the errors appear. Screenshot_12.jpg Her...
by in06khattab
04 May 2024, 13:41
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

Downgrading to kernel 5.10.152 removed the errors with AIO. When upgrading again to the latest kernel, the errors came back.
I am happy to provide an img file of the system.

Code: Select all

sudo apt install raspberrypi-kernel=1:9.20230926+1-5.10.152-1+revpi11+1
by in06khattab
01 May 2024, 22:26
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

Here is the full output of dpkg -l |more.
Hope it helps.
dkpg.7z
(27.62 KiB) Downloaded 8 times
by in06khattab
01 May 2024, 22:18
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

I ran piTest -f and the last line could be a clue. The lines are printed in reverse order as I used journalctl -r. May 01 21:16:00 Pi1 kernel: pi-bridge serial1-0: receive head error in io-req May 01 21:15:58 Pi1 kernel: piControl: piAIOComm_Init(30) done 0 May 01 21:15:58 Pi1 kernel: piControl: piA...
by in06khattab
01 May 2024, 20:41
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

The above commands worked and I have updated the bootloader to 1:1.20230405-1. The vcgencmd is also up to date. I am still getting errors in journalctl. I have also noticed that /var/log will get filled up after ~2 days due to the error messages. Then network is affected, it disconnected after too m...
by in06khattab
29 Apr 2024, 23:25
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

Thank you for your reply. It looks like the bootloader is indeed older. dpkg -l |more ii raspberrypi-bootloader 1:1.20230509~buster-1 armhf Raspberry Pi bootloader I upgraded the Kernel using the instructions below and vcgencmd is now correct, but the issue still appears. Download the latest Bullsey...
by in06khattab
26 Apr 2024, 23:27
Forum: Hardware
Topic: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Replies: 21
Views: 2197

Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)

No packages awaiting to be upgraded. I was thinking about how to upgrade the raspberrypi-bootloader and I tried the following in two separate attempts: sudo rpi-update sudo rpi-update 22d9210842402780c9e6c74668b2d3eae94c5192 didn’t work However, I would get errors such as: This appears on startup fa...