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)ポートがシステムプロファイラ上で「拡張スロット(Expansion Slots)」として表示されていました。これが原因で、主に2つの問題が発生していました。1つ目は、コンピュータをスリープから復帰させるために毎回本体の電源ボタンを押さなければならなかったこと。2つ目は、USBメモリ等を挿したままスリープさせると、スリープから復帰した際に必ず「装置の不正な取り出し(Device Removal Error)」警告が出てしまうことでした。

そこで、見つけた2つの異なるDSDT修正手法を組み合わせることにしました。片方はUHCIのみを修正してEHCIには効かず、もう片方はその逆だったためです。

今回組み合わせたのは、こちらのUHCI用DSDT修正:http://www.insanelymac.com/forum/index.php?showtopic=16… ↗

そしてこちらのEHCI用修正です:
http://www.insanelymac.com/forum/index.php?showtopic=15… ↗

この修正により、USBマウスをクリックするだけでスリープから復帰できるようになり、スリープ前にわざわざUSBドライブをアンマウント(取り出し)しておく必要もなくなりました。また、冗長モード(Verboseモード)での起動時に表示されていた "controller will be unloaded across sleep" というエラーも出なくなりました。

この方法は私の GA-EP35-DS3P で完璧に機能していますが、デバイスIDをICH10に合わせて変更する仕組みのため、大半のICH9およびICH10搭載Gigabyteマザーボードで同様に機能するはずです。

なお、アドレス 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 ブートドライブ ↗ 静音 CPU クーラー・冷却パーツ ↗ Gigabyte マザーボード ↗

コミュニティ検証報告・技術フィールドノート

全 160 件のオリジナル投稿から技術的価値の高い 146 件の検証報告を収録

検証ノート #1 @Ianxxx 2009-08-31

いやあ、これらは本当にクールな修正ですね。もうKextにパッチを当てる必要がなくなりました。

著者追記 #1 @wwbsox 2009-08-31 ↳ Re: @Ianxxx

EHCI修正のクレジットはApex氏にあります。

それはさておき、1つ目のリンク先にあるSATA修正は、私のようなICH9搭載マザーボードでも見事に機能します。システムプロファイラ上でAHCIが「不明なAHCIコントローラ(Unknown AHCI Controller)」ではなく「ICH10」として表示されるようになりました。私のDSDTには SATA セクションがありませんでしたが、IDE1 が同じアドレスを持っていたため、そこにそのメソッドを追加したところ正常に動作しました。

検証ノート #2 @Snow 2009-08-31

私も同じ問題を抱えています。時々キーボードとマウスが効かなくなることがありました(「ありました」と過去形で言ったのは、ChameleonのUSB関連オプションでそこは直ったように見えるためです)。
ただ、拡張スロットとして認識される問題は残っており、スリープからの復帰には毎回PCケースの電源ボタンを押さなければなりません。
.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関連オプションでそこは直ったように見えるためです)。ただ、拡張スロットとして認識される問題は残っており、スリープからの復帰には毎回PCケースの電源ボタンを押さなければなりません。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)です。細部の記述をもう一度丁寧に見直してみてください。
おそらくカンマの抜けか、スペース・括弧の記述ミスだと思います。

私のDSDTと見比べてみてください。

検証ノート #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個の構文エラーが出たので、後で整理するつもりです)。

余談ですが:ワイヤレスのMighty Mouseを接続するためにUSB Bluetoothドングルを使っています。Bluetoothが内蔵(Built-in)ではなく外部デバイスとして検出されているため、「Bluetoothデバイスがコンピュータのスリープを解除することを許可」のオプションがグレーアウトしてしまっています。Ethernetと同じように、DSDTやEFI文字列を使ってBluetoothを内蔵(Built-in)として認識させる方法をご存知の方はいらっしゃいませんか?

著者追記 #3 @wwbsox 2009-08-31 ↳ Re: @aed0101@hotmail

@snow 私の com.apple.Boot.plist にはそれらのフラグは一切記述していませんが、すべて問題なく動作しています。

検証ノート #7 @Snow 2009-08-31

さて、高速度バス(EHCI)についてはうまく機能し「内蔵」として表示されるようになりましたが、通常のUSB(UHCI)には効きませんでした(まだ「拡張スロット」と表示されます)。

追記:よく見ると、キーボードとマウスがぶら下がっているバスだけが「拡張スロット」として表示されており、他のすべてのバス(高速度バスを含む)は「内蔵」として表示されていました。

検証ノート #8 @Snow 2009-08-31

1つのUSBバスだけが「拡張スロット」として表示されるので、おそらく自分のDSDTにこのバス用のコードが抜けているのだと思います。

デバイスIDの末尾コードは 37 にする必要がありそうですが、USB6 のようなバスをもう1つ追加すればいいのでしょうか?

