Coder Social home page Coder Social logo

mbp-2016-linux's Introduction

State of Linux on the MacBook Pro 2016 & 2017

The following document provides an overview about Linux support for Apple's MacBook Pro 2016 and MacBook Pro 2017 models.

The MacBook Pro 2016 shares surprisingly many components with the Retina MacBook (e.g. keyboard and touchpad controller, Wi-Fi and bluetooth chipsets, ...), so figuring out how things work on one device should benefit both device families.

The Apple MacBook Pro 2017 models are nearly identical to their 2016 counterparts, except for the use of newer Intels Kaby Lake processors instead of Intel Skylake processors, faster memory and updated AMD Radeon GPUs in the 15-inch models.

The checks if hardware works below were done with multiple Linux distributions. To state the obvious: The newer the kernel the better. The information below assumes that you run Linux 5.4 or newer.

If you don't know what the model identifier for your MacBook Pro is (as that identifier is used on several occasions below), check https://support.apple.com/en-us/HT201300

Contribution

If you want to contribute to get Linux running smoothly on the MacBook Pro 2016, report all findings on how to get devices working as pull requests! All help is appreciated.

There is also a chat available via gitter for discussions: Gitter chat

Current status

Device Status
Audio input & output MacBookPro13,1 working MacBookPro13,2 not working MacBookPro13,3 working MacBookPro14,1 partially working MacBookPro14,2 not working MacBookPro14,3 working MacBookPro16,1 not working MacBookPro16,2 not working
Battery all models working
Bluetooth MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 not working
FaceTime HD camera MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 not working
Graphics card (Intel) MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 unknown MacBookPro16,2 working
Graphics card (AMD) MacBookPro13,3 working MacBookPro14,3 working MacBookPro16,1 working
Keyboard & Touchpad MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working
NVMe (internal SSD) all models working
Screen all models working
Suspend & Hibernation all models partially working
System Management Controller MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 not working
Thunderbolt all models working
Touch Bar MacBookPro13,2 partially working MacBookPro13,3 partially working MacBookPro14,2 partially working MacBookPro14,3 partially working MacBookPro16,1 partially working MacBookPro16,2 partially working
Touch ID MacBookPro13,2 not working MacBookPro13,3 not working MacBookPro14,2 not working MacBookPro14,3 not working MacBookPro16,1 not working MacBookPro16,2 not working
USB all models working
Wi-Fi MacBookPro13,1 working MacBookPro13,2 not working MacBookPro13,3 not working MacBookPro14,1 working MacBookPro14,2 not working MacBookPro14,3 not working MacBookPro16,1 not working MacBookPro16,2 not working

Audio input & output

MacBookPro13,1 working MacBookPro13,2 not working MacBookPro13,3 working MacBookPro14,1 partially working MacBookPro14,2 not working MacBookPro14,3 working MacBookPro16,1 not working MacBookPro16,2 not working

With the applied Cirrus 8409 kernel driver patch from https://github.com/davidjo/snd_hda_macbookpro the internal audio input and output has been verified to work for the MacBookPro13,1, MacBookPro13,3 and MacBookPro14,3.

If you are having issues with the internal audio input, and you are using PulseAudio for your Linux distro; then try switching between the built-in audio profiles and see if it's receiving the background sound with help of the pavucontrol command, it should work on 'Analog Stereo Duplex' built-in audio profile.

With the MacBookPro14,1 the internal audio output is working, however the internal audio input is not working.

For the rest of the MacBook Pro models the audio via HDMI or any USB-connected audio device is working, so at least they can act as a workaround until internal audio is working.

See also:

Battery

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working

Working fine, including the interface to get current capacity, temperature, etc.

Battery life is still suboptimal, because power saving modes for several devices, like display (panel self refresh), SSD or the Thunderbolt controllers, aren't working yet. You can expect a battery life of less than 4 hours.

Bluetooth

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 not working

Works out of the box, except for the models without Touch Bar, which still suffer from a bug and need an additional patch as noted in #29 (comment)

Transmitting audio using A2DP is still choppy for unknown reasons, maybe because the Bluetooth support is limited to lower bandwidth applications so far.

See also:

FaceTime HD camera

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 not working

In the MacBookPro13,1 (without Touch Bar) the FaceTime HD camera is connected via PCIe, like in previous MacBook Pro's. It's working with the bcwc_pcie driver.

The models with Touch Bar have the FaceTime HD camera connected through the iBridge device via USB. They are exposed as regular USB video devices and are supported by the uvcvideo driver out of the box.

Graphics card

Intel

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 unknown MacBookPro16,2 working

Graphical output using the Intel GPU is working out of the box on the MacBookPro 13,1 and 13,2, without dedicated AMD GPU. For the MacBookPro 13,3 with dedicated AMD GPU, only the AMD GPU is enabled when booting an OS which isn't macOS, so you have to follow the instructions in the following link to enable the integrated Intel GPU, if you want to use it: #6 (comment)

Intel GPU has not yet been tested on the MacBookPro16,1.

Connecting external displays via USB-C-to-DisplayPort cables works fine, including connections with daisy-chaining/MST. An actual tested and working setup includes concurrent output on the internal display and two external displays daisy-chained together with Full HD each.

AMD

MacBookPro13,3 working MacBookPro14,3 working MacBookPro16,1 working

