unify kernel notes
This commit is contained in:
parent
4d53f7c7d6
commit
4250f619c3
@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
title: "kernel"
|
|
||||||
tags: [ "Basics" ]
|
|
||||||
---
|
|
||||||
## Living Space
|
|
||||||
|
|
||||||
Kernel modules live in lib/modules/$(uname -r)
|
|
||||||
|
|
||||||
## Change
|
|
||||||
|
|
||||||
Load them with
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo modprobe ath9k
|
|
||||||
```
|
|
||||||
|
|
||||||
Or remove one with
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo modprove uvcvideo
|
|
||||||
```
|
|
||||||
|
|
||||||
The PC's irritating speaker beep can be really annoying. Disable it with:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo modprobe -r pcspeaker
|
|
||||||
```
|
|
||||||
|
|
||||||
Permanently disable a module by blacklisting it in `/etc/modprobe.d`:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
echo 'blacklist pcspkr' > /etc/modprobe.d/*nobeep*.conf
|
|
||||||
```
|
|
||||||
|
|
@ -1,8 +1,36 @@
|
|||||||
---
|
---
|
||||||
title: "kernel"
|
title: "kernel modules"
|
||||||
tags: [ "system" ]
|
tags: [ "system" ]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Kernel modules live in lib/modules/$(uname -r)
|
||||||
|
|
||||||
|
## Change
|
||||||
|
|
||||||
|
Load them with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
modprobe ath9k
|
||||||
|
```
|
||||||
|
|
||||||
|
Or remove one with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
modprove uvcvideo
|
||||||
|
```
|
||||||
|
|
||||||
|
The PC's irritating speaker beep can be really annoying. Disable it with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
modprobe -r pcspeaker
|
||||||
|
```
|
||||||
|
|
||||||
|
Permanently disable a module by blacklisting it in `/etc/modprobe.d`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
echo 'blacklist pcspkr' > /etc/modprobe.d/*nobeep*.conf
|
||||||
|
```
|
||||||
|
|
||||||
Check which kernel modules are loaded into memory:
|
Check which kernel modules are loaded into memory:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user