USB-bus:

Locatie hostcontroller: Uitbreidingssleuf
Besturingsbestand hostcontroller: AppleUSBUHCI
PCI-apparaatcode: 0x2937
PCI-revisiecode: 0x0002
PCI-fabrikantcode: 0x8086
Busnummer: 0x1a

比較対象(正常なバス):

USB-bus:

Locatie hostcontroller: Ingebouwde USB-interface
Besturingsbestand hostcontroller: AppleUSBUHCI
PCI-apparaatcode: 0x3a36
PCI-revisiecode: 0x0002
PCI-fabrikantcode: 0x8086
Busnummer: 0x5d

追記:解決しました!USB3 と US31 の Name (_ADR) の文字列が逆になっていました。これですべて正常になり、Boot.plist からもUSB関連のコードを削除します。

Locatie hostcontroller: Ingebouwde USB-interface
Besturingsbestand hostcontroller: AppleUSBUHCI
PCI-apparaatcode: 0x3a37
PCI-revisiecode: 0x0002
PCI-fabrikantcode: 0x8086
Busnummer: 0x1a

ついに(Windowsの時と同じように)キーボードのスリープボタンを使ってスリープから復帰できるようになりました!

導いてくださった皆さんに感謝します!

検証ノート #9 @mormegil 2009-08-31

おめでとう(Gelukwens)!

私はあらゆる手を尽くしてみたのですが、スリープからの復帰どころか、システムをスリープさせることすらできずにいます。

著者追記 #4 @wwbsox 2009-09-01 ↳ Re: @mormegil

@mormegil

Snow Leopard用の SleepEnabler.kext は使用していますか?また、SleepEnabler は純正の電源管理と競合するため、NullCPUPowerManagement.kext も併せて必要になります。あなたが使っているマザーボードは手元にありませんが、同じボードを使っている方々の投稿をたくさん読んだ限りでは、OSx86と非常に相性の良いボードのようですね。

検証ノート #10 @Snow 2009-09-01

Mormegil、SL互換の必要なKextがすべて正しく読み込まれているか再確認してみてください:

fakesmc
IOAHCIBlockStorageInjector
NullPowerManagement
OpenHaltRestart
PlatformUUID
SleepEnabler

そして適切なDSDT!
Kext Utilityで適切なmkextキャッシュが再構築されているかも要確認です。

検証ノート #11 @Ianxxx 2009-09-01

追記:解決しました!USB3 と US31 の Name (_ADR) の文字列が逆になっていました。これですべて正常になり、Boot.plist からもUSB関連のコードを削除します。

[/QUOTE]

私も自分の環境でその2つが逆になっていたのをすっかり忘れていました。ちなみに dsdt.aml の作成にはWindows版のPatcher02Beta5を使いましたか?

検証ノート #12 @mormegil 2009-09-01 ↳ Re: @wwbsox
@wwbsox@mormegil Snow Leopard用のsleepenabler.kextは使用していますか?また、sleep enablerは電源管理と競合するため、nullcpupowermanagement.kextも併せて必要になります。あなたが使っているマザーボードは手元にありませんが、同じボードを使っている方々の投稿をたくさん読んだ限りでは、OSx86と非常に相性の良いボードのようですね。

ついに原因を突き止めました!JMicronコントローラがAHCIではなくIDEに設定されていたのが原因でした :)

ええ、このマザーボードはOS Xとの互換性が抜群です。おそらくすべてのP45ボードに言えることだと思います。SATAとEthernetは箱出し(OOB)で動作しますし、サウンドもAppleHDAへのパッチで見事に動いています。そして今回、ついにS3スリープ(Suspend-to-RAM)まで手に入れました。

著者追記 #5 @wwbsox 2009-09-01 ↳ Re: @mormegil

私はより多くの修正項目を適用できるWindows用のACPI Patcherを使用しました。(USB3) や (US31) といったデバイス名は単なる任意のラベルに過ぎず、本当に重要なのはアドレス(_ADR)です。

元記事にも書いた通り、「アドレス 0x001D0003 を持つUSBデバイス(私の環境では US31 でした)には注意してください。このデバイスだけは編集しないでください」という点に気をつけてください。

余談ですが、64ビットで動作するIOATA系Kextを見かけた方はいらっしゃいませんか?BIOSでAHCIモードを無効にして運用したいのですが。

検証ノート #13 @kDawg 2009-09-01 ↳ Re: @wwbsox
@wwbsoxまずは発生していた問題から説明し、続けて解決策を紹介します。私の環境では、USB 1.1(UHCI)およびUSB 2.0(EHCI)ポートがシステムプロファイラ上で「拡張スロット」として表示されていました。これが原因で、主に2つの問題が発生していました。1つ目は、コンピュータをスリープから復帰させるために毎回本体の電源ボタンを押さなければならなかったこと。2つ目は、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を貼ってありますよ。キーボードやマウスからのスリープ・復帰が動作しています。

