[Swlug] G-Mouse
Rhys Sage
rhys_sage at yahoo.com
Mon Feb 14 22:57:48 UTC 2022
I did as suggested. Thanks for clearing up my minsunderstanding, Matt.
After the sudo commands I ran my downloaded python source code and it produced this.
SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
Going back to the command prompt this is what went on.
rhys at Apollo:~$ sudo putty -serial /dev/ttyACM0
[sudo] password for rhys:
rhys at Apollo:~$ sudo usermod -a -G dialout $(whoami)
rhys at Apollo:~$ id
uid=1000(rhys) gid=1000(rhys) groups=1000(rhys),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),114(lpadmin),134(sambashare)rhys at Apollo:~$
There's no mention of a dialout. This is strange. I'm a little curious about the dialout. I remember the old days of using a modem and dialling out to a phone number to use the internet. I'm unsure of how that process applies to a GPS module. This is intriguing and I want to know more.
Rhys Sage
On Monday, 14 February 2022, 07:00:06 GMT-5, <swlug-request at mailman.lug.org.uk> wrote:
Send Swlug mailing list submissions to
swlug at mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/swlug
or, via email, send a message with subject or body 'help' to
swlug-request at mailman.lug.org.uk
You can reach the person managing the list at
swlug-owner at mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Swlug digest..."
Today's Topics:
1. Re: G-Mouse (Rhys Sage)
2. Re: G-Mouse (Matt Moore)
At the risk of sounding somewhat pathetic... How do I access the root account? I tried logging out and rebooting but I only get the option under Mint, Cinnamon 20.1 for my Rhys account.
I tried clicking the little triangle by my name and the little round blob to the right and didn't get any further.
Rhys Sage
On 13/02/2022 20:41, Rhys Sage via Swlug wrote:
At the risk of sounding somewhat pathetic... How do I access the root account? I tried logging out and rebooting but I only get the option under Mint, Cinnamon 20.1 for my Rhys account.
I tried clicking the little triangle by my name and the little round blob to the right and didn't get any further.
Rhys Sage
Rhys,
If you just run the commands in Alice's email, that'll run the command as root. If that works, then run the next command to add yourself to the dialout group. The command 'sudo' stands for super user do. In this case the super user is root. On Ubuntu systems there isn't a root account you can login to. If you want to do something as root, you can just use the 'sudo' command.
Cheers,
Matt
_______________________________________________
Swlug mailing list
Swlug at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/swlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20220214/8009275b/attachment.htm>
More information about the Swlug
mailing list