Works out of the box for the MacBookPro13,3 and MacBookPro14,3.

The MacBookPro16,1 currently requires a 5.6-RC kernel and the latest amdgpu drivers.

Keyboard & Touchpad

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working

Works out of the box for the MacBookPro13,* and MacBookPro14,*.

For models with a T2 chip (MacBookPro15,* MacBookPro16,1) you'll need the BCE drivers from https://github.com/MCMrARM/mbp2018-bridge-drv and the touchpad and keyboard patches from https://github.com/aunali1/linux-mbp-arch.

For earlier Linux versions you can get the driver from https://github.com/roadrunner2/macbook12-spi-driver.

The Esc and function keys are part of the Touch Bar in all Touch Bar-models, so follow the instructions for the Touch Bar to get it working.

Beside the actual keyboard, the power button and the lid close event work out of the box.

Palm rejection based on touch-sizes and disable-touchpad-while-typing are working with this patch to libinput (master branch).

See also:

NVMe

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working

Works out of the box.

The SSDs used in the MacBook Pros don't seem to support APST. As it's currently unknown how power saving works for those SSDs it's likely they consume way more power than they need to, therefore reducing the battery life.

Screen

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working

Works out of the box.

Adjustable screen brightness only works out of the box for the models without additional AMD Radeon GPU (MacBookPro13,1 and MacBookPro13,2). For the MacBookPro13,3 with additional AMD Radeon GPU the following patch is necessary: https://bugzilla.kernel.org/show_bug.cgi?id=105051#c32

There is one oddity in the EDID data of the 13" models, as it contains a 2800x1800 mode in addition to the correct 2560x1600 mode. In the end that doesn't matter, as Xorg probes and sets the correct resolution of 2560x1600.

Suspend & Hibernation

MacBookPro13,1 partially working MacBookPro13,2 partially working MacBookPro13,3 partially working MacBookPro14,1 partially working MacBookPro14,2 partially working MacBookPro14,3 partially working MacBookPro16,1 partially working MacBookPro16,2 not working

Putting the MacBook Pro into suspend mode works on all models, but successful resume requires additional prerequisites as explained below.

Models with Apple's NVMe controller (MacBookPro13,1, MacBookPro13,2, MacBookPro14,1 and MacBookPro14,2) require disabling the d3cold PCIe power state for the NVMe controller to successfully wake up again:

echo 0 > /sys/bus/pci/devices/0000\:01\:00.0/d3cold_allowed

This command must be executed from root, and ideally on startup, since the file is rewritten to '1' on startup. Even then resume is incredible slow and takes up to a minute, probably due to additional bugs.

For the 15" models with additional AMD GPU resume only works when using the internal Intel GPU.

System Management Controller

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 not working

The System Management Controller (SMC) is responsible for interactions with sensors and fans.

Fans, temperature and voltage sensors work out of the box using the applesmc kernel module.

Even though the MacBook Pro manages fan speed automatically, manually setting the fan speed through applesmc works as well. That's useful if you want to use a different fan speed profile than the hardware uses by default. In that case, you might want to use a tool like mbpfan.

The ambient light sensor is working out of the box for the models without Touch Bar, using the applesmc module as well. In models with Touch Bar, the ambient light sensor isn't connected to the traditional SMC, but to the iBridge instead. For it to function, you need the third-party apple-ib-als kernel module you can find in the following git repository: https://github.com/roadrunner2/macbook12-spi-driver

An accelerometer isn't available at all.

Thunderbolt

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working

Works out of the box.

Up to now power management support for the Thunderbolt controllers isn't complete yet, resulting in unnecessary battery drain when no devices are attached to the Thunderbolt ports.

Touch Bar

MacBookPro13,2 partially working MacBookPro13,3 partially working MacBookPro14,2 partially working MacBookPro14,3 partially working MacBookPro16,1 partially working MacBookPro16,2 partially working

Not working out of the box, but thanks to @roadrunner2 basic functionality is working using the apple-ib-tb kernel module you can find in the following git repository: https://github.com/roadrunner2/macbook12-spi-driver

Starting with Linux 5.9 a forked version of the driver is necessary, which is available at https://github.com/PatrickVerner/macbook12-spi-driver

Missing is as of now just the advanced functionality with custom graphics Apple offers in macOS.

Touch ID

MacBookPro13,2 not working MacBookPro13,3 not working MacBookPro14,2 not working MacBookPro14,3 not working MacBookPro16,1 not working MacBookPro16,2 not working

Not working.

USB

MacBookPro13,1 working MacBookPro13,2 working MacBookPro13,3 working MacBookPro14,1 working MacBookPro14,2 working MacBookPro14,3 working MacBookPro16,1 working MacBookPro16,2 working

Works out of the box.

Wi-Fi

MacBookPro13,1 working MacBookPro13,2 not working MacBookPro13,3 not working MacBookPro14,1 working MacBookPro14,2 not working MacBookPro14,3 not working MacBookPro16,1 not working MacBookPro16,2 not working

The MacBook Pro models without Touch Bar come with a Broadcom Limited BCM4350 802.11ac Wireless Network Adapter which works fine out of the box using the brcmfmac driver (ensure you got the matching firmware package installed).

