x86 하드웨어 기반 Mac OS X 2008–2024 기술 아카이브
InfiniteMac OSx86 › OSx86 10.X 코어 아키텍처 및 부트 시스템 › DSDT 패치를 통해 UHCI / EHCI USB 컨트롤러를 '내장(Built-in)'으로 인식시켜 잠자기 및 깨우기 문제 해결하기
496,156 reads · 2009-08-30 – 2011-09-26
기술 모노그래프 10.X 코어 아키텍처 DSDT Gigabyte G31M / P35 USB / EHCI

DSDT 패치를 통해 UHCI / EHCI USB 컨트롤러를 '내장(Built-in)'으로 인식시켜 잠자기 및 깨우기 문제 해결하기

한국어 전문 번역 기술 문서 · 터미널 명령어, Kext 파일명, ACPI 노드 및 부트 플래그는 원문 그대로 보존됩니다영문 원본 보기 (Original English) →

먼저 증상과 원인을 짚어 본 뒤 해결 방법을 설명하겠습니다.

제 시스템에서는 USB 1.1(UHCI) 및 USB 2.0(EHCI) 포트가 시스템 프로파일러(System Profiler)에서 내장 장치가 아닌 "확장 슬롯(Expansion Slots)"으로 인식되고 있었습니다. 이로 인해 두 가지 큰 문제가 발생했습니다. 첫째, 컴퓨터를 잠자기(Sleep) 상태에서 깨울 때 마우스나 키보드로 깨울 수 없어 무조건 본체 전원 버튼을 직접 눌러야 했습니다. 둘째, USB 드라이브를 꽂은 채로 잠자기 모드에 들어갔다가 깨어나면 어김없이 "디스크가 제대로 추출되지 않았습니다(Device removal error)"라는 경고 창이 떴습니다.

이를 해결하기 위해 제가 찾은 두 가지 서로 다른 DSDT 패치 기법을 하나로 결합했습니다. 하나는 UHCI만 수정하고 EHCI는 잡지 못했고, 다른 하나는 정반대로 EHCI만 수정하는 방식이었기 때문입니다.

제가 결합한 첫 번째 UHCI용 DSDT 패치 출처는 여기입니다: http://www.insanelymac.com/forum/index.php?showtopic=16… ↗

그리고 두 번째 EHCI용 패치 출처는 여기입니다:
http://www.insanelymac.com/forum/index.php?showtopic=15… ↗

두 패치를 결합해 적용한 결과, 이제 USB 마우스를 클릭하는 것만으로 컴퓨터를 잠자기에서 즉시 깨울 수 있게 되었으며 잠자기에 들어가기 전에 일일이 USB 메모리를 추출할 필요도 없어졌습니다. 또한 상세 부팅 모드(-v, Verbose mode)로 부팅할 때 나타나던 "controller will be unloaded across sleep" 오류 메시지도 완전히 사라졌습니다.

이 패치는 제 EP35-DS3P 보드에서 완벽하게 작동하며, 디바이스 ID를 ICH10 규격에 맞게 매핑했으므로 대부분의 ICH9 및 ICH10 기반 기가바이트 메인보드에서 동일하게 효과를 볼 수 있을 것입니다.

참고로 주소값이 0x001D0003인 USB 장치(제 보드에서는 US31로 표기됨)는 건드리지 않도록 주의하십시오.

참여 및 검증 멤버 (33)
@wwbsox (44)@Snow (23)@EnzoFX (13)@kDawg (12)@Ianxxx (8)@xwin78 (6)@osxfr33k (6)@twr (5)@Jedric (5)@sk1nhd33t (4)@stayupforever90 (4)@CyCLoBoT (3)@mormegil (2)@kramer2k (2)@ohwhyme (2)@sylvester328 (2)+17 more
관련 하드웨어 참조
고속 USB 3.2 부팅 드라이브 ↗ 저소음 쿨러 및 전원 부품 ↗ Gigabyte 메인보드 ↗

커뮤니티 실측 및 기술 필드 노트

총 160개의 원본 스레드 응답 중 기술적 가치가 높은 146개의 필드 노트 수록

필드 노트 #1 @Ianxxx 2009-08-31

와, 정말 멋진 패치네요! 이제 더 이상 시스템 Kext를 직접 수정할 필요가 없겠습니다.

저자 업데이트 #1 @wwbsox 2009-08-31 ↳ Re: @Ianxxx

EHCI 패치의 공로는 Apex 님께 돌아갑니다.

참고로 첫 번째 링크에 나와 있는 SATA 패치는 제 보드 같은 ICH9 보드에서도 아주 훌륭하게 작동합니다. 이제 시스템 프로파일러에서 AHCI 컨트롤러가 "Unknown AHCI Controller" 대신 깔끔하게 ICH10으로 인식됩니다. 제 DSDT에는 SATA라는 이름의 디바이스 섹션은 없었지만 IDE1 섹션이 동일한 주소(_ADR)를 쓰고 있길래 그곳에 _DSM 메소드를 추가했더니 완벽히 작동하네요.

필드 노트 #2 @Snow 2009-08-31

저도 똑같은 문제를 겪고 있습니다. 가끔 부팅 후 키보드와 마우스가 먹통이 되곤 했는데, Chameleon 부트로더의 USB 관련 옵션들을 넣어주면 그 증상은 잡히더군요.
하지만 여전히 시스템 프로파일러에서 USB가 확장 슬롯(Expansion Slot)으로 인식되고, 잠자기에서 깨울 때도 본체 전원 버튼을 눌러야만 합니다.
본문 내용을 제 dsl 파일에 추가하고 컴파일을 시도했는데(이미 DSDT 안에 DTGP 메소드는 들어 있습니다) 다음과 같은 에러들이 발생합니다:

/Users/Snow/Desktop/dsdt.dsl  4032:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4066:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4100:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4134:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4188:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4222:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4267:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

/Users/Snow/Desktop/dsdt.dsl  4306:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4067 -   Object is not accessible from this scope ^  (DTGP)

혹시 해결 방법을 아시나요? 감사합니다.

필드 노트 #3 @Ianxxx 2009-08-31 ↳ Re: @Snow
@Snow저도 똑같은 문제를 겪고 있습니다. 가끔 부팅 후 키보드와 마우스가 먹통이 되곤 했는데, Chameleon 부트로더의 USB 관련 옵션들을 넣어주면 그 증상은 잡히더군요. 하지만 여전히 시스템 프로파일러에서 USB가 확장 슬롯(Expansion Slot)으로 인식되고, 잠자기에서 깨울 때도 본체 전원 버튼을 눌러야만 합니다. 본문 내용을 제 dsl 파일에 추가하고…

안녕하세요, 제가 사용 중인 GA-P35-DS3L용 DSDT를 첨부합니다. 파일 안에서 DTGP를 검색해 보시면 어느 스코프 위치에 어떻게 넣어야 하는지 바로 확인하실 수 있을 겁니다.

필드 노트 #4 @Snow 2009-08-31

알려주신 대로 DTGP 위치를 옮겨서 다시 시도해 봤는데(엉뚱한 섹션 안에 넣어뒀었네요), 이번에는 아래와 같은 새로운 에러가 튀어나옵니다.

빌어먹을 DSDT 같으니라고!

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 22 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

/Users/Snow/Desktop/dsdt.dsl   203:         OSTP ()
Error    4063 -          Object does not exist ^  (OSTP)

/Users/Snow/Desktop/dsdt.dsl   254:             }Method         Notify (\_SB.PWRB, 0x02)
Error    4095 -                                       ^ syntax error, unexpected PARSEOP_METHOD, expecting $end


Elapsed time for major events


Miscellaneous compile statistics

        456 : Parse nodes
         82 : Namespace searches
         47 : Named objects
          4 : Control methods
         10 : Memory Allocations
     188850 : Total allocated memory
          0 : Constant subtrees folded

ASL Input:  /Users/Snow/Desktop/dsdt.dsl - 5646 lines, 189478 bytes, 96 keywords
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
저자 업데이트 #2 @wwbsox 2009-08-31 ↳ Re: @Snow

EP35-DS3P용 DSDT 문법 오류

@snow

마지막에 뜨는 에러는 단순한 문법 오류(Syntax Error)입니다. 괄호나 구두점 짝만 꼼꼼히 맞춰주시면 됩니다.
아마 쉼표(,) 하나가 빠졌거나 공백/중괄호 위치가 어긋났을 겁니다.

제가 올린 파일과 한 번 대조해 보세요.

필드 노트 #5 @Snow 2009-08-31

좋습니다, 범인을 찾았습니다! 중간에 닫는 중괄호 `}` 하나를 잘못 넣었었네요. 수정하니 깔끔하게 컴파일되었습니다.

도움 주신 모든 분들께 감사드리며, 다음 재부팅 때 새로 만든 aml 파일을 바로 테스트해 보겠습니다.

아, 그리고 이 DSDT 패치를 적용하면 com.apple.Boot.plist에 넣어두었던 아래 옵션들은 이제 지워도 되나요?

<key>EHCIacquire</key>
<string>Yes</string>
<key>UHCIreset</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>
필드 노트 #6 @aed0101@hotmail 2009-08-31

대단히 감사합니다! 마법처럼 완벽하게 작동합니다(컴파일 시 문법 에러가 98개나 떴지만 그건 나중에 차차 정리하려고 합니다).

주제 외 질문(Offtopic): 저는 무선 Mighty Mouse를 연결하기 위해 외장 USB 블루투스 동글을 꽂아 쓰고 있습니다. 그런데 블루투스 동글이 내장(Built-in)이 아닌 외장 장치로 인식되다 보니 블루투스 환경설정에서 '블루투스 장비가 컴퓨터의 잠자기를 깨우도록 허용' 체크박스가 비활성화(회색)되어 있습니다. 혹시 이더넷이나 USB처럼 외장 USB 블루투스 동글도 DSDT나 EFI 스트링을 통해 내장(Built-in) 장치로 인식시키는 방법이 있을까요?

저자 업데이트 #3 @wwbsox 2009-08-31 ↳ Re: @aed0101@hotmail

@snow. 제 com.apple.Boot.plist에는 그 USB 관련 플래그들을 하나도 넣지 않았는데도 모든 기능이 정상 작동합니다.

필드 노트 #7 @Snow 2009-08-31

테스트해 봤는데 고속 USB 버스(EHCI)는 내장(Built-in)으로 잘 바뀌었지만, 일반 USB 버스(UHCI)는 여전히 확장 슬롯(Expansion Slot)으로 표시되네요.

업데이트: 다시 자세히 확인해 보니 제 키보드와 마우스가 연결된 특정 UHCI 버스 딱 하나만 확장 슬롯으로 뜨고, 고속 버스를 포함한 나머지 모든 USB 버스들은 내장(Built-in)으로 정상 인식되었습니다.

필드 노트 #8 @Snow 2009-08-31

딱 1개의 USB 버스만 확장 슬롯으로 뜨는 걸 보니 제 DSDT에서 해당 버스에 대한 패치 코드가 누락된 것 같습니다.

디바이스 ID를 0x3a37로 바꿔줘야 할 것 같은데, 그냥 DSDT에 USB6 같은 버스 항목을 하나 더 추가하면 될까요?

문제의 USB 버스 정보:

호스트 컨트롤러 위치: 확장 슬롯 (Uitbreidingssleuf)
호스트 컨트롤러 드라이버: AppleUSBUHCI
PCI 장치 ID: 0x2937
PCI 리비전 ID: 0x0002
PCI 벤더 ID: 0x8086
버스 번호: 0x1a

정상 패치된 다른 USB 버스와의 비교:

호스트 컨트롤러 위치: 내장 USB 인터페이스 (Ingebouwde USB-interface)
호스트 컨트롤러 드라이버: AppleUSBUHCI
PCI 장치 ID: 0x3a36
PCI 리비전 ID: 0x0002
PCI 벤더 ID: 0x8086
버스 번호: 0x5d

업데이트: 해결했습니다! 제 DSDT 안에서 USB3와 US31의 Name (_ADR) 주소값이 서로 뒤바뀌어 있었네요. 주소를 바로잡았더니 이제 모든 버스가 내장으로 완벽히 잡힙니다! 이제 boot.plist에서 USB 부트 플래그들도 지워야겠습니다.

호스트 컨트롤러 위치: 내장 USB 인터페이스 (Ingebouwde USB-interface)
호스트 컨트롤러 드라이버: AppleUSBUHCI
PCI 장치 ID: 0x3a37
PCI 리비전 ID: 0x0002
PCI 벤더 ID: 0x8086
버스 번호: 0x1a

드디어 Windows에서처럼 키보드의 슬립 버튼을 눌러 잠자기에서 깨울 수 있게 되었습니다!

이끌어 주신 모든 분들께 감사드립니다!

필드 노트 #9 @mormegil 2009-08-31

축하합니다(Gelukwens)!

저는 온갖 방법을 다 써봤는데 잠자기에서 깨우기는커녕 아예 시스템을 잠자기 상태로 진입시키는 것조차 안 되네요.

저자 업데이트 #4 @wwbsox 2009-09-01 ↳ Re: @mormegil

@mormegil

Snow Leopard용으로 나온 SleepEnabler.kext를 사용 중이신가요? 또한 SleepEnabler가 순정 전원 관리 Kext와 충돌해 패닉을 일으키지 않도록 NullCPUPowerManagement.kext도 함께 설치되어 있어야 합니다. 제가 님과 같은 보드를 직접 써보진 않았지만 같은 보드 유저분들의 글을 많이 읽어봤는데 OSx86 호환성이 상당히 뛰어난 보드로 알고 있습니다.

필드 노트 #10 @Snow 2009-09-01

Mormegil 님, Snow Leopard와 호환되는 필수 Kext들이 빠짐없이 제대로 로드되어 있는지 다시 한 번 확인해 보세요:

fakesmc
IOAHCIBlockStorageInjector
NullCPUPowerManagement
OpenHaltRestart
PlatformUUID
SleepEnabler

그리고 올바르게 패치된 DSDT와,
KextUtility로 mkext 캐시가 제대로 재생성되었는지도 점검해 보세요!

필드 노트 #11 @Ianxxx 2009-09-01

업데이트: 해결했습니다! 제 DSDT 안에서 USB3와 US31의 Name (_ADR) 주소값이 서로 뒤바뀌어 있었네요. 주소를 바로잡았더니 이제 모든 버스가 내장으로 완벽히 잡힙니다! 이제 boot.plist에서 USB 부트 플래그들도 지워야겠습니다.

[/QUOTE]

아 맞다, 제 파일에서도 그 두 주소가 거꾸로 되어 있었던 걸 깜빡하고 말씀 못 드렸네요. 혹시 Windows용 Patcher02Beta5를 사용해서 dsdt.aml을 생성하셨었나요?

