t2linux / wiki Goto Github PK
View Code? Open in Web Editor NEWRepository for the t2linux.org wiki
Home Page: https://wiki.t2linux.org
License: Creative Commons Attribution Share Alike 4.0 International
Repository for the t2linux.org wiki
Home Page: https://wiki.t2linux.org
License: Creative Commons Attribution Share Alike 4.0 International
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)
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:
FW failed to load
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)
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!
As #144 removes a potential fix for low mic volume, a better way to fix this needs to be found. Just opening an issue for tracking here
#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```
d: drivers/hid/hid-apple.o: in function apple_probe': hid-apple.c:(.text+0x33d): undefined reference to
devm_led_classdev_register_ext'
make: *** [Makefile:1155: vmlinux] Error 1
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!!
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
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 wiki currently consists of articles without much guidance on in which order to read them. The roadmap article should provide just that
MacBook Air 2019 13"
Try Ubuntu FS without Installing
.fb0: Switching to inteldrmfb from EFI VGA
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:
Pre-Install
guide to the letter and opt-in for t2linux/fedora-iso
.6.8.10-300.t2.fc40.x86_64
atm).Hybrid Graphics
guide to the letter.intel_iommu=on iommu=pt pcie_ports=compat
.echo apple-bce | sudo tee /etc/modules-load.d/t2.conf
.Pre-Install
guide.6.7.7-200.t2.fc40.x86_64
.Hybrid Graphics
guide.In the wiki, under wifi guide, under "Retrieving Firmware" it says .txcb "Regulatory file" but it should say .clmb "Regulatory" file.
Thanks for all of the support and for the wiki. Cheers.
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
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.
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.
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
Hi all, got an issue regarding the Hybrid Graphics switching
Device and general info:
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!
https://t2linux.org/guides/fan/
Steps¶
Close the repository into a directory of your choice
Should be "Clone"
Just saw that right now
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
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 !
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.
https://aur.archlinux.org/packages/linux-apfs-rw-dkms-git/
https://github.com/linux-apfs/linux-apfs-rw
Probably is worth to be mentioned in
https://wiki.t2linux.org/state/#other
*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
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?
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.
Add an overview problems with suspend and what can be fixed (maybe reference guides/dkms)
It would be good if the T2 Linux wiki supports multiple languages.
I want to install arch linux with hyprland on my Macbook pro 2020 with an intel i5 and a 13" screen is it possible to use archinstall to setup the environment
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!
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 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!
Hello,
couldn't ifnd anything related to this in the documentation - is it possible to upgrade to F39 using dnf system-upgrade?
Thanks!
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.
There's no instruction to add aunali1's package signing key to new Arch installs, in the Arch Install Guide. This conversation has how to do it https://canary.discord.com/channels/595304521857630254/722427464604844122/770713657012650024 .
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.
#!/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=1echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6exit 0
Type sudo crontab -e in terminal - then add new line:
* * * * * /home/username/startup/disable-ipv6.sh
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
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?
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.
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!
https://wiki.t2linux.org/guides/audio-config/
If sed -n "s/.(AppleT2.) -.*/\1/p" /proc/asound/cards has no result, they say to install bce for a built-in Apple keyboard, and refer users to:
https://wiki.t2linux.org/guides/postinstall/#installing-modules
Which also refers to a built-in Apple keyboard in Debian builds and errors out in Fedora with bash: /etc/initramfs-tools/modules: No such file or directory
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
After successfully patching the 5.10.47 kernel (#67) I need some help finding the right patches for later kernel versions, 5.15.0-41 to be specific.
Any guidance you can provide is much appreciated.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.