pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

Hello Usb example not working ubuntu 22

Open geoeo opened this issue 2 years ago • 1 comments

I can not get "hello world" response from screen or minicom in Ubuntu 22.

I can confirm it works because I can get a response via Hercules in Windows 11. So somehow the steps in the published guide are wrong or incomplete.

In Hercules I have to switch the mode from Free to Data. Is there a similar option in screen or minicom?

geoeo avatar Oct 23 '22 16:10 geoeo

Had similar issue, and noticed that minicom -b 115200 -o -D /dev/ttyACM0 works if you run it as sudo. That is probably related to user restrictions. In my case stat /dev/ttyACM0 shows that it is attached to dialout group: Access: ... Gid: ( 20/ dialout). Users are not in dialout group by default. When I've added my user to this group, minicom command started working as expected.

daniilsunyaev avatar Mar 29 '23 22:03 daniilsunyaev