そちらはUSB/EHCI部分のDSDT抜粋だけのようですね。私も同じマザーボードを使っているのですが、マウスやキーボードからのスリープ復帰ができません。あなたの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)」として表示されています。

具体的にどうすれば有効化できるのかよく分からず困っています…

また、「シリアルATA」の項目では接続されているドライブ自体は表示されるのですが、本来チップセット名(ICH10やICH9など)が表示されるべき箇所が空欄になっています。これはDSDTの問題でしょうか、それともKextの問題でしょうか?

なお、私は決してズブの初心者というわけではないのですが(deadmooイメージの頃からOSx86をインストールし続けています)、今回の件ばかりは途方に暮れています…

私のDSDTを添付しますので、ご確認いただければ幸いです…

スペック:
GA-P31-DS3L (ICH7)
ALC888
Core 2 Duo E7200 @ 3.42GHz

検証ノート #17 @Snow 2009-09-02

やあwwbsox、IDE1 についての情報ありがとう。おかげでデバイスがICH10として表示されるようになったよ。
あなたのDSDTのどこにGFX用のセクションがあるか教えてもらうか、あるいは自分の8800 GTのコードをインジェクトする方法を教えてもらえないだろうか?
自動パッチャーの類はあまり使いたくないので、手動で記述する方法を取りたいんだ。

よろしく。

ICH10インジェクション前後の比較:

PRE(適用前)

POST(適用後)

検証ノート #18 @kDawg 2009-09-02 ↳ Re: @Snow
@Snowやあwwbsox、IDE1についての情報ありがとう。おかげでデバイスがICH10として表示されるようになったよ。あなたのDSDTのどこにGFX用のセクションがあるか教えてもらうか、あるいは自分の8800 GTのコードをインジェクトする方法を教えてもらえないだろうか?自動パッチャーの類はあまり使いたくないので、手動で記述する方法を取りたいんだ。よろしく。

それはビデオカードごとに細かく異なります。搭載されているVRAM容量や出力ポートの種類、そして何よりどのPCIeスロットに挿さっているかに依存します。変更が必要な箇所にコメントを入れておきました。gfxutil でググれば、PCIロケーションの調べ方が分かるはずです。

以下が Device (PCI0) セクション内に配置する必要があるパッチです(こちらはデュアルDVIポートを備えた512MB版 8800 GT用の例です):

            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氏の最新の投稿に、あなたと同じビデオカード用のセクションが含まれているようです。

ともあれ、私はWindows上でACPI Patcherを使用しました。「Graphics」設定で自分のカードとVRAM容量を選択し、NVCAPには「Dual DVI」を選択しました(他のものは選ばないでください)。ロケーションには「PCI 0」を選び、「Use DSDT GFX」ボックスと「PEGP」ボックスの両方にチェックを入れます。

これで私の環境では動作していますが、ACPI Patcherで直接生成した .aml しか使えないという妙な現象があります。iASLMeでその .aml を逆コンパイルして再コンパイルするのは問題ないのですが、ACPI Patcherが出力した .dsl ファイルをそのままiASLMeでコンパイルしようとすると、大量のエラーが出てコンパイルできません。うーん、謎です…

健闘を祈ります。

検証ノート #19 @Snow 2009-09-02

よし、私のカードも同じ8800 GT(512MB、デュアルDVI)で、最初のPCIeスロット(スロット0)に挿さっていると思うので、まずはkDawg氏のコードを試してみるよ。

もしこれでうまくいかなければACPI Patcherを使うつもりだけど、あのパッチャーは最初からDSDTを作り直してしまうので、すでに書き込んだコードを壊されたくないんだよね。

結果が出たらまた報告するよ!

追記:IORegistryExplorerツールでは、PCIロケーション(_ADR)はどこを見れば確認できるのかな?

追記2:gfxutil を実行したところ DevicePath = PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0) と出力された。ということは、_ADR の文字列は以下のようになるのだろうか?

0x101000000
著者追記 #8 @wwbsox 2009-09-02 ↳ Re: @Snow

GFX設定の移植

@snow

私も自分のDSDTをまたゼロから作り直すのは避けたかったので、グラフィックス設定入りのDSDTを一旦別で生成し、そこから PEGP セクション全体をコピーして、他の修正を適用済みの現在のDSDTに貼り付けました。

また、IOReg上では自分のビデオカードがPCIアドレス 1 として表示されていたはずなのですが、ACPI Patcherでそのアドレスを選択してもDSDTには何も追加されませんでした。そのため「PCI 0」を選択する必要がありました。

検証ノート #20 @Snow 2009-09-02

完了!

