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
Install this: https://github.com/davidjo/snd_hda_macbookpro
### Install Dependencies
```bash
sudo dnf install gcc kernel-devel make patch wget
```
### Clone Project to a Save location
```bash
mkdir -p ~/Drivers && cd Drivers
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
```
## Add Touchbar Drivers
### Include in Dracut
add this to **/etc/dracut.conf.d/macbook.conf**
```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
@ -43,5 +53,9 @@ cd /usr/src/applespi-0.1
### Install Driver
```bash
sudo dkms install -m applespi -v 0.1 -k $(uname -r)
sudo dracut --force
```
### Regenerate Initramfs
```bash
suo dracut --force
```