Just a note about making it work #197
OpenSorce1
started this conversation in
General
Replies: 1 comment
-
Me too. called In that file I put the following: worked, but it looks unsafe to me too.. I have a pristine Debian 12 installation (with just update/upgrade) Great work to pin it out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm running a fresh install of Ubuntu 22.04 and downloading everything and installing all the pre-reqs it still wouldn't work.
I was getting the [Errno 13] Permission denied: '/dev/ttyACM0' issue. Even after adding my account to dialout.
I did sudo dmesg -w and unplugged then plugged in my screen to make sure it was on /dev/ttyACM0
So I did a 'sudo chmod ugo+rw /dev/ttyACM0' also tried 'sudo chmod 666 /dev/ttyACM0'
I noticed that when I would run python3 ./configure.py then 'Save and Run' the screen would flash then give the permission error.
I checked the permissions of /dev/ttyACM0 and they had reverted to the previous perms.
So, I added a file to /etc/udev/rules.d/ called 50-myusb.rules
In that file I put the following: KERNEL=="ttyACM[0-9]*",MODE="0666"
Now it works! Apparently it was reconnecting and then defaulting to the preset permissions when trying to launch.
I will likely find where it does this and fix that but this work-around works for now.
Hope it's helpful to someone else.
This fix should likely be considered more of a temporary work-around than a solution. It leaves your USB devices completely accessible by all users that connect to your PC. For a home user, this is not an issue. For a server, it's a no-no. I'll figure out what was setting the USB device to restricted access and fix that. When I do, I'll reply or edit this post :-)
Devs: Thanks so much for making this!
Beta Was this translation helpful? Give feedback.
All reactions