How to enable CAN bus using C++ code

Hi @Evets ,

The root user in our containers doesn’t have a password by default. I’m not sure if this happened to you, but If you’re in the container as the torizon user and run su to try changing to root, it will always ask for a password, regardless if it is set or not.

If you’re using the Torizon IDE Extension 2 and you’re trying to debug your application in it, you can change the user running the application on debug with torizon_run_as in <your-project-dir>/.vscode/settings.json, as detailed here:

Try doing the above and see if you can manage to run the app as root.

Best regards,
Lucas Akira