Sunday, 10 April 2022

Custom live Linux USB image: Working around locked down ThinkPad

At work we are getting pushed into a hot-desking setup and each member of staff is being moved onto a thin client ThinkPad. Of course a thin client is nothing more than a customised and stripped down Windows 10 build that connects to the firm's virtual desktop infrastructure, via a combination of CiscoConnect and VMWare Horizon client.

Since we're being forced to carry the ThinkPad to and from the hot-desk office, I'm going to use the ThinkPad for my own dev purposes en route. The ThinkPad's BIOS is not locked down so we can get into the boot menu via F12 or the BIOS setup via Enter but setting my own dev environment is not straight forward.

Sunday, 27 February 2022

Ardour DAW on Fedora

Whilst audacity is a well known and simple sound editor it has some limitations when compared to digitial audio workstations (DAWs): this space can be fileld with ardour and a number of basic plugins.

Wednesday, 15 December 2021

Dell TB16 docking station with Dell XPS/Fedora 35

With the Thunderbolt enabled laptop there are now more options available to integrate with your different workspaces; a docking station is one that has been a business staple for a long time but a lot of enterprise solutions are pricey but legacy and decontinued solutions exist, such as the Dell TB16 but do they perform?

Friday, 26 November 2021

Fedora 35 on a Dell XPS13 9305

The Dell XPS 93xx (2020/2021) line with its Intel Iris XE integrated graphics has a native Debian developer edition available directly and its interesting to see how this works.

Saturday, 10 April 2021

One of these is not like the other: iPod classic upgrade

One of the great things with electronc devices in previous years was the ability to replace/repair items but also importantly as the device ages, to replae the battery. Apple have a certain reputation when it comes to repairability of their portable devices (iPhones, iPods etc) and its not positive as they cram more and more into smaller spaces. However there is a set of iPod that can be relatively easily self serviced and revived.

iPod 5G

Tuesday, 12 January 2021

Windows drag n drop Batch Image Metadata Updates

Batch modifying the exif metadata on your images (NEF, DNGs, jpegs ....) in Windows can be a little painful. Exiftool is a great tool that can perform the metadata updates but most would associate this with command line updates.

With Windows, there exists a neat tick with batch files that you can drag and drop files onto batch file under Windows explorer and the batch file will accept them as arguments. For example, to set the lens information on any exiftool support file, create the following .bat file and then drag and drop your files!
@echo off FOR %%i IN (%*) DO exiftool -overwrite_original -Lens="Nikkor 20mm f/3.5 AI" -MaxApertureValue="3.5" -FocalLength="20" %%i pause

Monday, 11 January 2021

Overcoming missing DisplayCAL dependacies on recent Linux distros with X11 container

DisplayCAL has been a great free tool to partner your hardware colour calibrator, like your DataColor Spyder etc. However installing this on any of the newer mid-2020 distributions (like Fedora 32 and above) has become problematic due to the python 2 requirements being dropped by a number of distributions.

How can we continue to use your DataColor Spyder with DisplayCAL on a recent linux?

Monday, 4 January 2021

Finally migrating from VMplayer to KVM

I have been running VMware, and in particular VMplayer 12.5.x, on my aging Sandybridge (circa 2010) i7-870 desktop for many years and over many interations of Fedora upgrades there have been fights to get it to continue to work.

Thursday, 31 December 2020

Fixing ffmpeg and failing hardware NVenc/dec following software upgrade

If you find that ffmpeg is no longer able to use your NVidia's card for hardware decode/encode after an OS or software upgrade, ensure your running X11/NV driver and the CUDA libraries are compatible otherwise you will get cryptic error messages:
$ ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda \ -c:v h264_cuvid -i 201231-163836.mkv \ -c:a copy \ -vf scale_npp=-1:720 \ -rc vbr_hq -c:v h264_nvenc \ -b:v 3M -minrate 500k -maxrate 12M \ output.mp4 ... failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error Unable to create device No device available for decoder: device type cuda needed for codec h264

Game Emulation Options on Linux

Emulation for old games, particularly on Linux, can be a bit of a difficult area to navigate. Whilst there are nice standalone setups like retropie, it does need a Raspberry Pi and a display. For those looking to run emulation on their normal OS will have the option of programs like Retroarch, mame and FB Neo. But where to start?

Friday, 18 December 2020

Quick Nintendo Switch joystick comparison: Hori RAP and Fighting Stick Mini

