Techblog

Let systemd automount NTFS partitions to ensure successful booting

On my laptop I use a dual-boot setup with a NTFS partition shared between Windows and Linux, containing eg. music. Because the Windows version installed is Windows 10, it could sometimes happen that, in spite of having turned off hybrid shutdown, ntfs-3g would refuse to mount the shared data partition because it was in an unclean state. Continue reading “Let systemd automount NTFS partitions to ensure successful booting”

tslib not recognizing ft6236 touchscreen due to missing ABS_PRESSURE capability

In my earlier post on Complete rotation support for the Adafruit PiTFT 2.8″ capacitive touchscreen display I described that support for the touchscreen has landed in the mainline kernel in form of the ft6236 driver. I also described that my test program would work correctly now. Continue reading “tslib not recognizing ft6236 touchscreen due to missing ABS_PRESSURE capability”

Complete rotation support for the Adafruit PiTFT 2.8″ capacitive touchscreen display

In my previous post, I introduced the PiTFT 2.8″ capacitive touchscreen display and showed some test code. If you played around with that, you might have noticed that with the default /boot/config.txt setting of rotate=90 the display is a landscape mode. Continue reading “Complete rotation support for the Adafruit PiTFT 2.8″ capacitive touchscreen display”

Getting started with the Raspberry Pi 2 and a Adafruit PiTFT 2.8″ capacitive touchscreen display

“We live in an age when unnecessary things are our only necessities” (Oscar Wilde, “The Picture of Dorian Gray”)

Like many others, I bought another Raspberry Pi 2 to play around with, together with an
Adafruit 2.8″ PiTFT capacitive touchscreen
(note that Adafruit has various variants of displays that differ only in details such as resistive or capacitive touchscreen and Raspberry Pi 2 compatibility). Naturally one will like to use the display in both landscape and portrait orientations. Continue reading “Getting started with the Raspberry Pi 2 and a Adafruit PiTFT 2.8″ capacitive touchscreen display”

Workaround for broken O2 Micro SD card reader support since Linux kernel version 4.1.8

On my Dell Latitude E7450 notebook I regularly update to current versions of the Linux kernel. Along with such a Kernel update my notebook’s SD card reader could no longer be initialized properly: Continue reading “Workaround for broken O2 Micro SD card reader support since Linux kernel version 4.1.8”

Setting the MTU on NetworkManager connections

It is August 2015. Unfortunately it is still not possible to manually specify the MTU to be used on non-Ethernet NetworkManager connections (eg. VPN connections but also PPP).

Not that is has not been requested years ago. Choose one of the many bug reports:

Safe for the fact that they’re partially redundant reports, just imagine what would have happened if the devs had simply provided a MTU field for every connection type, empty by default but allowing to explicitly configure one. But no, that would have confused users *rolleyes*

Enough ranting, for VPN connections the workaround remains. Create a script /etc/NetworkManager/dispatcher.d/vpn-up:

#!/bin/sh

if [ "$2" = "vpn-up" ]; then
	/sbin/ifconfig "$1" mtu 1392
fi

Still thinking that it’s sufficient to backup /home before your next distribution upgrade/reinstall? Good luck…

Fixing wireless regulatory support (crda, wireless-regdb) on openSUSE Tumbleweed

On recent SUSE-based distributions such as openSUSE Tumbleweed (and potentially also 13.2), executing iw reg get to check your WiFi device’s regulatory setup will likely get you an output such as this:


global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, NO-IR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, NO-IR
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

Continue reading “Fixing wireless regulatory support (crda, wireless-regdb) on openSUSE Tumbleweed”

Correcting the soundcard order with onboard sound and HDMI output

Like many current devices with HDMI output, my Latitude E7450 offers multiple sound cards but configures the HDMI output as sound card 0 (the default). And xfce’s default sound mixer doesn’t offer switching the default output…

To correct the soundcard order, add this to your /etc/modprobe.d/50-sound.conf (valid for openSUSE 13.2, probably other distros as well):


options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1

Dell Wireless 5809e support in openSUSE 13.2

This post is about getting the LTE card to work that gets built into current Dell Notebooks such as the Latitude E5450/E7450:
Continue reading “Dell Wireless 5809e support in openSUSE 13.2”