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

can0 config is old format -- can't install #32

Open
andyalford opened this issue Nov 25, 2023 · 2 comments
Open

can0 config is old format -- can't install #32

andyalford opened this issue Nov 25, 2023 · 2 comments

Comments

@andyalford
Copy link

run again from command line, delete can0 and add it back to update config

-> I keep getting this message for can0 and can1, and at the same time, I do not seem to reliably get my can config to work.
-> For example, I add can10 and then restart and get can0 listed.

I think I have some old files stuck in my Pi system, can you advise what I should do?

Thanks

@kwindrem
Copy link
Owner

It sounds like you might have a CANbus hat board plugged in. These will automatically configure as can0 and can1 if the dt overlay is in place in /u-boot/overlays and called from /u-boot/config.txt.

VeCanSetup will never create a can0 or can1 device because there is a conflict with what Venus OS configures automatically. CANbus hats will be configured as can8 and can9 and USB CANbus interfaces will be configured starting with can10.

Don't confuse names you might give the device with the actual device number. The name can be anything you want it to be but I've seen some use "can0" so this can get very confusing.

If you want to completely remove all the stored configurations, install the package from the setup script then delete /data/setupOptions/VeCanSetup directory and all its contents. It is important to uninstall first to make sure the active files the script installs are removed.

@andyalford
Copy link
Author

andyalford commented Nov 27, 2023 via email

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

2 participants