Whilst revisiting Street Fighter on PC and Nintendo Switch I wanted to get a joystick. Hori make 2 joysticks, the Real Arcade Pro V (aka RAP V) or the Fighting Stick Mini, that meet this need but which is most suitable?

Monday, 13 July 2020

Topping E30: another DAC for linux/RPi

The Topping brand has put out various well received budget Chi-fi units over the last few years, and of interest to me, with various USB enabled DACs such as the D90, D50s and so forth. The most recent addition as of Q2 2020, the Topping E30 is a hi-res DAC with an all metal case, requiring 5v ~1A via by a 2.1mm barrel jack. The E30 has traditional inputs and outputs: toslink/coax and USB digital input and RCA out and crucially for me, without the bloat of a headphone amp or bluetooth receiver- a pure DAC.



How does it work with Linux and a RPi music server running forked-daapd.

Sunday, 26 April 2020

Poor sound with Dell onboard Conexant CX20641 / HDA intel soundcard

Some Dell machines have a soundcard that is essentially wired up differently to how some software expects. This can be evident when using the line-out of the machine to go into speakers and finding that there is very poor bass output but can manifest itself in other soundcard jacks not behaving as expected. This is observed during enforced homeschooling on an old Dell Optiplex 390 running Fedora 32.

Verifying the soundcard is using a similar troublesome chipset:
$ dmesg | grep snd_hda_codec_conexant [ 19.026492] snd_hda_codec_conexant hdaudioC0D2: CX20641: BIOS auto-probing. $ lspci -v -d 8086:1c20 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04) DeviceName: Onboard Audio Subsystem: Dell Device 04f5 Flags: bus master, fast devsel, latency 0, IRQ 36 Memory at e4c30000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel

Saturday, 27 July 2019

New Fedora, new VMplayer startup problems

With older machines we have the risk of unsupported software hitting compatib ility problems with each OS upgrade. A recent example of this is running vmplayer 12.5.9 on Fedora 30 which ran fine on Fedo ra 26 .. 28 albiet needing a couple of tweaks

But what's the new problems on Fedora 30 and what are the workarounds?

Wednesday, 17 July 2019

VMWare Horizon >4.8 on linux fails to start: undefined symbols

VMWare Horizon 4.8 works well with Fedora but when your service forces you to move to a later version you will find Horizon client 4.9 and above to fail to start. What to do?

Sunday, 10 March 2019

An easy way to remove duplicate files

After years of backing up files from various harddrives and various folders into new harddrivers and additional various folders, we inevitably get a duplicate music, video and photo files - here are 2 tools that can help clean up: fdupes and exiftool

Wednesday, 6 February 2019

Migrating an old disk to larger disk

The need for more storage is a never ending process but the processes for migrating your old disks to new has never been easier withe collective experience over the years.

But there can still be gotchas if we've been repeating our process of migrating old to new for many many years - one of these gotchas is when you are moving a disk that has its first sector startig at 63 instead of say 2048. What do we do then?

Saturday, 26 January 2019

The Remastered Aeron - What was once Old is New again

The original Herman Miller Aeron has been in the wild since 1994 and has been widely successful in both corporate and domestic office settings. In 2017, after nearly 23 years, Herman Miller released a revamped update, calling it the Remastered Aeron and ended production of the original Aeron later the same year.


(c) Herman Miller

But aside from the revamped looks, weight and features how does the Remastered Aeron sit and feel in the real world?

Thursday, 1 November 2018

Linux cgroups Resource Constraints

Linux cgroups (control groups) have been around for a long time providing varioius functions for resource management and the ability to segregate workloads with their own constraints. cgroups have provided the basis for container engines such as docker that has become so aggressively adopted in enterprises over the last few years.

cgroups are enabled on all contemporary linuxes with systemd being the API to manage them; the system will manage various cgroups organised in:
  • slices - see systemd-cgls where we will typically see system services under the system slice users services, including the segregation for user sessions in another. Encapsulates scopes and services.
  • scopes - parent for a logical grouping of units/services which can be managed (killed/stop/resource managed)
  • services - logical grouping that provides a service, such as the sshd, that are usual started based on configuration in unit files

But how can cgroup and resource controls be useful for a developer?

Sunday, 14 October 2018

VMware Player 12.x with 4.18.x kernels / Fedora 28

A Fedora 26 to Fedora 28 upgrade (with its 4.18.x kernel) broke VMware Player 12.5.7. However upgrading to the newer (14.x or 15.x) versions didn't work so how to fix?