私の _ADR も最初に思っていた値ではなく 0x00010000 だったため、kDawg氏のコードを寸分違わずそのまま貼り付けたところ見事に動作しました。

助けてくれた皆さんに改めて感謝します!

検証ノート #21 @Snow 2009-09-02

残る問題はあと1つだけだと思います(あの洒落たMac純正キーボードを手に入れるまでの辛抱ですが)。

随分前にUkeleleを使って、手元のベルギー配列(Belgian Point)キーボードに完璧に合わせたカスタムキーボードレイアウトを作成したのですが、OS Xが時々勝手にデフォルトのキーボードレイアウト(同じベルギー配列でもApple独自の配置のもの)を読み込んでしまうのです。
デフォルトの読み込みをブロックしようと /System/Library/Keyboard Layouts からバンドルを削除してみたのですが、トラブルに遭遇してしまいました。バンドルの削除が直接の原因なのか、DSDTパッチなどのせいなのかは分かりませんが、キーボード入力自体が完全に効かなくなってしまったのです。
バンドルを元の場所に戻したところ、すべて正常に戻りました。

どうやらQuicKeysなどでカスタマイズするしかなさそうですね。

検証ノート #22 @Voyn1x 2009-09-02

この修正を公開してくれてありがとうございます!(Y)

この問題を解決しようと何週間もDSDTをいじり回していました。今までは回避策としてSlice氏の改変版IOUSBFamilyを使って凌いでいました。

著者追記 #9 @wwbsox 2009-09-02 ↳ Re: @Voyn1x
@Voyn1xこの修正を公開してくれてありがとうございます!(Y) この問題を解決しようと何週間もDSDTをいじり回していました。今までは回避策としてSlice氏の改変版IOUSBFamilyを使って凌いでいました。

うまく動作して何よりです。クレジットは元の発見者の方々にあります。私がやったのは、膨大な投稿の中から探さなくても済むように2つの修正を1つにまとめただけです。

検証ノート #23 @EnzoFX 2009-09-02

Snowさん、私もACPI Patcherを使ってDSDT経由で9800 GTを有効化しましたが、まったく問題なく動作していますよ。正しい設定を選びさえすれば大丈夫です。

ところで、このUSB修正を GA-P35-DS3L で使っている方はいらっしゃいますか?
私の環境でもUSBポートが「拡張スロット」として表示され、そのうち2つだけが「高速度USB」となっています。
キーボードやマウスからスリープ復帰ができません。さらに困ったことに、起動時に時々キーボードが検出されないことがあります。BIOSではUSBキーボードサポートを有効にしており(マウスは無効)、これが関係しているのかなとずっと疑問に思っていました。
追記:USBメモリを挿したままスリープさせて「装置の不正な取り出し」エラーが出るか確認したところ、案の定しっかり出ました。

この修正をぜひ試してみたいのですが(これまで手動でDSDTを編集したことはありません)、なぜ特定のアドレスを持つデバイス1つだけは編集せずにそのまま残しておくのでしょうか?
どなたか作業を手助けしてくださる方がいればと思い、私の dsdt.dsl のUSB部分の抜粋を添付しておきます =P

検証ノート #24 @EnzoFX 2009-09-03

wwbsoxさん、本当にありがとうございます!

追記:
今のところ快調です =D
キーボードやマウスからスリープ復帰できるようになり、大感激です。さて… 次はアイドル時の自動スリープ問題に取り掛かるとしますか。

検証ノート #25 @EnzoFX 2009-09-03