The MacBook Pro models with Touch Bar come with a Broadcom Limited BCM43602 802.11ac Wireless LAN SoC (rev 02) which is also supported by brcmfmac, but has several issues rendering it unusable, caused by the available firmware. The issues are caused by failing country detection and are:

  • Only 2.4Ghz APs are shown
  • Connecting to an AP barely works or fails directly

According to Broadcom releasing a fixed firmware would require verification to ensure that it complies with regulatory limits, which is very unlikely to happen as it wouldn't provide enough return on investment for them (see https://bugzilla.kernel.org/show_bug.cgi?id=193121 for details).

The MacBookPro16,1 comes with a Broadcom Inc. and subsidiaries BCM4364 802.11ac Wireless Network Adapter (rev 04) which is detected with wifi patches from here but doesn't work as no appropriate firmware is available. Catalina firmware doesn't seem to work here and no pre-Catalina firmware is available for this card.

Misc

History of improvements per kernel version

4.9

  • Working AMD graphics of the MacBookPro13,3 (which is the only model with both Intel and AMD graphics).

4.10

  • intremap=nosid as kernel boot parameter not necessary anymore, although it's unclear why.

4.11

  • The NVMe controller in the MacBookPro13,1 and MacBookPro13,2 is now working out of the box (the one in the MacBookPro13,3 was already working before). (linux/commit/124298b)
  • When booting with kernel modesetting (KMS) the screen isn't scrambled during boot anymore.

4.13

  • On the Touch Bar models the FaceTime HD camera is working out of the box. (linux/commit/7b848ed)
  • Adds support for the Alpine Ridge 4C Thunderbolt Chip used in the MacBook Pro's (linux/commit/5e2781b)

4.14

4.16

4.20

  • Fixes a garbled screen issue with Intel graphics when using KMS, introduced with Linux 4.18. (linux/commit/d9a5158)
  • Fixes a black screen issue for models with AMD graphics, introduced with Linux 4.18. (linux/commit/07e3a1c)
  • Fixes a GPE storm, which caused unnecessary battery drain. (linux/commit/ca1721c)

5.1

  • Fixes a regression introduced with Linux 4.17 with prevented the MacBook Pro's without Touch Bar to boot. (linux/commit/6f913de)

5.3

  • The applespi driver for the internal keyboard and trackpad of the MacBookPro13,* and MacBookPro14,* is now included upstream and works out of the box. (linux/commit/038b1a0)

5.4

  • Includes support for the NVMe controller found in MacBookPro's released since 2018. (linux/commit/6634133)

5.8

  • Fixes the built-in display for the MacBookPro13,3, which stopped working in Linux 5.6. (linux/commit/cbd14ae) This fix also got backported to the 5.7.8 stable kernel.

iBridge

The models with Touch Bar feature an additional USB device, called iBridge (Bus 001 Device 002: ID 05ac:8600 Apple, Inc.). It's the interface to the embedded T1-chip running iOS and providing access to the ambient light sensor, the FaceTime HD camera, the Touch Bar and Touch ID.

A prerequisite for all devices connected to the iBridge to work is a firmware stored by macOS on the EFI system partition (ESP). For the time being the easiest way to keep this firmware available is to install Linux in addition to macOS and keeping the contents of the original ESP in place.

If the iBridge couldn't be initialized (e.g. because the firmware is missing), instead of the usual USB device, the following USB device is present: Apple Mobile Device [Recovery Mode] (Bus 001 Device 003: ID 05ac:1281 Apple, Inc.)

usb-devices shows that iBridge exposes four interfaces:

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  3
P:  Vendor=05ac ProdID=8600 Rev=01.01
S:  Manufacturer=Apple Inc.
S:  Product=iBridge
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I:  If#= 2 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=01 Driver=usbhid

The two video interfaces could be the FaceTime HD camera and the Touch Bar, while the two HID interfaces could be the Touch Bar and the Touch ID button.

Booting macOS as a VM interestingly leads to the following changed output of usb-devices:

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  3
P:  Vendor=05ac ProdID=8600 Rev=01.01
S:  Manufacturer=Apple Inc.
S:  Product=iBridge
C:  #Ifs= 8 Cfg#= 2 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=0e(video) Sub=01 Prot=00 Driver=usbfs
I:  If#= 1 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=usbfs
I:  If#= 2 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=01 Driver=usbfs
I:  If#= 3 Alt= 0 #EPs= 2 Cls=10() Sub=00 Prot=00 Driver=usbfs
I:  If#= 4 Alt= 0 #EPs= 0 Cls=02(commc) Sub=0d Prot=00 Driver=usbfs
I:  If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=usbfs
I:  If#= 6 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=01 Driver=usbfs
I:  If#= 7 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=f9 Prot=11 Driver=usbfs

macOS somehow initializes some additional capabilities of the iBridge. Those additional interfaces are likely responsible for Touch Id and the advanced graphical functionality of the Touch Bar. There might also be some kind of interface for iBridge-firmware updates.

Disable auto-boot

Apple introduced an "auto-boot" feature with the MacBook Pro 2016 causing the notebook to be switched on, whenever the screen lid is opened. By modifying a NVRAM variable this can be (luckily) disabled again.

How to do that from macOS as well as enabling the startup chime again is documented e.g. at http://www.idownloadblog.com/2016/10/31/how-to-stop-the-new-macbook-pro-from-automatically-turning-on-when-the-lid-is-open/

