Skip to content

Commit

Permalink
fix alc298 inject
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 10, 2020
1 parent b53c568 commit 9781b5c
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 2 deletions.
Binary file removed EFI/CLOVER/ACPI/patched/SSDT-HDEF-X260.aml
Binary file not shown.
65 changes: 65 additions & 0 deletions EFI/CLOVER/ACPI/patched/SSDT-HDEF-X270.aml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
DefinitionBlock ("SSDT-HDEF-X260.aml", "SSDT", 2, "T460", "HDEF", 0x00000000)
{
If (Zero)
{
\_SB.PCI0.HDEF
Alias (, ACPI Warning: Found bad character(s) in name, repaired: [*H**]
(20100528/utmisc-899)
*H**)
}
_SB.PCI0.HDEF._DSM
If (LNot (Arg2))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x14)
{
"AAPL,slot-name",
Buffer (0x09)
{
"Built in"
},
"layout-id",
Buffer (0x04)
{
0x1D, 0x00, 0x00, 0x00
},
"codec-id",
Buffer (0x04)
{
0x98, 0x02, 0xEC, 0x10
},
"model",
Buffer (0x18)
{
"Realtek ALC298 HD Audio"
},
"name",
Buffer (0x0F)
{
"Realtek ALC298"
},
"device_type",
Buffer (0x11)
{
"Audio Controller"
},
"built-in",
Buffer (One)
{
0x00
},
"PinConfigurations",
Buffer (Zero) {},
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
},
"MaximumBootBeepVolume",
0x2F
})
}
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ Thinkpad X270 EFI for 10.13/10.14.x

|Monitor|1366x768 (12.5 inch)|

|Audio|ALC298 (layout-id:29 not working well)|
|Audio|ALC298 (layout-id:29)|

|WLAN|Bcm94352z|

## DMG
DMG from :[【daliansky】macOS Mojave 10.14(18A389) with Clover 4670 image](https://blog.daliansky.net/macOS-Mojave-10.14-18A389-Release-with-Clover-4670-original-mirror.html)

## Drivers Working
1. Audio:ALC298,inject ID:29,via AppleALC,mod SSDT(fixed@20200310);
2. Wlan:DW1560/DW1830 Working;
3. Graphics:Intel HD Graphics 520 Working,Platform-id=0x19160002,Patch DVMT;Devices-Properties method;HDMI working;miniDP not tested;
4. Bluetooth working;Sleep/Wake working;
Expand All @@ -32,10 +33,13 @@ DMG from :[【daliansky】macOS Mojave 10.14(18A389) with Clover 4670 image](h
9. PCI not modified;

## Drivers Not Working
1. Audio:ALC298,inject ID:29,via AppleALC,not working, speaker no voice;
2. Battery not working always 0%;
3. Brightness adjust not working:`fn+F5`&`fn+F6`

- 3-10-2020

- fix alc298 inject

- 3-9-2020

- EFI first commit
Expand Down

0 comments on commit 9781b5c

Please sign in to comment.