うーん、残念ながらこの修正を当てても、再起動のたびに2回に1回くらい起動時にUSBキーボードが検出されない問題は直りませんでした =(
もしBIOSでUSBキーボードサポートを無効にしたら、Chameleonの選択画面でキーボードが効かなくなりますよね?ハハ、試す意味すらなさそうです =/

アイドル時の自動スリープ(Sleep on idle)に関する私の問題は以下のようなものでした:
こちらに詳述されている通り、DVDドライブが原因でアイドル時の自動スリープが失敗していました:http://www.insanelymac.com/forum/index.php?showtopic=17… ↗(最後の投稿が私のもので、詳細を書いています)。
以前は外付けUSBドライブが原因だったのですが、その後クリーンインストールを行い、DVDドライブも一切接続していない状態(HDDからHDDへ直接インストール)にしたにもかかわらず、設定した時間になってもスリープに入ってくれません。その時間になるとドライブから動作音が聞こえる気がするので、システム自体はスリープしようとしているものの、何かがそれを妨げているようです。

そしてもう1つの問題が、スクリーンセーバーが起動しないことです =P スクリーンセーバー、ディスプレイの電源オフ、コンピュータのスリープなどの時間間隔をどう設定しても起動しません。実は、私のビデオカードが抱えている初期化バグを回避するためにスクリーンセーバーを利用しているのです。具体的に説明すると、まだPCの前に座っているときにディスプレイの電源がオフになり、画面を戻そうとして即座にマウスを動かしたときにだけこの問題が起きます。モニターが完全にスタンバイ状態に入りきる前に素早くマウスを動かしたときだけ、画面が復帰した瞬間にすさまじい砂嵐のような画面(Static-like image)になってしまうのです。数秒〜十数秒待てば最終的に正しく初期化されてデスクトップが戻ってきますが、EFI文字列で有効化していた頃からDSDTで有効化した現在に至るまで、このカードでは常にこの現象が起きます。これを根本的に直す方法をご存知の方がいればぜひ教えていただきたいのですが、今のところは中間ステップとしてスクリーンセーバーを挟むことで、マウスを動かしてデスクトップに戻るタイミングをスクリーンセーバー中に逃がしています(笑)=P。そして本当に席を離れているときは、そのままディスプレイの電源が切れ、スリープに入るという運用にしています。

検証ノート #26 @Ianxxx 2009-09-03 ↳ Re: @Snow
@Snow残る問題はあと1つだけだと思います(あの洒落たMac純正キーボードを手に入れるまでの辛抱ですが)。随分前にUkeleleを使って、手元のベルギー配列(Belgian Point)キーボードに完璧に合わせたカスタムキーボードレイアウトを作成したのですが、OS Xが時々勝手にデフォルトのキーボードレイアウト(同じベルギー配列でもApple独自の配置のもの)を読み込んでしまうのです。デフォルトの読み込みをブロックしようと…

この問題に関して私が見つけた唯一の解決策は、初回起動前にあらかじめカスタムキーボードレイアウトを入れておき、初期セットアップアシスタントの段階でそのキーボードレイアウトを選択することでした。

検証ノート #27 @Snow 2009-09-03

それで固定されたのかい?なんてこった、奇妙な解決策だけど、それで動くなら大したものだね。もっとも、そのためにわざわざOSを再インストールする気にはなれないけど(笑)。

ところで、ふと気づいたのだけど、私の8800 GTがシステムプロファイラ上で「PCIカード」としてリストアップされているんだ。すべて正常に動作してはいるのだけど、適切なPCIバスを確認せずにkDawg氏のコードをそのまま `PCI0` に貼り付けたせいだろうか。

このままでも問題ないよね?

検証ノート #28 @Ianxxx 2009-09-03

OSを再インストールしなくても、初期セットアップアシスタントだけを再実行する方法がきっとあったはずですよ。

検証ノート #29 @EnzoFX 2009-09-03

私が見た限り、違いは「バス:PCIe」と表示される部分だけですね…

起動時に時々USBキーボードが検出されなくなる問題について、どなたかおすすめの解決策をご存知ありませんか?
私の環境は GA-P35-DS3L、Chameleon 2 で、DSDT経由でGFX、Ethernet、今回のUSB修正、およびLegacy HDAを適用しています。

追記:今気づいたのですが、印刷しようとした際にプリンタのUSBケーブルも一度抜き差しする必要がありました =/。一体何が原因なのでしょうか?マウスだけは一度も影響を受けたことがないのですが…

ChameleonのBoot.plistに以下の文字列を試してみるべきでしょうか?
<key>EHCIacquire</key>
<string>Yes</string>
<key>UHCIreset</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>

これらのオプションがこのスレッドの統合DSDT修正と競合しないかよく分からないのですが、どなたかご存知ですか?

著者追記 #10 @wwbsox 2009-09-04 ↳ Re: @EnzoFX

@EnzoFX

あなたと同じマザーボードを使っている他の方何名かにメッセージを送って聞いてみましたが、同じ問題は起きていないそうです。もしよろしければあなたのDSDTを投稿してみてください。私の方で中身を確認し、原因を特定できないか調べてみます。

著者追記 #11 @wwbsox 2009-09-04

DSDTによるSpeedStep

@Gigabyteマザーボードをお使いの皆さんへ

DSDTを使ってP-State / C-Stateを正常に動作させている方はいらっしゃいますか?

すでに良いスレッドが存在しているのでなければ、Gigabyteマザーボード向けのDSDT SpeedStep専用スレッドを立ち上げようかと考えています。

私自身はまだSpeedStep用のDSDT修正を行っていないのですが、CPU-iで見るとある程度は動いているようです。倍率とクロック周波数は上下に変動しているものの、コア電圧(Vcore)が最大のP-Stateのまま張り付いてしまっています(これでは省電力の意味が半減してしまいますね)。

著者追記 #12 @wwbsox 2009-09-04

CPU-iは、ロシアのフォーラム applelife.ru からダウンロードしたユーティリティです。アイドル時と高負荷時のCPU計測値を比較するため、Mac版Prime95のようなツールであるCPUTestを4インスタンス同時実行しながらCPU-iを併用しています。CPU-iのもう1つの優れた機能は、お使いのCPUで利用可能なすべてのP-Stateと、それぞれの倍率・電圧の組み合わせを一覧表示してくれることです(私のCPUには6段階ありました)。

この情報を使えば、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… ↗ です(もっとも、現在はこれらのテーブルを直接DSDT内に組み込めるため、起動時のSSDT読み込みは不要ではないかと思いますが…)。

検証ノート #30 @EnzoFX 2009-09-04

wwbsoxさん、私のDSDTを見ていただけるならこれ以上心強いことはありません!そもそもこの症状が出始めたのがDSDTを使い始めてからだったかどうか思い返していたところなのですが、おそらく違うとは思うものの、現時点では何が原因か見当もつかない状態です。

確認したところ、症状が出るときはUSBキーボードとプリンタが同時に影響を受けているようです。BIOSのバージョンのせいでしょうか?また、ごく稀にディスプレイのカラープロファイルが読み込まれないことがあり、システム環境設定を起動して「ディスプレイ」をクリックすると強制的に正しく読み込まれます。DSDTによるGFX設定が適切ではないのでしょうか?ACPI Patcherで他の設定を試してみることもできますが。

BIOS側でいくつかの機能を無効にしているのに、DSDTファイル側ではそれらがすべて有効になっているような状態だと、競合が起きる可能性はありますか?(たとえば、私はすべてのレガシーポートや追加コントローラをBIOSで無効にしています)。

私の環境は以下の通りです:
GA-P35-DS3L rev. 2.0
9800 GT(ACPI PatcherでEthernet、サウンドとともに有効化)
こちらが私の dsdt.dsl ファイルです:kt tns.org/0zjbl
なお、デュアルブートで時々起動しているWindows 7上では、すべてのコンポーネント・デバイスが問題なく動作していることを確認済みです。

著者追記 #13 @wwbsox 2009-09-05 ↳ Re: @EnzoFX

システムプロファイラで確認した際、すべてのUSBポートが「内蔵(Built-in / Internal)」として表示されていますか?また、プリンタとキーボードは通常の「USBバス」と「高速度USBバス(High-Speed USB)」のどちらの配下に表示されていますか?すでにBIOSで「Legacy USB」を無効化する設定は試されたとのことでしたよね?他のマザーボードではそれで改善したという報告を読んだことがありますが、GigabyteのP35ボードではそのような現象に遭遇したことがありません。今夜遅くにあなたのDSDTを確認してみますね。

なお、BIOSで機能を無効化しても、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 Bus)」配下に表示され、RocketfishのAppleマウスは通常の「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-StateとC-Stateを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(非サポート)というハードウェア自体が変わったわけではなく、デバイスIDをICH10(ネイティブサポート対象)のものに書き換えただけです。いわば、Mac OS Xに対して「サポート対象のハードウェアで動作している」と思い込ませるトリックのようなものです。

