[Swlug] G-Mouse

Alice Mitchell alice at discordia.org.uk
Sat Feb 12 22:16:45 UTC 2022


On Sat, 2022-02-12 at 21:32 +0000, Rhys Sage via Swlug wrote:
> Thanks, Alice, I only used Putty because that's what the website
> advised. It had given the advice to use sudo apt install putty so I
> just followed along.
> ls -l /dev/ttyACM0 produces
> crw-rw---- 1 root dialout 166, 0 Feb 12 16:22 /dev/ttyACM0
> 
> I typed
> putty -serial /dev/ttyACM0
> and got a comms error. Unable to open connection/port.
> 
> Still puzzled 
> 
because you are not user root, nor are you in group dialout,
presumably. 
so you do not have any access to that port.


run putty as root (not good longterm, but a quick check)

$ sudo putty -serial /dev/ttyACM0

add yourself to the dialout group, then logout and back in.

$ sudo usermod -a -G dialout $(whoami)

check you are in the dialout group with the id command

$ id
uid=1000(alice) gid=1000(alice) groups=1000(alice),10(wheel),18(dialout)


then you will always have access to that port, and other serial ports




More information about the Swlug mailing list