Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:23 20 Dec 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Leaving the Sinking ship - Moving to Linux

     Page 5 of 5    
Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2473
Posted: 10:36am 25 Nov 2025
Copy link to clipboard 
Print this post

  JohnS said  
  Bryan1 said  G'Day Guy's first the arduino version is 2.3.6 so typed in the command Rob suggested and the result back was

fatal dialout groups already exist

I think rob's made a mistake.
[...]


a mistake?! never!!  

user@HP-stream11-392758:~$
user@HP-stream11-392758:~$
user@HP-stream11-392758:~$ sudo deluser $USER dialout
Removing user `user' from group `dialout' ...
Done.
user@HP-stream11-392758:~$ sudo adduser $USER dialout
Adding user `user' to group `dialout' ...
Adding user user to group dialout
Done.
user@HP-stream11-392758:~$
user@HP-stream11-392758:~$


the above was done on a machine running Linux Mint 19.3 Tricia x86_64, XFCE. just confirmed that it also works on a machine running 22.2.

HOWEVER, it looks like debian may have a completely different command, also called adduser, that does something completely different to what it does on non-debian systems. i may need to research this in mode detail!

ADDENDUM: the adduser man page for debian seems to indicate that there is no difference - adduser should behave exactly the same as it does on non-debian systems. there is, however, also a command called useradd, but i can't make it produce the error message Bryan was seeing. i am perplexed...


cheers,
rob   :-)
Edited 2025-11-25 20:52 by robert.rozee
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4173
Posted: 11:44am 25 Nov 2025
Copy link to clipboard 
Print this post

If MX (or Zorin) has a GUI way to do it, great.

I don't happen to use MX (or Zorin) but anything that works is good.

I think deluser is distro-specific.

John
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1992
Posted: 09:52pm 25 Nov 2025
Copy link to clipboard 
Print this post

MX 25 has a GUI for almost everything. It displays a CheckBox list of every system group with the currently assigned user groups ticked. Select the group you need to add and press Apply. If the relevant system cannot be stopped and restarted to apply the change then MX usually indicates either a Logout or Restart is required.
NANO Inverter: Full download - Only Hex Ver 8.2Ks
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4173
Posted: 10:30pm 25 Nov 2025
Copy link to clipboard 
Print this post

Good - so should be easy to add appropriate permission for serial device, probably dialout group.

John
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1992
Posted: 10:39pm 25 Nov 2025
Copy link to clipboard 
Print this post

I checked these when I first had the Arduino IDE-2 install and had it throw a permission denied error, however the required groups were already allocated correctly.

I think this was for the USBasp device though, the USB port worked correctly first go.
NANO Inverter: Full download - Only Hex Ver 8.2Ks
 
Revlac

Guru

Joined: 31/12/2016
Location: Australia
Posts: 1214
Posted: 10:57pm 25 Nov 2025
Copy link to clipboard 
Print this post

  Quote  This is brilliant for me, just move the mouse to the top or bottom of screen for the taskbar I want to use, task bar changes to 100% Opacity as it comes to the foreground.

Most may hate this, but whatever floats your boat, as the saying goes, that's why I like Linux, I/we can make it our own to suite us.


@Mike, Thats great thanks for sharing, I have been looking at MX 25 for older hardwear either Fluxbox or XFCE

The GUI check box list for  assigned user groups.....This is good I did think this should have been done years ago.

The only windows program I need and don't have on Linux yet, is UltiMaker Cura for the 3D Printer, its available in AppImage but failed to download more than half even from GitHub will try again perhaps next year.
Cheers Aaron
Off The Grid
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4173
Posted: 11:10pm 25 Nov 2025
Copy link to clipboard 
Print this post

  KeepIS said  I checked these when I first had the Arduino IDE-2 install and had it throw a permission denied error, however the required groups were already allocated correctly.

I think this was for the USBasp device though, the USB port worked correctly first go.

usbasp appeared as /dev/ttyUSB0 for me, if that helps.

Then avrdude "just worked".

John
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1992
Posted: 11:28pm 25 Nov 2025
Copy link to clipboard 
Print this post

I'm sure some of the earlier distros also have these GUI interfaces, but MX is another community driven distro and like Mint, they have an enthusiastic group involved, I was attracted to the latest Linux Kernel release with latest drivers associated with it.