JMicron SATAコントローラはBIOSで無効にしています。64ビット対応に必要なKextを誰かがコンパイルしてくれるのを待っているところです。AppleがすでにSnow Leopardのソースコードを公開したので、そう長くはかからないはずです。

起動時のSound assertionエラーについては、まだ本格的に着手していませんが、おそらくDSDT内の layout-id や PinConfigurations がAppleHDA Kext内の設定と一致していないためだと思います。最終的にKext側がそれらの値をオーバーライドしているのではないかと推測しています。

DSDTへのネイティブSpeedStep(P-State / C-State)の追加が完了したら、次はサウンド周りに取り掛かる予定です。

検証ノート #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関連は何も無効にしておらず、オンボードの追加SATAコントローラ(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

8800 GTSをDSDTで認識させていますが、グラフィックス関連の不具合は一度も起きていません。なお、Snow Leopardからはシステムプロファイラ上にQE/CIの項目自体が表示されなくなりました。EP35とP35は同じチップセットなので非常に似ているはずです(EP35の方が省電力機能が強化されているだけです)。

アイドル時の自動スリープ(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 Aluminum Keyboardからのスリープ復帰はできません。スリープからの復帰にはRocketfishのマウスを使っています。EHCIポート用の別のDSDT設定を見つけたので(もう一度リンクを見つけ次第)試してみるつもりです。もしそれでうまくいけば、最初の投稿に追記します。

なお、Apple純正キーボード以外の一般的なUSBキーボードであれば、多くの方がキーボードからのスリープ復帰に成功しています。

検証ノート #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キーボードからのスリープ復帰はできませんでした。私が持っているもう1枚の GA-EP45-DS3L マザーボードでは、DSDT無修正のOOB(箱出し状態)でこれが機能していたのですが、おそらくあちらのボードが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 Aluminum Keyboardをお使いですか?

検証ノート #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にパッチを当てて再コンパイルしてみます。エラーメッセージには確認すべき行番号がいくつも出ていますが、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は最初の投稿(元記事)に添付してあります。

ところで、どなたか古いUSB 1.1ハブをお持ちの方はいらっしゃいませんか?Apple Aluminum Keyboardからコンピュータをスリープ復帰させる方法を模索しています。

私のRocketfish製マウスはUSB 1.1(UHCI)として検出されるためスリープから復帰できますが、Appleキーボードは高速度USB(EHCI)として検出されます。そこで私の仮説としては、キーボードを古いUSB 1.1ハブ経由で接続して高速度USBとして検出されないようにすれば、スリープ復帰が機能するのではないかと考えたのです。残念ながら手元にテストできる古いハブがありません。

検証ノート #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 私が使っているのはテンキー付きのフルサイズ(Extended)キーボードです。

検証ノート #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であれば復帰できる」という仮説はどうやら正しそうです。キーボードがUSB 2.0として検出されていること自体が、復帰できない原因になっています。

私のBIOSの「Integrated Peripherals」項目の中に、USB 2.0コントローラを無効化する設定があります。これを無効にした状態だと、Apple Aluminum Keyboardから毎回確実にシステムをスリープから復帰させることができました。

もっとも、これでは本当の意味での解決策にはなりません(特に外付けUSBドライブを使っている場合はなおさらです。私の外付けドライブはeSATA接続ですが)。さらに別の問題として、BIOSでUSB 2.0を無効にすると、マザーボード背面に8つあるUSBポートのうち2つしか使えなくなってしまいます。

ただ、これによって「キーボードをUSB 1.1ハブに接続すればスリープからの復帰が機能するはずだ」という確信は深まりました。

これらすべての事実から考えると、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リセット修正が必要なわけではありません(ただしGigabyte製ボードでは必須です)。

ざっと拝見したところ、DSDT内に Method (DTGP) は存在していますが、グラフィックスセクションの配置場所が正しくないように見受けられます。そこを修正して、com.apple.Boot.plist からEFI文字列を削除できるようにしましょう。

ASUSのサイトからあなたのマザーボード用の最新BIOS ROMをダウンロードしました。WindowsのACPI Patcherを使って、すべての修正とグラフィックス記述を含んだDSDTを生成してみるつもりです。

それを使えば、グラフィックスセクションの構造を比較してあなたのDSDTを正確に修正できます。仕事が終わったら、新しく生成したDSDTも試せるようにアップロードしますね。

著者追記 #27 @wwbsox 2009-09-22

@ohwhyme

いいえ… 残念ながら私のマザーボードでは、BIOSでUSB 2.0コントローラを無効にすると、背面USBポートのうち2つしか(USB 1.1として)動作しなくなり、USB 2.0は完全に使えなくなります。マウスを各ポートに挿し替えて簡単にテストしただけですが、基板の一番下にある2つのポートでしかマウスが動きませんでした(フロントのUSB 2ポートは未テストです)。もちろん、キーボード自体に付いている2つのUSBパススルーポートは動作します。

USB 2.0かUSB 1.1かはポート固有ではなく(ポート固有なら良かったのですが)、接続するデバイス固有の仕様によって決まります。どのUSBポートに挿しても、USB 2.0デバイスを挿せばUSB 2.0(EHCI)として登録され、USB 1.1デバイスならUSB 1.1(UHCI)として登録されます。

したがって課題は、いかにしてこのAppleキーボードをUSB 1.1として登録させるかという点にあります。それができればスリープ復帰の問題は解決します。

検証ノート #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

USB0〜USB6 に修正を追加しました。EHCI領域については、すでに正常に動作しているとのことでしたので変更していません。エラーなしでコンパイルできました。DSDT内のVcore電圧設定に関連するセクションでいくつかWarning(警告)が出ましたが、コンパイル自体の妨げにはなりませんでした。.dsl とコンパイル済みの .aml を添付しますので試してみてください。USBセクションを比較すれば変更点が分かるはずです。健闘を祈ります。

著者追記 #29 @wwbsox 2009-09-23

@osxfr33k

あなたのマザーボード用の最新BIOS ROMを使ってDSDTをコンパイルしてみました。コンパイル中にいくつかオーバーフローエラーが出ましたが、ASUS製ボード特有の現象かもしれません。ただ、グラフィックスセクションは無事に追加されました。

DSDTのグラフィックスセクションをテキスト形式で添付します。あわせて、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ポートもUSB 1.1に制限されることになります。ただ、確証はありませんが、キーボード側のポートはもともとUSB 1.1なのではないかと思います。というのも、そこにUSB 2.0デバイスを挿すと「このデバイスにはポートが供給できる以上の電力が必要です」というメッセージが表示され、SLによって自動的にアンマウントされてしまうからです。

それでも、Apple Aluminum Keyboardでのキーボードスリープ復帰をどうしても有効にしたいという方々から多くのリクエストをいただいており、これはそのための1つの解決策です。

以前にも述べた通り、DSDTのEHCIセクションにパッチを当てて高速度USBポート上でもスリープ復帰を有効にする方法がきっとあるはずだと考えていますが、まだ見つけられていません。

私のキーボードは、EP45-DS3L上では一切パッチを当てなくても問題なくシステムをスリープから復帰させられるのですが、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

まず、オーディオ関連の記述は元の場所のままにしておいてください。ACPI PatcherはALC888およびALC889aコーデック用のオーディオ記述しか挿入できず、あなたのマザーボードにはそれらのコーデックは搭載されていません。私はあくまでグラフィックス情報の構造を確認するためだけに生成しました。

次に、グラフィックス情報の正確な配置場所についてですが、これはACPI Patcherが自動配置した場所です。配置場所によって違いが出るのかどうかは分かりませんし、手元に実機のマザーボードがないためテストもできません。

また、「8」か「3」かという点についても詳細は分かりません。私はあなたのマザーボード用のBIOS ROMファイル(v1302)からDSDTをコンパイルしましたが、これまでに私が扱った他のいくつかのボード(ASUS製・Gigabyte製ともに)でも、すべてこのデバイス配下は Name (_HID, EisaId ("PNP0A03")) となっていました。

最後に、うっかり .dsl を添付してしまっていましたが… なぜかWindowsのACPI Patcherで .dsl を作成すると、Mac OS X上の iasl ではコンパイルできません。ところが、Windows側で .aml まで生成させると、Mac側で問題なく逆コンパイル・再コンパイルができるのです。そのため、今回の添付ファイルには(参考用として).aml を入れてあります。

あなたにとってベストな方法は、この .aml をそのまま使おうとするのではなく、現在手元にあって動作しているDSDTをベースにして、そこへ修正やパッチを追加・変更していくことです。私の方には実機のマザーボードがないため、この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パッチを一切当てなくても正常にスリープしますし、キーボードからのスリープ復帰も問題なく機能しています。

検証ノート #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

それで正しいと思います。D3 アドレスが存在しないマザーボードもいくつか見たことがあります。実際に修正対象となるアドレスは D0、D1、D2、A0、A1、A2 になるはずです。

また、「どうしてもApple Aluminum Keyboardからスリープ復帰させたい」という方には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氏が、P5K系マザーボードでAppleキーボードを含むUSB 2.0キーボードからのスリープ復帰を可能にするDSDTパッチを公開しています。これをGigabyte製マザーボードでも動作させられないかとここ数日間試行錯誤しているのですが、今のところうまくいっていません。ただ、引き続き挑戦しています。

もし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 :

検証ノート #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) セクションを生成する必要があります。私はそのセクションの生成に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 セクションが含まれています。

IOAHCIBlockStorage Kextについては、私自身が使用していないためコメントできませんが、ProjectOSXのサイトにそれを不要にするためのDSDT修正(The King氏によるもの)があったと思います。

また、はい、私の環境でもシステムプロファイラの「PCIカード」セクションにビデオカードが表示されています。

著者追記 #39 @wwbsox 2009-11-05

@atomiX_X

お使いのASUS製マザーボードでは、USBセクションをそのまま丸ごと置き換えることはできません。大量のコンパイルエラーが出たのはそのためです。ただ、拝見したところ、すべてのUSBデバイスに対して正しいデバイスIDを持つ Method (_DSM, 4... を追加できているようですね。EHCIデバイスの名称が私の環境とは異なっていますが(EUSB と USBE)、これによって違いが生じるのかどうかは分かりません。

もし問題が「USBデバイスからスリープ復帰できないこと」だけであれば、システムプロファイラ上でマウスやキーボードがUHCIとEHCI(高速度USB)のどちらの配下に表示されているか確認してみてください。もし高速度USBの配下に表示されているなら、それがスリープから復帰できない理由です。私の環境でも、Rocketfish製マウス(USB 1.1)からは問題なく復帰できますが、Apple Keyboard(USB 2.0)からは復帰できません。

ASUS製マザーボードをお使いですので、InsanelyMacのP5K ProスレッドにあるMaster Chief氏のDSDTを参考にしてみると良いかもしれません。彼はDSDT編集によって自身のボードでApple Keyboardからのスリープ復帰を実現したと述べています。健闘を祈ります。

検証ノート #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

どういたしまして… この掲示板に来るのは本当に久しぶりですが、今でもこの情報を活用してくださっている方がいると知って嬉しいです。実はちょうど今、まったく同じ問題を抱えている友人のためにマシンを1台組み上げたところなので、彼のマシンでもうまく機能してくれることを願っています。

検証ノート #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