필드 노트 #12 @mormegil 2009-09-01 ↳ Re: @wwbsox
@wwbsox@mormegil Snow Leopard용으로 나온 SleepEnabler.kext를 사용 중이신가요? 또한 SleepEnabler가 순정 전원 관리 Kext와 충돌해 패닉을 일으키지 않도록 NullCPUPowerManagement.kext도 함께 설치되어 있어야 합니다. 제가 님과 같은 보드를 직접 써보진 않았지만 같은 보드 유저분들의 글을 많이 읽어봤는데 OSx86 호환성이 상당히 뛰어난 보드로 알고 있습니다.

드디어 원인을 찾아 해결했습니다! BIOS에서 보조 JMicron 컨트롤러가 AHCI가 아닌 IDE 모드로 설정되어 있던 게 범인이었네요 :)

네, 이 메인보드는 정말 OS X와의 궁합이 환상적입니다. 아마 모든 기가바이트 P45 보드들이 다 그럴 겁니다. SATA와 이더넷은 순정 상태로 바로 잡히고, 사운드도 AppleHDA 패치로 완벽하게 작동하며, 이제 메모리 절전(Suspend-to-RAM) 잠자기까지 완벽해졌습니다!

저자 업데이트 #5 @wwbsox 2009-09-01 ↳ Re: @mormegil

저는 더 다양한 패치 옵션을 제공하는 Windows용 ACPI Patcher를 사용해 작업했습니다. DSDT 안의 디바이스 이름(USB3, US31 등) 자체는 임의로 붙여진 것이라 중요하지 않으며, 진짜 중요한 기준은 해당 디바이스의 주소(_ADR)입니다.

본문 첫 글에서도 강조했듯이 "주소값이 0x001D0003인 USB 디바이스(제 보드에서는 US31)에 주의하시고, 이 디바이스는 절대 수정하지 마십시오."

그나저나 혹시 64비트 커널에서 작동하는 IOATAFamily Kext를 보신 분 계신가요? 가능하다면 BIOS에서 AHCI 모드를 끄고 IDE 모드로 쓰고 싶어서요.

필드 노트 #13 @kDawg 2009-09-01 ↳ Re: @wwbsox
@wwbsox먼저 문제 증상부터 설명한 뒤 해결책을 다루겠습니다. 제 시스템에서는 USB 1.1(UHCI)과 USB 2.0(EHCI) 포트들이 시스템 프로파일러에서 "확장 슬롯(Expansion Slots)"으로 인식되고 있었습니다. 이로 인해 두 가지 큰 문제가 발생했는데, 첫째는 잠자기에서 깨울 때 무조건 본체 전원 버튼을 눌러야만 했다는 점이고, 둘째는 USB 메모리를 꽂은 채 잠자기에 들어가면…

혹시 사용 중이신 전체 DSDT 파일을 올려주실 수 있으실까요? 어떻게 USB 마우스로 컴퓨터 잠자기를 깨우시는지 전체 구조를 참고하고 싶습니다.

필드 노트 #14 @Ianxxx 2009-09-01 ↳ Re: @kDawg
@kDawg혹시 사용 중이신 전체 DSDT 파일을 올려주실 수 있으실까요? 어떻게 USB 마우스로 컴퓨터 잠자기를 깨우시는지 전체 구조를 참고하고 싶습니다.

이 스레드 1페이지에서 제가 올린 DSDT 전체 파일을 받으실 수 있습니다. 키보드와 마우스 양쪽 모두로 잠자기 및 깨우기가 정상 작동합니다.

필드 노트 #15 @kDawg 2009-09-01 ↳ Re: @Ianxxx
@Ianxxx이 스레드 1페이지에서 제가 올린 DSDT 전체 파일을 받으실 수 있습니다. 키보드와 마우스 양쪽 모두로 잠자기 및 깨우기가 정상 작동합니다.

1페이지 본문에 있는 건 USB/EHCI 부분만 발췌한 코드 조각 아닌가요? 저도 동일한 메인보드를 쓰고 있는데 마우스나 키보드로 잠자기 깨우기가 전혀 작동하지 않습니다. 제가 놓치고 있는 DSDT의 다른 부분이나 BIOS 설정 차이가 분명히 있는 것 같은데 그게 뭔지 궁금합니다.

저자 업데이트 #6 @wwbsox 2009-09-01 ↳ Re: @kDawg

업데이트: 본문 첫 번째 게시물에 제가 사용 중인 완성된 DSDT.aml 파일을 첨부했습니다. USB 섹션 패치와 ICH10 디바이스 ID 주입을 위한 IDE1 섹션 패치가 모두 적용되어 있습니다.

필드 노트 #16 @kramer2k 2009-09-02

저 역시 USB 키보드나 마우스로 잠자기를 깨울 수 없는 문제를 겪고 있습니다. 시스템 프로파일러에서 제 USB 포트들은 대부분 일반 USB로 표시되고 1~2개만 고속 USB(High-Speed USB)로 표시됩니다.

도대체 어디서부터 어떻게 손봐야 할지 감이 잡히질 않네요...

게다가 Serial-ATA 항목 아래를 보면 연결된 하드 디스크들은 정상적으로 뜨는데, 정작 칩셋 이름(예: ICH10, ICH9 등)이 표시되어야 할 자리가 빈칸으로 나옵니다. 이건 DSDT 문제인가요, 아니면 Kext 문제인가요?

참고로 저도 완전 생초보는 아닙니다(전설의 deadmoo 이미지 시절부터 해킨토시를 깔아왔으니까요)... 하지만 이 DSDT 부분만큼은 정말 오리무중이네요...

제 DSDT 파일을 첨부하오니 고수분들의 조언 부탁드립니다...

시스템 사양:
GA-P31-DS3L (ICH7)
ALC888
Core 2 Duo E7200 @ 3.42GHz

필드 노트 #17 @Snow 2009-09-02

고맙습니다 wwbsox 님! 알려주신 IDE1 섹션 패치 팁 덕분에 이제 제 SATA 컨트롤러도 시스템 프로파일러에서 깔끔하게 ICH10으로 표시됩니다!
혹시 님의 DSDT에서 그래픽(GFX) 섹션이 어디에 어떻게 들어가 있는지 보여주실 수 있나요? 아니면 제 8800GT 코드를 DSDT에 직접 주입하는 방법을 알려주실 수 있으실까요?
자동 패처 프로그램들을 돌리는 걸 별로 선호하지 않아서 가급적 수동으로 직접 코드를 편집해 넣으려고 합니다.

감사합니다 친구!

ICH10 패치 주입 전/후 비교 스크린샷:

적용 전 (PRE)

적용 후 (POST)

필드 노트 #18 @kDawg 2009-09-02 ↳ Re: @Snow
@Snow고맙습니다 wwbsox 님! 알려주신 IDE1 섹션 패치 팁 덕분에 이제 제 SATA 컨트롤러도 시스템 프로파일러에서 깔끔하게 ICH10으로 표시됩니다! 혹시 님의 DSDT에서 그래픽(GFX) 섹션이 어디에 어떻게 들어가 있는지 보여주실 수 있나요? 아니면 제 8800GT 코드를 DSDT에 직접 주입하는 방법을 알려주실 수 있으실까요? 자동 패처 프로그램들을 돌리는 걸 별로 선호하지 않아서…

그래픽 주입 코드는 개별 그래픽 카드 사양에 따라 세부 값이 달라집니다. 카드의 비디오 메모리(VRAM) 용량, 출력 단자 구성(DVI/HDMI 등), 그리고 무엇보다 메인보드의 몇 번 PCIe 슬롯에 꽂혀 있는지가 중요합니다. 본인의 환경에 맞게 수정해야 할 부분들에 주석(//)을 달아두었습니다. 구글에서 gfxutil을 검색해 보시면 그래픽 카드의 정확한 PCI 경로를 확인하는 방법을 찾으실 수 있을 겁니다.

아래 코드는 Device (PCI0) 섹션 내부에 삽입해야 하는 패치 코드입니다(듀얼 DVI 포트를 가진 512MB 8800GT 기준):

            Device (PEGP)
            {
                Name (_ADR, 0x00010000) //<-- This is the location on the PCI bus (important)
                Method (_STA, 0, NotSerialized)
                {
                    Return (0x0F)
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x09, 
                        0x05
                    })
                }

                Device (GFX1)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, 0x0B)
                    Method (_PRW, 0, NotSerialized)
                    {
                        Return (Package (0x02)
                        {
                            0x0B, 
                            0x04
                        })
                    }

                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x16)
                            {
                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@0,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 

                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@1,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 

                                "NVCAP", //<-- This denotes the ports in the card (not as important)
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
                                    /* 0008 */    0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

                                "VRAM,totalsize", //<-- How much RAM you have (important)
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x20
                                }, 

                                "device_type",
                                Buffer (0x0D)
                                {
                                    "NVDA,GeForce"
                                }, 

                                "model", 
                                Buffer (0x17)
                                {
                                    "NVIDIA Geforce 8800 GT"
                                }, 

                                "rom-revision", 
                                Buffer (0x06)
                                {
                                    "3173a"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }
저자 업데이트 #7 @wwbsox 2009-09-02 ↳ Re: @kDawg

DSDT 그래픽 주입 (GFX)

@snow 물론 그래픽 카드 모델마다 세부 값이 다르다는 건 잘 아시겠지만, 비교 참고용으로 그래픽 주입 코드가 포함된 제 DSDT를 올려드립니다. PCI0 아래에서 PEGP 섹션을 찾아 대조해 보세요.

그리고 방금 kDawg 님이 올리신 글에 님과 똑같은 그래픽 카드(8800GT)용 코드 섹션이 마침 포함되어 있네요.

참고로 저는 Windows용 ACPI Patcher를 사용해 생성했습니다. Graphics 탭에서 본인의 카드 모델과 VRAM 용량을 선택하고, NVCAP은 Dual DVI(다른 건 선택하지 마세요)로 지정한 뒤, Location을 PCI0로 두고 "Use DSDT GFX"와 "PEGP" 체크박스를 모두 체크했습니다.

제 시스템에서는 아주 잘 작동하는데, 희한하게도 ACPI Patcher에서 직접 컴파일해 뽑아준 .aml 파일만 정상 작동합니다. 그렇게 뽑은 .aml 파일은 OS X의 iaslMe로 디컴파일하고 재컴파일해도 아무 문제가 없는데, 정작 ACPI Patcher가 생성한 .dsl 소스 파일을 가져와 iaslMe로 컴파일하려고 하면 에러가 무더기로 쏟아지면서 컴파일이 안 되더군요? 음…

행운을 빕니다!

필드 노트 #19 @Snow 2009-09-02

좋습니다 여러분, 마침 제 그래픽 카드도 첫 번째 PCIe 슬롯에 꽂힌 512MB 듀얼 DVI 사양의 8800GT로 완전히 동일하니 우선 kDawg 님이 올려주신 코드를 먼저 적용해 보겠습니다!

만약 이 코드로 작동하지 않으면 그때 가서 ACPI Patcher를 써볼 생각인데, 자동 패처는 처음부터 파일을 새로 덮어써버려서 제가 그동안 공들여 수정해 둔 기존 DSDT 코드를 망가뜨릴까 봐 꺼려지네요.

테스트해 보고 결과를 다시 남기겠습니다!

업데이트 1: IORegistryExplorer 도구에서는 그래픽 카드의 PCI 주소(_ADR)를 어느 항목에서 확인할 수 있나요?

업데이트 2: gfxutil을 돌려보니 DevicePath = PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)으로 나옵니다. 그렇다면 _ADR 주소 문자열을 다음과 같이 적어야 하나요?

0x101000000
저자 업데이트 #8 @wwbsox 2009-09-02 ↳ Re: @Snow

그래픽 섹션 이식 팁

@snow

저도 이미 패치해 둔 DSDT를 처음부터 다시 작업하기는 싫어서, ACPI Patcher로 그래픽 주입만 적용된 임시 DSDT를 하나 따로 생성한 뒤 거기서 PEGP 섹션 전체만 복사해 기존에 패치해 쓰던 DSDT에 붙여넣었습니다.

아, 그리고 IORegistryExplorer 상에서는 제 그래픽 카드의 PCI 주소가 1로 표시되었던 걸로 기억하는데, 막상 ACPI Patcher에서 주소를 PCI1로 선택하면 DSDT에 그래픽 코드가 아예 추가되지 않더군요. 반드시 PCI0로 선택해야 정상 삽입되었습니다.

필드 노트 #20 @Snow 2009-09-02

완료했습니다!

확인해 보니 제 카드의 실제 _ADR 값도 제가 앞서 잘못 계산했던 값이 아니라 kDawg 님과 똑같은 0x00010000이 맞아서, 올려주신 코드를 토씨 하나 안 바꾸고 그대로 붙여넣었더니 완벽하게 작동합니다.

도와주신 모든 분들께 다시 한 번 감사드립니다!

필드 노트 #21 @Snow 2009-09-02

이제 제 시스템에 남은 숙제는 딱 하나뿐인 것 같습니다(나중에 정품 맥 키보드를 새로 장만하기 전까지만요).

예전에 Ukelele라는 도구를 사용해 제가 쓰는 벨기에식(Belgian Point) PC 키보드 배열에 딱 맞는 커스텀 키보드 레이아웃 번들을 직접 만들어 잘 써오고 있었는데, 가끔가다 OS X가 제멋대로 기본 키보드 레이아웃(같은 벨기에식이지만 Apple 고유 배열인 레이아웃)으로 초기화해 버립니다.
기본 레이아웃이 로드되는 걸 원천 차단하려고 /System/Library/Keyboard Layouts에서 시스템 기본 번들을 지워봤더니 문제가 생기더군요. 그 파일을 지운 것 때문인지 아니면 DSDT 패치 과정과 겹쳐서인지 아예 키보드 입력 전체가 먹통이 되어버렸었습니다.
다시 원본 번들을 제자리에 돌려놓으니 정상으로 돌아왔습니다.

아무래도 QuicKeys 같은 단축키 매핑 도구를 써서 우회해야 할 모양입니다.

필드 노트 #22 @Voyn1x 2009-09-02

이 패치 방법을 공유해 주셔서 정말 감사합니다! (Y)

이 문제를 해결하려고 몇 주 동안이나 DSDT를 붙잡고 씨름했었거든요. 지금까지는 임시방편으로 Slice 님이 수정한 IOUSBFamily Kext를 쓰고 있었습니다.

저자 업데이트 #9 @wwbsox 2009-09-02 ↳ Re: @Voyn1x
@Voyn1x이 패치 방법을 공유해 주셔서 정말 감사합니다! (Y) 이 문제를 해결하려고 몇 주 동안이나 DSDT를 붙잡고 씨름했었거든요. 지금까지는 임시방편으로 Slice 님이 수정한 IOUSBFamily Kext를 쓰고 있었습니다.

잘 작동한다니 다행입니다! 진정한 공로는 원작자분들께 있습니다. 저는 그저 두 가지 패치를 하나로 합치고, 다른 분들이 수많은 댓글을 일일이 뒤지지 않고도 한눈에 볼 수 있게 정리했을 뿐입니다.

