arduboy_toolset icon indicating copy to clipboard operation
arduboy_toolset copied to clipboard

arduboy connection issues on linux/opensuse

Open eyecreate opened this issue 1 year ago • 4 comments

When connecting to my arduboy mini for upload/backup/etc, the device shows as getting reset. During this reset process, the ttyACM0 device is owned by root for a second instead of dialout. I think this is why I get could not open port /dev/ttyACM0: [Errno 5] Input/output error: '/dev/ttyACM0'. MrBlinky's python scripts work for me, so it could be there are some timeouts in place there that allow the device reset to settle.

eyecreate avatar Mar 09 '24 20:03 eyecreate

Oh, interesting. I'm unable to reproduce this on linux, I may just have to keep retrying for some time when timings are a bit strange. I'm currently working on a command-line version of the utilities that utilize something slightly different, and I'm testing it with groups rather than running as root, so I'll get back to this when I learn more (or if I don't, in which case I'll just have some retries in there). Sorry it doesn't work!

randomouscrap98 avatar Mar 10 '24 22:03 randomouscrap98

I'm sorry, I never did fix this and ended up forgetting about it. Are you still using the toolset, or have you moved on?

randomouscrap98 avatar Dec 04 '24 23:12 randomouscrap98

I got a new computer and set it up with fedora, which works with this tool great. If you want, I can pull out the original system for debugging, or we can write if off as opensuse bug.

eyecreate avatar Dec 04 '24 23:12 eyecreate

It's ok, I don't want to make you go through the trouble. I'm glad it's working for you!

randomouscrap98 avatar Dec 04 '24 23:12 randomouscrap98