Coder Social home page Coder Social logo

markdigiovanni / macbook12-audio-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leifliddy/macbook12-audio-driver

0.0 0.0 0.0 80 KB

WIP audio driver for the cs4208 codec found in the 12" MacBook (MacBook9,1, MacBook10,1).

Shell 1.62% C 98.13% Makefile 0.25%

macbook12-audio-driver's Introduction

Work in progress audio driver for the 12" MacBook that's largely based on davidjo's snd_hda_macbookpro

macbooks supported: MacBook9,1 (2016) and Macbook10,1 (2017)
Note: the Macbook8,1 (2015) is not supported

Kernels supported: >= 5.0

Only the speakers work with this driver (no wired headphone support)
However, the stock kernel driver supports wired headphones
So in order to use wired headphones, you must remove the module that this project creates and reboot

Compiling and installing driver:

fedora package install

dnf install dkms gcc kernel-devel make wget

ubuntu package install

apt install dkms gcc linux-headers-generic make wget

arch package install

pacman -S dkms gcc linux-headers make wget
  1. build and install dkms module (experimental feature)
    this will build the module for the current/active kernel
    and will auto-compile this module whenever you install a newer kernel
git clone https://github.com/leifliddy/macbook12-audio-driver.git
cd macbook12-audio-driver/
# run the following command as root or with sudo
./install.cirrus.driver.sh -i
reboot

# to uninstall the dkms feature run:
./install.cirrus.driver.sh -u
  1. (backup method if dkms didn't work) manually build and install module for current kernel
git clone https://github.com/leifliddy/macbook12-audio-driver.git
cd macbook12-audio-driver/
# run the following command as root or with sudo
./install.cirrus.driver.sh
reboot

macbook12-audio-driver's People

Contributors

leifliddy avatar

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.