필드 노트 #23 @EnzoFX 2009-09-02

Snow 님, 저도 Windows용 ACPI Patcher를 사용해 DSDT로 9800GT를 잡았는데 아주 잘 작동합니다. 옵션 설정만 본인 카드에 맞게 정확히 지정해 주면 됩니다.

그나저나 혹시 GA-P35-DS3L 보드에서 이 USB DSDT 패치를 적용해 쓰시는 분 계신가요?
제 보드에서도 USB 포트들이 "확장 슬롯(Expansion Slot)"으로 표시되고 고속 USB는 2개만 뜹니다.
또한 키보드나 마우스로 잠자기를 깨울 수 없고, 무엇보다 가장 골치 아픈 점은 가끔 부팅 시 USB 키보드가 아예 인식되지 않는다는 것입니다. BIOS에서 USB Keyboard Support는 켜두었는데(Mouse는 끔) 이것과 관련이 있는지 늘 궁금했습니다.
수정: 방금 USB 메모리를 꽂은 채 잠자기에 들어갔다가 깨워봤더니 역시나 "디스크가 제대로 추출되지 않음(Device Removal)" 경고창이 뜨네요.

수동으로 DSDT를 편집해 본 적은 없지만 이 패치를 꼭 적용해 보고 싶습니다. 그런데 왜 특정 주소(0x001D0003)를 가진 디바이스 하나만 수정하지 않고 그대로 남겨두는 건가요?
혹시 친절한 고수분께서 제 작업을 도와주실까 싶어 제 dsdt.dsl에서 발췌한 USB 섹션 파일을 함께 첨부합니다 =P

필드 노트 #24 @EnzoFX 2009-09-03

정말 고맙습니다 wwbsox 님!

수정:
지금까지 결과는 대성공입니다 =D
드디어 키보드와 마우스로 잠자기를 깨울 수 있게 되어서 날아갈 듯이 기쁩니다! 자, 이제 유휴 시 자동 잠자기(Sleep on Idle) 문제만 해결하면 되겠네요 ㅎㅎ

필드 노트 #25 @EnzoFX 2009-09-03

아쉽게도 이 패치를 적용한 뒤에도 두 번에 한 번꼴로 재부팅 시 USB 키보드가 부팅 초반에 인식되지 않는 증상은 여전하네요 =(
만약 BIOS에서 USB 키보드 지원 옵션을 꺼버리면 Chameleon 부트 선택 화면에서 키보드가 안 먹히겠죠? 하하, 그러니 그건 시도해 볼 수도 없겠네요 =/

제가 겪고 있는 유휴 시 자동 잠자기(Sleep on Idle) 실패 증상은 다음과 같습니다:
이전에 DVD 레코더 드라이브 때문에 자동 잠자기가 실패하는 현상이 있었는데, 자세한 내막은 여기 제가 남긴 마지막 댓글에 적혀 있습니다: http://www.insanelymac.com/forum/index.php?showtopic=17… ↗
예전에는 외장 USB 드라이브나 DVD 드라이브가 원인이었는데, 이번에 하드에서 하드로 클린 재설치를 하면서 아예 본체에서 DVD 드라이브 케이블을 완전히 뽑아둔 상태인데도 지정된 시간이 되었을 때 자동 잠자기에 들어가지 못합니다. 잠자기 진입 시간이 되면 하드 디스크에서 딸깍하는 소리가 나는 걸로 봐서 시스템이 잠자기를 시도하긴 하는데 무언가가 가로막고 있는 것 같습니다.

그리고 또 하나의 기묘한 문제: 화면 보호기(Screensaver)가 작동하질 않습니다 =P 화면 보호기 대기 시간, 모니터 끄기 시간, 컴퓨터 잠자기 시간을 어떻게 조합해 설정하든 화면 보호기가 안 뜹니다. 제가 굳이 화면 보호기를 쓰려는 이유는 제 그래픽 카드의 고질적인 화면 초기화 버그를 우회하기 위해서입니다. 구체적으로 설명하자면, 모니터 전원만 절전 모드로 꺼진 직후 제가 컴퓨터 앞에 앉아 있다가 화면을 다시 켜려고 마우스를 재빨리 움직였을 때만 발생하는 현상입니다. 모니터가 완전히 절전 대기 상태로 넘어가기도 전에 마우스를 움직여 깨우면, 화면이 다시 켜질 때 마치 옛날 TV 채널 안 잡힐 때처럼 온통 지지직거리는 노이즈(Static) 화면이 뜹니다. 그러고 나서 몇 초(가끔은 수초 이상) 뒤에야 정상적으로 그래픽이 재초기화되면서 데스크탑 화면이 돌아옵니다. 이 그래픽 카드는 EFI 스트링으로 잡았을 때나 DSDT로 잡았을 때나 늘 이랬습니다. 혹시 이 증상의 근본적인 해결책을 아시는 분이 계시면 조언을 부탁드리며, 당장은 모니터가 바로 꺼지는 대신 화면 보호기가 먼저 뜨도록 중간 완충 단계를 두어 마우스를 흔들 때 화면이 깨지지 않게 하려는 것입니다 ㅎㅎ 그러다 제가 진짜로 자리를 비우면 그때 모니터가 꺼지고 잠자기에 들어가도록 말이죠.

필드 노트 #26 @Ianxxx 2009-09-03 ↳ Re: @Snow
@Snow이제 제 시스템에 남은 숙제는 딱 하나뿐인 것 같습니다(나중에 정품 맥 키보드를 새로 장만하기 전까지만요). 예전에 Ukelele라는 도구를 사용해 제가 쓰는 벨기에식(Belgian Point) PC 키보드 배열에 딱 맞는 커스텀 키보드 레이아웃 번들을 직접 만들어 잘 써오고 있었는데, 가끔가다 OS X가 제멋대로 기본 키보드 레이아웃(같은 벨기에식이지만 Apple 고유 배열인…

제가 찾았던 유일한 해결책은 OS 설치 직후 첫 부팅(환영 인트로 및 초기 설정 지원 화면)을 하기 전에 미리 커스텀 키보드 레이아웃 파일을 시스템 폴더에 넣어두고, 첫 설정 지원 화면에서 해당 키보드 배열을 선택해 주는 것이었습니다.

필드 노트 #27 @Snow 2009-09-03

그렇게 했더니 초기화 안 되고 계속 유지되던가요? 참 희한한 해결책이지만 제대로 먹힌다면야 최고죠. 물론 그것 때문에 지금 시스템을 다시 밀고 재설치할 생각은 없습니다 ㅎㅎ

그나저나 방금 시스템 프로파일러를 보다가 눈치챘는데, 제 8800GT가 'PCI 카드' 항목에도 등재되어 있네요. 모든 그래픽 가속 기능은 완벽히 작동하고 kDawg 님의 코드를 PCI0 아래에 그대로 붙여넣었는데, 원래 이렇게 뜨는 게 정상인가요?

필드 노트 #28 @Ianxxx 2009-09-03

OS를 재설치하지 않고도 초기 설정 지원(Setup Assistant) 화면만 다시 실행시키는 방법이 분명히 있을 겁니다(터미널에서 .AppleSetupDone 파일 삭제 등).

필드 노트 #29 @EnzoFX 2009-09-03

제 화면에서도 버스 항목이 PCIe로 표시되는 것 외에는 차이가 없네요...

부팅할 때 가끔 USB 키보드가 인식되지 않는 현상을 해결할 방법 아시는 분 계신가요?
제 사양은 GA-P35-DS3L, Chameleon 2이며 그래픽, 이더넷, 본 스레드의 USB 패치, LegacyHDA를 모두 DSDT를 통해 주입해 사용 중입니다.

수정: 방금 문서를 인쇄하려다 보니 USB 프린터도 케이블을 뽑았다가 다시 꽂아야만 작동한다는 걸 발견했습니다 =/. 도대체 뭐가 문제일까요? 같은 USB에 꽂힌 마우스는 단 한 번도 먹통이 된 적이 없는데 말입니다...

Chameleon의 com.apple.Boot.plist에 아래 옵션들을 다시 넣어보는 게 좋을까요?
<key>EHCIacquire</key>
<string>Yes</string>
<key>UHCIreset</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>

이 스레드의 DSDT USB 통합 패치와 저 부트로더 플래그들을 동시에 쓰면 서로 충돌하지 않을지 모르겠습니다. 혹시 아시는 분 계신가요?

저자 업데이트 #10 @wwbsox 2009-09-04 ↳ Re: @EnzoFX

@EnzoFX

님과 동일한 메인보드(GA-P35-DS3L)를 쓰는 다른 회원분들께 몇 통의 쪽지를 보내 확인해 봤는데, 그분들은 님과 같은 증상을 겪지 않는다고 합니다. 원하신다면 사용 중이신 DSDT 파일을 여기에 올려주세요. 제가 직접 열어보고 원인을 찾을 수 있을지 살펴보겠습니다.

저자 업데이트 #11 @wwbsox 2009-09-04

DSDT를 이용한 순정 SpeedStep 구현

@기가바이트 메인보드 사용자 여러분께

혹시 DSDT 패치를 통해 P-States / C-States 순정 SpeedStep을 완벽히 구현하신 분 계신가요?

이미 잘 정리된 스레드가 따로 없다면 기가바이트 보드 전용 DSDT SpeedStep 연구 스레드를 하나 새로 파볼까 생각 중입니다.

아직 제 DSDT에 SpeedStep 코드를 직접 넣지는 않았는데, CPU-i로 확인해 보면 지금도 반쪽짜리로나마 작동하고 있긴 합니다. 배수(Multiplier)와 클럭 주파수는 부하에 따라 오르내리는데, 정작 코어 전압(Voltage)이 최고 P-State 전압에 고정된 채 내려가질 않네요(이래서야 절전 기능을 쓰는 의미가 반감되죠).

저자 업데이트 #12 @wwbsox 2009-09-04

CPU-i는 러시아 포럼인 applelife.ru에서 다운로드한 유틸리티입니다. 아이들(Idle) 상태와 풀로드 상태의 CPU 수치를 비교하기 위해 맥용 Prime95 격인 CPUTest를 4개 인스턴스로 동시에 돌리면서 CPU-i로 모니터링했습니다. CPU-i의 또 다른 멋진 기능은 현재 장착된 CPU가 지원하는 모든 P-State 단계와 각 단계별 배수 및 전압 조합을 깔끔하게 목록으로 보여준다는 점입니다(제 CPU는 총 6단계의 P-State를 가집니다).

이 정보를 활용하면 6개의 P-State 값을 모두 제 DSDT에 직접 주입할 수 있을 것 같습니다. C-State 정보 역시 SSDT 테이블에서 추출해 DSDT 안으로 통합할 수 있고요. 제 프로세서(Q9550)에 맞게 완성된 DSDT.aml을 포함해 아주 훌륭한 참고 자료들을 찾았는데, 아쉽게도 ASUS 메인보드 기준으로 컴파일된 파일이라 기가바이트 보드와는 DSDT 내부 구조가 꽤 다르더군요.

이번 주말쯤 관련 유틸리티와 스크린샷들을 정리해 올려볼 계획입니다.

참고할 만한 훌륭한 스레드 두 곳을 찾았습니다: http://www.insanelymac.com/forum/index.php?showtopic=17… ↗ 그리고 http://www.insanelymac.com/forum/index.php?showtopic=14… ↗ (다만 이제는 SSDT 테이블 내용을 DSDT 안에 직접 통합할 수 있기 때문에 부팅 시 별도로 SSDT 파일들을 로드할 필요는 없을 것 같습니다. 아마도요…)

필드 노트 #30 @EnzoFX 2009-09-04

제 DSDT를 직접 봐주신다면 정말 천군만마를 얻은 기분일 겁니다 wwbsox 님! 가만 생각해 보니 이 모든 이상 증상이 DSDT를 적용하기 시작했을 때부터 생긴 게 아닌가 싶기도 하고, 아닌 것 같기도 하고 머리가 복잡하네요.

자세히 관찰해 보니 부팅 시 증상이 나타날 때면 항상 USB 키보드와 USB 프린터가 동시에 먹통이 됩니다. 어쩌면 메인보드 BIOS 버전 문제일까요? 또한 아주 드물게 부팅 후 모니터 디스플레이 색상 프로필(Color Profile)이 제때 로드되지 않을 때가 있는데, 그럴 땐 시스템 환경설정을 열어 '디스플레이' 아이콘을 클릭하는 순간 강제로 정상 프로필이 로드됩니다. 어쩌면 DSDT를 통한 그래픽 주입 설정이 완벽하지 않아서일까요? ACPI Patcher에서 다른 그래픽 설정 옵션으로 다시 뽑아볼 수도 있겠습니다.

그리고 한 가지 궁금한 점이 있는데, 만약 제가 메인보드 BIOS에서는 레거시 포트나 컨트롤러 같은 여러 기능들을 Disabled로 꺼두었는데 정작 DSDT 파일 안에는 그 장치들이 모두 활성화된 상태로 정의되어 있다면 서로 충돌을 일으킬 수도 있나요?

제 시스템 사양:
GA-P35-DS3L Rev. 2.0
9800GT (이더넷, 사운드와 함께 ACPI Patcher로 DSDT 주입)
제 dsdt.dsl 파일 링크: kt tns.org/0zjbl
참고로 하드웨어 고장이 아님을 확인하기 위해 듀얼 부팅 중인 Windows 7으로 몇 번 부팅해 테스트해 봤는데, Windows 7에서는 모든 장치와 포트가 단 한 번의 오류도 없이 완벽하게 작동합니다.

저자 업데이트 #13 @wwbsox 2009-09-05 ↳ Re: @EnzoFX

시스템 프로파일러에서 확인했을 때 모든 USB 포트가 내장(Built-in)으로 표시되나요? 그리고 문제의 프린터와 키보드는 일반 USB(UHCI) 버스 아래에 뜨나요, 아니면 고속 USB(High-Speed USB, EHCI) 버스 아래에 뜨나요? 앞서 BIOS에서 "Legacy USB" 옵션을 끄는 것도 이미 시도해 보셨다고 하셨던 것 같은데, 다른 보드에서는 그 방법이 효과를 봤다는 글을 읽은 적이 있지만 기가바이트 P35 보드에서 님 같은 증상은 처음 봅니다. 오늘 밤 늦게 님의 DSDT를 자세히 살펴보겠습니다.

참고로 BIOS에서 특정 장치를 비활성화(Disable)하더라도 DSDT의 구조 자체가 바뀌지는 않습니다. DSDT는 사용자가 BIOS 메뉴에서 옵션을 켰든 껐든 상관없이 보드의 모든 포트와 옵션 정의가 담긴 전체 BIOS ROM으로부터 추출되기 때문입니다. 다만 메인보드 BIOS를 최신 버전으로 업데이트하셨는지는 꼭 확인해 보세요. BIOS 업데이트만으로도 수많은 기묘한 버그들이 해결되었다는 보고가 많습니다.

만약 수정한 DSDT가 문제의 원인이라고 의심된다면, 제조사 홈페이지에서 받은 순정 BIOS ROM 파일을 ACPI Patcher에 넣어 아무런 추가 패치나 디바이스 주입 없이 순정 상태 그대로 컴파일한 DSDT로 테스트해 보세요. 그래도 똑같은 문제가 발생한다면 그때는 DSDT가 아닌 다른 곳에 원인이 있다는 뜻입니다.

추가 커뮤니티 필드 노트 103건 펼치기전체 아카이브 기록
필드 노트 #31 @Snow 2009-09-05 ↳ Re: @Ianxxx
@IanxxxCan you re-run set up without installing I'm sure theres a way

Missed your post m8

I don't think setup assistant will even show my modded keyboard layout because it isnt included in the bundle.
I wish there was a way to extract the dat files in the bundle though so I could actualy mod the default belgian keyboard layout.

@wwbsox, your keyboard and mouse are listed as High Speed USB devices? because on my rig they are not but the printer is.

Thx for the above info btw and good luck with the dsdt patching

필드 노트 #32 @Snow 2009-09-05 ↳ Re: @Snow
@SnowAnd that sticked? dang, odd solution but hey if it works. I'm not going to reinstall though hehe. btw, I just noticed I have my 8800GT listed in sys prof as PCI card. Everything works and I have input kDawgs code exactly as listed but without checking the proper PCI bus so at PCI0. This is still ok right?

I haven't changed anything except remove the dsdt.aml from my root dir and keep it in E/E and the GFX is now listed as PCI-e

I'm not complaining though, just an odd observation, has a mind on its own apparently.

저자 업데이트 #14 @wwbsox 2009-09-05 ↳ Re: @Snow

@Snow

시스템 프로파일러에서 제 Apple 알루미늄 유선 키보드는 고속 USB(High-Speed USB) 버스 아래에 잡히고, Rocketfish 블루투스/유선 마우스는 일반 USB 버스 아래에 잡힙니다. 아, 그리고 마침 님이 쓰시는 Q6600의 모든 P-State를 활성화해 SpeedStep을 켜는 DSDT 코드가 정리된 페이지를 발견했습니다! 링크를 다시 찾아서 이따 보내드릴게요. 이제 제 Q9550용 값만 찾으면 되겠네요.

여기에 CPU-i 유틸리티도 함께 첨부합니다.

필드 노트 #33 @Snow 2009-09-05

Hmm, I really should get me one of those fancy apple keyboards. I guess the apple KB is USB2.0 and this Logitech Media KB is still at USB1.1.
Speedstep ey? I'm using VoodooPower in Leo, havent found a proper solution for Snow so that would be very welcome.
Thx a bunch for CPU-i m8, is that kext 64bit compatible btw?

Laters

ps. the above was a stupid mistake I made by checking PCI tab the first time and video tab on the second screenshot

필드 노트 #34 @Snow 2009-09-05

Temps in Leo are low 30's, especially now with colder climate. I guess it doesn't drop the voltage properly.

저자 업데이트 #15 @wwbsox 2009-09-05 ↳ Re: @Snow

저도 똑같은 문제를 겪고 있습니다. 배수와 클럭 주파수는 떨어지는데 코어 전압이 항상 최고 P-State 수치에 머물러 있거든요.

하지만 본인의 CPU가 지원하는 고유 P-States 및 C-States 테이블을 DSDT에 직접 하드코딩해 넣는 방법이 있습니다. 아직 연구 중인데 조만간 직접 적용해 볼 생각입니다.

필드 노트 #35 @infinitek 2009-09-06

Thanx for posting your dsdt wwbsox… not only did it fix my USB ports allowing me to sleep..
but it also fixed my built-in audio on SL as well…!

I noticed 2 things i wanted to ask about.
Y did my serial-ATA go from ich9 to JMicron AHCI...?
How do you get rid of sound assertion lines on boot?

Thanx again…

필드 노트 #36 @Snow 2009-09-06

JMicron should be a diff path no? nothing to do with other ports. I still have 2 unknown devices which are prob the JMicron.
In Leo they were listed properly but I used a custom JMicron kext.

저자 업데이트 #16 @wwbsox 2009-09-06 ↳ Re: @Snow

물리적인 ICH9/R 사우스브리지(순정 미지원) 자체가 바뀐 게 아니라, DSDT를 통해 OS X에 보고되는 디바이스 ID만 네이티브 지원 모델인 ICH10의 ID로 위장(Spoofing)한 것입니다. 일종의 눈속임으로 Mac OS X가 정식 지원 하드웨어에서 돌아가고 있다고 믿게 만드는 셈이죠.

저는 BIOS에서 JMicron 보조 SATA 컨트롤러는 아예 꺼두었습니다. 누군가 64비트용 드라이버 Kext를 컴파일해 주기를 기다리는 중인데, Apple이 이미 Snow Leopard 커널 소스를 공개했으니 머지않아 나올 겁니다.

부팅 시 뜨는 Sound Assertion 에러들의 경우 아직 본격적으로 손보지는 않았지만, 아마 DSDT에 주입한 layout-id 및 PinConfigurations 값이 실제 AppleHDA Kext 내부의 값과 일치하지 않아서 뜨는 메시지일 겁니다(실제 작동 시에는 Kext의 plist 값이 DSDT 값을 덮어쓰는 것으로 알고 있습니다).

우선 DSDT에 네이티브 SpeedStep(P-States, C-States)을 이식하는 작업부터 마무리한 뒤 사운드 쪽도 깔끔하게 정리할 계획입니다.

필드 노트 #37 @EnzoFX 2009-09-07 ↳ Re: @wwbsox
@wwbsoxWhen you look in system profiler. All your usb ports show as internal? Does the printer and keyboard show up under usb or high speed usb? I believe you stated you already tried disabling "Legacy usb" in the bios, maybe? I've read where that helped on other MB's but havent experienced your problem on the gigabyte p35 boards. I will…

Yeah, after applying the fix in this thread, my usb ports now show up as internal. Also, all my usb devices show up under a regular USB Bus, and not a "High-Speed" Bus, of which I have 2. There are 6 regular "USB Bus"

For BIOS settings, I have all legacy support disabled, except for KB support, because that'd render my usb keyboard useless at the Chameleon prompt, though I haven't tried since going to Cham 2.

I am also running the latest BIOS version, and built the dsdt from it.
I will try out a "clean" dsdt without fixes/patching, and see how that goes. In the meantime, any insight into my DSDT.dsl file would be greatly appreciated.

저자 업데이트 #17 @wwbsox 2009-09-09 ↳ Re: @EnzoFX

EnzoFX 님, 혹시 이 스레드에 다른 분들이 올리신 DSDT 파일들로도 테스트해 보셨나요? Ianxxx 님을 비롯한 몇 분이 님과 동일한 보드를 쓰고 계십니다. 참고로 저는 BIOS에서 USB 관련 옵션은 하나도 끄지 않았고 온보드 보조 컨트롤러(JMicron)만 비활성화해 두었습니다.

필드 노트 #38 @EnzoFX 2009-09-13

I see a dsdt for an EP35-DS3L, but not P35-DS3L, worth a shot?

The last few restarts have been good, but still no sleep on idle. Could it be because I have no DVD drive connected? I know some drives are causing issues, so what about having none, like I do? haha maybe I'm just hoping for a quick fix.

Edit:
In your guys' experience, if GFX is enabled through DSDT, is it simply a matter of it working or not working? I.e. QE/CI on or off. OR, can it be something where like it looks like QE/CI is on, but can still get graphical glitches that can mean something is wrong with dsdt implementation? I hope this makes sense.
Basically, my issue is that every now and then my display color profile isn't loaded @ login.

저자 업데이트 #18 @wwbsox 2009-09-14 ↳ Re: @EnzoFX

8800GTS를 DSDT 주입 방식으로 잡아서 쓰고 있는데 그래픽 관련 문제는 전혀 없었습니다. 참고로 Snow Leopard부터는 시스템 프로파일러에 더 이상 QE/CI 지원 여부 항목 자체가 표시되지 않습니다. 그리고 EP35와 P35는 칩셋이 완전히 동일해서 구조도 거의 똑같을 겁니다(EP35는 전력 효율 개선 기능인 DES만 추가된 버전입니다).

유휴 시 자동 잠자기(Sleep on Idle)의 경우 제 시스템에서는 잘 작동하긴 하는데… 모니터 화면이 먼저 꺼지고 나서 본체가 실제로 잠자기에 들어가기까지 정확히 5분의 대기 시간이 걸립니다. 예를 들어 절전 진입 시간을 1시간으로 설정해 두면 1시간 뒤에 모니터가 꺼지고, 그로부터 5분 동안 본체가 켜져 있다가 잠자기에 들어갑니다. 실사용에는 전혀 지장이 없어서 그냥 신경 안 쓰고 있습니다.

필드 노트 #39 @kramer2k 2009-09-14

@VWbsox
Are you able to wake from your USB2.0 keyboard? I've got the newest apple kb, which is identified as Highspeed with EHCI, but I'm unable to wake from it. However, my logitech mouse, when plugged directly to a port (as opposed to the KB) will wake my machine.

Waking from my KB is important as I also have a BT mighty mouse, which can't wake it from sleep either.

GA-P31-DS3L - e7200 - BFG 8800GT - 10.6.1 retail

필드 노트 #40 @Ianxxx 2009-09-14 ↳ Re: @EnzoFX
@EnzoFXAnyone recommend a fix for my usb-kb not being detected every now and then on startup? I'm on a GA-P35-DS3L, Cham2. GFX, Ether, this USB-fix, Legacy HDA, through DSDT.

Enzo if your still having this prob, I know it might sound stupid but make sure that your keyboard is plugged in to one of the usb sockets nearest the board, I sometimes have this glitch with my microsoft habu mouse but doesn't happen if I plug it in to one of those two ports "same board as you ga-p35-ds3l rev 2"

저자 업데이트 #19 @wwbsox 2009-09-14 ↳ Re: @Ianxxx

아뇨, 저도 Apple 알루미늄 유선 키보드에서는 키 입력으로 잠자기 깨우기(Wake)가 작동하지 않습니다. 대신 Rocketfish 마우스를 클릭하면 시스템이 잠자기에서 잘 깨어납니다. EHCI 포트 구성을 다르게 잡는 또 다른 DSDT 패치 방법을 본 기억이 나서(링크를 다시 찾는 대로) 한 번 테스트해 볼 생각입니다. 만약 그 방법으로 알루미늄 키보드 깨우기가 성공하면 본문 첫 번째 글에 업데이트하겠습니다.

일반 PC용 USB 키보드를 쓰는 분들은 키보드로 깨우기가 아주 잘 되는데 유독 Apple 알루미늄 키보드만 안 되네요.

필드 노트 #41 @sk1nhd33t 2009-09-14 ↳ Re: @kramer2k
@kramer2k@VWbsox Are you able to wake from your USB2.0 keyboard? I've got the newest apple kb, which is identified as Highspeed with EHCI, but I'm unable to wake from it. However, my logitech mouse, when plugged directly to a port (as opposed to the KB) will wake my machine. Waking from my KB is important as I also have a BT mighty mouse,…
@wwbsoxNo I cant wake from my apple aluminum keyboard. I have a rocketfish apple mouse that wakes the system from sleep. I found a different dsdt setup for the ehci ports that I want to try (as soon as I find it again). If it works I will add it to the original post Many people have had sucess waking with usb keyboard... if its not an apple…

same here on my ES2L mobo, i have an aluminum wired KB w/o numpad and i cant wake my machine from sleep too, same goes to my wireless BT mighty mouse.. not an issue though since i barely use sleep but if anyone has a fix i would be the first one to try it :-d anyone tried the aluminum kb w/ numpad?

ow i also have an Apple wired KB (white one) and it wakes my machine fine, beats me why it works haha..

필드 노트 #42 @EnzoFX 2009-09-14

Thanks lanxxx,
The last several restarts have been good, no screw ups, so next time it happens I will definitely try it out. My mouse is always the one that's connected closest to the MB. Now that I think about it, the Printer is on the second set of USB ports, which ALSO is on the further end, away from the MB. But then, where do I move that one to? haha there are only 2 ports closest to the MB =P

Anyways, is it possible to force a device to run at High-Speed? My mouse, a Logitech G9, isn't supported under OS X. I have worked well around this, but it is supposed to run at high-speed, but just doesn't under OS X. If I could fix this, it might make it feel as smooth as it does on Windows.

필드 노트 #43 @Snow 2009-09-15 ↳ Re: @wwbsox
@wwbsoxNo I cant wake from my apple aluminum keyboard. I have a rocketfish apple mouse that wakes the system from sleep. I found a different dsdt setup for the ehci ports that I want to try (as soon as I find it again). If it works I will add it to the original post Many people have had sucess waking with usb keyboard... if its not an apple…

Yeah no issues here whatsoever, both devices (Logitech Media Keyboard and Creative Mouse 5500) wake the PC. I can't even make this happen in Windows go figure.

저자 업데이트 #20 @wwbsox 2009-09-16 ↳ Re: @Snow

여러 가지 다른 DSDT USB 구성을 적용해 테스트해 봤지만, 여전히 Apple 알루미늄 키보드에서는 잠자기 깨우기가 작동하지 않습니다. 반면 제 다른 보드인 EP45-DS3L에서는 별도의 DSDT 수정 없이도 순정 상태(OOB)에서 바로 Apple 키보드로 깨우기가 잘 작동했었는데, 아무래도 그 보드는 사우스브리지가 ICH10이라서 그런 모양입니다.

필드 노트 #44 @kDawg 2009-09-16

Post DSDT

Have you posted your most current DSDT file somewhere? Let me take a look. Both my MOBOs woke on keyboard or mouse a GA-EP35-DS4 and GA-EP45-UD3P.

Update:
I grabbed your DSDT from an earlier post. Try the attached DSDT. I modified the EHCI devices. Also you should have your USB mouse and keyboard connected directly to the motherboard and not any kind of hub? If you're using Slice's IOUSBFamily.kext I would try reverting back to the vanilla. Let me know if this helps.

Update #2:
Retract the last post. It seems you might have tried the approach I detail above.

저자 업데이트 #21 @wwbsox 2009-09-16 ↳ Re: @kDawg

@kDawg

사용 중이신 DS4 보드에서는 혹시 Apple 알루미늄 키보드로 깨우기가 작동하나요?

필드 노트 #45 @kDawg 2009-09-16 ↳ Re: @wwbsox
@wwbsox@kDawg On your DS4… Are you using an Apple Aluminum Keybaord?

It's an older extended Apple USB keyboard not an aluminum.

If you use the DSDT above do you get your EHCI devices showing up as ICH10 built-in?

필드 노트 #46 @xwin78 2009-09-17

@wwbsox--will you post your most current DSDT. I am having issues with the SATA/USB fix not compiling & I have the same hardware set up except 8800 GT 512 instead of GTS.

필드 노트 #48 @xwin78 2009-09-17

kDawg--thanks I saw this post & just wanted to be sure it was the MOST CURRENT DSDT file.

I read the entire thread...there have been so many hacks and revisions.

필드 노트 #49 @kDawg 2009-09-18 ↳ Re: @xwin78
@xwin78kDawg--thanks I saw this post & just wanted to be sure it was the MOST CURRENT DSDT file. I read the entire thread...there have been so many hacks and revisions.

I created that DSDT so I know it compiles fine.

필드 노트 #50 @twr 2009-09-18

been working for a while on my dsdt using pieces of code taken here and there, and everything but keyboard/mouse (wired Apple alu. + Razer Diamondback plasma) wake-on-sleep and shutdown menu call from power button (even with the _CID trick ...)

for now, using retail 10.5.8 with boot-think 2.3.18 (modded AppleLPC, fakesmc v.2, CPUPMdisabler, R1000 & vanilla IONet + IOPCI and sleepenabler in D/L/E.mkext) ; EFI strings for TM / en0 builtin fix and video (GeForce 8800GS + 384 Mo DDR3 SDRAM, PEG) on a GA G31M-ES2L rev. 1.1.

I know it could look kind of rude, but kDawg, would you be kind enough to take a look at my .dsl (compiles fine, no error nor warning) and tell me what might be wrong ? :

thx by advance.

필드 노트 #51 @kDawg 2009-09-18 ↳ Re: @twr
@twrbeen working for a while on my dsdt using pieces of code taken here and there, and everything but keyboard/mouse (wired Apple alu. + Razer Diamondback plasma) wake-on-sleep and shutdown menu call from power button (even with the _CID trick ...) for now, using retail 10.5.8 with boot-think 2.3.18 (modded AppleLPC, fakesmc v.2,…

I'm not sure what you're saying is the problem. Do you have a sleep/wake problem?

필드 노트 #52 @twr 2009-09-18

1°my usb keyboard & mouse aren't able to wake up OSX from S3 mode (whereas they do it in Windows) ;

2°I can put OSX into S3 mode with the power button if this option is activated in pref. sys., but when not, it does nothing ; it should make the shutdown menu show up.

I'm assuming it might be a DSDT issue.

edit: so sorry, I forgot some words ... I wanted to say : everything is working as it should, but USB wake-on-sleep & shutdown menu from power button.

wanna help me anyway ?

필드 노트 #53 @xwin78 2009-09-18 ↳ Re: @kDawg

Dsdt--sweetness

@kDawgI created that DSDT so I know it compiles fine.

Sorry--it was not an issue of compiling ---I wanted to make sure I got all the hacks for ethernet/usb etc.

I added some stuff and after 17 revisions I now have a fully functional SL machine w/ only 1 modded kext (thanks SNOW) for 5.1 Surround Sound!
that is more vanilla than my MacBook Pro.

Thanks to kDawg----wwbsox---SNOW and all you others!

필드 노트 #54 @kDawg 2009-09-19 ↳ Re: @xwin78
@xwin78Sorry--it was not an issue of compiling ---I wanted to make sure I got all the hacks for ethernet/usb etc. I added some stuff and after 17 revisions I now have a fully functional SL machine w/ only 1 modded kext (thanks SNOW) for 5.1 Surround Sound! that is more vanilla than my MacBook Pro. Thanks to kDawg----wwbsox---SNOW and all you…

That's great. Would you mind sharing your setup, i.e. what's in your extras folder?

필드 노트 #55 @xwin78 2009-09-19

I'd be glad to:

Gigabyte EP35-DS3P Rev.2.1 w/F6c BIOS
Xeon E3110 (e8400)
EVGA 8800 GT 512

Chameleon 2 RC3
Extras folder includes: com.apple.Boot.plist, dsdt.alm, SMBIOS.plist
fakesmc.kext
IOAHCIBlockStorageInjector.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
PlatformUUID.kext
SleepEnabler.kext

I am still working to get sleep enabled & tryign to reduce boot time...LONG compared to Leo

Thanks for your help

필드 노트 #56 @Jedric 2009-09-19

Compile Error.

Need some help. EHCI is now working. I followed the guide to replace dsdt code for UHCI suddenly im getting this error on compile. I did this over and over and I always get the same error. I put the old code back and compiles ok. There was no reference on the original code that I replaced to this lines so I'm stummped.

Mac-Pro:Tools admin$ ./iasl dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 9195: If (SS1)
Error 4095 - ^ syntax error, unexpected PARSEOP_IF

dsdt.dsl 9239: \_SB.PCI0.SBRG.SIOS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOS)

dsdt.dsl 9240: \_SB.PCI0.SBRG.SPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SPTS)

dsdt.dsl 9241: \_SB.PCI0.NPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.NPTS)

dsdt.dsl 9242: \_SB.PCI0.GFX0.OPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.GFX0.OPTS)

dsdt.dsl 9248: \_SB.PCI0.SBRG.SIOW (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOW)

dsdt.dsl 9249: \_SB.PCI0.SBRG.SWAK (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SWAK)

dsdt.dsl 9250: \_SB.PCI0.NWAK (Arg0)
Error 4063 - ^ Object does not exist (\_SB.PCI0.NWAK)

dsdt.dsl 9251: \_SB.PCI0.GFX0.OWAK (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.GFX0.OWAK)

ASL Input: dsdt.dsl - 9256 lines, 295803 bytes, 4252 keywords
Compilation complete. 9 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Original DSDT code that is being replaced.

Device (USB0)
            {
                Name (_ADR, 0x001D0000)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x03, 0x04))
                }
            }

            Device (USB1)
            {
                Name (_ADR, 0x001D0001)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x04, 0x04))
                }
            }

            Device (USB2)
            {
                Name (_ADR, 0x001D0002)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0C, 0x04))
                }
            }

            Device (USB3)
            {
                Name (_ADR, 0x001D0003)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }

            Device (USB4)
            {
                Name (_ADR, 0x001A0000)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }

            Device (USB5)
            {
                Name (_ADR, 0x001A0001)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x05, 0x04))
                }
            }

            Device (USB6)
            {
                Name (_ADR, 0x001A0002)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x20, 0x04))
                }
            }
        }
저자 업데이트 #22 @wwbsox 2009-09-19 ↳ Re: @Jedric

가능하시다면 수정하기 전의 원본 dsdt.dsl 파일 전체를 올려주세요. 제가 직접 패치를 적용해 컴파일해 보겠습니다. 에러 로그에 찍힌 줄 번호들을 추적하려면 일부분이 아닌 전체 DSDT 파일이 필요합니다.

아울러 사용 중이신 상세 하드웨어 사양도 함께 적어주시면 동일한 사양을 쓰는 다른 분들로부터도 도움을 받으실 수 있을 겁니다.

필드 노트 #57 @xwin78 2009-09-20

@ wwbsox

could you post your DSDT file---I would like to compare it to mine for order etc.

필드 노트 #58 @Jedric 2009-09-20

Apparently my EHCI was being detected built-in even without the DSDT. So its just the UHCI that im really having problems with being detected as Expansion slot.

AppleUSBUHCI[0x6e76000]::start unable to initialize UIM

필드 노트 #59 @ohwhyme 2009-09-20

I have a P35-DS3P and I just downloaded your dsdt.aml file and the ethernet works, sound, sata is displayed as ich10 but cant seem to wake up the computer with the keyboard or mouse. My old dsdt showed the removal device when I woke up from sleep and my pci network card worked so now I can just use the internal card I have the apple aluminum keyboard as well hehe. The Usb mouse works for waking up which is odd but the keyboard doesnt do anything. Does hibernate work for anyone? Does wake from bluetooth work for anything? I read the only way you can wake from bluetooth is via internal apple or a dlink 120 bluetooth adapter is this true?

필드 노트 #60 @kDawg 2009-09-21 ↳ Re: @twr
@twr1°my usb keyboard & mouse aren't able to wake up OSX from S3 mode (whereas they do it in Windows) ; 2°I can put OSX into S3 mode with the power button if this option is activated in pref. sys., but when not, it does nothing ; it should make the shutdown menu show up. I'm assuming it might be a DSDT issue. edit: so sorry, I forgot some…

#1: You have a ICH7 motherboard? If you've tried the USB/EHCI pathces in the attached DSDT file → then you might have to try Slice's IOUSBFamily.kext ↗. The problem might be that your USB/EHCI port aren't being reported as "built-in". Other than that as long as your keyboard and mouse are attached directly to the back of your motherboard it should work. Try Slices' kext and see if that fixes it. If so there may be something else going on. Perhaps a BIOS setting.

I believe your #2 problem is normal behavior for a OSX86 machine. When I push my power button my sleep menu does not show up. It will however go to sleep.

This patch had at one point worked for me. It doesn't anymore.
Various DSDT mods. →

k

저자 업데이트 #23 @wwbsox 2009-09-21 ↳ Re: @kDawg

@xwin78

제 완성된 DSDT는 본문 첫 번째 글(1번 게시물) 하단에 첨부되어 있습니다.

그나저나 혹시 집에 구형 USB 1.1 허브를 갖고 계신 분 있으신가요? Apple 알루미늄 키보드로 잠자기를 깨우는 방법을 계속 연구 중입니다.

잠자기를 잘 깨우는 제 Rocketfish 마우스는 시스템에서 USB 1.1(UHCI) 장치로 인식되는 반면, 잠자기를 못 깨우는 Apple 알루미늄 키보드는 자체 내장 허브 때문에 고속 USB 2.0(EHCI) 장치로 인식됩니다. 그래서 만약 Apple 키보드를 구형 USB 1.1 허브에 거치시켜 꽂으면 강제로 일반 USB 1.1(UHCI) 버스에 매핑되어 잠자기 깨우기가 작동하지 않을까 하는 가설을 세웠는데, 아쉽게도 당장 제 수중에 테스트해 볼 구형 USB 1.1 허브가 없네요.

필드 노트 #61 @osxfr33k 2009-09-21

My DSDT Won't compile when I added the Graphics section

I have the Asus Maximus Formula and the GA-EP35-DS$ very similar to the posts here.

I used DSDTSE and all the fixes are in place. DTGP, HPET and RTC. I am trying to figure out exactly where the graphics section go. Here is the one I tried to fix, look in the section DEVICE (PCI0). Its very obvious where I started the the code. I could not move it over to the left and align everything.

Do I need to start the code right under DEVICE (PCI0)? I started the code right between DEVICE (PCI0) and Name (_HID, EisaId ("PNP0A08")). I have a feeling I have placed it incorrectly or something?

Is there an easy way in DSDTSE to insert the code generated into the main editor and have it automatically go to the correct section and insert correctly?

File Attached

필드 노트 #62 @osxfr33k 2009-09-21

Sorry the file did not attach the first time before I clicked Submit. I see there was a Submit below where the attached window was so I had to post this file in a reply. Sorry about that. Any help on formatting this correctly would be greatly appreciated!

필드 노트 #63 @sk1nhd33t 2009-09-21

@wwbsox

hopefully we can find a fix for our aluminum keyboard waking from sleep, on my ES2L mobo it's the only thing that's missing since automatic sleep is now working thanks to PleaseSleep

BTW are you using the one with num pad or without?

필드 노트 #64 @twr 2009-09-21 ↳ Re: @kDawg
@kDawg#1: You have a ICH7 motherboard? If you've tried the USB/EHCI pathces in the attached DSDT file then you might have to try Slice's IOUSBFamily.kext (http://www.projectosx.com/forum/index.php?showtopic=337 ↗). The problem might be that your USB/EHCI port aren't being reported as "built-in". Other than that as long as your keyboard and…

gonna check my EHCI/UHCI DSDT.dsl editing ...

my mobo is a G31M-ES2L : it looks as if I'm not the only one facing its USB/sleep issues !

my BIOS settings are OK (S3 + USB wake from S3 in advanced options) : if the DSDT trick doesn't make it, I'm gonna try the Slices' .kext.

thx for your help !

필드 노트 #65 @sk1nhd33t 2009-09-21 ↳ Re: @twr
@twrbeen working for a while on my dsdt using pieces of code taken here and there, and everything but keyboard/mouse (wired Apple alu. + Razer Diamondback plasma) wake-on-sleep and shutdown menu call from power button (even with the _CID trick ...) for now, using retail 10.5.8 with boot-think 2.3.18 (modded AppleLPC, fakesmc v.2,…

it wont work, tried a few dsdt patch on leo and snow and still the KB wont wake my machine from sleep.. we have the same mobo and kb except that for the mouse im using wireless mighty mouse. I can wake from sleep using a keyboard if i use my old wired apple keyboard (plastic w/ white clear keys).

for the PWRB dsdt hack, same goes here. my machine just sleeps but it's not showing the shutdown menu .. not a biggie though, im much more interested in waking from sleep using a Kb instead of my power button.

저자 업데이트 #24 @wwbsox 2009-09-21 ↳ Re: @sk1nhd33t

@osxfr33k 일부분이 아닌 전체 DSDT 파일을 올려주시면 수정해 드리기가 훨씬 수월할 것 같습니다.

@sk1nhd33t 저는 우측에 숫자 패드(Number Pad)가 달린 풀사이즈 확장형 알루미늄 키보드를 사용하고 있습니다.

필드 노트 #66 @EnzoFX 2009-09-21

If your still using IOAHCIBlockStorageInjector and/or AHCIPortInjector, try the SATA Fix, then you can omit those 2 kexts.

I also want to add that with this fix, I can wake from sleep with usb kb+mouse. I am using an old MS Keyboard, and a Logitech G9.

My power button can only sleep the system with the setting ticked in sys prefs. This is after the pwrb dsdt fix. Otherwise, with the option disabled, it does nothing.

My snow leopard is running beautifully. I have but one issue, that is switching between spaces, it is laggy!. I don't think this is on my side, because every other thing is incredibly smooth, smoother than Leopard, and this animation in Leopard worked well. Am I correct in assuming this much?

I think a few real mac users are experiencing this, and there is one "fix" that involves messing with QE, and I'm not sure I'm ready to do that. Some reported it went away eventually, other say it's only when booting in 64bit, which alludes to the issue residing on apple's drivers? I dunno... Right now, I'm just trying to ignore it...

저자 업데이트 #25 @wwbsox 2009-09-21 ↳ Re: @EnzoFX

좋습니다… 여전히 Apple 키보드로 잠자기 깨우기 문제를 파고 있는 중인데, 앞서 세웠던 USB 1.1(UHCI) 가설이 정확히 맞아떨어졌습니다! 키보드가 USB 2.0(EHCI) 장치로 인식되는 것이 깨우기가 안 되는 근본 원인이었습니다.

테스트 삼아 메인보드 BIOS의 Integrated Peripherals 메뉴에서 아예 USB 2.0 컨트롤러(EHCI)를 Disabled로 꺼버렸더니, Apple 알루미늄 키보드로 잠자기 깨우기가 백발백중 완벽하게 작동합니다!

물론 이 상태로는 외장 USB 하드 드라이브를 쓸 때 속도가 느려져서 근본적인 해결책은 될 수 없습니다(다행히 제 외장 하드는 eSATA 방식이지만요). 게다가 BIOS에서 USB 2.0을 끄면 메인보드 후면의 USB 포트 8개 중 단 2개만 작동한다는 치명적인 단점도 있습니다.

하지만 이 실험을 통해, 만약 Apple 알루미늄 키보드만 구형 USB 1.1 허브를 거쳐 연결한다면 USB 2.0 컨트롤러를 끄지 않고도 키보드로 잠자기를 깨울 수 있을 거라는 확신이 들었습니다.

결국 이 모든 정황은 DSDT의 EHCI 컨트롤러 섹션을 적절히 수정하면 소프트웨어적으로도 문제를 해결할 수 있다는 뜻입니다. 지금까지 4~5가지의 서로 다른 EHCI "수정 패치"들을 적용해 봤는데 아직 성공하진 못했습니다. 분명 어딘가에 해답이 있을 테니 계속 찾아보겠습니다.

필드 노트 #67 @ohwhyme 2009-09-22

does that mean that I can turn off that option and 2 of the ports will be usb 1.1 and the rest will be 2.0? That would work fine for me .

필드 노트 #68 @osxfr33k 2009-09-22

wwbsox here ya go. The DSDT.dsl is the one that works I would say 100% except for the graphics not being inserted. I used DSDTSE to create the DSDT.dsl. The dropdown had separate fixes for DTGP, HPET and RTC etc and it seems that they must have gotten put into place or maybe not? I am not sure if powermanagement is working but I have sleep/awake/restart/shutdown is flawless. USB no problems.

Graphics is 7300GT 256mb, which I have changed a few things as you will see in the dsdt-graphics.dsl file. Also will be putting in a 9800 GT 512MB one day to

I would like to incorporate that into the DSDT.dsl and remove the EFI string from the com.apple.boot.plist if its possible. The Marvell Lan's work Great! I do see kexts for the marvel in my Extra/extensions so I would like to have that ready made in the DSDT so I don't have to load them unless its not being used and its already fixed in the DSDT file?

I am unsure if the CMOS fix was done but I don't suffer any changes in my Bios? I am in Snow 10.6.1 using an Asus Maximus Formula X38 chipset with the latest Bios. I also have the GA-EP35-DS4 gigabyte that I willbe working on next after I solve the remaining minor details on this ASus Board.

I am attaching now. Hope you can help and greatly appreciated to. dsdt.dsl's generated by DSDTSE.

CAn you let me know exactly where the Graphics-dsdt.dsl script should be placed or maybe place it for me so I can see. I think I shoul dhave maybe put it further down the Device (PCI0) script or not? I got scripting erros when I merged it between the Device (PCI0) and Name (_HID, EisaId ("PNP0A08")).

Should it be placed somewhere else?

EDITED a Few Minutes later.

It does not look like I have the RTC, CMOS nor PWRB fix? I assumed it was put into place with DSDTSE. Now I wonder if HPET and DTGP fixes are in place? If not its weird how well the DSDT is working so far except a major crash when I launch Chess is OSX. I verfied with other utils etc that acceleration is working fine.

저자 업데이트 #26 @wwbsox 2009-09-22 ↳ Re: @osxfr33k

@osxfr33k

모든 메인보드가 Snow Leopard에서 CMOS 초기화 방지(RTC) 패치를 필요로 하는 것은 아닙니다(다만 기가바이트 보드에서는 필수입니다).

올려주신 파일을 간단히 훑어봤는데, DSDT 안에 DTGP 메소드는 이미 들어 있지만 그래픽(GFX) 섹션이 삽입된 위치가 올바르지 않은 것 같습니다. com.apple.Boot.plist에서 EFI 스트링을 걷어내실 수 있도록 그 부분부터 바로잡아 보죠.

방금 ASUS 공식 사이트에서 님 보드용 최신 BIOS ROM 파일을 다운로드했습니다. Windows용 ACPI Patcher에 이 ROM을 넣고 모든 기본 패치와 그래픽 주입 옵션을 체크해 표준 DSDT를 하나 생성해 볼 생각입니다.

그렇게 생성된 파일과 대조해 보면 그래픽 섹션이 정확히 어디에 들어가야 하는지 파악해 님의 DSDT를 깔끔하게 고칠 수 있을 겁니다. 퇴근 후에 새로 생성한 DSDT와 수정본을 함께 업로드해 드리겠습니다.

저자 업데이트 #27 @wwbsox 2009-09-22

@ohwhyme

아뇨… 안타깝게도 제 보드에서는 BIOS에서 USB 2.0 컨트롤러를 끄면 후면 USB 포트 중 딱 2개만(USB 1.1로) 작동하고 나머지는 아예 먹통이 됩니다. 마우스를 포트마다 옮겨 꽂으며 확인해 봤는데 보드 맨 아래쪽 포트 2개에서만 마우스가 작동하더군요(전면 케이스 포트 2개는 테스트해 보지 않았습니다). 물론 그 상태에서도 알루미늄 키보드 양옆에 달린 USB 허브 포트 2개는 정상 작동합니다.

원래 USB 2.0(EHCI)과 USB 1.1(UHCI)은 물리적인 포트별로 나뉘는 게 아니라(만약 특정 포트만 USB 1.1로 고정할 수 있었다면 정말 좋았겠지만요), 꽂히는 장치의 규격에 따라 컨트롤러가 자동으로 라우팅하는 방식입니다. 어느 포트에 꽂든 USB 2.0 장치를 꽂으면 EHCI 버스로 등록되고, USB 1.1 장치를 꽂으면 UHCI 버스로 등록됩니다.

따라서 핵심 과제는 USB 2.0 허브가 내장된 Apple 알루미늄 키보드를 어떻게든 USB 1.1(UHCI) 버스로 등록되게 만드는 것입니다. 그것만 해결되면 키보드로 잠자기 깨우기 문제는 끝납니다.

필드 노트 #69 @Jedric 2009-09-22 ↳ Re: @wwbsox
@wwbsoxIf you could...post the entire dsdt.dsl before any changes. I will try to patch the dsdt and recompile. The errors list different line numbers to look at, but without a complete dsdt I cant track those down. Also, what hardware are you using, this info may help people with the same setup offer help.

wwbsox did you get a chance to look at my dsdt, pertaining to the errors I was getting when replacing the USB0-USB6?

필드 노트 #70 @osxfr33k 2009-09-22

wwbsox, If you do that I would feel more comfortable to donate. I am the kind of person that if someone can do you a favor you should return the favor as well. Please PM you paypal address. I have to check my bios make sure its the latest one. I am sure it is from december2008/jan 2009.

That seems to be a very compatible board with osx86.

Could you send me one with graphics and without. Reason is because it seems chameleon is handling my 7300GT well. Dunno about when I install my 9800 GT 512 mb card? Will the dsdt have to be extracted again with a different Graphics card as long as the code for it is not in the dsdt?

Could I have the source or .dsl file with it to so I can compare it to a couple I have already.

Not sure about the Dual Marvel Lan but most users have to have a kext for it in the extra/extensions.

The new version of DSDTSE seems to automatically put in the three fixes RTC, DTGP and HPET even though they are in the drop down hack menu?

I wish there aw a tutorial on where to actually place the hacks in DSDTSE?

I get a kernel panic when I launch Chess and only Chess. I have checked Acceleration with the usual ways with no panics.

I have BIOS Version 1302 back in December 2008 is when that was released. The DSDT.aml is the one extracted from the Linux Ubuntu Live CD. The DSDT.dsl-working_but-possibly-not-all-fixes.zip shoudl be the one I already attached for you. The log.txt.zip I think I already attached from my prior thread but here it is again just in case

Thanks again

EDITED a few hours later:

I did not think about this but let me also send to you the DSDT.aml created in Ubnuntu 9.04 Live CD because that DSDT.dsl I sent you was created on a nearly working Asus Maximus Formula in Snow. So I am not sure if it is extracting some of the exsiting DSDT already loaded from the /extra folder or not? I am also attaching my error log file again about the graphics and really important my ioreg dump from leopard. Just in case you need them.

필드 노트 #71 @EnzoFX 2009-09-22

If you get your 9800gt working perfectly in Snow LMK your method!

I got it enabled through DSDT and for some reason, switching between spaces is noticeably choppy.

I also have an initialization issue/display sleep issue. It only arises when: The display is about to sleep and before the monitor even finishes going into standby mode, quickly move the mouse to wake it up, and I get this grey static image for a few seconds or more.
So only in this instant does it happen, maybe with Chameleon's vga rom injection this could be fixed? I should look into that.

저자 업데이트 #28 @wwbsox 2009-09-23 ↳ Re: @EnzoFX

@Jedric

올려주신 DSDT의 USB0~USB6 섹션에 패치를 추가했습니다. EHCI 쪽은 이미 정상 작동한다고 하셔서 건드리지 않았습니다. 문법 에러 없이 깔끔하게 컴파일되었으며, Vcore 전압 설정 관련 섹션에서 몇 개의 경고(Warning)가 떴지만 컴파일 및 작동에는 아무런 지장이 없습니다. 수정된 .dsl 소스와 컴파일된 .aml 파일을 첨부하니 테스트해 보세요. 기존 파일과 USB 섹션을 비교해 보시면 어디가 바뀌었는지 바로 아실 수 있을 겁니다. 행운을 빕니다!

저자 업데이트 #29 @wwbsox 2009-09-23

@osxfr33k

님 보드의 최신 BIOS ROM을 사용해 DSDT를 추출 및 컴파일해 보았습니다. 컴파일 도중 오버플로(Overflow) 관련 에러가 몇 개 뜨던데 ASUS 보드 특유의 현상인 것 같습니다. 어쨌든 그래픽 섹션 코드는 정상적으로 생성되었습니다.

추출된 DSDT의 그래픽(PEGP) 섹션 코드를 별도의 텍스트 파일로 첨부합니다. 아울러 이 코드가 PCI0 섹션 내부의 정확히 어느 위치에 들어가야 하는지 참고하실 수 있도록 Windows용 ACPI Patcher가 생성한 전체 .dsl 파일도 함께 동봉합니다. 부디 잘 작동하길 바랍니다!

필드 노트 #72 @Jedric 2009-09-23 ↳ Re: @wwbsox
@wwbsox@Jedric I added the fixes for usb0-usb6. I did not change the EHCI area as you stated that was working for you. It compiled with no errors. There were a few warning... related to section in your DSDT that has something to do with vcore voltage settings, but this did not prevent it from compiling. Attached is the .dsl and compiled…

BIG THANKS wwbsox. Works great

필드 노트 #73 @sylvester328 2009-09-23 ↳ Re: @wwbsox
@wwbsox@ohwhyme The problem is... trying to get the keyboard registered as USB1. This will fix wake from sleep issue.

I think even if you manage to do that, it is not really a solution. The Apple aluminium keyboard is a USB2 device because it is in fact a USB hub with two USB ports at both end. Will making it a USB1 device crapple the transfer speed of those ports? If so, I'll rather connect my mighty mouse (USB1 device) to a separate port on the motherboard and click on the mouse to wake up my hac.

저자 업데이트 #30 @wwbsox 2009-09-23 ↳ Re: @sylvester328

@sylvester328

네, 구형 USB 1.1 허브를 거치면 키보드 양옆에 달린 USB 포트 속도 역시 USB 1.1로 제한될 겁니다. 그런데 제 생각엔 어차피 키보드에 달린 포트들은 원래부터 전력 제한 때문에 사실상 USB 1.1 용도에 가까운 것 같습니다. 키보드 포트에 일반 USB 2.0 메모리를 꽂으면 전력이 부족하다는 경고 메시지가 뜨면서 Snow Leopard가 자동으로 장치를 추출(Eject)해 버리더군요. 음?

어쨌든 Apple 알루미늄 키보드로 잠자기를 깨우고 싶어 하는 분들의 요청이 워낙 많아서 제시해 드린 물리적 우회책 중 하나일 뿐입니다.

앞서 말씀드렸듯 저는 분명히 DSDT의 EHCI 섹션을 패치하여 고속 USB 2.0 포트 상태에서도 잠자기 깨우기가 작동하도록 만드는 정석적인 해법이 존재한다고 믿습니다. 단지 아직 그 코드를 찾지 못했을 뿐이죠.

실제로 제 EP45-DS3L 보드에서는 아무런 패치 없이도 똑같은 Apple 알루미늄 키보드로 잠자기 깨우기가 완벽히 작동하거든요. 유독 EP35-DS3P에서만 안 되는 걸 보면 분명 차이가 있을 겁니다.

필드 노트 #74 @osxfr33k 2009-09-23

wwbsox Thanks so much. Couple quick questions. I inserted the audio part where you have it but I get an error?

This stuff here was right after PCI0 but now I noticed its at the end of the graphics script and the number in "Name (_HID, EisaId ("PNP0A03"))
Name (_ADR, Zero)
Method (^BN00, 0, NotSerialized)"

which was PNP0A08 is now PNP0A03. if I change it back to 8 I get an error so I left it alone. SO what happened to this section below? LIke I said I see it at the end of the graphics script now with a "3" instead of 8?

Name (_HID, EisaId ("PNP0A08"))
Name (_ADR, Zero)
Method (^BN00, 0, NotSerialized)
{

I even compiled your dsdt and OSX stops at the 4096 cluster and io something.

Here is the log.

저자 업데이트 #31 @wwbsox 2009-09-23 ↳ Re: @osxfr33k

@osxfr33k

첫째, 오디오(HDEF) 코드는 원래 쓰시던 그대로 유지하세요. ACPI Patcher는 ALC888과 ALC889a 코덱용 오디오 코드만 자동으로 넣어주는데 님의 ASUS 보드는 다른 코덱을 쓰니까요. 저는 오직 그래픽 주입 코드 위치만 확인하려고 돌린 것입니다.

둘째, 그래픽 코드의 정확한 삽입 위치는 ACPI Patcher가 자동으로 배치한 위치 그대로입니다. 위치에 따라 작동 여부가 달라지는지는 제가 해당 보드를 직접 갖고 있지 않아 테스트해 볼 수 없네요.

셋째, 질문하신 PNP0A08과 PNP0A03의 차이에 대해서도 솔직히 잘 모르겠습니다. 저는 ASUS 공식 홈페이지에서 받은 님 보드용 바이오스 롬 파일(v1302)로 컴파일했을 뿐인데, 제가 지금까지 다뤄본 다른 보드들(ASUS와 기가바이트 모두) 역시 해당 디바이스 아래에 Name (_HID, EisaId ("PNP0A03"))으로 되어 있었습니다.

마지막으로, 제가 실수로 .dsl 파일만 첨부했었네요... 이상하게도 Windows용 ACPI Patcher로 생성한 .dsl 파일은 OS X의 iasl에서 바로 컴파일이 안 되는데, Windows에서 아예 .aml로 컴파일해 가져오면 OS X에서 디컴파일 및 재컴파일이 아주 잘 됩니다. 그래서 이번 첨부 파일에는 참고용으로 .aml 파일을 넣어두었습니다.

가장 안전한 방법은 제가 올린 이 .aml을 그대로 쓰려 하지 마시고, 현재 님 시스템에서 정상 작동이 검증된 본인의 기존 DSDT에 필요한 패치 조각들만 하나씩 복사해 추가하는 것입니다. 제게 실물 메인보드가 없어 직접 부팅 테스트를 해볼 수 없으니 이 방법을 권장합니다.

행운을 빕니다!

필드 노트 #75 @osxfr33k 2009-09-23

Thanks will work on it some more. Is this extracting/patching etc similar to true hacking where one takes a compiled source code and dissasembles it, then uses a debuger to watch where the program lands it for example when the program asks for a serial then the hacker knows where ithat part of the code is being used? Then they do some trial and error changes and then assemble it and test it?

Are these DSDT.dsl files basically the same thing, starting out originally as source code that was compiled into a BIOS ROM and flashed to the MB.

We are dissasembling what was once source code but now machine code that is dissasembled?

Am I way off base with this analogy?

Because if this is kinda what we are doing no wonder it difficult to get things right.

필드 노트 #76 @CyCLoBoT 2009-09-23

I am having a problem with waking my computer up using USB keyboard/mouse. I tried to replace the USB fix code in my DSDT file but I started getting KP. Anyone know how I can fix the USB wake issue on a Gigabyte EP45-DQ6 board?

I have attached my current DSDT file that I'm using.

media fire.com/?mol3mzimzmz

저자 업데이트 #32 @wwbsox 2009-09-24 ↳ Re: @CyCLoBoT

@cyclobot.

그 문제는 계속 연구 중입니다. 만약 일반 USB 1.1 규격의 키보드나 마우스를 연결하시면 잠자기 깨우기가 바로 작동할 겁니다.

올려주신 DSDT에 USB 패치 섹션을 적용해 컴파일했습니다. 한 번 테스트해 보세요.

필드 노트 #77 @twr 2009-09-24

after some new DSDT editings, still no luck on my G31M-ES2L with USB Alu. keyboard : sleeps very well, but won't wake without PWRB.

here is my .dsl ...

필드 노트 #78 @CyCLoBoT 2009-09-24 ↳ Re: @wwbsox
@wwbsox@cyclobot. Working on the issue. If you have a USB1 keyboard or mouse, they should wake the system. I added the usb section to your dsdt, give this a try.

Thanks wwbsox. It does wake up with the mouse without giving any errors.

Update:
Well after I started using your modified DSDT file, I started getting KP. Not sure what's causing it but I had to switch back to my original one.

저자 업데이트 #33 @wwbsox 2009-09-24 ↳ Re: @CyCLoBoT

@cyclobot

제가 새로 만든 게 아니라 님이 올려주셨던 바로 그 DSDT 파일에서 USB 섹션만 수정해 돌려드린 것입니다. 그런데 확인차 여쭙는데, 쓰시는 보드가 EP45-DQ6라면 사우스브리지가 ICH10 아닌가요? 제 서브 보드인 EP45-DS3L(ICH10)은 별도의 DSDT USB 패치 없이도 잠자기와 Apple 키보드로 깨우기가 순정 상태에서 완벽히 작동하거든요.

필드 노트 #79 @CyCLoBoT 2009-09-25 ↳ Re: @wwbsox
@wwbsox@cyclobot That was the dsdt that I got from you. I just edited the usb section. But for the record... You have an EP45-DQ6, is this ICH10 south bridge? I know my EP45-DS3L is and I dont need any DSDT patching. Sleeps ok. Wakes from keyboard fine too.

Yes it is ICH10R. My computer goes to sleep just fine and it does wake up as well but only with the power button.

필드 노트 #80 @spanakorizo 2009-09-25

jmicron

1) tried gfx injection of the 8800gt (by dsdt) and i had no luck, maybe the bus location could be wrong? (where do i find it exactly for my card?)

also my pci0 device starts likes this:
Device (PCI0)
{

Name (_HID, EisaId ("PNP0A08"))
could that be a problem? (some users said it should be 03)

2) i was able via dsdt to make the uhci and ahci appear as internal and the sata now shown as intel esb2 AHCI, but my mobo has also Jmircron and the 2 Jmicron devices shown as "Unknown"
any fix for this?

removed a lot of kexts in /e folder , now i only got FakeSMC and, UUID.kext (+ionetworking for my net and openhaltrestart)
i'll try now to rebuild mkext without openhaltrestart.kext and see if i still need it

필드 노트 #81 @spanakorizo 2009-09-25

kp

i was testing sleep after the UHCI/EHCI modifications to the dsdt and after a lot of time i have sleeep WORKING!
wake up via mouse works, no keyboard but my keyboard is ps2 and loaded with hacked kexts (voodoops2+appleacpips2nub)
but i noticed a strange KP...
when pc wakes if i go again to control panel and mess with the power settings i get kernel panic (no debug but the "you neeed to restart your computer..."
how can i see what caused the kp?
anyone else with this issue?

EDIT: KP is because of my 2nd pci audio card M-AUDIO and hacked drivers of envy24HT (known kp)
i switched to the onboard soundcard after wake and there is no kp so everything ok

필드 노트 #82 @EnzoFX 2009-09-28

For those with an Apple keyboard, what about getting a strictly USB 1.1 hub? and plug it in through there =P

필드 노트 #83 @BugsB 2009-10-03

I have been trying hard to correct my dsdt.dsl, but to no avail. My USB devices do not mount at all in SnowLeo. In Leo I have been using the EHCI mods from orByte, Slice or AnV.

Sorry, but I have already spent useless hours and could really need some help with this. If somebody kind could look at my dsdt and correct it I would be forever grateful. I would even be willing to contribute something back.

The dsdt.dsl for my Toshiba Satellite P100 is attached.

Hoping .. ,
Bugs

필드 노트 #84 @EnzoFX 2009-10-05

I got a question about the fact that your supposed to leave device 0x001D0003 alone,
I'm doing this to another board now, and none of it's usb devices have that Name/ID, so then do I not worry about leaving one alone now?

저자 업데이트 #34 @wwbsox 2009-10-06 ↳ Re: @EnzoFX

@EnzoFX

네, 님 말씀이 맞을 겁니다. 다른 보드들 중에서도 0x001D0003 주소 디바이스가 아예 없는 경우를 본 적이 있습니다. 실제로 디바이스 ID 수정이 들어가는 대상 주소는 D0, D1, D2와 A0, A1, A2 총 6곳이면 됩니다.

그리고 반드시 Apple 알루미늄 키보드로 잠자기를 깨워야만 하는 분들께는 구형 USB 1.1 허브를 거치는 물리적 해법이 확실히 먹힐 텐데, 제게 구형 허브가 없어 직접 검증해 보지 못하는 게 아쉽네요.

필드 노트 #85 @xwin78 2009-10-07

@ wwbsox

thanks for all the help w/ my DSDT file--I just added my GFX info and all is well except I can not sleep, my system just powers down and when I strike the keyboard it boots back up (cold). I have the same setup as your sig---what is your BIOS rev and what are your BIOS settings (specifically your power related BIOS settings)?

필드 노트 #86 @kDawg 2009-10-07 ↳ Re: @wwbsox
@wwbsox@EnzoFX I believe that is correct. I have seen other boards without the D3 address. The actual addresses that get modified should be D0,D1,D2,A0,A1 and A2. Also, The USB1.1 hub should work for anybody that "MUST" wake from aluminum keyboard. But I dont have an old hub to test out.

I actually think this is a mistake on Gigabyte's behalf. The D3 device is a mystery. I have a GA-EP45-UD3P and it doesn't reference the D3 address. I also found an error in the USB device section in the DSDT for my other MOBO a GA-EP35-DS4.

Some companys do a better job generating their DSDT than others. I do happen to think Gigabyte does an OK job.

필드 노트 #87 @sylvester328 2009-10-09 ↳ Re: @kDawg
@kDawgI actually think this is a mistake on Gigabyte's behalf. The D3 device is a mystery. I have a GA-EP45-UD3P and it doesn't reference the D3 address. I also found an error in the USB device section in the DSDT for my other MOBO a GA-EP35-DS4. Some companys do a better job generating their DSDT than others. I do happen to think Gigabyte…

Just upgrading the BIOS for my EP45-DS3R. In the process of DSDT patching, I noticed that the new BIOS (F11e) no longer has this D3 device. They also fixed a couple of bugs which caused compilation warnings as well.

I really hope someone find a DSDT hack soon to enable the wake from sleep using USB2 keyboard.

필드 노트 #88 @kDawg 2009-10-09 ↳ Re: @sylvester328
@sylvester328Just upgrading the BIOS for my EP45-DS3R. In the process of DSDT patching, I noticed that the new BIOS (F11e) no longer has this D3 device. They also fixed a couple of bugs which caused compilation warnings as well. I really hope someone find a DSDT hack soon to enable the wake from sleep using USB2 keyboard.

Have you posted your DSDT somewhere? If not attach it here so I can take a quick look.

필드 노트 #89 @Ianxxx 2009-10-09 ↳ Re: @BugsB
@BugsBThe dsdt.dsl for my Toshiba Satellite P100 is attached. Bugs

I don't think it is?

저자 업데이트 #35 @wwbsox 2009-10-11 ↳ Re: @Ianxxx

InsanelyMac 포럼의 Master Chief 님이 ASUS P5K 시리즈 보드에서 Apple 알루미늄 키보드를 포함한 USB 2.0 키보드로 잠자기를 깨울 수 있게 해주는 DSDT 패치를 공개했습니다! 그 코드를 기가바이트 보드에 이식해 보려고 며칠째 씨름 중인데 아직은 성공하지 못했습니다. 그래도 계속 시도해 볼 생각입니다.

만약 ASUS P5K 계열 보드를 쓰시는 분이라면 꼭 그분의 스레드를 찾아가 보세요. P5K 보드를 위한 경이로운 수준의 DSDT 패치들이 어마어마하게 올라와 있어서 눈이 휘둥그레지실 겁니다. 진심으로요.

필드 노트 #90 @sk1nhd33t 2009-10-11 ↳ Re: @wwbsox
@wwbsoxMaster Chief over at insanelymac has a dsdt patch that on the p5k boards enables wake from usb2 keyboard, including apple keyboard. I have tried for a few days to get this to work on a gigabyte board to no avail. Still trying though. If you have a p5k, I suggest you look up him up. He has sooooo many dsdt patches for that board it…

i wanna take a look at this if you have a direct DL link and try? im also having issues waking from sleep using my aluminum keyboard... or maybe a dsdt.dsl will do if you dont mind :

저자 업데이트 #36 @wwbsox 2009-10-12 ↳ Re: @sk1nhd33t

@sk1nhd33t

http://www.insanelymac.com/forum/index.php?showtopic=18… ↗

위 스레드의 세 번째 게시물에 Master Chief 님이 작업한 모든 DSDT 파일들이 정리되어 있습니다.

거듭 말씀드리지만 P5K Pro 계열 보드 유저분들께는 최고의 보물창고입니다. 저는 기가바이트 보드에서도 알루미늄 키보드 깨우기가 되도록 계속 이식을 시도해 보겠습니다.

필드 노트 #91 @pandar 2009-10-19

I have an installation of 10.6.1 on the ds3p and would like to borrow your solution. I have an 8600gt however. How would I deal with that? I'm using Chameleon RC3 and Netkas's latest boot file. If you can clue me in a bit, I'd appreciate it.

Pandar

저자 업데이트 #37 @wwbsox 2009-10-20 ↳ Re: @pandar

@Pandar

이 스레드의 USB 내장 인식 패치를 말씀하시는 거라면, 본인의 DSDT 안에서 USB 관련 디바이스 섹션을 찾아 본문 첫 번째 글에 있는 코드로 교체해 주기만 하면 됩니다.

더 상세한 단계별 설명이 필요하시면 언제든 쪽지(PM) 주세요.

현재 그래픽 카드도 DSDT 주입 방식으로 잡고 계신가요? 그렇더라도 USB 패치는 그래픽 섹션에 아무런 영향을 주지 않습니다. 만약 이번에 그래픽 카드 정보도 DSDT에 새로 추가하고 싶으신 거라면 Device (PCI0) 아래에 Device (PEGP) 섹션을 생성해 넣으셔야 하는데, 저는 Windows용 ACPI Patcher를 사용해 해당 그래픽 코드를 생성했습니다.

필드 노트 #92 @kantok 2009-10-31

Works

Thanks wwbsox!
The combination of the methods works perfectly on my EP45-UD3P!
Wake-up issue by mouse and Keyboard has come!

필드 노트 #93 @stayupforever90 2009-11-04

Thanks to wwbsox to start with, also everyone else who has posted in this thread it has been a lot of help. I am having a problem adding graphics to my DSDT, have searched for PEGP but could not find it. I can find it in registry explorer but have to admit not very good at that bit. Also I think there may be a problem with my SATA fix as SATA shows up as ICH10 AHCI but I cant remove the IOAHCIBlockStorage.kext I am using, if anyone could take a look at my DSDT that would be great. I am using a GA-G33M-DS2R mother board with core2duo E6600 and 4GB ram Nvidia 8800 GTS 512mb graphics running 10.6.1 Retail . Also wondering does anyone's graphics card show up in the PCI cards section of system profiler, and to anyone who takes the time to look at my DSDT

필드 노트 #94 @atomiX_X 2009-11-05

I've had a working SL setup for months now but I'm still unable to make my Asus P5E wake from USB. Sleep works fine while waking from power button but not from USB. I got this to work in 10.5 using a modified IOUSBFamily.kext but I haven't been able to find one for SL. I realize that this can be fixed with DSDT edits.

I've tried to simply replace the USB section with the one displayed at the start of this thread as wwbsox and others have said but I get a ridiculous amount of compile errors. I get the same results using DSDTse and iASLMe. I'd really appreciate it if someone could take a look. Please see attached and let me know if more specific info is required.

FYI, DSDT is already patched to fake ICH9 as ICH10 and as a result, all my USB ports show as built in and any mass storage devices connected survive sleep/wake.

저자 업데이트 #38 @wwbsox 2009-11-05 ↳ Re: @atomiX_X

@stayupforever90

저도 똑같은 그래픽 카드를 쓰고 있으며, 이 스레드의 32번 게시물에 제가 첨부해 둔 DSDT 파일을 열어보시면 찾으시는 PEGP 그래픽 섹션 코드가 그대로 들어 있습니다.

IOAHCIBlockStorageInjector.kext의 경우 저는 사용하지 않아서 확답을 드리기 어렵지만, ProjectOSX 포럼에 가면 THe KiNG 님이 공개한 DSDT SATA 패치를 통해 해당 Kext 없이도 내장 아이콘으로 인식시키는 방법이 나와 있는 걸로 압니다.

그리고 네, DSDT로 그래픽을 주입하면 시스템 프로파일러의 'PCI 카드(PCI Cards)' 항목에도 그래픽 카드 정보가 함께 표시되는 것이 정상입니다.

저자 업데이트 #39 @wwbsox 2009-11-05

@atomiX_X

ASUS 메인보드는 기가바이트 보드와 ACPI 노드 명칭과 구조가 달라서 본문의 기가바이트용 USB 섹션 코드를 통째로 복사해 덮어쓰시면 안 됩니다. 컴파일 에러가 무더기로 쏟아진 이유가 바로 그 때문입니다. 다만 올려주신 파일을 보니 이미 기존의 각 USB 디바이스 안에 올바른 디바이스 ID를 담은 Method (_DSM, 4…) 코드를 잘 추가해 두셨네요. EHCI 디바이스 이름이 제 보드와는 다르게 EUSB와 USBE로 되어 있는데, 이 명칭 차이가 작동에 영향을 주는지는 확실치 않습니다.

만약 다른 문제는 다 해결되었고 오직 USB 장치로 잠자기 깨우기(Wake from Sleep)만 안 되는 상황이라면, 시스템 프로파일러에서 현재 연결된 마우스와 키보드가 일반 USB(UHCI)와 고속 USB(EHCI) 중 어느 버스 아래에 잡혀 있는지 확인해 보세요. 만약 고속 USB(Hi-Speed USB) 아래에 잡혀 있다면 바로 그것이 잠자기를 깨우지 못하는 원인입니다. 제 시스템에서도 USB 1.1(UHCI)로 잡히는 Rocketfish 마우스는 잠자기를 잘 깨우지만 USB 2.0(EHCI)으로 잡히는 Apple 알루미늄 키보드는 깨우지 못합니다.

마침 ASUS 보드를 쓰시니 InsanelyMac의 P5K Pro 스레드에 올라온 Master Chief 님의 DSDT를 꼭 참고해 보세요. 그분은 DSDT 수정만으로 본인 보드에서 Apple 알루미늄 키보드 깨우기를 완벽히 구현했다고 합니다. 행운을 빕니다!

필드 노트 #95 @atomiX_X 2009-11-05

Thanks for the info wwbsox. I checked and my keyboard and mouse show up under regular USB and not high speed. I tried with another mouse and keyboard to make sure and same deal.

Now that you mention it though this isn't the only issue I've had but it has been the only one that bothers me. The machine also can't do a full hardware restart or shutdown on it's own. Not exactly sure why since I'm using OpenHaltRestart. I'm thinking these might be related.

필드 노트 #96 @stayupforever90 2009-11-08

Thanks wwbsox but have come across a very strange issue with adding the graphics fix to my dsdt.aml. I have added it with dsdt patcher and my typing it my self all with the same result. My dsdt compiles fine with only one warning as before but OpenGL stops working. By this I mean spinning squares test is not visiable in xbench and also OpenGL Extensions Viewer.app has only Apple software as the render and no choice for my graphics card. My xbench scores fall from around 170 to 110 and my OpenGL Extensions Viewer.app scores fall from in the 3400 range to 60-70 range. I have try'd all different ways of editing both my com.apple.Boot.plist the system one and the one in my extra folder all to no avail. I have try'd to enable OpenGL with the dev tools app Quartz Debug also, the app tells me it is enabled but has no effect. Two really strange things are that front row and chess work though, and I thought both these apps needed OpenGL to run. I have attached a copy of my dsdt with graphics if you could take a look and see if i have made a mistake thank you, just don't know where I am going wrong.

Ps My card did start showing up in PCI cards in system profiler, would really like to get this working any help would be great

필드 노트 #97 @stayupforever90 2009-11-12

I have done it GFX are now fully working through through DSDT it seems the main issue was EFI strings. Let me explain I run a lot of different partitions for different reasons I have 3 snow leopard partitions 1 leopard partition there is also Linux and Windows 7 in the mix as well (see attached pic). I know its not the best but is just how things have gone as times gone by. Now I was trying to install the DSDT GFX to my SNOWGUID partition. First of all I did not remove the EFI strings from this partition's extra com.apple.Boot.plist but did remove the graphics enabler string. No joy the card would be in system profiler but i just had no QE/OpenGL working as such. So i spent some time working with DSDTSE.app as my DSDT is a bit strange any way. I try'd to many different with not much luck of inserting the graphics code with this great app (a big thank you to EvOSX86 for the app). Then I all most gave up and went back to EFI strings I say all most. My next step was thinking I have to be vanilla as possible so I disconected all of my drives apart from one and reinstalled Snow Leopard on a GUID partition and then I try'd a fresh DSDT.aml with USB SATA and GFX fix it worked how happy was I. Then I reconected my other two drives and it stopped working:'(:'(:'(. So from there I applied the same fixes to my other Snow partitions, but it didn't work on my main MBR Snow partition why? It seems at some time I had written my GFX string to my Library/Preferences/SystemConfiguration/com.apple.Bootplist once deleted I had working QE/OpenGL on all my partitions. I have feel have learned a lot from from doing this and just wanted to share my experience with others may be it could be of some use. For me I have learned EFI and DSDT do not mix but maybe thats just me. Am going to finish with a question though, how does Chameleon reference Boot.plists files from other partitions it is not booting though. And before you think it yes Chameleon was separately installed on all partitions. Thank you to wwbosx and all who have posted in this thread on to my next project speedstepping and sleep thank you again to all OSX86 fans

필드 노트 #98 @adityaxavier 2010-01-08

I was actually wondering if anyone know how to do it the other way round.. i.e. make the USB from built-in to external. Cause i have my bluetooth in USB3 and its turned off every time the laptop goes to sleep and doesnt work on wak..

Thanks,
Xavier

필드 노트 #99 @twistoflemon 2010-01-19

Is there a guide somehwere of how to do this? I try using dsdt patcher but when adding the usb code I get compilation errors.

As my ehci usb are also listed as expansion slots I'm hoping this might also help with some other usb problems I'm having like bandwidth problems for my usb webcam...

필드 노트 #100 @stayupforever90 2010-01-19

What i would say is download an app called DSDTSE it is a very good place to start. I found it very helpful also look at threads about DSDT for your motherboard. All the best and respect to all here

필드 노트 #101 @EnzoFX 2010-02-20

So I just got a BT Apple KB, and can't wake from sleep with it. Also, doesn't even re-connect or stay connected (however it's supposed to work) after waking. I have to manually disconnect and re-connect it.
I have this UHCI/EHCI implemented, is there something else I can try? Or should I just try another BT adapter. This is the second one I've tried, the first one is an old BT v1.1, and this is a v2.1.
I believe Apple only officially supports a D-Link, and even that one has some revisions that don't allow this functionality. I have found a Kensington that's known to work for someone else, and they are using the UHCI/EHCI fix implemented in Chameleon2. I'd hate to just go out and buy it and it still not work for me.
Any ides are welcomed, thanks guys.

필드 노트 #102 @xzeroGx 2010-03-07 ↳ Re: @EnzoFX

BT dongle & _WAK mod for wake

@EnzoFXI'd hate to just go out and buy it and it still not work for me. Any ides are welcomed, thanks guys.

Hey EnzoFX,

i've got a Targus ACB10US-B (the silver 4cm one)
bought it in the US for 7$...(shipping to europe was very expensive...)

wake from sleep works via mouse, wired apple alu KB and wireless BT apple KB.
i'm on a Gigabyte G33M-DS2R on 10.6.2 via DSDT mods.

to all who have problems with wake from sleep with a USB 2.0 device:

check your _WAK section in DSDT.
after various tests, i found the solution for me:

the section for "If (LEqual (Arg0, 0x04))" should look like this:
(maybe this works only on my board...)
…
If (LEqual (Arg0, 0x04))
{
If (LEqual (OSFL, Zero))
{
Store (0x58, SMIP)
}

If (LEqual (OSFL, One))
{
Store (0x56, SMIP)
}

If (LEqual (OSFL, 0x02))
{
Store (0x57, SMIP)
}

If (LEqual (OSFX, 0x03))
{
Store (0x59, SMIP)
}
}
...

Before patching, there were some nested if clauses... i deleted them and left only the code above. Maybe this helps someone
sorry for my english.

greets

xzeroGx

필드 노트 #103 @thepiecesfit 2010-07-03 ↳ Re: @wwbsox
@wwbsoxFirst the issues, than the fixes. My usb1 (UHCI) and usb2 (EHCI) ports were showing up in system profiler as "expansion slots". This was causing 2 main problems for me. First, I had to use the power button to wake the computer from sleep. Second, if I had a usb drive plugged in when the computer went to sleep, I would get a "device…

You are the man. This fixed my issues on p35-DS3L and now i can wake my 10.6.4 hack using the keyboard !

저자 업데이트 #40 @wwbsox 2010-07-10 ↳ Re: @thepiecesfit

천만에요... 이 포럼에 다시 들른 게 정말 오랜만이네요. 제가 정리해 둔 정보가 아직까지도 많은 분들께 유용하게 쓰이고 있다니 무척 기쁩니다. 마침 저도 방금 똑같은 USB 잠자기 문제를 겪는 친구의 해킨토시 조립을 끝낸 참인데, 친구 시스템에서도 이 패치가 잘 먹혔으면 좋겠네요.

필드 노트 #104 @Mack N Tosh 2010-07-21

Can this work on a netbook

Any idea if this fix can work on a hackintosh netbook? (It dismounts/crashes USB disks after sleep.) Any ideas? I realize this is an old thread.
thanks. Peace.

필드 노트 #105 @Epal 2010-08-16

well good news, it fix a part of the issue.

Now i can wake from an usb mouse directly connected to the mobo.

But i cant from the apple alu keyboard, although it is detected during sleep !

16/08/10 08:10:28 kernel Wake reason =
16/08/10 08:10:28 kernel System Wake
16/08/10 08:10:28 kernel USB (EHCI):Port 3 on bus 0xfd has remote wakeup from some device
16/08/10 08:10:28 kernel The USB device Keyboard Hub (Port 3 of Hub at 0xfd000000) may have caused a wake by issuing a remote wakeup
16/08/10 08:10:28 kernel The USB device Apple Keyboard (Port 2 of Hub at 0xfd300000) may have caused a wake by issuing a remote wakeup

but i had to wake up using power button or mouse to do this, then in the console, i see the USB controller saw the tries to wake up from USB keyboard !

Help ! what can i do to fix this ?

I've got GA P35 DS3R

here"s my DSL

필드 노트 #106 @hackaroni 2011-09-26

Thank you

Wow, 2 years later and @wwbsox's original post of the DSDT USB fix worked for me on a Gigabyte EP45-UD3P ... I believe it's ICH10R. Had success doing this method twice, once for the same board under 10.6.8 and one under 10.5.8.

I used these basic instructions http://tonymacx86.blogspot.com/2009/11/create-and-modif… ↗ to extract, modify, and compile my DSDT but had to add two fixes. Steps 1-4, 7, 8, 9.

Here's the general idea:
1) You get the DSDT tool, install it, and use it to extract your DSDT
2) You use Tonymac blog instructions about adding "Method DGTP" before the _WAK area... you only use part of the fix he mentions so don't copy/paste the whole thing...the important part of the "method" is at the beginning and then it has a sample area.
3) You find the USB section that starts with "Device (USB0)" and you'll replace the entire USB sections with the text from @wwbsox's fix in the first post here. You're basically swapping out the USB sections. I left a one-line space before and after my insertion.
4) If you just try to compile now, you'll probably get some warnings and errors so
5) One of the TonyMac comments tells you the first fix 'The gigabyte-included DSDT is flawed and will not compile. In the two error lines, change the first Local0 parameter to "Zero" (without the quotes).' What they mean is that there are two areas where you will see (Local0, Local0) and you want it to look like (Zero, Local0)
6) And add this at the end of the _WAK Method:
Return(Package(0x02){0x00, 0x00})
7) If you do it right, when you go to compile your DSDT you won't get any warnings.
8) I moved mine to /Extra, renamed it from dsdt.aml to DSDT.aml... and did a sudo chown 0:0 on the DSDT.aml file (or sudo chown root:wheel if you prefer) and sudo chmod 755 on it for good measure... and repaired permissions… then I restarted.
9) This enabled me to sleep/wake USB drives with no device removal errors! Wooohoooo! I have used some alternative IOUSBFamily.kexts before but believe I can remove them now... If your system hangs or something, you can probably boot into single user mode (-s) and remove the DSDT.aml file from there (rename it to DSDT.bak if you want)

