[Swlug] G-Mouse

Rhys Sage rhys_sage at yahoo.com
Sat Feb 12 14:55:20 UTC 2022


I've not yet tried the G-Mouse on my Pi. I'm trying it on my laptop first. It comes up on my laptop running Mint 20.1 Cinnamon as this Bus 001 Device 005: ID 1546:01a7 U-Blox AG [u-blox 7]
On my other laptop running Raspbian Buster, it doesn't show up at all, which is rather unfortunate as that's the laptop I had several free hours to work on during my now non-existent work breaks. Yup - they keep me busy. I'm now doing overtime for the next few months.
Where the problem I'm getting lies is that on my Mint laptop, running the Python code comes up with
ModuleNotFoundError: No module named 'serial'
I'm thinking that might be a Pi specific library that might not be replicatable on my Mint laptop. I'm using the sample code from here. https://content.instructables.com/ORIG/FVN/X6U3/JLCKH7EE/FVNX6U3JLCKH7EE.py
If I can get the Mint laptop to access the G-Mouse then I can get to work on code to read the output and parse it into a usable format (meanwhile learning Python as I go). 
As far as the other laptop goes, I put Raspbian on it so that I have a duplicate of my Pi but that seems not to be the case if it won't act like a Pi for reading common stuff like USB ports. I might end up replacing Raspbian Buster with MX in that case, just to make the laptop more usable.
Is the seriel library likely a Raspbian only thing that can't be applied to Mint or is there some solution?
Rhys Sage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20220212/31cbc468/attachment.htm>


More information about the Swlug mailing list