2024-12-31 13:49:16 +01:00
|
|
|
---
|
|
|
|
title: Fedora
|
|
|
|
date: 2024-12-31T13:21:50+0100
|
|
|
|
lastmod:
|
|
|
|
tags:
|
|
|
|
- fedora
|
|
|
|
|
|
|
|
#showDate: false
|
|
|
|
showReadingTime: false
|
|
|
|
showWordCount: false
|
|
|
|
showPagination: false
|
|
|
|
#showAuthor: false
|
|
|
|
showBreadcrumbs: true
|
|
|
|
|
|
|
|
feed_exclude: true
|
|
|
|
# site_exclude: true
|
|
|
|
draft: true
|
|
|
|
---
|
|
|
|
|
|
|
|
## Fedora 41: broken audio on my X1 Carbon Gen7
|
|
|
|
|
|
|
|
Add this to `/etc/modprobe.d/alsa.conf`:
|
|
|
|
|
|
|
|
```conf
|
|
|
|
options snd-intel-dspcfg dsp_driver=1
|
|
|
|
```
|
|
|
|
|
|
|
|
and reboot.
|
|
|
|
|
|
|
|
What devices?
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ lspci | grep -i audio
|
|
|
|
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 11)
|
|
|
|
|
|
|
|
$ inxi -A
|
|
|
|
Audio:
|
|
|
|
Device-1: Intel Cannon Point-LP High Definition Audio driver: snd_hda_intel
|
|
|
|
API: ALSA v: k6.12.7-arch1-1 status: kernel-api
|
|
|
|
Server-1: PipeWire v: 1.2.7 status: active
|
|
|
|
```
|
|
|
|
|
2025-01-01 12:21:30 +01:00
|
|
|
## dnf
|
|
|
|
|
|
|
|
### increase speed
|
2024-12-31 13:49:16 +01:00
|
|
|
|
|
|
|
Add to the end of the config file (`/etc/dnf/dnf.conf`):
|
|
|
|
|
|
|
|
```conf
|
|
|
|
max_parellel_downloads=10
|
|
|
|
fastestmirror=true
|
|
|
|
```
|
2025-01-01 12:21:30 +01:00
|
|
|
|
|
|
|
### keep cache
|
|
|
|
|
|
|
|
Add to `/etc/dnf/dnf.conf`:
|
|
|
|
|
|
|
|
```conf
|
|
|
|
keepcache=1
|
|
|
|
```
|