Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 41

Thread: openSUSE on the 2015 Apple 12 Inch Retina MacBook

  1. #31

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by lliinnuuxx View Post
    Success! That simple 3 line patch at least got the device and partitions recognized on my MacBook.
    Code:
    $ uname -a
    Linux crapple 4.3.0 #2 SMP Wed Nov 11 21:14:30 CST 2015 x86_64 GNU/Linux
    
    ls -l /dev/nvme0*
    crw------- 1 root root 251, 0 Nov 11 22:55 /dev/nvme0
    brw-rw---- 1 root disk 259, 0 Nov 11 22:55 /dev/nvme0n1
    brw-rw---- 1 root disk 259, 1 Nov 11 22:55 /dev/nvme0n1p1
    brw-rw---- 1 root disk 259, 2 Nov 11 22:55 /dev/nvme0n1p2
    brw-rw---- 1 root disk 259, 3 Nov 11 22:55 /dev/nvme0n1p3
    As the patch email mentions, the controller identifies itself as a mass storage device so it's still necessary to bind the controller to the nvme driver:
    Code:
    echo "106b 2001" > /sys/bus/pci/drivers/nvme/new_id
    The thread also mentions updating the PCI ID structure to include the controller device ID so the manual driver binding may not be necessary:
    http://lists.infradead.org/pipermail...er/002955.html
    What about the keyboard and touchpad? Are they working?

  2. #32

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by lliinnuuxx View Post
    Success! That simple 3 line patch at least got the device and partitions recognized on my MacBook.
    Code:
    $ uname -a
    Linux crapple 4.3.0 #2 SMP Wed Nov 11 21:14:30 CST 2015 x86_64 GNU/Linux
    
    ls -l /dev/nvme0*
    crw------- 1 root root 251, 0 Nov 11 22:55 /dev/nvme0
    brw-rw---- 1 root disk 259, 0 Nov 11 22:55 /dev/nvme0n1
    brw-rw---- 1 root disk 259, 1 Nov 11 22:55 /dev/nvme0n1p1
    brw-rw---- 1 root disk 259, 2 Nov 11 22:55 /dev/nvme0n1p2
    brw-rw---- 1 root disk 259, 3 Nov 11 22:55 /dev/nvme0n1p3
    As the patch email mentions, the controller identifies itself as a mass storage device so it's still necessary to bind the controller to the nvme driver:
    Code:
    echo "106b 2001" > /sys/bus/pci/drivers/nvme/new_id
    The thread also mentions updating the PCI ID structure to include the controller device ID so the manual driver binding may not be necessary:
    http://lists.infradead.org/pipermail...er/002955.html
    Nice! Did you try writing to the disk? I'll try this later this week.

  3. #33

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by noobermin View Post
    Nice! Did you try writing to the disk? I'll try this later this week.
    I tried the two patches that Moepi mentions in his post here a couple of weeks ago and whilst I can copy to/from the drive I was unable to debootstrap a full system (complaints about writing to the superblock etc): http://moepi.net/?page_id=213. There's also commentary on the track-pad and other internal devices.

    Here is a link to the mailing list which details the kind souls who have created and are testing these patches: https://bugzilla.kernel.org/show_bug.cgi?id=99891

    The patches themselves look to have evolved since when I tested so would recommend you all have a go and provide feedback as appropriate:

    http://git.infradead.org/users/kbusc...d3fa43a15089e6

    John

  4. #34

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    I found something which seems to indicate that perhaps Linux kernel 4.4+ may support the 14e4:43a3 Broadcom 802.11ac wireless chip. The page lists the device ID as being associated with the BCM4350 chip, although everything else I have come across seems to indicate that this device ID is associated with the BCM4360 chip. Perhaps it is just a typo...? The link is here:

    https://wireless.wiki.kernel.org/en/...vers/brcm80211

    It says:

    Chipset PCI Device ID Notes
    BCM4350 14e4:43a3 Queued for 4.4+

  5. #35

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by noobermin View Post
    Nice! Did you try writing to the disk? I'll try this later this week.
    I actually copied the system I had previously installed on a USB SSD to the nvme disk and after modifying the initrd to include the nvme kernel module I have a system which boots and runs directly from the nvme disk.

    Since I'm using disk encryption I had to remember to update /conf/conf.d/cryptroot inside of the initrd to use the correct partition and also run 'grub-install /dev/nvme0n1'

    It'll be nice when the keyboard, trackpad and internal wireless network adaptor are supported.

    Prior to installation, I ended up re-installing OS X in order to repartition the disk since OS X disk encryption seemed to be interfering with the process.

    I'm running kernel: Linux crapple 4.4.0-rc4 #1 SMP Thu Dec 10 16:32:48 CST 2015 x86_64 GNU/Linux

  6. #36

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by lub997 View Post
    I found something which seems to indicate that perhaps Linux kernel 4.4+ may support the 14e4:43a3 Broadcom 802.11ac wireless chip. The page lists the device ID as being associated with the BCM4350 chip, although everything else I have come across seems to indicate that this device ID is associated with the BCM4360 chip. Perhaps it is just a typo...? The link is here:

    https://wireless.wiki.kernel.org/en/...vers/brcm80211

    It says:

    Chipset PCI Device ID Notes
    BCM4350 14e4:43a3 Queued for 4.4+
    The firmware in this email http://www.spinics.net/lists/linux-w...msg144980.html brought my internal wireless card to life! This is needed by the kernel module "brcmfmac"

    I'm currently running kernel 4.4.0-rc5 and have revision 5 of the BCM4350 wireless adapter

    Code:
    lspci -nn |grep 43a3
    01:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:43a3] (rev 05)
    To extract the firmware:

    Code:
    lynx -dump -dont_wrap_pre http://www.spinics.net/lists/linux-w...msg144980.html > bcm4350_firmware.txt
    git apply --exclude=WHENCE bcm4350_firmware.txt
    This yields:

    Code:
    brcm/brcmfmac4350c2-pcie.bin
    I copied "brcmfmac4350c2-pcie.bin" to /lib/firmware/brcm and also to "/lib/firmware/brcm/brcmfmac4350-pcie.bin" since the brcmfmac kernel module seems to currently reference that particular firmware.

    Code:
    dmesg | grep brcm
    [   27.150100] usbcore: registered new interface driver brcmfmac
    [   27.272942] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.txt failed with error -2
    [   27.538927] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 26 2015 03:48:57 version 7.35.180.133 (r602372) FWID 01-c45b39d6
    [   27.578297] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
    [   27.584988] brcmfmac 0000:01:00.0 wlp1s0: renamed from wlan0
    [   30.298999] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
    [  123.010194] brcmfmac 0000:01:00.0 wlan0: renamed from wlp1s0
    [  128.224298] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
    [  128.224306] brcmfmac: brcmf_add_if: ignore IF event
    The firmware error message refers to the nvram file which isn't needed in this case apparently. Refer to https://wireless.wiki.kernel.org/en/...e_installation

    After loading kernel module brcmfmac I ended up with wireless interface wlp1s0 which I renamed wlan0: "sudo ip link set wlp1s0 name wlan0"

    The keyboard and trackpad are the last remaining non-functioning parts for me.

  7. #37

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Is bluetooth working for you?

  8. #38

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by leif_liddy View Post
    Is bluetooth working for you?
    I haven't attempted to get bluetooth working but as far as I can tell it is not currently working.

  9. #39

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by lliinnuuxx View Post
    I haven't attempted to get bluetooth working but as far as I can tell it is not currently working.
    I've found this device that looks like a bluetooth serial interface

    P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/BCM2E7C:00
    E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/BCM2E7C:00
    E: ID_VENDOR_FROM_DATABASE=Broadcom
    E: MODALIAS=acpi:BCM2E7C:APPLE-UART-BLTH:
    E: SUBSYSTEM=acpi
    E: USEC_INITIALIZED=7539067

    I extracted the contents of the BroadcomBluetooth64.exe (from the bootcamp software collection). In the BtwSerialBus-dev.inf file, I found the line:
    %Bus.DeviceDesc%=BluePinole2E7C, ACPI\BCM2E7C ; BCM4350 no flash

    The odd thing is that there no BCM4350.....hcd file from the extracted driver files. Does anyone know how I can go about getting the firmware for this device?
    Last edited by leif_liddy; 15-Jan-2016 at 22:03. Reason: grammer mistake

  10. #40
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    24,987
    Blog Entries
    15

    Default Re: openSUSE on the 2015 Apple 12 Inch Retina MacBook

    Quote Originally Posted by leif_liddy View Post
    I've found this device that looks like a bluetooth serial interface

    P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/BCM2E7C:00
    E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:17/BCM2E7C:00
    E: ID_VENDOR_FROM_DATABASE=Broadcom
    E: MODALIAS=acpi:BCM2E7C:APPLE-UART-BLTH:
    E: SUBSYSTEM=acpi
    E: USEC_INITIALIZED=7539067

    I extracted the contents of the BroadcomBluetooth64.exe (from the bootcamp software collection). In the BtwSerialBus-dev.inf file, I found the line:
    %Bus.DeviceDesc%=BluePinole2E7C, ACPI\BCM2E7C ; BCM4350 no flash

    The odd thing is that there no BCM4350.....hcd file from the extracted driver files. Does anyone know how I can go about getting the firmware for this device?
    Hi
    Seems it's W.i.P;
    https://bugzilla.kernel.org/show_bug.cgi?id=99891
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 4 of 5 FirstFirst ... 2345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •