apt install bbswitch
-
To run bbswitch without bumblebeed on system startup, do not forget to add bbswitch to /etc/modules-load.d.
/etc/modprobe.d/bbswitch.conf options bbswitch load_state=0 unload_state=1
nano /etc/modules-load.d bbswitch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/cred.h> | |
#include <linux/fs.h> | |
MODULE_LICENSE("GPL"); | |
struct task_struct *get_task_struct_by_pid(unsigned pid) | |
{ | |
struct pid *proc_pid = find_vpid(pid); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This document is provided to the public domain under the | |
* terms of the Creative Commons CC0 public domain license | |
*/ | |
How to boot Arch Linux ARM in QEMU (patched for M1) | |
Prerequisites: | |
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu |
OlderNewer