FedoraMacbookPro.md aktualisiert

This commit is contained in:
Snoweuph 2024-07-06 14:34:41 +00:00
parent 0a25b93a7f
commit 1de8cf2bac

View file

@ -7,18 +7,28 @@ https://raw.githubusercontent.com/wget/realtek-r8152-linux/master/50-usb-realtek
## Fix Audio ## Fix Audio
Install this: https://github.com/davidjo/snd_hda_macbookpro Install this: https://github.com/davidjo/snd_hda_macbookpro
### Install Dependencies
```bash ```bash
sudo dnf install gcc kernel-devel make patch wget sudo dnf install gcc kernel-devel make patch wget
```
### Clone Project to a Save location
```bash
mkdir -p ~/Drivers && cd Drivers mkdir -p ~/Drivers && cd Drivers
git clone https://github.com/davidjo/snd_hda_macbookpro.git git clone https://github.com/davidjo/snd_hda_macbookpro.git
cd snd_hda_macbookpro ```
### Install it
in the repo folder run
```bash
./install.cirrus.driver.sh ./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**
```bash ```bash
sudo echo 'add_drivers+="applespi intel_lpss_pci spi_pxa2xx_platform apple-ib-tb"' >> /etc/dracut.conf.d/macbook.conf add_drivers+="applespi intel_lpss_pci spi_pxa2xx_platform apple-ib-tb"
``` ```
### Install DKMS ### Install DKMS
@ -43,5 +53,9 @@ 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)
sudo dracut --force ```
### Regenerate Initramfs
```bash
suo dracut --force
``` ```