*적용중인 도장
x86osx.com의 울트라뽕님이 공유해주신 글입니다.
https://x86osx.com/bbs/view.php?select_arrange=headnum&desc=asc&id=osxtips&no=3777
****** 이 후킹패치를 할때 가장 중요한것은 Vendor-id와 Subsystem-id, Subsystem-vendor-id입니다.
*******
****** 위부분을 적용하지 않으면 후킹의 의미가 없어지기때문에 깨어남이 계속될수 있습니다. ******
이
방법은 맥의 Subsystem관련 id가 다르기때문에 생기는 문제에 적용 가능합니다.
맥에서 완전히 지원하는듯 잘 작동은 되지만 이런 작은
차이때문에 약간의 오작동을 하는경우 간단하게 맥과 같게 후킹해줌으로써 완전하게 작동하도록 하는 간단한 팁입니다.
MacPro5,1 4,1
Method (_DSM,
4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package
(0x0D)
{
"vendor-id", <------ vendor-id, subsystem-id,
subsystem-vendor-id가 조금씩 다를수 있기때문에 맥과
맞추었습니다.
Buffer
(0x04)
{
0x86, 0x80, 0x00, 0x00
},
"subsystem-id",
Buffer
(0x04)
{
0x70, 0x72, 0x00, 0x00
},
"subsystem-vendor-id",
Buffer
(0x04)
{
0x86, 0x80, 0x00, 0x00
},
"AAPL,current-available", <------ 이 파란색 부분이 맥프로와
아이맥, 맥북에어, 맥북프로, 맥미니등에서 약간
다릅니다.
0x05DC,
"AAPL,current-extra",
0x04B0,
"AAPL,current-in-sleep",
0x09C4,
Buffer
(One)
{
0x00
}
},
Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf
(Local0))
Return
(Local0)
}
}
MacPro3,1
Method (_DSM, 4,
NotSerialized) // _DSM: Device-Specific Method
{
Store (Package
(0x0D)
{
"vendor-id",
Buffer
(0x04)
{
0x86, 0x80, 0x00, 0x00
},
"subsystem-id",
Buffer
(0x04)
{
0x70, 0x72, 0x00, 0x00
},
"subsystem-vendor-id",
Buffer
(0x04)
{
0x86, 0x80, 0x00, 0x00
},
"AAPL,current-available",
0x05DC,
"AAPL,current-extra",
0x03E8,
"AAPL,current-in-sleep",
0x0BB8,
Buffer
(One)
{
0x00
}
},
Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf
(Local0))
Return
(Local0)
}
}
iMac12,1 12,2 13,1 13,2
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific
Method
{
Store (Package
(0x11)
{
"vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"subsystem-id",
Buffer
(0x04)
{
0x70, 0x72,
0x00, 0x00
},
"subsystem-vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0A8C,
"AAPL,current-extra-in-sleep",
0x0A8C,
"AAPL,max-port-current-in-sleep",
0x0834,
"AAPL,device-internal",
0x02,
Buffer
(One)
{
0x00
}
},
Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf
(Local0))
Return (Local0)
}
MacBookAir6,2 (XHCI만 존재하네요. 코드는 아래와
같습니다.)
Method (_DSM, 4, NotSerialized) // _DSM:
Device-Specific Method
{
Store (Package
(0x0F)
{
"vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"subsystem-id",
Buffer
(0x04)
{
0x70, 0x72,
0x00, 0x00
},
"subsystem-vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0898,
"AAPL,current-extra-in-sleep",
0x0640,
"AAPL,max-port-current-in-sleep",
0x834,
Buffer
(One)
{
0x00
}
},
Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf
(Local0))
Return (Local0)
}
MacBookPro10,1 10,2 (XHCI, EHCI 코드가 같습니다.)
9,1 9,2 8,1 8,2
Method (_DSM, 4, NotSerialized) //
_DSM: Device-Specific Method
{
Store (Package
(0x11)
{
"vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"subsystem-id",
Buffer
(0x04)
{
0x70, 0x72,
0x00, 0x00
},
"subsystem-vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0898,
"AAPL,current-extra-in-sleep",
0x0640,
"AAPL,device-internal",
0x02,
"AAPL,max-port-current-in-sleep",
0x834,
Buffer
(One)
{
0x00
}
},
Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf
(Local0))
Return (Local0)
}
MacMini6,2 (XHCI, EHCI 코드가
같습니다.)
Method (_DSM, 4, NotSerialized) // _DSM:
Device-Specific Method
{
Store (Package
(0x11)
{
"vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"subsystem-id",
Buffer
(0x04)
{
0x70, 0x72,
0x00, 0x00
},
"subsystem-vendor-id",
Buffer
(0x04)
{
0x86, 0x80,
0x00, 0x00
},
"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0C80,
"AAPL,current-extra-in-sleep",
0x0640,
"AAPL,device-internal",
0x02,
"AAPL,max-port-current-in-sleep",
0x834,
Buffer
(One)
{
0x00
}
},
Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf
(Local0))
Return (Local0)
}
제목 | 조회 수 | 날짜 | 글쓴이 |
---|---|---|---|
macOS Sequoia 15.0.1 24A348 정식버젼 고스트 이미지 OC 1.0.2 ft: 전체공개 +29 | 936 | 24.10.1121:10 | 좌절금지 |
오픈코어 1.0.2 +23 | 574 | 24.10.0900:22 | 줌바이퍼 |
[중급편] 노트북 해킨 +16 | 1401 | 24.07.1219:19 | Stultus |
macOS Ventura 13.7 22H123 정식버젼 고스트 이미지 OC 1.0.1 ft: 전체 공개 +17 | 574 | 24.09.1917:09 | 좌절금지 |
macOS Sonoma 14.7 23H124 정식버젼 고스트 이미지 OC 1.0.1 ft: 전체공개 +31 | 908 | 24.09.1723:58 | 좌절금지 |
[초급편] 문제 스스로 해결하기 +20 | 4002 | 24.03.2920:07 | Stultus |
[입문편] 첫 해킨 길라잡이 +40 | 5082 | 24.01.1218:54 | Stultus |
[필독 - 안정화] macOS 해킨토시 설치 후 안정화 작업 목록 및 글타래 모음 총정리 📋 +67 | 5.1만 | 23.01.0913:39 | shl628 |
Hot AMD Sequoia용 AppleALC 1.9.2 +3 | 105 | 24.10.2319:04 | 사노라맨 |
Hot [Sequoia 15.0.1, OC r1.0.2] ASUS TUF B550-PLUS / RYZEN 5 5600X / RX470 +2 | 101 | 24.10.2322:26 | 뿌엥 |
Hot OCLP로 지원되지 않는 기기/dGPU를 사용하는 해킨토시의 사이드카 품질 문제 해결방법 +1 | 114 | 24.10.2321:29 | 해킨도전자 |
114 | 24.10.2321:29 | 해킨도전자 | |
105 | 24.10.2319:04 | 사노라맨 | |
783 | 24.10.1412:27 | shl628 | |
659 | 24.10.1316:00 | 수박 | |
936 | 24.10.1121:10 | 좌절금지 | |
574 | 24.10.0900:22 | 줌바이퍼 | |
1401 | 24.07.1219:19 | Stultus | |
1209 | 24.10.0500:31 | 줌바이퍼 | |
569 | 24.10.0410:49 | Tamy | |
463 | 24.09.2808:22 | Tamy | |
893 | 24.09.2321:32 | Stultus | |
601 | 24.09.1722:40 | 좌절금지 | |
562 | 24.09.1708:13 | 김경석 | |
768 | 24.09.1504:35 | Tamy | |
584 | 24.09.1319:18 | Stultus | |
706 | 24.09.1019:44 | 치토 | |
462 | 24.09.0112:54 | 해킨도전자 | |
546 | 24.08.3115:34 | 머핀X | |
306 | 24.08.2601:42 | 화정큐삼 | |
305 | 24.08.2422:59 | 하나브 | |
318 | 24.08.2316:25 | 화정큐삼 | |
415 | 24.08.1810:56 | CanBe | |
363 | 24.08.1800:04 | 화정큐삼 | |
300 | 24.08.1722:03 | 화정큐삼 | |
419 | 24.08.1419:58 | Stultus | |
377 | 24.08.1311:26 | 오디세이 | |
270 | 24.08.1115:46 | 좌절금지 | |
233 | 24.08.1022:46 | Stultus | |
131 | 24.08.0609:17 | RogerT | |
88 | 24.08.0523:34 | jbhlyk | |
267 | 24.08.0521:10 | 수인과윤슈 | |
621 | 24.08.0221:07 | Stultus | |
391 | 24.07.3019:12 | Tamy | |
308 | 24.07.2112:43 | Stultus | |
284 | 24.07.1122:47 | Stultus | |
215 | 24.07.1020:44 | Stultus | |
257 | 24.07.0921:44 | Stultus | |
384 | 24.07.0820:57 | Stultus | |
397 | 24.07.0721:25 | Stultus | |
359 | 24.07.0604:41 | bsiugr | |
650 | 24.07.0509:56 | 애플브리크 | |
472 | 24.06.2723:24 | 치토 | |
852 | 24.06.1120:40 | Stultus | |
1447 | 24.04.3022:28 | Stultus | |
1027 | 24.04.2718:46 | Stultus | |
3084 | 24.04.1312:15 | Stultus | |
3049 | 24.04.0712:49 | Stultus | |
1537 | 24.04.0619:59 | Stultus | |
1517 | 24.04.0613:43 | Stultus | |
2665 | 24.04.0521:57 | Stultus |