Habe heute morgen im Radio vom sog. “nationalen Hitzeschutzplan” (heat shield act?) gehört und in meiner Naivität fing ich bereits an mich zu fragen was wohl beschlossen werden könnte. Etwa der Rückbau von Parkplätzen? Anpflanzen von Bäumen und Grünanlagen in den Innenstädten, um die Temperaturen dort zu senken? Ausbau von öffentlichen Nahverkehr und Fahrrad-Infrastruktur?

Hier dann die Liste der Maßnahmen soweit:

* Warnung per App/SMS
* Ärzte informieren Ältere und Kranke
* Arbeitsgruppe auf nationaler Ebene (da geht es wohl darum ob und wie[viel] z.B. Krankenhäuser und Pflegeheime gefördert werden könnten um die Räume zu kühlen).

Achso. Wir machen also mal wieder das mit den Fähnchen.

Oh und Spoiler: Wir haben bereits eine App, die vor Hitze warnt. Kommt vom DWD (Deutscher Wetterdienst). Die warnt dann halt _jeden verfickten Tag im Sommer GANZ AMTLICH vor Hitze_.

Ja, ich bin gerade sehr gereizt. Ich vertrage Hitze einfach nicht.

Yes, does only support one gamepad. Single digit. This gamer doesn’t care. Here have and in . Vanilla. No mods. Thanks , and ❤️

Mebbe I’ll do a proper recording someday:

No Man’s Sky with headtracking and HOTAS (on Linux PC)

Wondering about that button box? Didn’t use it in this demo but you can find plenty more examples on the channel and more details on my blog: https://beko.famkos.net/category/simpit/

How it’s done? NMS does support a gamepad but it also reads/maps all gamepads to a single device. It makes no difference between multiple gamepads!

This leaves me with a very limited amount of possible buttons on the HOTAS after mapping that to one virtual gamepad using MoltenGamepad (I usually split that one up into multiple gamepads for braindead games).

So for additional buttons I used AntiMicroX to map the rest as keyboard presses.

Doing so I noticed that NMS does “look-around” on the right stick and this is where OpenTrack comes into the play. It offers a joystick output (using evdev) and that is also just… a gamepad! Needs some remapping though to get pitch and jaw to the proper axis for NMS. This is done via SDL env (basically what Steam does under the hood but boy their GUI for that sucks): SDL_GAMECONTROLLERCONFIG="000022e86f70656e747261636b206800,opentrack-to-nms,rightx:a3,righty:a4,platform:Linux,crc:e822,"

And there you have it. NMS with my trusty old X52 Pro and a DIY headtracker for 5 bucks 🤓

PS: I’m aware that the recording quality sucks. This was very spontaneous with a webcam sitting on my chair. I basically just finished my happy dance that this started working properly and decided to smash that recording button. PC was not even in “gamemode”.

Putting this here so I don’t forget it next time: Required packages to build on Linux PC (with joystick output support): dnf install cmake git qt5-qttools-devel qt5-qtbase-private-devel procps-ng-devel opencv-devel libevdev-devel

Originally I was going to replace a disk on my hardware controlled RAID 5. That didn’t work out well. The controller supports hot-plugging but the LED indicator stayed on faulty. To debug this I had to boot into the controller to check for the error message and lo and behold it appears my spare has an invalid block size and the controller is too dumb to format it with another, unlike e.g. sg_format.

And this should have been the end of the story until I can reformat this on another SAS capable PC. Alas grub rescue greeted me on reboot with “error: disk `lvmid/foo/bar` not found.

and I could not persuade it to boot the LVM member. The thing is that this disk is NOT under control of the hardware RAID controller. It’s plain SATA and it’s boot order is before the RAID controller so I really did not expect any trouble here.

Turns out I was running into this rare bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987008 where the words “time-bomb” and “critical” are dropped. The gist is that grub has a bug that prevents it from reading LVM meta data sometimes and this results in a broken bootloader.

This is not fixed with the usual reinstall dance from another boot-able medium. The trick is to manipulate the LVM meta data in some way, e.g. by adding another volume temporary.

This means running a vgscan after booting from another medium and *in my case executing* e.g. lvcreate -L 4M pve -n foo

The name doesn’t matter as it can be removed afterwards. Updating the initramfs should run without errors now and is a good indicator if this worked. Now it’s possible to reboot again.

The two problems have basically nothing to do with each other. It was just my lucky day to run into this sequence of chained issues during my free Saturday night 😩

Oh yeah, meanwhile the RAID recovered also. Another spare was added until I have time to take a closer look at the block size issue.