Skip to content

Instantly share code, notes, and snippets.

View Redecorating's full-sized avatar
💭
procrastinating but also needs to study more

Orlando Chamberlain Redecorating

💭
procrastinating but also needs to study more
View GitHub Profile
@Scherso
Scherso / MacBook-Air-9-1-T2-Arch-Install.md
Last active December 31, 2023 17:45
Macbook Air 2020 T2 Arch Linux Installation Guide
From 33f7204019f71a060048fde1230a23a71c9659d8 Mon Sep 17 00:00:00 2001
From: Francesco Ognibene <ogibenefra@gmail.com>
Date: Thu, 10 Jun 2021 15:09:41 +0200
Subject: [PATCH 1/3] brcmfmac move brcmf_mp_device into its own header
---
.../broadcom/brcm80211/brcmfmac/common.h | 36 +++---------------
.../broadcom/brcm80211/brcmfmac/settings.h | 37 +++++++++++++++++++
2 files changed, 42 insertions(+), 31 deletions(-)
create mode 100644 drivers/net/wireless/broadcom/brcm80211/brcmfmac/settings.h
@kevineinarsson
kevineinarsson / 91-pulseaudio-custom.rules
Last active February 10, 2022 01:38
MBP 16,1 System configuration files for the T2 audio driver (https://github.com/MCMrARM/mbp2018-bridge-drv/)
SUBSYSTEM!="sound", GOTO="pulseaudio_end"
ACTION!="change", GOTO="pulseaudio_end"
KERNEL!="card*", GOTO="pulseaudio_end"
SUBSYSTEMS=="pci", ATTRS{vendor}=="0x106b", ATTRS{device}=="0x1803", ENV{PULSE_PROFILE_SET}="apple-t2.conf"
LABEL="pulseaudio_end"
@sameo
sameo / vfio.md
Last active September 28, 2023 03:53

VFIO

Not KVM bound. The VFIO API deconstructs a device into regions, irqs, etc. The userspace application (QEMU, cloud-hypervisor, etc..) is responsible for reconstructing it into a device for e.g. a guest VM to consume.

Boot with intel_iommu=on.

IOMMU groups

Devices are bound together for isolation, IOMMU capabilities and platform topology reasons. It is not configurable.

@ernierasta
ernierasta / sway-record
Last active August 18, 2022 19:36
Swaywm screen and audio recording
#!/bin/bash
# Sway WM screen + audio recorder
# original author: Aaron D. Fields
# blog post: https://blog.spirotot.com/2017/08/21/a-dirty-hack-to-enable-acceptable-sway-wm-screen-recording/
# currently error 503 :-(
#
# Updated version: ernierasta
# Repo: https://gist.github.com/ernierasta
#
# Changelog: