-
Notifications
You must be signed in to change notification settings - Fork 586
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
Access to GPIO/I2C fails with latest version of RaspiOS image 2024-10-28 with Raspberry Pi 5 #2361
Comments
Couple of remarks:
Couple of questions:
Hopefully one of this way will help you find out the problem. |
@Ellerbach thanks for the precious suggestions, they have helped me a lot. |
Describe the bug
It was ok with previous versions unitl 2024-07-04.
This bug was found using I2C with PN532.
The code runs in a container under IotHub module.
Before entering in details, I've inspected LibGpiodDriver source code for Raspberry 5
So I've analyzed these libraries both on host
and inside the container
This happens for all version of RaspiOS.
After a lot of attempt, the only solution was to rollback the RaspiOS version (starting form a clean install)
I can detect I2C both on the host and inside a simple container run with the following command
sudo docker run -it --privileged mcr.microsoft.com/dotnet/runtime-deps:8.0.10-bookworm-slim-arm64v8
after installing the tool withand running
Steps to reproduce
The application run inside a simple autogenerated docker file with visual studio applied to a console application and adding these lines to the base image
Expected behavior
Actual behavior
Exception with the following stack trace
Versions used
all current latest version
3.2.0
of System.Device and net8The text was updated successfully, but these errors were encountered: