Git Product home page Git Product logo

wiki's People

Contributors

adityagarg8 avatar angelobdev avatar appleplectic avatar dependabot[bot] avatar emmmatech avatar flaw avatar github-actions[bot] avatar glutamatt avatar igorsantos07 avatar jpyke3 avatar kekrby avatar lemmyg avatar mahboobkarimian avatar micl2e2 avatar netnef avatar networkexception avatar nihui avatar nikodunk avatar noahimesaka1873 avatar realark avatar redecorating avatar s4dt0y avatar sandybunting avatar sharpenedblade avatar soopyc avatar sprunglicious avatar tellowkrinkle avatar thepolarbear0818 avatar vanwijkdave avatar vimproved avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wiki's Issues

wiki does not have any advice/suggestions for what to do if applesmc cannot be loaded

Unable to load applesmc on a Macmini8,1 (A1993) for fan control

[10:09:28] root@mini:~/src/mbpfan▸master# modprobe applesmc
modprobe: ERROR: could not insert 'applesmc': Input/output error
[10:11:26] root@mini:~/src/mbpfan▸master# 

dmesg:

[   61.148266] applesmc: probe of applesmc.768 failed with error -5
[  118.852271] applesmc: driver init failed (ret=-5)!

Linux version: Linux version 5.19.7-2-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_DYNAMIC PVE 5.19.7-2 (Tue, 04 Oct 2022 17:18:40 +

Any ideas of what could be causing this/how I can fix it? I have reset SMC (hold cmd+opt+r+p till 2nd chime)

Wifi guide might need some improvements?

I have a Macmini8,1 and I'm dual-booting with Mint (Ubuntu-based).

While the wiki helped me with many steps on solving the wifi issues, a few things left me a bit lost / might need correction / improvements:

  • it's not clear if we need to patch the current kernel to get wifi to work. There are a lot of steps involved in identifying the firmware files, but these are also a bit unclear - kernel compilation is only necessary when retrieving files from Big Sur? Is it ok to use a Mojave firmware? I'm running Monterey, got its firmware, but when loading all I had was FW failed to load
  • then, following this thread (and giving up and skipping to the end) I decided to download the firmware instead as suggested, and it seems to work fine...
  • Except that I get stuck in a password loop (which, when googling, yields a plethora of different "solutions", no clue how to start debugging). Could this be related some missing step? I tried using iwd as suggested in the wiki (Ubuntu installs 1.5) but the iwd service can't start here. Using wpa_supplicant as backend yields the same loop (is it the default backend?)

Error on WIFI

Hi, I'm getting this error while trying to make wifi works.

Detected Linux
Re-mounting the EFI partition
Getting WiFi firmware
Setting up WiFi
Traceback (most recent call last):
  File "/tmp/apple-wifi-efi/wifi.sh", line 279, in <module>
    col = WiFiFWCollection(sys.argv[1])
  File "/tmp/apple-wifi-efi/wifi.sh", line 177, in __init__
    self.load(source_path)
  File "/tmp/apple-wifi-efi/wifi.sh", line 197, in load
    k, v = i.split("-", 1)
ValueError: not enough values to unpack (expected 2, got 1)

Following debian t2 installation guide: `E: Unable to locate package tiny-dfr`

I am following this guide. I have run the update_t2_kernel command without errors (although it took a lot of work and debugging to get there...). My wifi is working as expected. The problem is that when I try to run

sudo apt install tiny-dfr

I get the error Unable to locate package tiny-dfr. I am pretty sure I added the correct repo with the following command:

curl -s --compressed "https://adityagarg8.github.io/t2-ubuntu-repo/KEY.gpg" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg >/dev/null
sudo curl -s --compressed -o /etc/apt/sources.list.d/t2.list "https://adityagarg8.github.io/t2-ubuntu-repo/t2.list"
sudo apt update

In fact, I took a look at the repo added to the sources, and tiny-dfr is not present there...Perhaps there is a mistake in the docs?

Is there anyone who can help me find out what I'm doing wrong here? I am really itching to not have to carry a wired keyboard and mouse with me everywhere. Thanks!

Wifi - macOS stage, which disk I should choose?

#500 - I want reference to firmware.sh. What does actually EFILABEL mean?
EFILABEL=$(diskutil info disk0s1 | grep "Volume Name" | cut -d ":" -f 2 | xargs)

after sh firmware.sh I got:
Volume on disk0s1 failed to mount because it appears to be an APFS Physical Store (or is the APFS Container already mounted?) See "diskutil apfs list"

after diskutil apfs list
Which one I should choose?

|
+-- Container disk1 53B29EDF-E9A...
    ====================================================
    APFS Container Reference:     disk1
    Size (Capacity Ceiling):      225702391808 B 
    Capacity In Use By Volumes:   191816499200 B
    Capacity Not Allocated:       33885892608 B 
    |
    +-< Physical Store disk0s1 19DA1478-1AA....
    |   -----------------------------------------------------------
    |   APFS Physical Store Disk:   disk0s1
    |   Size:                       225702391808 B (225.7 GB)
    |
    +-> Volume disk1s1 00DD5A2C..
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s1 (Data)
    |   Name:                      Macintosh HD – dane (Case-insensitive)
    |   Mount Point:               /System/Volumes/Data
    |   Capacity Consumed:         175827320832 B 
    |   Sealed:                    No
    |   FileVault:                 No (Encrypted at rest)
    |
    +-> Volume disk1s2 5B3BE696..
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s2 (Preboot)
    |   Name:                      Preboot (Case-insensitive)
    |   Mount Point:               /System/Volumes/Preboot
    |   Capacity Consumed:         2315165696 B (2.3 GB)
    |   Sealed:                    No
    |   FileVault:                 No
    |
    +-> Volume disk1s3 F03256AE-...
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s3 (Recovery)
    |   Name:                      Recovery (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         1228713984 B (1.2 GB)
    |   Sealed:                    No
    |   FileVault:                 No
    |
    +-> Volume disk1s4 40A0BE3...
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s4 (VM)
    |   Name:                      VM (Case-insensitive)
    |   Mount Point:               /System/Volumes/VM
    |   Capacity Consumed:         2147700736 B (2.1 GB)
    |   Sealed:                    No
    |   FileVault:                 No
    |
    +-> Volume disk1s5 75A1807C-F...
        ---------------------------------------------------
        APFS Volume Disk (Role):   disk1s5 (System)
        Name:                      Macintosh HD (Case-insensitive)
        Mount Point:               Not Mounted
        Capacity Consumed:         10129379328 B (10.1 GB)
        Sealed:                    Yes
        FileVault:                 No (Encrypted at rest)
        |
        Snapshot:                  EF761142-32....
        Snapshot Disk:             disk1s5s1
        Snapshot Mount Point:      /
        Snapshot Sealed:           Yes```

Adding install step for bluetooth on Arch/EndeavourOS

Hi, I've successfully installed EndeavourOS on my Mac Mini 2018 (loving it, thank you so so so much). I wasn't able to use Bluetooth and after help from @Redecorating on Discord, I learned it isn't enabled by default on Arch(-derivatives).

The command sudo systemctl enable --now bluetooth made it work without any issue. Would it be worth adding this to the EndeavourOS installation guide?

Thank you all for you hard work with this, it's great to be able to properly use this MacMini, finally!!

Backlight config suggestion

Hey friends! I have a suggestion for the docs.

If you're using a hybrid graphics setup, you can configure Xorg to use a specific /sys/class/backlight/ directory to manage brightness. This makes tools like xorg-xbacklight work.

# /etc/X11/xorg.conf.d/10-backlight.conf

Section "Device"
        Identifier "Card0"
        Driver "intel"
        BusID "PCI:0:2:0"
        Option "Backlight" "acpi_video0"  # <-- /sys/class/backlight/${DIRNAME}
EndSection

Fedora installation guide needed?

Hey there,

Thanks for the great site. I'm writing this from a fully-working (minus speakers - headphones only) t2 Macbook Air 8,2.

I followed the directions in the Ubuntu guide, but did them with the Fedora builds linked here. I only had to follow the WiFi and Audio setup wikis afterwards - everything worked out of the box.

Would it be helpful if I clone the Ubuntu Installation guide, customize it to Fedora (though it literally works unchanged) and PR? Or does this increase the maintenance burden. One could also remark at the top of the Ubuntu guide that this works unchanged for Fedora too.

Thanks again!

The `Hybrid Graphics` guide results in a black screen on MBP16,1

Hi! First of all, thanks a lot for this project; it's been amazingly helpful to get a working keyboard, Wi-Fi, and other somewhat important stuff out of the box :D

However, I can't seem to get hybrid graphics working as described in the corresponding guide, which is especially strange considering it explicitly states that it should work on the MBP16,1. Whenever I set the apple_set_os kernel parameter via my GRUB config and run echo "options apple-gmux force_igd=y" | sudo tee /etc/modprobe.d/apple-gmux.conf, I just get a black screen on the subsequent reboot. (I can see the logs running for a second or so, then I assume the switch to iGPU happens, and the screen goes dark.) The only way to get out of this is to forcefully shut down the machine and then reboot it, omitting the apple_set_os parameter. Interestingly enough, journalctl -b -1 suggests there were no graphics-related errors, and the system successfully reached the login screen before I pressed the power button. I understand that this whole issue originally stems from Apple firmware shutting down the iGPU if you try to boot something other than macOS (wow, thanks Apple, very helpful!). However, to be quite frankly honest with you, I have never encountered problems related to powered-down graphics cards, so I'm not sure if this is what's happening in this exact case, as I would expect at least some graphics errors to show up if the system tries to use a disabled GPU.

If I remove either apple_set_os or /etc/modprobe.d/apple-gmux.conf, the device boots fine. In the first case, the iGPU is not recognized at all (i.e., it's not listed via lspci), and in the latter, it is recognized, but the dGPU is used by default. So, at least this part seems to work as expected.

Also, I tried to effectively replace apple-gmux.conf with the modprobe.blacklist=amdgpu kernel parameter (I don't really need hybrid graphics in the end of this journey, I just would love to bring the power consumption of the MBP down as much as possible), hoping it would result in a switch to the iGPU because the dGPU is simply not available. This does happen (at least according to glxinfo), but this approach produces some weird graphical artifacts (e.g., the cursor leaves a Windows 97-ish trail behind itself and other fun stuff), and the power consumption is still really high, signifying that the dGPU is not properly shut down, which is honestly to be expected with such a barbaric approach.

Additionally, I had a theory that the iGPU is working just fine, but the brightness is simply defaulted to 0. However, neither trying to bring it up via the touchbar, nor automatically setting /sys/class/backlight/gmux_backlight/brightness to a reasonable value like 32000 on startup helped, so, sadly, I guess this is not the case.

So, at this moment, I'm a little bit lost and would greatly appreciate a bit of assistance if somebody knows what is happening here and why :)


A bit more information on the steps that led me to this predicament:

  1. Follow the Pre-Install guide to the letter and opt-in for t2linux/fedora-iso.
  2. Copy the Wi-Fi firmware from macOS.
  3. Update the system (the kernel gets bumped to 6.8.10-300.t2.fc40.x86_64 atm).
  4. Follow the Hybrid Graphics guide to the letter.
  5. Get a black screen.
  6. Try intel_iommu=on iommu=pt pcie_ports=compat.
  7. Get a black screen.
  8. Try echo apple-bce | sudo tee /etc/modules-load.d/t2.conf.
  9. Get a black screen.
  10. Try a bunch of homebrewed approaches described above to fix the issue.
  11. Get a black screen.
  12. Re-install the system to start fresh.
  13. Once again, follow the Pre-Install guide.
  14. Copy the Wi-Fi firmware from macOS.
  15. Do not update the system; stay with kernel 6.7.7-200.t2.fc40.x86_64.
  16. Follow the Hybrid Graphics guide.
  17. Get a black screen.

WiFi not working on MacBookPro15,1

Been trying to get my WiFi working all day today 9-23-21

I follow https://wiki.t2linux.org/guides/wifi/ to a tee but for some reason it is not working

I’ve even used the Mojave firmware and I get a little success I actually get a wlan0 and iwtcl can see my network. Put passcode in and I keep getting Operation Failed no errors

When I don’t use Mojave firmware and use regular bugSur I run iwtcl and it can’t find my network. there is no wlan0

Running journalctl -k —grep=brcmfmac shows everything is working fine with Mojave firmware

Running same command with bigSur firmware I get error -2

is WiFi really this hard lol just wondering

Please fix I would like to install X and use arch Linux as my main driver

Balena Etcher Privacy Concerns

I noticed that the Pre-Install guide on the wiki recommends Balena Etcher as a GUI program to flash bootable USB drives. I understand that Etcher is a user-friendly program, however I don't think it should be recommended due to their rocky privacy track record. balena-io/etcher#2057 shows that Etcher sends requests on startup unprompted (at least without an explicit opt-out). This is questionably in violation of the GDPR. The ArchWiki puts Etcher under "Inadvisable methods" on this page because of analytics and first-party advertising. As an alternative, USBImager would probably be good.

Guides: Write dedicated compile guide

Currently distributions/ubuntu/building is used as the patching and compiling a kernel guide. Besides that not being easy to discover by a user, the article also makes a lot of assumptions and gives instructions without much explentation of the steps.

audio with esayeffects only on left side speakers

Hi, GREAT WORK!

i have applayed the configs for the audio with esayeffects, and the sound is muche better, but ther is a caviat: only sound from letft side speakers. I´m fedora40-kde-mbp iso and macbookpro16,1.
Thanks in advance for you help

Issues regarding the Hybrid Graphics switching

Hi all, got an issue regarding the Hybrid Graphics switching

Device and general info:

  • 16 inch 2019 MacBook Pro, pretty baseline except the 32GB RAM upgrade.
  • Got ubuntu installed and its running 22.0.4.
  • Using ReFind for booting and Ubuntu install which boots using GRUB

Issue
Basically there are two issues which might be linked together:

-My Ubuntu install isn't able to switch to the GPU using the gpu-switch -i command. glxinfo | grep "OpenGL renderer just outputs the AMD card. However the system does recognise the internal graphics when running lspci -s 00:02.0.

-When booting into MacOS using ReFind - after using Ubuntu with the custom graphics- resuming from sleep leaves the device with a black screen, everything works (can see the programs I open using spotlight via my Touch Bar) but the screen is just black. This issue doesn't appear when booting MacOS via the default Bootmanager.

Other Info
When first setting up hybrid graphics with this guide: https://wiki.t2linux.org/guides/hybrid-graphics/ it seemed to work. I started noticing the issue only after I booted into MacOS and everything fell apart.

Hope someone might be able to help with this one, thanks!

Issues when running "sudo dkms install -m apple-ibridge -v 0.1" on OpenSUSE Tumbleweed

feedback:
Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.14.0-1-default...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.0-1-default (x86_64)
Consult /var/lib/dkms/apple-ibridge/0.1/build/make.log for more information.

/var/lib/dkms/apple-ibridge/0.1/build/make.log :

DKMS make.log for apple-ibridge-0.1 for kernel 5.14.0-1-default (x86_64)
Sun Sep 12 07:51:20 PM CST 2021
make -C /lib/modules/5.14.0-1-default/build M=/var/lib/dkms/apple-ibridge/0.1/build modules
make[1]: Entering directory '/usr/src/linux-5.14.0-1-obj/x86_64/default'
CC [M] /var/lib/dkms/apple-ibridge/0.1/build/apple-ibridge.o
CC [M] /var/lib/dkms/apple-ibridge/0.1/build/apple-ib-tb.o
CC [M] /var/lib/dkms/apple-ibridge/0.1/build/apple-ib-als.o
/var/lib/dkms/apple-ibridge/0.1/build/apple-ib-als.c: In function ‘appleals_config_iio’:
/var/lib/dkms/apple-ibridge/0.1/build/apple-ib-als.c:490:50: error: ‘struct iio_dev’ has no member named ‘id’
490 | iio_dev->id);
| ^~
make[3]: *** [/usr/src/linux-5.14.0-1/scripts/Makefile.build:272: /var/lib/dkms/apple-ibridge/0.1/build/apple-ib-als.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-5.14.0-1/Makefile:1865: /var/lib/dkms/apple-ibridge/0.1/build] Error 2
make[1]: *** [../../../linux-5.14.0-1/Makefile:220: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-5.14.0-1-obj/x86_64/default'
make: *** [Makefile:13: all] Error 2

Touchbar stop working after lid closed

Hello !

First of all thank you for this amazing repo which saved my life to setup ubuntu on my mac, but I still have a problem with the touchbar. When I boot it works well but as soon as I close the lid, it locks and shut down the touch bar and does not work anymore. I need to reboot to make it work again. It also might be good to mention that after I close the lid and I open again, the login screen takes some time to appear. My guess is that it tries to launch the touchbar but is unable to do so.
This issue does not seem to happen when I lock with win+l. I'm on a Macbookpro16,1 with ubuntu 22.04.

Thanks for your help !

Copy Wifi Firmware Script is Incompatible with older Versions of MacOS

I'm not sure where to report this.

The pre-installation instructions say to run a script to copy the wifi firmware: https://wiki.t2linux.org/guides/preinstall/#copy-wi-fi-firmware

This script is incompatible with older versions of MacOS, and the instructions don't include options for users who can't use newer versions of MacOS. Tghe error message states:

"This script is compatible only with macOS Monterey or later. Please upgrade your macOS."

I cannot switch to a newer MacOS without making the Finder and other apps painfully unreadable.

Loss of keyboard and mouse

*computer(2019 MBP) accepts t2 iso
*keyboard and trackpad also work
*try to run management software required by my work
*after running management script, Wi-Fi, keyboard and trackpad now not functional.

is there a script to call them manually?

I have had to re-install a couple of times because random stuff will turn off keyboard and trackpad and I can’t get them back

Bluetooth firmware failing to load

Im currently running Linux 6.2.13-300.mbp.fc38.x86_64 x86_64 kernel on fedora and am struggling to get my bluetooth to work. rfkill does not see the adapter, and the output of journalctl -k --grep=0000:01:00.1 is

May 06 13:39:50 elixi kernel: pci 0000:01:00.1: [14e4:5fa0] type 00 class 0x028000 May 06 13:39:50 elixi kernel: pci 0000:01:00.1: reg 0x10: [mem 0x91810000-0x91817fff 64bit] May 06 13:39:50 elixi kernel: pci 0000:01:00.1: reg 0x18: [mem 0x91400000-0x917fffff 64bit] May 06 13:39:50 elixi kernel: pci 0000:01:00.1: supports D1 D2 May 06 13:39:50 elixi kernel: pci 0000:01:00.1: PME# supported from D0 D1 D2 D3hot D3cold May 06 13:39:50 elixi kernel: pci 0000:01:00.1: Adding to iommu group 10 May 06 13:39:55 elixi kernel: hci_bcm4377 0000:01:00.1: can't disable ASPM; OS doesn't have ASPM control May 06 13:39:55 elixi kernel: hci_bcm4377 0000:01:00.1: enabling device (0000 -> 0002) May 06 13:39:55 elixi kernel: hci_bcm4377 0000:01:00.1: Unable to load firmware; tried 'brcm/brcmbt4377b3-apple,formosa-u.bin' and 'brcm/brcmbt4377b3-apple,formosa.bin' May 06 13:39:55 elixi kernel: hci_bcm4377 0000:01:00.1: Failed to load firmware May 06 13:39:55 elixi kernel: hci_bcm4377: probe of 0000:01:00.1 failed with error -2

any idea what i could do or how to approach this issue?

EOS ships with Bluetooth disabled

https://wiki.t2linux.org/guides/wifi-bluetooth/ says:

If you're running Arch or EndeavourOS and have apple-bcm-firmware installed, you do not need to follow this guide.

But that is not true, at least the T2 EOS disables Bluetooth to 100% and you need to systemctl enable --now bluetooth to even be able to trun on/off bluetooth.
Only then Bluetooth will actually work and allow you to tur it on/off,connect or tether.

Let me know if it is OK to make a PR to add said notice.

Touchbar not working

Hello,

I recently installed EndeavourOS (offline install) on my 2018 MBP (15 inch) by following the directions on the wiki; however, after installation, the touchbar does not work (i.e. it seems to be completely turned off/black screen). What is also of note is that the bar did momentarily turn on the first time I booted into linux, but turned off and has stayed off (no matter how many reboots) ever since.

Therefore, I followed the instructions for configuring after install. I am using systemd-boot, so I appended intel_iommu=on iommu=pt pcie_ports=compat to the options line (config file in /efi/loader/entries). I ran echo apple-bce | sudo tee /etc/modules-load.d/t2.conf, then restarted and ran the script for setting up the touch bar as indicated in the wiki.

However, upon running sudo touchbar, it gives the following error:

bash: line 1: /sys/class/input/*/device/fnmode: No such file or directory

and the touchbar is still off.

I did realize that the driver apple_ib_tb was missing, so I installed them following the directions here: https://github.com/t2linux/apple-ib-drv

However, it does not seem to work.

Any help would be greatly appreciated!

Hybrid graphics not working on MBP 16,1

Going through the hybrid graphics configuration steps, I'm getting stuck at step #3 where the "spoof" efi file loads but fails to load the original efi file. It shows a message like "Unable to boot bootx64_original.efi".

I am running dual-boot (Big Sur & Ubuntu) through refind. I would like to hear ideas on how to troubleshoot and resolve this, as the macbook is heating a lot due to the main graphic card being active all the time. Battery usage is also dramatically affected by this.

I've added a guide for Tails (i.e. Debian proper) - want to link it as a distro in the t2linux wiki?

I just created this: https://github.com/T2minator/mbp-tails

Thank you for all the work you and everyone have done so far! It helped me a lot.

Why my Tails guide may be useful to list under 'distributions' at https://wiki.t2linux.org/ (alongside mbp-ubuntu, mbp-fedora, linux-mbp-arch, mbp-majnaro):

  • Tails is a well-known and respected distro in its own right.

  • My steps are a good reference for patching a live Debian disk to work with T2 machines (Tails = Debian Live). There was no guide on the Internet for doing it start to finish, I had to make mine. It fills a gap

  • My instructions are another alternative to https://wiki.t2linux.org/distributions/ubuntu/building/ - may help Debian-based or Debian-like users looking for more than one way to compile the kernel, since it's so new for them and there's a lot to learn, try, and troubleshoot.

  • Ubuntu really is quite different to Debian proper when you get into the details. And although there's a ton of Tails anonymity safety tips as appropriate for that distribution, my steps = 'Debian'.

  • Since Tails keeps its kernel quite recent, I'll help document how aunali1's continual patches work, for Debian-based systems. If anything goes south, I'll be the first to let everyone know. I will be a daily T2Tails user.

  • I have unique insights to offer: aligned with my particular use case (of paranoid privacy and anonymity), I will be disconnecting most of the T2-connected internal hardware in my 2019 MBP. As a side benefit, this may have an effect to reduce or even eliminate the dreaded kernel panics altogether - I'll find out. Has anyone tried that with T2 hardware yet? Maybe I'll be the first.

  • I might also evolve to modifying an existing ISO (or making one) with helpful steps (not just a monolithic script), which is yet another gap not filled yet (in the t2linux wiki). It may however be a little too specific to the Tails process of making an ISO.

  • I'm open to making my instructions or eventual 'T2Tails' ISO feature to be complete for all aspects of T2 hardware (including Wifi), if others test it at least.

I am still early on in daily Linux T2 / kernel crash life, but expect to find out and will document tips in my README.

Cheers!

dnf system-upgrade?

Hello,

couldn't ifnd anything related to this in the documentation - is it possible to upgrade to F39 using dnf system-upgrade?

Thanks!

Experience concerning rEFInd blank screen

In the rEFInd documentation, an issue about rEFInd being stuck on a white screen is discussed.
It happened to me, and would not work back even after a proper successful boot.
What worked for me with was to surprisingly theme my rEFInd (using the Minimal Theme) and I was able to properly navigate the menu to boot into Ubuntu.

I thought it might help people in the same situation if it appeared on the doc, though it's just my use case and might be unreliable.

Slow Wifi on Kubuntu and a workaround for it

First I have to say thanks for the t2linux wiki. Great job! I didn't expect to have Linux properly running on my machine until I followed the steps of the Wiki and nearly everything was instantly working. This is awesome.

I installed Ubuntu with Gnome first and had - of course - no Wifi at all initially, but following your guide I was able to get a connection. It was fast and the ping was low. Later on I decided to switch to Kubuntu and did a fresh install of that. Again I followed your guide, again I had some connection but now it was quite bad:

Ubuntu Wifi performance: ~ 260 MBit/s, Ping ~7ms
Kubuntu Wifi performance: ~ 40-50 MBit/s, Ping 12 - 15ms

Both measured via fast.com

I have no idea why different user interfaces (Gnome vs KDE) have different Wifi performances, maybe that's not the case and there's another reason for that.

But: I could fix it by disabling ipv6.

  1. Check if ipv6 is actually enabled by typing ip a in terminal and cneck if there's an entry inet6 for wlan0 - if not, ipv6 is not active
  2. Add some script and save it to for instance ~/startup/disable-ipv6.sh with following content:

#!/bin/bash

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1

echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

exit 0

  1. Add a cronjob to execute that script every minute:

Type sudo crontab -e in terminal - then add new line:
* * * * * /home/username/startup/disable-ipv6.sh

  1. Wait a minute, type ip a again and check if inet6 entries disappeared

That's all.

For sure there's a smarter way to execute that script than a cronjob running every minute. But this was the only thing that worked for me. I also tried with @reboot inside crontab, I tried adding it to /etc/rc.local and some more things. Nothing worked.

Maybe it's worth adding that into the Wiki.

My machine:
Macbook Pro 2018 15" with i7
A1990
BCM4364 802.11ac Wireless Network Adapter

modprobe: FATAL: Module hci_bcm4377 not found.

I'm trying to get the WiFi working on my installation of Ubuntu(I'm using the T2 version) and I am following the guide from theWiFi guide on the t2linux website.

I have have successfully ran the firmware.sh script on MacOS but when I run it on Linux I get this error:

Detected Linux
Re-mounting the EFI partition
Getting Wi-Fi and Bluetooth firmware
Setting up Wi-Fi and Bluetooth
modprobe: FATAL: Module hci_bcm4377 not found.

I am using a 2019 iMac, 19,1 model with Monterey freshly installed.

Is there anything I can do to fix this?

Bluetooth support for Ubuntu 21.10 ?

The guide doesn't mention anything about Bluetooth. Is Bluetooth somehow assumed to work out of the box? I have seen the driver works perfectly on Ubuntu 20.04 on my MBP 16,1, but after migrating to 21.10 it no longer works. Currently running kernel 5.11.10 with @aunali1 patches.

The 'demsg commad |grep Bluetooth' shows the following:

[ 24.657447] Bluetooth: hci0: BCM: failed to write update baudrate (-16)
[ 24.657460] Bluetooth: hci0: Failed to set baudrate
[ 24.780703] Bluetooth: hci0: BCM: chip id 150
[ 24.781514] Bluetooth: hci0: BCM: features 0x07
[ 24.783055] Bluetooth: hci0: BCM4364B3 Trinidad Olympic GEN (MFG)
[ 24.783060] Bluetooth: hci0: BCM (001.016.065) build 0092
[ 24.783092] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[ 24.783095] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'

Any suggestion are greatly appreciated.

The Wireless Card is dropping a lot of packets

Note on the Bonus section: We have access to the internet for sure, as stated (as I am writing this issue on a macbook pro 15,1 with Arch Linux), but as I was playing games, i noticed large amounts of stutter, which means packet loss. I then proceeded to use wireshark, and the current iteration of driver is dropping a large amount of packets. Again, it is usable to get onto the internet, but if you have any idea of why the broadcom chip is dropping so many packets, please let us know!

Touchbar only showing `esc` key

Hi, new Ubuntu install, hopefully I followed all the instructions including using the custom ISO and updating kernel scripts. MacOS is also up to date. The touchbar is only showing the esc key, and the fn key won't change it. Installed the touchbar script, and none of the modes seem to work.

I tried all the troubleshooting steps (together and individually), including quirks, the delay script, rebooting into Recovery, and not using any external USB devices.

in my current attempt, i blacklisted it, but the module still seems to be running, esc key is still showing (and fn does not do anything)
echo "blacklist apple-touchbar" | sudo tee /etc/modprobe.d/apple-tb.conf

Some info:

me@mBookProLinux:~$ uname -a
Linux mBookProLinux 6.1.11-t2-kinetic #1 SMP PREEMPT_DYNAMIC Thu Feb  9 18:14:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

me@mBookProLinux:~$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.1.11-t2-kinetic root=UUID=d13e31bc-7e91-45f7-b2af-19f6864ec850 ro pcie_ports=compat intel_iommu=on iommu=pt quiet splash

me@mBookProLinux:~$ journalctl -k --grep=touchbar
Feb 12 00:14:13 mBookProLinux kernel: apple-touchbar 0003:05AC:8302.0007: input: USB HID v1.01 Keyboard [Apple Inc. Touch Bar Display] on >
Feb 12 00:14:13 mBookProLinux kernel: apple-touchbar 0003:05AC:8102.0008: : USB HID v1.01 Device [Apple Inc. Touch Bar Backlight] on usb-b>
Feb 12 00:14:13 mBookProLinux kernel: apple-touchbar 0003:05AC:8302.0007: tb: Failed to set touch bar mode to 2 (-110)
Feb 12 00:14:35 mBookProLinux kernel: apple-touchbar 0003:05AC:8302.0007: tb: Failed to set touch bar mode to 1 (-110)
Feb 12 00:14:41 mBookProLinux kernel: apple-touchbar 0003:05AC:8302.0007: tb: Failed to set touch bar mode to 2 (-110)
Feb 12 00:19:01 mBookProLinux kernel: apple-touchbar 0003:05AC:8302.0007: tb: Failed to set touch bar mode to 1 (-110)
Feb 12 00:19:06 mBookProLinux kernel: apple-touchbar 0003:05AC:8302.0007: tb: Failed to set touch bar mode to 2 (-110)

me@mBookProLinux:~$ modprobe -c | grep touchbar
blacklist apple_touchbar
alias hid:b0003g*v000005ACp00008102 apple_touchbar
alias hid:b0003g*v000005ACp00008302 apple_touchbar
alias hid:b0003g*v00001D6Bp00000301 apple_touchbar

me@mBookProLinux:~$ cat /etc/modules-load.d/cups-filters.conf 
# Parallel printer driver modules loading for cups
# LOAD_LP_MODULE was 'yes' in /etc/default/cups
lp
ppdev
parport_pc

me@mBookProLinux:~$ cat /etc/modules-load.d/modules.conf 
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

me@mBookProLinux:~$ cat /etc/modules-load.d/t2.conf 
apple-bce



Ubuntu+Guides: Remove redundant FAQ entries

As general guides for Windows Tripple Boot and DKMS / Audio were just added, could you (@EmreTech) maybe see how much information is already contained in the new guides that you can remove from the FAQ (maybe also add more things to the guides thats in the faq right now, as I don't know much about the technical details could you (@Redecorating) review in that case)?

I'd like to especially make sure that we don't have duplicate information in this wiki and rather provide one place for detailed documentation per topic.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.