The only thing you may have trouble with is getting MMEdit to run, I haven't gone fully into it, but it still complains about missing Libraries, even though they have been fully installed, so likely some permission based problems with Snandboxing and security in these newer releases, some linux distros will allow you to specify no-snandbox when attempting to run with sudo (just to see if it will run and access the Lib files) but MX 25 will explicitly tell you NO! not allowed.

I followed the install info from Jim and still nothing, worked in Zorin though.

BTW the Arduino package is the 64bit IDE V2 Appimage from the Adruino website, runs perfectly.
NANO Inverter: Full download - Only Hex Ver 8.2Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1992
Posted: 11:49pm 25 Nov 2025
Copy link to clipboard 
Print this post

  JohnS said  usbasp appeared as /dev/ttyUSB0 for me, if that helps.John

Thats interesting, in most distros when you search for how to get USBasp  device working, it's never assigned as tty port.

This is how mine is listed on different distros that I tried.  
Bus 001 Device 010: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb

The Bus and Device ID will be different, in each installation but with this info:
Using above info 001 Device 010:
ls -al /dev/bus/usb/001/010  returns:
crw-rw-r-- 1 root root 189, 9 Nov 18 10:46 /dev/bus/usb/001/010

If no access then:  
sudo chmod 666 /dev/bus/usb/001/010, will give you temporary access.

But you really need to a create a udev rule in 99-USBasp.rules in /etc/udev/rules.d/.
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", GROUP="dialout"


In the Arduino IDE you just select USBasp as the Programmer, no port assignment is needed, as there is none.

The Pic32 programmer is of course different and does have a port assignment.
.
Edited 2025-11-26 12:50 by KeepIS
NANO Inverter: Full download - Only Hex Ver 8.2Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1992
Posted: 01:11am 27 Nov 2025
Copy link to clipboard 
Print this post

Just tried tried the Aldi "Premium Mechanical Keyboard". USB, RF and Bluetooth, key Cap extractor, very heavy, great key feel and nice mechanical click sound, 1.2 Display MAC - Win switch, rechargeable battery, all kinds of back-lighting around the keys options (Keys not backlit) and fully configurable via web interface and some menu options via the 1.2" screen. Black or Nude Brown, love the look of the N-Brown.

Anyhow, I really like it. A bit expensive, but it's Christmas so I gave myself a present. All connection types work in Linux, I'm using 2.4G RF ATM.

In Linux I could connect to the BAUHN site (cn), it finds the Keyboard via USB and Wireless connections, but clicking the found connection to change settings page does nothing, tried a few browsers and no go, although the only setting I am interested is to Sync the 1.2" Keyboard screen displayed time to the PC time.

Look Away now! Windows, using the same browser and settings, worked fine and I synced (I assume it has an onboard clock as it's a manual time/date set really, and I was done, I will have to look further into Linux when I get some time.

Note: The keyboard has a MAC - WIN switch.

FYI I can open my WinVM in Linux and connect to the New Keyboard via the Web interface and adjust all settings and key configurations.
.
Edited 2025-11-27 16:29 by KeepIS
NANO Inverter: Full download - Only Hex Ver 8.2Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1992
Posted: 11:17pm 04 Dec 2025
Copy link to clipboard 
Print this post

I decided to get a new Computer to replace my older unit, likely the last PC I will purchase, it's currently in transit.

What forced me to jump so quickly was the skyrocketing prices of Memory, SSDs and GPUs, and the rumoured announcement by some manufactures of Memory, GPU and SSD apparently changing to supplying AI systems advancement only, basically leaving the consumer market with a trickle of leftovers and scraps.  

The almost unlimited money from AI systems demand is depleting the current supply chain and driving prices, this will impact many new motherboard releases as well, already reported due to the current shortage, but adding to this could be another steep rise in prices from some manufactures leaving the consumer market

EDIT: Quote by some builders, "We Are Doomed, we need John Connor."  and "This niche little hobby of ours is slipping away"  

.
Edited 2025-12-05 10:35 by KeepIS
NANO Inverter: Full download - Only Hex Ver 8.2Ks
 
     Page 5 of 5    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025