To disable auto boot from within Linux, ensure that efivarfs is mounted and run:

printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/AutoBoot-7c436110-ab2a-4bbb-a880-fe41995c9f82

If you get "No space left on device" errors, it's probably because of dump-type0-*-variables written by the Linux kernel taking up all space. Removing them solves the problem:

for i in $(find /sys/firmware/efi/efivars/ -name 'dump-type0*'); do chattr -i $i; rm $i; done

With disabled auto boot the MacBook Pro will show the battery percentage for a brief second as an image on the screen whenever you open the lid or plug in the power cord while the lid is open.

To re-enable auto boot again run:

chattr -i /sys/firmware/efi/efivars/AutoBoot-7c436110-ab2a-4bbb-a880-fe41995c9f82
rm /sys/firmware/efi/efivars/AutoBoot-7c436110-ab2a-4bbb-a880-fe41995c9f82

Links

mbp-2016-linux's People

Contributors

atodorov avatar aunali1 avatar bepstein avatar christophgysin avatar clashthebunny avatar curioustommy avatar dunedan avatar isaiahtaylor avatar jamlam avatar jmy1000 avatar marc-git avatar mbx162 avatar njchristoffersen avatar peterychuang avatar ppaulweber avatar risen avatar roadrunner2 avatar schwabe avatar tudorbarascu 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  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

mbp-2016-linux's Issues

MacBookPro 15,1/2?

Any support/documentation for the refreshed 2018 MacBook Pros?

I have one and I'll be willing to help with tinkering stuff especially since they are using the new T2 chips.

MBP14,1 not bootable on kernel 4.17

I'm not sure if I am alone here, but I haven't been able to boot my 14,1 with the mainline kernel since a few release candidates ago. I thought it would be somehow fixed by the time the stable kernel was out, but alas, both the latest Fedora rawhide image and the Arch Linux kernel from the staging repository aren't bootable as of today. My machine is stuck at a blank screen at boot, and there are no error messages whatsoever, so there isn't any clue here.

Display randomly going down (on mbp13,3)

Several months ago I gave up, because this issue made it impossible to work on something without having to worry that suddenly the screen goes down, forcing a hard reset (color of the screen is not always the same)...

I can't seem to find anyone else having this problem.

I have tried with ubuntu 17.10, 17.04, 16.04 and it happens with all of them

the 17.10 i tried yesterday is using kernel 4.12.0
today i used isorespin to put kernel v4.12.12 on ubuntu 16.04
i am about to try debian 9 out of curiosity and have fedora 26 ready too but did not manage to boot the usb stick yet.

right now I got everything working fine (except the stuff that doesn't work yet) with ubuntu 16.04 and kernel v4.12.12 and am trying to figure out why the screen goes kaput sometimes. unfortunately i did not recognize a pattern and can't reproduce.

it seems like it happens faster when i tamper with the display/screen in any way (like turn brightness down, do something in settings>display), but i am not sure. right now it has been running for 30minutes without issues, but i did not turn the brightness down (and am wearing sunglasses instead :-P man, it's so damn bright!). it's a pity because other than that it's really pleasant and running smooth

Does anyone know how i could troubleshoot this?

edit: i got fedora 26 running now and it already happened once...

Can't boot live USB's on MacBookPro 14,1

I'm trying to dualboot Arch Linux on my MacBookPro 14,1; but I am completely unable to boot off of any liveUSB devices. When booting the computer with Alt held down I can see the EFI Boot option, but when I select it, it just boots into macOS. Here's what I've tried:

  • Arch, Ubuntu, and Gentoo installation images, all of which had the exact same behavior
  • USB2.0 and USB3.0 drives, both of which had the same behavior
  • Attaching the drive through a dongle or through a dock, which also made no difference
  • Creating the drive with Etcher, or manually; both of which yielding the same result
  • Disabling secure boot (Utilities menu on the screen that comes up with cmd+R at boot)
  • Shaking the computer

Am I missing something? Is there some special step that is required for me to be able to boot the liveUSB?

Linux cannot wake up after closing the lid

I successfully installed Ubuntu 16.04 on my MBP 13,1 and everything went on smoothly. However, I found that if I closed the lid while Linux is running, and I opened it again, nothing would show up. Completely black screen is the only result. This is quite annoying because every time I need to go somewhere else, I can only shut down Linux completely and start it up again somewhere else. Has anyone met the same problem as I have? Any help will be greatly appreciated. Thanks in advance.

Bluetooth Problem

So I was poking around the Bluetooth, and I noticed that the DSDT contains this:

If (!OSDW ())
{
    Return (UBUF) /* \_SB_.PCI0.URT0.BLTH._CRS.UBUF */
}

Return (ABUF) /* \_SB_.PCI0.URT0.BLTH._CRS.ABUF */

This might be a stupid question, but isn't this bit the same as the SPI stuff that used to require patching to get the keyboard and touchpad working?

Webcam of MacBookPro13,1

Can one of you MacBookPro13,1 owners please try out, if the webcam works with the bcwc_pcie driver? Should be a low hanging fruit to get some clarity on.

MBP 14,3 runs extremely hot

I frequently see messages like:

[ 1895.960304] CPU7: Core temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960305] CPU3: Core temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960308] CPU0: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960308] CPU4: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960317] CPU5: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960318] CPU3: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960319] CPU6: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960320] CPU2: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960325] CPU7: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.960396] CPU1: Package temperature above threshold, cpu clock throttled (total events = 10)
[ 1895.963293] CPU7: Core temperature/speed normal
[ 1895.963293] CPU3: Core temperature/speed normal
[ 1895.963295] CPU3: Package temperature/speed normal
[ 1895.963296] CPU7: Package temperature/speed normal
[ 1895.963336] CPU0: Package temperature/speed normal
[ 1895.963337] CPU1: Package temperature/speed normal
[ 1895.963338] CPU5: Package temperature/speed normal
[ 1895.963338] CPU4: Package temperature/speed normal
[ 1895.963339] CPU6: Package temperature/speed normal
[ 1895.963340] CPU2: Package temperature/speed normal

