|
1 | 1 | # t2linux-fedora-kernel |
2 | 2 |
|
3 | | -This is a patched kernel for Fedora on T2 macs. A `dnf` repo is avaliable by installing the `t2linux-repo` package from the latest [release](https://github.com/t2linux/fedora-kernel/releases/latest). |
| 3 | +Patched kernel and supporting packages for hardware enablement on t2 macs. Binary packages are available from [copr](https://copr.fedorainfracloud.org/coprs/sharpenedblade/t2linux). You can also download and install the `copr-sharpenedblade-t2linux-release` package. |
4 | 4 |
|
5 | | -The internal ssd, camera, mic, and the keyboard/trackpad work out of the box. WiFi and Bluetooth work with some extra steps. Read [this](https://wiki.t2linux.org/state/) for information about the latest hardware support. |
| 5 | +The internal ssd, camera, mic, and the keyboard/trackpad work out of the box. WiFi and Bluetooth might work with some extra steps. Read [the wiki](https://wiki.t2linux.org/state/) for information about the latest hardware support. |
6 | 6 |
|
7 | | -This kernel is usually at the same version as the stable Fedora kernel. It is currently built for Fedora 38. |
| 7 | +This kernel is usually at the same version as the stable Fedora kernel. It is currently built for Fedora 39. |
8 | 8 |
|
9 | 9 | ## Instalation |
10 | 10 |
|
11 | 11 | Download the live ISO from [here](https://github.com/t2linux/fedora-iso). Follow the [installation guide](https://wiki.t2linux.org/distributions/fedora/installation/). |
12 | 12 |
|
13 | 13 | ## WiFi/Bluetooth |
14 | 14 |
|
15 | | -Follow the [firmware guide](https://wiki.t2linux.org/guides/wifi/). When you get to the [On Linux](https://wiki.t2linux.org/guides/wifi-bluetooth/#on-linux) section, you can just run `firmware.sh`. |
16 | | - |
17 | | -## Troubleshooting |
18 | | - |
19 | | -- Problem: The touchbar is not working and is blank |
20 | | - Solution: Reboot into MacOS Recovery by holding `command`+`r` while booting up, then reboot into Fedora again. |
21 | | - |
22 | | -- Problem: Suspend is not working |
23 | | - Solution: Put this in `/usr/lib/systemd/system-sleep/rmmod_wifi.sh`: |
24 | | - ```bash |
25 | | - #!/usr/bin/env bash |
26 | | - if [ "${1}" = "pre" ]; then |
27 | | - modprobe -r brcmfmac_wcc |
28 | | - modprobe -r brcmfmac |
29 | | - elif [ "${1}" = "post" ]; then |
30 | | - modprobe brcmfmac |
31 | | - fi |
32 | | - ``` |
| 15 | +Follow the [firmware guide](https://wiki.t2linux.org/guides/wifi/). |
33 | 16 |
|
34 | 17 | ## Building from source |
35 | 18 |
|
36 | 19 | Clone this repo locally: |
37 | 20 |
|
38 | 21 | ```bash |
39 | | -git clone --depth 1 https://github.com/t2linux/fedora-kernel |
40 | | -cd t2linux-fedora-kernel |
| 22 | +git clone --depth 1 https://github.com/t2linux/fedora t2-fedora |
| 23 | +cd t2-fedora |
41 | 24 | ``` |
42 | 25 |
|
43 | | -Then run the build container, which has dependencies already installed. The packages will be in the `_output` directory: |
| 26 | +Then run the build container, which has dependencies already installed. The packages will be in `builddir`: |
44 | 27 |
|
45 | 28 | ```bash |
46 | 29 | podman run -it -v "$PWD":/repo ghcr.io/t2linux/fedora-dev:latest /repo/build-packages.sh |
|
0 commit comments