Jump to content
Meowthra

Realtek ALC283 (Laptop) 10.8 - 10.14 Patch

1 post in this topic

Recommended Posts

###########################################
### DSDT FIX
###########################################
# fix system_IRQ

find Device (HPET)

Device (HPET)
{
    Name (_HID, EisaId ("PNP0103"))
    Name (_UID, Zero)
    Name (BUF0, ResourceTemplate ()
    {
        // Insert
        IRQNoFlags() { 0, 8, 11, 15 }


###########################################
### Clover
###########################################

mkdir -p $HOME/EFI
sudo mount -t msdos /dev/disk0s1 $HOME/EFI

open $HOME/EFI/EFI/CLOVER/config.plist

Add To:

    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <integer>66</integer>
        </dict>
    </dict>

###########################################
### AppleHDA Patch
###########################################

curl -O https://raw.githubusercontent.com/kalifans/Darwin/Driver/AppleHDA-ALC283-Patch.tar.gz

tar zxvf AppleHDA-ALC283-Patch.tar.gz

cd AppleHDA-ALC283-Patch

./patch-alc283.sh

 

###########################################

### Install VerbStub for hda-verb

###########################################

curl -O https://raw.githubusercontent.com/kalifans/Darwin/Driver/VerbStub.tar.gz
tar zxvf VerbStub.tar.gz
cd VerbStub

# cpoy VerbStub.kext to EFI/CLOVER/kexts/

mkdir -p $HOME/EFI
sudo mount -t msdos /dev/disk0s1 $HOME/EFI
sudo cp -r VerbStub.kext $HOME/EFI/EFI/CLOVER/kexts/

# or copy VerbStub.kext to /System/Library/Extensions/

sudo cp -r VerbStub.kext /System/Library/Extensions/
sudo chown -R 0:0 /System/Library/Extensions/VerbStub.kext

# copy hda-verb to /usr/bin/

sudo cp hda-verb /usr/bin/
sudo chmod 755 /usr/bin/hda-verb
cd ..

 

###########################################

### Mic Int / Line In Auto Switch

###########################################

curl -O https://raw.githubusercontent.com/kalifans/Darwin/Driver/ALC-LineIn-Switch.tar.gz
tar zxvf ALC-LineIn-Switch.tar.gz
cd ALC-LineIn-Switch

sudo cp LineInSwitch /usr/bin/
sudo chmod 755 /usr/bin/LineInSwitch
sudo chown 0:0 /usr/bin/LineInSwitch

sudo cp com.realtek.LineInSwitch.plist /Library/LaunchAgents/
sudo chmod 644 /Library/LaunchAgents/com.realtek.LineInSwitch.plist
sudo chown 0:0 /Library/LaunchAgents/com.realtek.LineInSwitch.plist
launchctl load /Library/LaunchAgents/com.realtek.LineInSwitch.plist

 

NOTE: Line In Node Switch Settings

edit /usr/bin/LineInSwitch

Headphone or Speaker Mode Check Default 10 Seconds

Line In Node Check Interval efault 5 Seconds

# Settings Headphone Node Check Interval (unit seconds) 
HEADPHONE_CHECK_INTERVAL="10"
# Settings Line In Node Check Interval (unit seconds)
LINEIN_CHECK_INTERVAL="5"

 

Reboot Computer

 

bO5wccJ.png

Edited by Meowthra

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×