These messages appear while running almost no workload (browser, slack, maybe one other thing). When I look, I see temps approaching 100C on the CPUs.

Does anyone else have this? Are there tricks for dealing with it? I'm researching the available applesmc options right now, but I haven't had tons of success with that in the past.

mbp 13,2, Bluetooth not shown

Does any one have the same problem? It's said that bluetooth works out of box on Linux 4.16 or above. I'm on 4.17 and the system seems not detecting the bluetooth hardware, neither rfkill list nor dmesg can find the bluetooth.

Thanks for your efforts!!!

Hi, I have been a mac user for a long time and an linux enthusiast maybe long before that. I have tried quite a lot of distros since redhat 6... Unfortunately I never have achieved a pleasant usage of GNU-linux. Always there is something that does not work well (I mean well) not just works...(andf that after countless hours of forum investigating) But anyway I still try... I suppose its a love-hate relation I have with Linux.

Now I have been following this github for some months and finally decided to give a try on my 13.1 with antergos-KDE (kernel 13.x.x). I love how smooth it runs, even streamed videos.

I think I will change to a full Linux experience (single boot) when audio and suspend work.

I, of course, will not ask for a Time Frame but I would like to ask.... Do you think that in the future will be easy to make everything work for us, users? Like follow a tutorial... You know Im not afraid of tinkering but things like compile kernel.... well are a little too much for me and some instructions sound like klingon..
Thanks for your time and efforts.
Keep going!!!!!

Update: BTW If I can be of any help, within my knowledge I would be willing to do so. I enter here almost every day! :D

Driver Manager Linux Mint 18.3 Cinnamon 64-bit on Macbook Pro 14,3

Hi everyone,

Anyone else having problems with the driver manager?

It shows an update for my Intel(R) Core(TM) i7-7700HQ CPU @ 2.80Ghz
I can do a update, to version 3.20170707.1~ubuntu16.04.0

I update it, and reboot, when i start the driver manager again, it shows the same update.
Because of this i am unable to get into the actual driver manager itself..

Cheers

How to use EFI to boot the linux kernel with FV2.

I'm new to installing Linux on the macbook and was trying to install the rEFInd boot manager. Then I'd like to know what EFI booting procedure is working well for others who are using FV2 from a similar setup. Are people installing linux using rEFInd or another method with FV2?

Regarding rEFInd:

I went through the procedure "rEFInd with SIP Enabled" on a 2016 MBP 13,3 running Sierra, documented here: http://www.rodsbooks.com/refind/sip.html#sip_enabled.

I have to use FV2 encryption on the device, but can disable it temporarily.

Note: This was necessary to see the macOS Volume from the terminal in the recovery in order to install rEFInd.

After restarting I got the rEFInd splash screen. But then after rebooting macOS , I'm prompted to reenable FV2 to login to macOS; due to constraints. After FV2 was re enabled and I rebooted, the rEFInd splash screen went away. I assume that possibly FV2 re-wrote the boot loader.

Then I think I must choose one of the Disabling SIP options.

Do you have any recommendations on which approach(es) to try next? Is it easier to not use rEFInd? Should I try rEFInd with another specific option?

Tricks for better usage of the touchpad

As I want to mimic the same touchpad experience as on macos there probably are a lot of tricks to do so.

