lk/basics/kernel.md

35 lines
496 B
Markdown
Raw Permalink Normal View History

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
```bash
sudo modprobe ath9k
```
2020-01-02 00:04:35 +00:00
Or remove one with
```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:
```bash
sudo modprobe -r pcspeaker
```
2022-01-26 21:29:48 +00:00
Permanently disable a module by blacklisting it in `/etc/modprobe.d`:
```bash
echo 'blacklist pcspkr' > /etc/modprobe.d/*nobeep*.conf
```
2021-05-15 14:41:45 +00:00