FedoraMacbookPro.md aktualisiert

This commit is contained in:
Snoweuph 2024-07-06 18:03:27 +00:00
parent 2626c95a96
commit f646a94cbe

View file

@ -4,26 +4,6 @@
add this udev rule: add this udev rule:
https://raw.githubusercontent.com/wget/realtek-r8152-linux/master/50-usb-realtek-net.rules https://raw.githubusercontent.com/wget/realtek-r8152-linux/master/50-usb-realtek-net.rules
## Fix Audio
Install this: https://github.com/davidjo/snd_hda_macbookpro
### Install Dependencies
```bash
sudo dnf install gcc kernel-devel make patch wget git kernel-devel
```
### Clone Project to a Save location
```bash
mkdir -p ~/Drivers && cd Drivers
git clone https://github.com/davidjo/snd_hda_macbookpro.git
```
### Install it
in the repo folder run
```bash
sudo ./install.cirrus.driver.sh
```
## Add Touchbar Drivers ## Add Touchbar Drivers
### Include in Dracut ### Include in Dracut
add this to **/etc/dracut.conf.d/macbook.conf** add this to **/etc/dracut.conf.d/macbook.conf**
@ -44,12 +24,6 @@ cd macbook12-spi-driver
sudo dkms add . sudo dkms add .
``` ```
### (optional) Fixes for Kernel 6.5^
apply patch from this: https://github.com/prem-prakash/macbook12-spi-driver/pull/1/files#diff-984f3aa56499b4f3f2430ce4ff6da90aa14c970c7cf0acbc11790f566f619926
```bash
cd /usr/src/applespi-0.1
```
### Install Driver ### Install Driver
```bash ```bash
sudo dkms install -m applespi -v 0.1 -k $(uname -r) sudo dkms install -m applespi -v 0.1 -k $(uname -r)
@ -59,3 +33,27 @@ sudo dkms install -m applespi -v 0.1 -k $(uname -r)
```bash ```bash
sudo dracut --force sudo dracut --force
``` ```
## Reboot
## Fix Audio
Install this: https://github.com/davidjo/snd_hda_macbookpro
If you didnt reboot, do it now, it is important, to not have any kernel updates pending when doing this.
### Install Dependencies
```bash
sudo dnf install gcc kernel-devel make patch wget git kernel-devel
```
### Clone Project to a Save location
```bash
mkdir -p ~/Drivers && cd Drivers
git clone https://github.com/davidjo/snd_hda_macbookpro.git
```
### Install it
in the repo folder run
```bash
sudo ./install.cirrus.driver.sh
```