Giter VIP home page Giter VIP logo

mbp-fedora-kernel's Introduction

Hi there


linkedin twitter

๐ŸŽ“ Resume:

resume

๐Ÿš€ Skills:

Stats!





mbp-fedora-kernel's People

Contributors

marcosfad avatar mikeeq avatar networkexception avatar redecorating avatar sharpenedblade 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mbp-fedora-kernel's Issues

Docs on how to build custom kernel based on this repo?

Would it be possible to add documentation on how to use this repo against latest kernel release, like, for instance, 5.15.4 or 5.16-rc2? I would be happy to build newer releases and test them out, but that would be much easier if there would be a workflow docs for that matter.

Thanks

Sign Packages

Sign the packages on the repo, unsigned packages can be tampered with.

Keyboard + Trackpad not working anymore after kernel update

Hi, again thanks for this project.
I had kernel version 5.3.15-300.mbp.fc31.x86_64 installed with the live cd of mbp-fedora.
After updating to kernel 5.4.8-200.mbp.fc31.x86_64 the keyboard and trackpad of the macbook are not working anymore, the external keyboard + mouse is working fine.

I've also tried updating to version 5.4.10-200.mbp.fc31.x86_64, but keyboard and trackpad are also not working.

Macbook Pro 15,2 i5

Is anyone else having this problem?

Every time I try to update kernel it's locked to fc33 somewhy

Every time I run kernel update it succeeds, but:

===]> Info: Current kernel version: 5.15.5-200.mbp.fc33.x86_64
===]> Info: Downloading latest mbp kernel: 5.15.5-f35

So it seems it's never actually updated (or is it?) to f35.

Might be a naming convention problem, but still:

[root@fedora-mbp ~]# uname -a
Linux fedora-mbp 5.15.5-200.mbp.fc33.x86_64 #1 SMP Wed Dec 1 09:46:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Weird to see "f33" kernel on Fedora 35.

WiFi issues

Hello everyone,

As many of us have problems with running WiFi under Linux on new Macs, I want to make a list of already compatible models/wifi chips here and track all issues in one thread. Sorry for closing other ones.

Compatible models:

  • Macbook Pro 15,2 i5
    • BCM4364/3 (P-maui-X3_M-HRPN_V-u__m-7.5.txt)

How correct Broadcom fw load should look like in dmesg:

โžœ dmesg | grep brcmfmac
[   13.351387] usbcore: registered new interface driver brcmfmac
[   13.351570] brcmfmac 0000:01:00.0: enabling device (0000 -> 0002)
[   13.454664] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4364-pcie for chip BCM4364/3
[   14.545924] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4364-pcie for chip BCM4364/3
[   14.578324] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4364/3 wl0: Mar 28 2019 19:17:52 version 9.137.9.0.32.6.34 FWID 01-36f56c94
[   14.658688] brcmfmac 0000:01:00.0 wlp1s0: renamed from wlan0
modprobe -r brcmfmac; modprobe brcmfmac rambase_addr=0x160000
#/etc/default/grub
GRUB_CMDLINE_LINUX="rhgb quiet efi=noruntime pcie_ports=compat modprobe.blacklist=thunderbolt systemd.unified_cgroup_hierarchy=0 brcmfmac.rambase_addr=0x160000"

Please post here all WiFi related issues.

Related issues in other projects:

Historic issues:

Interaction between Settings and Rhythmbox

No idea if this has to deal with kernel or not but when selecting the Sound item in Settings, it automatically switches to the next track in Rhythmbox playlist. This does not occur on any other "former windows" laptop I'm running with fedora or previously ubuntu... not a big issue but annoying.

EDIT: AAMOF if I run the following command the issue disappears...

pacmd set-card-profile $(pacmd list-cards | grep -B6 'alsa.card_name = "Apple T2 Audio"' | head -n1 | cut -d':' -f 2) output:codec-output+input:codec-input

EDIT2: same behaviour with other players like Clementine... pa_stream_writable_size() failed: Connection terminated

Take Wifi driver from M1 linux?

Hi all;
Recently Corellium team succeeded to run Linux, the interesting part for us is working wifi. We know that the M1 brcmfmac wifi chip is different from Macbook pro 16+, but I think we can take their patch:
corellium/linux-m1@02ad06f
and modify it to apply for ours (and, maybe we could have a generic driver for all new wifi chips?).
From an initial look (I am not sure), it seems, just for a preliminary test it's enough to:
1:replace the conditions where they are going to select 4378 chip, for example:
if(devinfo->ci->chip == BRCM_CC_4378_CHIP_ID)
with our specific chip eg. 4364.
2: Change the macros used for 4378 to e.g. 4364.