What I found so far (I'm under Gnome on Wayland) is that you need to go to the Tweaks section, then Keyboard and Mouse and change the Touchpad click method to fingers.

I haven't solved the occasional "jumps" of the trackpad. I built from source the latest libinput (1.7) but the palm rejection is still not functioning as well as I'd wanted.

Anyone has some tricks/suggestions?

@Dunedan I didn't know any other location to start this issue.

Screen Brightness

I am using 4.11.7-041107-generic kernel on MacBook Pro 2017 14.3 laptop.
I got the touch bar running and I can adjust the keyboard backlight and sounds, however, I cannot change the screen brightness. I ran the patch mentioned in ReadMe, however, the screen brightness does not work. (Resolved)

Following are the instructions I used:

curl -O https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.11.7.tar.xz
tar xf linux-4.11.7.tar.xz 
curl -o file.patch https://bugzilla.kernel.org/attachment.cgi?id=218051
patch apple-gmux.c < file.patch

patch apple-gmux.c < file.patch
patching file apple-gmux.c
Hunk #1 succeeded at 586 (offset 3 lines).
Hunk #2 succeeded at 596 (offset 3 lines).

make

make -C /lib/modules/4.11.7-041107-generic/build M=/home/chirag/apple-gmux/linux-4.11.7/drivers/platform/x86 modules
make[1]: Entering directory '/usr/src/linux-headers-4.11.7-041107-generic'
CC [M] /home/chirag/apple-gmux/linux-4.11.7/drivers/platform/x86/apple-gmux.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/chirag/apple-gmux/linux-4.11.7/drivers/platform/x86/apple-gmux.mod.o
LD [M] /home/chirag/apple-gmux/linux-4.11.7/drivers/platform/x86/apple-gmux.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.11.7-041107-generic'

targetDir="/lib/modules/$(uname -r)/kernel/drivers/platform/x86"
sudo cp ${targetDir}/apple-gmux.ko ${targetDir}/apple-gmux.ko.backup
sudo cp apple-gmux.ko ${targetDir}
reboot

It worked by using the following commands before copying it to the drivers/platform/x86 directory

rmmod apple-gmux
insmod ./apple-gmux.ko

-Thanks

How to set the boot parameter

In readme, it says

Booting
To boot Linux properly, it's necessary to set intremap=nosid as kernel boot parameter.

How can I set the parameter?
Intall a linux on a USB and run it on another computer, then use terminal to set the parameter?

Status of MacBookPro14,1

Hi,

I've put Linux on the 2017 base model of MacBook Pro (13 inch without touch bar). The result of get-info.sh can be found here.

I haven't tested everything yet, but so far the info on your repository appears mostly accurate for my machine. I will let you know when I see any problems.

Thanks @Dunedan @roadrunner2 and @cb22 for your great work!

macfanctld

As my 13,1 macbook was getting reallyhot when pushed to the limits and I could hear the fan wasn't revving up like it did under MacOs I installed macfanctld and it's working great.

Should I make a pull request to document this?

rosnodes break wifi

Hi,

I just wanted to mention that running a rosnode will force the wifi to stop working after a couple of minutes. MBP 13,1 late 2017
This happens even when the nodes are running on the same machine.

ROS.
Thank you for your efforts!

Best,
Marc

Call for keyboard data collection

Over at cb22/macbook12-spi-driver#64 we're currently collecting the results of info queries from the keyboard, to figure out what two unknown bytes in there mean. So if you have some time to spare, please head over there, gather the data and post it there together with your MBP model and your keyboard layout.

The most likely meaning of these two bytes is the keyboard layout, which would allow automated detection of the keyboard layout by the driver. Another theory is that it could contain a vendor id and product id which would allow automatic enabling of some Apple quirks for the Touchpad. In any case, figuring out what these two bytes mean, will likely result a nice benefit.

Temperature issue

When I switch to Linux, the machine gets quite warm compared to MacOS (mainly left of the touchpad). The temperature reported via sensors is about 58 degrees Celsius. Does anyone else experience this ? Any ideas what to do to fix that ?

  • Arch Linux
  • MacbookPro13,1
  • i3wm

2016 Macbook Pro not booting after power outage

Hi,
I have a 2016 Macbook Pro which has been quite stable for a while now. However, I let the power drain completely and now the Ubuntu installation is broken. When I try to recovery mode I see that the message:

suspending console(s) (use no_console_suspend to debug)

I have tried using that flag in grub, but I have been unable to boot the system. Additionally, I have tried nomodeset option as well.
Any ideas/suggestion that you can point me to will be very helpful.

Thanks,
Vik

Battery life

I played a bit around with power saving on my MacBookPro13,2 and I'm quite puzzled.

I simply tried to reach the lowest possible power consumption as a base line, but weren't able to reach less than ~9W! And that's with display at the lowest brightness level, switched off TouchBar, no external devices, no running applications, all options set suggested by powertop, (no dGPU as the MacBookPro13,2 got none) ...

Apple claims 10 hours of wireless surfing or movie playback with MacOS. As the battery is 49,2Wh that means they get the power consumption down to ~5W with a brighter display backlight and processors doing actual work. So it'd be fair to say they are 50% more efficient than Linux.

What seems to be missing under Linux is power management of the NVMe SSD. At least APST doesn't seem to be supported (at least nvme id-ctrl /dev/nvme0 shows no additional power state beside ps 0 with Linux 4.12rc5). That could be the reason for a few watts of additional power usage, but I doubt it could be responsible for 4W. Anyway I'm pretty sure the SSD supports some kind of power management, so this could be an area to look into further.

What are your experiences? Any ideas where we can get additional savings from?

USB-C Headphones

Hi!
I bought adapter Jack to USB-C, but it's not working with my Apple headphones. Can anyone tried this case?
lsusb no display anything.

MBP14,3 Wifi Solution?

Anybody find a solution to the Wifi connectivity issues on MacBook Pro 14.3? Can only connect via Ethernet. Connecting to AP is impossible.

Sound on MacBookPro13,1

Sound works over HDMI.

For the builtin speakers and headphone jack some pin configuration quirks seem to be needed, similar to this: https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_cirrus.c#L462-L467

They can be modified at runtime as described by https://bugzilla.kernel.org/show_bug.cgi?id=110561#c24

Any idea how to find out the needed configuration?

Also, the linked bug report seems to deal with a different model, we should probably open a new bug for the MacBookPro13 line specifically.

Keyboard arrow keys issues

Using a MBP 13.3 for while now but I keep on hitting issues with the keyboard. Initially I thought I just need to get used to this super flat keys but by now I'm not so sure any more and I'd like to ask if you guys here can confirm this:

I use it a lot for development, so I jump around in text files with an IDE a lot, using arrow keys a lot and "fn + arrow" to jump to begin/end etc. For some reason, the arrow keys seem to not react to all presses. I cannot seem to be able to reproduce this by just pressing the arrows repeatedly, but when typing and then switching to the arrow keys they often seem to ignore the first press. It's kinda driving me crazy as I keep on tying in the wrong place.

Anyone here experiencing the same?

Also, let me use the opportunity to thank you for the amazing efforts you've put into this!

BCM43602 WiFi issues

https://bugzilla.kernel.org/show_bug.cgi?id=193121#c9

The country code X0 is apparently stored in the device itself. Now this country needs to be supported by the firmware we released to linux-firmware and my guess is that it does not.

As far as I see this man has fixed several of these issues already, does someone know if resolving these 13.2 wifi issues is on the horizon as well? Like is there something that could motivate him to do this or is it a gamble?

How to get NVMe working on MBP 13,1

I am trying to install Ubuntu on a MBP 13,1. From try ubuntu I can do the NVMe workaround and detect the flash drive. After I install ubuntu on the drive and try to boot up, it gets a dark red screen, I believe it get stuck at the grub and grub cannot recognise the flash drive. My question is how can we do the workaround at this stage? Or what is the correct way to get Ubuntu install?

4.11-rc8 : No keyboard before encryption keys entered

@roadrunner2 I had a look at the keyboard.conf to see what was loaded, but I couldn't find anything different to load to get the keyboard/touchbar turned on before the encryption key entry stage. It loads fine after I enter the encryption key, so it's a config step somewhere which I'm missing.

Any more tips?

Touchbar not working on Macbook14,3

I can modprobe appletb and then it is shown by lsmod. dmesg is not showing anything.

sudo mbp-2016-linux/touchbar 1
causes: sending usb-control: Broken pipe

mbp14,3: ctrl+x not working in grub

MacBookPro14,3
Ubuntu: 18.04
Grub: 2.02

In grub menu, press 'e' to edit selected entry.
Help text says that "Press Ctrl-x or F10 to boot". But pressing Ctrl-x produces letter "x". This happens with built-in keyboard and with external usb-keyboard. Ctrl-c is working (and starts command line).
There are no F10 in in-built keyboard, because of touch bar, so this is harmful issue.

I tested ubuntu 18.04 on virtualbox and there ctrl-x is working as expected.

KMS on MBP 13,1

I'm struggling to get KMS to work on a MBP 13,1.

It boots fine with nomodeset, but without it the screen becomes scrambled. Since there is no dedicated graphics card, I assume the workaround in #6 isn't necessary.

Did anyone get this to work? Or is this a known issue?

Lock up / crash during libinput reinitialize

Bit of a weird one here that I haven't been able to reproduce consistently.

On a Macbook 14,3 when using Wayland with libinput handling the Touchpad. I've seen a lock up if I reload my Sway config which re-inits libinput to set device options. I've narrowed it down there because without it being defined in the config file, it seems to not die on reload.

What I see is a lock up of the graphical subsystem. No mouse, no change to the screen, nothing. Hardware power button works and will shut the machine down. Machine is back to normal on reboot. Network is still active during the "lockup" as I can ssh in. I haven't had success killing Wayland yet, when the lock up happens, but that's my next trick.

Happy to help debug in anyway that I can

Wifi on MacBookPro13,1

There seems to be a different wifi card on the macbook13,1:

$ lspci -s 02:00.0 -vnn
02:00.0 Network controller [0280]: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 05)
        Subsystem: Apple Inc. Device [106b:0159]
        Flags: fast devsel, IRQ 16
        Memory at 92400000 (64-bit, non-prefetchable) [size=32K]
        Memory at 92000000 (64-bit, non-prefetchable) [size=4M]
        Capabilities: <access denied>
        Kernel modules: brcmfmac

