GithubHelp home page GithubHelp logo

uelin / alcplugfix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darkhandz/alcplugfix

0.0 2.0 0.0 626 KB

macOS监听拔插耳机,然后发送特定的HDA指令

Objective-C 88.76% Shell 11.24%

alcplugfix's Introduction

简介

这个东东是 @goodwin 写的,主要是用来监听拔插耳机,然后发送特定的HDA指令(通过hda-verb发送给CodecCommander,再由CodecCommander发给系统)。

所以你必须要安装并加载CodecCommander.kext

理论上来说这个是通用的东西,我只是fork过来改成执行ALC298的指令,以解决ALC298的内置Mic/耳机Mic 切换问题,以及耳机单声道问题,顺便解决唤醒无声问题。


使用方法:

如果你是ALC298,不需要进行第2步了,已经编译好。

  1. 确保你安装了 CodecCommander.kext
  2. 下载代码,修改里面的HDA指令为你自己声卡的,编译出来,覆盖alc_fix/ALCPlugFix
  3. 执行脚本安装守护进程
    • cd alc_fix
    • chmod +x install.sh
    • ./install.sh
  4. 没有错误的话,可以拔插耳机测试了。

alcplugfix's People

Contributors

goodwin avatar

Watchers

 avatar  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.