FedoraMacbookPro.md hinzugefügt
This commit is contained in:
commit
c85ebf165c
1 changed files with 46 additions and 0 deletions
46
FedoraMacbookPro.md
Normal file
46
FedoraMacbookPro.md
Normal file
|
@ -0,0 +1,46 @@
|
|||
# Macbook Pro 2017 13,3" Touch
|
||||
|
||||
## Fix usb ehternet:
|
||||
add this udev rule:
|
||||
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
|
||||
|
||||
```bash
|
||||
dnf install gcc kernel-devel make patch wget
|
||||
mkdir -p ~/Drivers && cd Drivers
|
||||
git clone https://github.com/davidjo/snd_hda_macbookpro.git
|
||||
./install.cirrus.driver.sh
|
||||
```
|
||||
|
||||
## Add Touchbar Drivers
|
||||
### Include in Dracut
|
||||
```bash
|
||||
sudo echo 'add_drivers+="applespi intel_lpss_pci spi_pxa2xx_platform apple-ib-tb"' >> /etc/dracut.conf.d/macbook.conf
|
||||
```
|
||||
|
||||
### Install DKMS
|
||||
```bash
|
||||
sudo dnf install dkms
|
||||
```
|
||||
|
||||
### Add driver files to DKMS
|
||||
```bash
|
||||
cd /tmp
|
||||
git clone https://github.com/marc-git/macbook12-spi-driver
|
||||
cd macbook12-spi-driver
|
||||
sudo dkms add .
|
||||
```
|
||||
|
||||
### 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
|
||||
```bash
|
||||
sudo dkms install -m applespi -v 0.1 -k $(unamr -r)
|
||||
sudo dracut --force
|
||||
```
|
Loading…
Reference in a new issue