I'm running the latest kernel that ships with ArchLinux:

$ uname -r
4.10.10-1-ARCH

The device does not seem to be recognized at all:

$ dmesg | grep brcmfmac:
[    3.774619] brcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported
[    3.774685] brcmfmac: brcmf_pcie_probe: failed 14e4:43a3

Is there any known workaround for this?

synaptics driver now working properly for me

When I first installed my MBP mid 2017 touchbar in autumn 2017, the synaptics driver would not work properly and I only could make the touchpad working reasonably well with libinput.

Today I upgraded the notebook to Ubuntu 18.04 and this messed up my xinput configuration. Palm detection, disable-tapping-while-typing, loads of stuff wasn't working any more. After trying to re-configure it for a while I decided to give synaptics another go and it seems to do the job perfectly fine by now. With libinput I could not configure the touchpad in KDE's system settings, this works fine with synaptics now. Also normal pointer speed settings seem to work with it, while with libinput I had to fiddle with the Transformation matrix to achieve a reasonable speed with in turn was breaking some edge panel stuff before.

Hope this information helps people who are struggling with the touchpad.

wifi not working on mbp 14,1

Hello,

I installed Manjaro on my mbp 14,1 and the wifi worked initially for some time but now the 'brcmfmac' module is failing to load for me with the following dmesg error:

brcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported
brcmfmac: brcmf_pcie_probe: failed 14e4:43a3

I tried installing all possible drivers and solutions for the Broadcom BCM4350 wifi chipset given here:

https://wiki.archlinux.org/index.php/broadcom_wireless
https://bbs.archlinux.org/viewtopic.php?id=216743
https://bbs.archlinux.org/viewtopic.php?id=218310
#10

Surprisingly, when I boot into the manjaro live usb, wifi works fine. But If I reload the 'brcmfmac' module in the live usb, it again gives the above error and wifi stops working.

I have tried the following versions of linux kernel: 4.14, 4.16

Everything else is working great.

Has anyone got the wifi working on mbp 14,1 ? Seems related to #10

It would be great if some note about wifi on mbp 14,1 could be added in the 'Wifi' section of README.md

USB hotplugging

Hi, I'm wondering if anyone finds hotplugging USB devices (e.g. flash drive) kind of hit-or-miss.

Can't start my Fedora USB stick at all

Hello,
I think this is the best place to share my issue. I've a MacbookPro 13,1.

Some weeks ago, I tried to start a Fedora 25 USB stick (kernel 4.10), no way. I've just tried with Fedora 26 Beta (kernel 4.11) and same problem. I tried with the official Apple USB-C adapter and a Dell A200 as well, no change.

When the mac starts and I press the option key, I see:

  • macOS
  • Fedora Live
  • EFI Boot
  • EFI Boot

Both "EFI Boot" and "Fedora Live" start the Fedora Live image. I get to the Fedora Live start menu, I choose "try Fedora", the USB stick blinks for few seconds, and finally, nothing happens. No more blink and blank screen.

As I read you almost successfully run Linux on macs, I guess there is something I do the wrong way. Any help would be great, thanks.

tb3 Nvidia eGPU

macbookpro 14,3
ubuntu 18.04, linux 4.15.0-20-generic

Plugging in the external GPU results in the following kernel messages:

[Thu May 17 15:09:35 2018] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[Thu May 17 15:09:35 2018] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
                           NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0)
[Thu May 17 15:09:35 2018] NVRM: The system BIOS may have misconfigured your GPU.
[Thu May 17 15:09:35 2018] nvidia: probe of 0000:0a:00.0 failed with error -1
[Thu May 17 15:09:35 2018] NVRM: The NVIDIA probe routine failed for 1 device(s).
[Thu May 17 15:09:35 2018] NVRM: None of the NVIDIA graphics adapters were initialized!
[Thu May 17 15:09:35 2018] nvidia-nvlink: Unregistered the Nvlink Core, major device number 509
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0: current switch config:
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0:  Switch: 8086:1576 (Revision: 4, TB Version: 2)
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0:   Max Port Number: 11
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0:   Config:
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0:    Upstream Port Number: 1 Depth: 1 Route String: 0x1 Enabled: 1, PlugEventsDelay: 254ms
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0:    unknown1: 0x0 unknown4: 0x0
[Thu May 17 15:09:35 2018] thunderbolt 0000:06:00.0: 1: reading drom (length: 0x5a)
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1: uid: 0x414f41ac904b00
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:  Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max hop id (in/out): 7/7
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max counters: 8
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   NFC Credits: 0x800000
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:  Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max hop id (in/out): 15/15
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max counters: 16
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   NFC Credits: 0x7800000
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:  Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max hop id (in/out): 15/15
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max counters: 16
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   NFC Credits: 0x0
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:3: disabled by eeprom
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:4: disabled by eeprom
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:5: disabled by eeprom
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:  Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102))
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max hop id (in/out): 8/8
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max counters: 2
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   NFC Credits: 0x800000
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:  Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max hop id (in/out): 8/8
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   Max counters: 2
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0:   NFC Credits: 0x800000
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:8: disabled by eeprom
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:9: disabled by eeprom
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:a: disabled by eeprom
[Thu May 17 15:09:36 2018] thunderbolt 0000:06:00.0: 1:b: disabled by eeprom
[Thu May 17 15:09:36 2018] pci_bus 0000:05: Allocating resources
[Thu May 17 15:09:36 2018] pcieport 0000:05:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 08-40] add_size 200000 add_align 100000
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 07] add_size 1000
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 07] add_size 200000 add_align 100000
[Thu May 17 15:09:36 2018] pcieport 0000:05:01.0: BAR 15: assigned [mem 0xc0200000-0xc03fffff 64bit pref]
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: BAR 15: assigned [mem 0xc0400000-0xc05fffff 64bit pref]
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[Thu May 17 15:09:36 2018] pcieport 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[Thu May 17 15:09:36 2018] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:04:00.0/0000:05:01.0/0000:08:00.0/0000:09:01.0/0000:0a:00.1/sound/card3/input19
[Thu May 17 15:09:36 2018] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:04:00.0/0000:05:01.0/0000:08:00.0/0000:09:01.0/0000:0a:00.1/sound/card3/input20
[Thu May 17 15:09:36 2018] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:04:00.0/0000:05:01.0/0000:08:00.0/0000:09:01.0/0000:0a:00.1/sound/card3/input21
[Thu May 17 15:09:36 2018] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:04:00.0/0000:05:01.0/0000:08:00.0/0000:09:01.0/0000:0a:00.1/sound/card3/input22

any ideas where to start?

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.