2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "kernel"
|
2022-01-26 21:29:48 +00:00
|
|
|
tags: [ "Documentation", "Basics" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2022-01-26 21:29:48 +00:00
|
|
|
## Living Space
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Kernel modules live in lib/modules/$(uname -r)
|
|
|
|
|
2022-01-26 21:29:48 +00:00
|
|
|
## Change
|
|
|
|
|
2020-01-02 00:04:35 +00:00
|
|
|
Load them with
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo modprobe ath9k
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Or remove one with
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo modprove uvcvideo
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2021-05-15 14:41:45 +00:00
|
|
|
The PC's irritating speaker beep can be really annoying. Disable it with:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo modprobe -r pcspeaker
|
|
|
|
```
|
2022-01-26 21:29:48 +00:00
|
|
|
|
|
|
|
Permanently disable a module by blacklisting it in `/etc/modprobe.d`:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
echo 'blacklist pcspkr' > /etc/modprobe.d/*nobeep*.conf
|
|
|
|
```
|
2021-05-15 14:41:45 +00:00
|
|
|
|