Good luck everybody!

교차 검증 및 토론 참여 멤버: @omargoa @Snow @Jedric @twr @Stone-D
출처 및 기여자 이력 (등록된 기여자 33명 · 원본 스레드 #3849)
사용자명기여 역할게시물 수활동 기간
@wwbsox주 저자442009-08-30 → 2010-07-10
@Snow핵심 기여자232009-08-31 → 2009-09-15
@EnzoFX핵심 기여자132009-09-02 → 2010-02-20
@kDawg핵심 기여자122009-09-01 → 2009-10-09
@Ianxxx핵심 기여자82009-08-31 → 2009-10-09
@xwin78핵심 기여자62009-09-17 → 2009-10-07
@osxfr33k핵심 기여자62009-09-21 → 2009-09-23
@twr핵심 기여자52009-09-18 → 2009-09-24
@Jedric핵심 기여자52009-09-19 → 2009-09-23
@sk1nhd33t핵심 기여자42009-09-14 → 2009-10-11
@stayupforever90핵심 기여자42009-11-04 → 2010-01-19
@CyCLoBoT핵심 기여자32009-09-23 → 2009-09-25
@mormegil기여 멤버22009-08-31 → 2009-09-01
@kramer2k기여 멤버22009-09-02 → 2009-09-14
@ohwhyme기여 멤버22009-09-20 → 2009-09-22
@sylvester328기여 멤버22009-09-23 → 2009-10-09
@spanakorizo기여 멤버22009-09-25
@atomiX_X기여 멤버22009-11-05
@omargoa기여 멤버12009-08-31
@aed0101@hotmail기여 멤버12009-08-31
@Voyn1x기여 멤버12009-09-02
@infinitek기여 멤버12009-09-06
@BugsB기여 멤버12009-10-03
@pandar기여 멤버12009-10-19
@kantok기여 멤버12009-10-31
@adityaxavier기여 멤버12010-01-08
@twistoflemon기여 멤버12010-01-19
@xzeroGx기여 멤버12010-03-07
@Stone-D기여 멤버12010-04-03
@thepiecesfit기여 멤버12010-07-03
@Mack N Tosh기여 멤버12010-07-21
@Epal기여 멤버12010-08-16
@hackaroni기여 멤버12011-09-26

언어 선택 · Choose your language