Of course, I don't know yet where/how they obtained the OTP information, and how exactly it is working and what are the requirements. But if anyone is interested I would be happy to work together on this.

Regards,
M

Idk How to Enable my broadcom chip

this is the issue i am getting when i run the command dmesg | grep brcmfmac
dmesg | grep brcmfmac
[ 19.732687] usbcore: registered new interface driver brcmfmac
[ 19.739192] brcmfmac 0000:02:00.0: enabling device (0000 -> 0002)
[ 19.855525] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4364-pcie for chip BCM4364/3
[ 20.323378] brcmfmac 0000:02:00.0: firmware: direct-loading firmware brcm/brcmfmac4364-pcie.Apple Inc.-iMac19,2.bin
[ 20.478621] brcmfmac 0000:02:00.0: firmware: direct-loading firmware brcm/brcmfmac4364-pcie.Apple Inc.-iMac19,2.txt
[ 20.543483] brcmfmac 0000:02:00.0: firmware: direct-loading firmware brcm/brcmfmac4364-pcie.Apple Inc.-iMac19,2.clm_blob
[ 26.719416] brcmfmac 0000:02:00.0: brcmf_pcie_download_fw_nvram: FW failed to initialize

Suspend / resume

One of the only things that doesn't work properly on my MacbookPro15,2 (kernel 5.6.15-300.mbp.fc32.x86_64) is sleep mode.

When I open the lid to resume, the following happens:

  • screen works and so do the running programs
  • touchbar and keyboard backlight light up for a couple of seconds, then goes dark
  • keyboard and touchpad don't work

Luckily the power button (fingerprint scanner) still works to properly shutdown.

Is sleep mode something that should work our of the box?

I'm more than happy to help debug this issue.

Remove need for update script.

If you add some post install hooks to the rpm, and build the modules with the kernel, then the update scripts are unnecessary.

Can't turn on F-keys on touchbar on MBP 15,4

# uname -r
5.6.13-300.mbp.fc32.x86_64
[root@localhost atodorov]# cat /etc/modprobe.d/hid_apple.conf 
options hid_apple fnmode=2
[root@localhost atodorov]# cat /sys/module/hid_apple/parameters/fnmode 
1

I don't seem to be able to make the touchbar display function keys by default and only show media keys if the Fn key is pressed down.

For some reason the file in /etc/modprobe.d/ doesn't have any effect.

I can change this parameter to 2 after being logged in:

# echo 2 > /sys/module/hid_apple/parameters/fnmode 
[root@localhost atodorov]# cat /sys/module/hid_apple/parameters/fnmode 
2

but that doesn't seem to have any effect. Any ideas ?

Full HW info at:
https://github.com/Dunedan/mbp-2016-linux/tree/master/MacBookPro15%2C4

wifi firmware load error

Thanks so much for this fantastic project! It benefits me a lot.
However, I installed v5.3.15-2-f31 on MacBookPro15,2 Catalina. And .trx, .clmb, .txt all copied to /lib/firmware/brcm according to https://gist.github.com/TRPB/437f663b545d23cc8a2073253c774be3#wifi. When booting, the result of dmesg | grep brcm is :

[    7.140063] usbcore: registered new interface driver brcmfmac  
[    7.140311] brcmfmac 0000:01:00.0: enabling device (0000 -> 0002)  
[    7.245941] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4364-pcie for chip BCM4364/3  
[    7.778035] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2  
[    7.778037] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found  
[    9.624439] brcmfmac 0000:01:00.0: brcmf_pcie_download_fw_nvram: FW failed to initialize  

Seems like firmware init error.

What's the problem? Or how can I learn to solve this problem?

Update script seems to be not working

The download process does not seem to work properly, and even if the rpm files are downloaded manually, the script 'Can not load RPM file' for all of them.

wifi on MacBook Pro 15.4 (13" 2019)

Great Project thanks!
works pretty well except wifi on my 13 inch 2019 mbp
Maybe because it uses the BCM4377 and i can't find any information about linux support.
brcmfmac doesn't even attempt to load.

After upgrading to the latest kernel (5.6.15), dnf complains about repo mbp-fedora-kernel

I'm getting the errors below when running dnf update --refresh

mbp-fedora-kernel                                                                       1.5 kB/s | 506  B     00:00    
Errors during downloading metadata for repository 'mbp-fedora-kernel':
  - Status code: 503 for http://fedora-mbp-repo.herokuapp.com/repodata/repomd.xml (IP: 52.213.218.43)
Error: Failed to download metadata for repo 'mbp-fedora-kernel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

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.