Linux Journal

Anything not related to STM32
User avatar
Posts: 77
Joined: Tue Jan 05, 2016 9:48 pm
Location: Dark side of the Moon

Re: Linux Journal

Post by Just4Fun » Fri Dec 08, 2017 5:21 pm

My two cents...

I'm using linux at home as main Os since some years, using Kubuntu LTS (I like the KDE DE).
Of course I have also "some" Windows machines "around" and a couple of Mac (that I don't use anymore)...

One month ago I assembled a new desktop for my "lab room" as main workstation (dual monitor configuration), and with about 200€ I get a new MB with 8GB DDR4 and a Pentium G4600 (really a great beast), re-using a case and the PSU of a xw4300 HP workstation and re-using some stuff (HDDs, DVD/BD burner, cables...).

This time I installed Mint KDE 18, and I must admit that it is one of the best distros I have ever seen. It is all ok just out of the box, and it's also a pleasure from the graphical aspect.

And if I need Windows (e.g. for Rigol DSO remote control) I can use VMs (the G4600 has all the features for VMs...) or Wine (e.g. for LTspice).

More, I've a triple boot choice (using Plop as boot manager) with Mint, Win 7 and Win 10 just in case... :mrgreen:

Posts: 2056
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Linux Journal

Post by stevestrong » Fri Dec 08, 2017 8:57 pm

I am on racemaniac side.
Couple of years ago I wanted to use linux on my old (now 7 years old) Sony laptop.
I don't remember which distro did I try, but it was a pain just to have 800x600 resolution. No web camera, no WiFi, no micro, no Bt, no Ethernet card recognized...
Since then, no linux for me.
Weendoze just works.

Posts: 854
Joined: Thu Jul 21, 2016 4:24 pm

Re: Linux Journal

Post by ag123 » Sat Dec 09, 2017 2:37 am

i'd guess due to the various proprietary nature of laptops compatibility is commonly a problem for linux on laptops.
rather often it is necessary and some trouble to find 'linux compatible' laptops prior to purchase

i've got linux on a Asus ux305 it works as well as this article reads and suggests, pretty much 'everything works' ... abook.html

i'd guess these days the preference for desktop os is driven mainly by personal preference and hardware compatibilities issues etc
on my home pc and laptop, i mostly set them up for dual boot which means i could choose between the os but mostly i work in linux.

i tend to find linux more effective when open sourced hardware drivers are there in the kernel or libraries, troubleshooting usb connectivity problems is often basically running dmesg or lsusb to see if the device has enumerated. i find this 'closer to bare metal' approach more effective when trouble arises say due to hardware etc. on windows it seemed that drivers etc are rather obscured and when problems occur, it may leave one guessing where is the issue as in if it is windows and drivers having problems or that it is a hardware issue. in linux i actually have got this little usb reset utility

Code: Select all

/* usbreset -- send a USB port reset to a USB device */

#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>

#include <linux/usbdevice_fs.h>

int main(int argc, char **argv)
    const char *filename;
    int fd;
    int rc;

    if (argc != 2) {
        fprintf(stderr, "Usage: usbreset device-filename\n");
        return 1;
    filename = argv[1];

    fd = open(filename, O_WRONLY);
    if (fd < 0) {
        perror("Error opening output file");
        return 1;

    printf("Resetting USB device %s\n", filename);
    rc = ioctl(fd, USBDEVFS_RESET, 0);
    if (rc < 0) {
        perror("Error in ioctl");
        return 1;
    printf("Reset successful\n");

    return 0;
which i used to trigger usb reset my stm32f407 black boards to enumerate as those boards do not enumerate when booting into the st's built-in dfu bootloader. it would otherwise be a hassle as each time when i need to reboot into dfu mode, i'd need to unplug and replug the usb cable just to do a usb reset. i'm not too sure if such a utility is after all available on windows as well.

the other preferences (prejudice, including familiarity) is that i find linux as an os environment more conducive to scripting, programming and batch automations with all the shells and commands, this could sometimes be used to bundle repetitive tasks and even automate it such as to find a set of files (unix find command) and do something about them
windows batch files aren't the really good to script and one more often needs to resort to other tools to do something more elaborate

then there are unique use cases, intel compute stick is a hassle to use with windows, u'd need a bunch of peripherals usb power adapter, usb hub (there is only a single port), keyboard, mouse, etc to use it ... 1699377058
i installed linux on it ... stick.html
thereafter i use it as a 'server' install tomcat, apache etc and pretty much use it remotely by doing a ssh shell into it over wifi
the 'desktop' use case failed for the intel compute stick, this remote 'iot' style use case thrived
my plan for its role? run octoprint on it so that i can host my 3d printer over wifi
but yup there is a much cheaper solution which is r-pi, but similarly, r-pi runs ubuntu (linux)

interestingly, Intel compute stick now comes with a 'no os' option, i'd guess Intel got the message :lol: ... stick.html

Posts: 696
Joined: Sat Nov 07, 2015 9:09 am

Re: Linux Journal

Post by racemaniac » Tue Dec 12, 2017 12:30 pm

I just read this: ... uck-s-sake
reminded me of what i still think linux is like (and apparantly sometimes it still is like that ^^')

Posts: 854
Joined: Thu Jul 21, 2016 4:24 pm

Re: Linux Journal

Post by ag123 » Fri Dec 15, 2017 2:58 pm

hi all,

i found this link in the discussion comments thread, a link to purchase the archives (most likely a download) ... id=2869225

not too sure if it's still available

Posts: 1675
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Linux Journal

Post by zmemw16 » Fri Dec 15, 2017 4:06 pm

pretty sure i pulled that, as i have/had a digital subscription. it was a link after i logged in..

just looked at that page again. it's not a LJ site, hence the price.

Posts: 854
Joined: Thu Jul 21, 2016 4:24 pm

Re: Linux Journal

Post by ag123 » Fri Dec 15, 2017 4:41 pm

for those who are not existing subscribers but who are keen about linux, it may be well worth purchasing the archive, it is every issues since the beginning
i've actually been following linux journal partly as the topics covered aren't necessarily linux specific, rather they are linux related and the focus on use cases and apps provides interesting insights to linux related and not necessarily linux technologies, use cases and sciences

for instance this old article describes the use of linux in the production of titanic the movie
today something similar becomes a boinc community distributed computing project

Posts: 1863
Joined: Mon Apr 27, 2015 12:12 pm

Re: Linux Journal

Post by victor_pv » Sun Dec 17, 2017 3:34 pm

RogerClark wrote:
Wed Dec 06, 2017 10:33 am
I got suckered into buying another magazine while on a weekend break, (I forget what its called)...
Roger those breaks are called Weekends, and you should work less and get more of them so you don't forget them! ;)

User avatar
Posts: 1721
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland

Re: Linux Journal

Post by ahull » Mon Dec 18, 2017 2:14 pm

@Ray, dons his Dick Turpin costume and hijacks the thread. :P
- Andy Hull -

Post Reply