|
Forum Index : Microcontroller and PC projects : Leaving the Sinking ship - Moving to Linux
| Author | Message | ||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2473 |
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 KingdomPosts: 4173 |
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: AustraliaPosts: 1992 |
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 KingdomPosts: 4173 |
Good - so should be easy to add appropriate permission for serial device, probably dialout group. John |
||||
| KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1992 |
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: AustraliaPosts: 1214 |
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 KingdomPosts: 4173 |
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: AustraliaPosts: 1992 |
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: AustraliaPosts: 1992 |
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: AustraliaPosts: 1992 |
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: AustraliaPosts: 1992 |
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 |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |