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

Can't define parameters #56

Open
borisbecks opened this issue Jun 12, 2024 · 1 comment
Open

Can't define parameters #56

borisbecks opened this issue Jun 12, 2024 · 1 comment

Comments

@borisbecks
Copy link

I did a new install with Ubuntu 22.04 and followed the guide (with the addition of installing git) and my card show up in /dev/ but when trying to set parameters with echo 1 >/sys/class/cxadc/cxadc0/device/parameters/vmux or sudo echo 1 >/sys/class/cxadc/cxadc0/device/parameters/vmux for example I get a permission denied message. Is this simply some kind of Linux issue?
I can however edit it with nano and the values show up correctly in cxvalues. But since I plan to use a system with clockgen modded set of cards, I would like to have this option.

Ubuntu 20.04 behaved in the same way
The last test was done with a brand new white card. Card is completely unmodified and confirmed working under Windows in the same system.

@borisbecks
Copy link
Author

I found the problem myself and thought that this might be useful for other people who are Linux "users" like me:

My user was not able to write these values. Not with sudo - not with sudo usermod -a -G video YourUbuntuUserName either. I had to connect as root and then it worked.

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

1 participant