Reconocer controladoras USB UHCI / EHCI como integradas (Built-in) mediante parche DSDT
Solución definitiva mediante inyección de Device IDs de ICH10 en la tabla DSDT para que las controladoras USB 1.1 (UHCI) y USB 2.0 (EHCI) en placas base Gigabyte ICH9 / ICH10 se reconozcan como integradas («Built-in») en lugar de ranuras de expansión PCI, permitiendo despertar el equipo con el ratón USB y evitando la expulsión forzada de unidades al entrar en reposo.
Primero expongo los problemas y luego las soluciones.
Mis puertos USB 1.1 (UHCI) y USB 2.0 (EHCI) aparecían en Perfil del Sistema como "ranuras de expansión" (expansion slots). Esto me ocasionaba dos problemas principales: en primer lugar, tenía que pulsar el botón físico de encendido de la torre para despertar el ordenador del modo de reposo; en segundo lugar, si dejaba una memoria o disco USB conectado cuando el equipo entraba en reposo, aparecía el aviso de error de "expulsión incorrecta del dispositivo" al despertar el sistema.
Combiné dos parches DSDT distintos que encontré: uno corregía los puertos UHCI pero no los EHCI, y el otro hacía exactamente lo contrario.
Combiné la corrección DSDT para UHCI publicada aquí: http://www.insanelymac.com/forum/index.php?showtopic=16… ↗
con la corrección para EHCI publicada aquí:
http://www.insanelymac.com/forum/index.php?showtopic=15… ↗
Ahora puedo despertar el ordenador del reposo simplemente haciendo clic con mi ratón USB y ya no necesito expulsar las memorias USB antes de poner el equipo en reposo. Además, ya no aparece el mensaje de error "controller will be unloaded across sleep" al arrancar en modo detallado (verbose).
Esto funciona de maravilla en mi placa GA-EP35-DS3P, y debería funcionar en la mayoría de placas base Gigabyte con puente sur ICH9 e ICH10, ya que los identificadores de dispositivo (Device IDs) se modifican para coincidir con los nativos de ICH10.
Asimismo, presta especial atención al dispositivo USB con dirección 0x001D0003: en mi placa aparece como US31; no edites ese dispositivo.
- Voces acreditadas (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
- Referencia de hardware
- Memorias USB 3.2 de arranque ↗ Disipadores y refrigeración ↗ Placas base Gigabyte ↗
Notas de campo y pruebas de la comunidad
146 respuestas técnicas seleccionadas de 160 intervenciones originales
Sí, estos parches están geniales: por fin nos olvidamos de andar parcheando kexts.
El mérito del parche para EHCI es de Apex.
Por cierto, la corrección SATA del primer enlace funciona de maravilla incluso en placas con chipset ICH9 como la mía: ahora la controladora AHCI aparece identificada como ICH10 en Perfil del Sistema en lugar de "Unknown AHCI Controller". En mi DSDT no había ninguna sección llamada SATA, pero como IDE1 tenía exactamente esa misma dirección PCI, añadí ahí el método y funcionó a la primera.
Yo tengo ese mismo problema: a veces el teclado y el ratón dejaban de responder, aunque aquellas opciones de Chameleon relacionadas con el USB parecen haberlo corregido.
Lo que sigo teniendo es el fallo de que aparecen como ranuras de expansión (Expansion Slot) y me toca despertar el ordenador pulsando el botón de encendido de la caja.
He añadido el código en mi archivo .dsl, pero al intentar compilar me salen estos errores (ya tengo el método DTGP incluido en mi DSDT):
/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)
¿Alguna idea? Gracias.
@SnowYo tengo ese mismo problema: a veces el teclado y el ratón dejaban de responder, aunque aquellas opciones de Chameleon relacionadas con el USB parecen haberlo corregido. Lo que sigo teniendo es el fallo de que aparecen como ranuras de expansión y me toca despertar el ordenador pulsando el botón de encendido de la caja. He añadido el código en mi archivo .dsl, pero al intentar compilar me salen estos errores (ya tengo…
Hola: te adjunto mi DSDT (es para una GA-P35-DS3L); si buscas "DTGP" dentro verás en qué ámbito (scope) debe ir colocado lo que te falta.
Lo probé (tenía colocado el método DTGP en la sección equivocada), pero ahora me salta este otro error:
¡Maldita 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
DSDT para la EP35-DS3P
@snow
Ese último fallo es un simple error de sintaxis; solo hay que repasar bien cada línea.
Seguramente falte alguna coma o algún cierre de llave.
Compáralo con el mío.
Vale, ya di con el culpable: me había dejado una llave de cierre } mal puesta en un sitio y ya está corregido.
Gracias a todos por la información; probaré el nuevo .aml en el próximo reinicio.
Por cierto, aplicando este parche DSDT, ¿sigo necesitando estas claves en mi com.apple.Boot.plist?
<key>EHCIacquire</key>
<string>Yes</string>
<key>UHCIreset</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>
¡Muchas gracias! Ha funcionado de maravilla (aunque al compilar me salieron 98 errores de sintaxis que ya iré limpiando con calma).
Off-topic: Utilizo un adaptador Bluetooth USB para conectar mi Mighty Mouse inalámbrico. La casilla para permitir que los dispositivos Bluetooth despierten el ordenador aparece deshabilitada (en gris) porque el adaptador Bluetooth se detecta como periférico externo y no como integrado (Built-in). ¿Alguien sabe si existe alguna forma de inyectarlo como "built-in" mediante DSDT o cadena EFI, igual que hacemos con la tarjeta Ethernet?
@snow: Yo no llevo esas claves en mi com.apple.Boot.plist y todo me funciona perfectamente.
Bueno, me ha funcionado para el bus de alta velocidad EHCI (ahora figura como integrado / Built-in), pero no para los puertos USB normales UHCI (siguen apareciendo como ranura de expansión).
Actualización: En realidad, únicamente el bus donde están conectados mi teclado y mi ratón sigue apareciendo como ranura de expansión; todos los demás buses (incluidos los de alta velocidad) ya figuran como integrados.
Hay 1 bus USB que sigue saliendo como ranura de expansión, así que supongo que falta el código para ese bus concreto en mi DSDT.
Parece que el código de Device ID que le correspondería terminar es el 37; ¿debería añadir otro dispositivo más, como USB6, o cómo lo hago?
Bus USB:
Ubicación del controlador de host (Locatie hostcontroller): Ranura de expansión (Uitbreidingssleuf)
Controlador del host: AppleUSBUHCI
ID del dispositivo PCI: 0x2937
ID de revisión PCI: 0x0002
ID del fabricante PCI: 0x8086
Número de bus: 0x1a
comparado con:
Bus USB:
Ubicación del controlador de host: Interfaz USB integrada (Ingebouwde USB-interface)
Controlador del host: AppleUSBUHCI
ID del dispositivo PCI: 0x3a36
ID de revisión PCI: 0x0002
ID del fabricante PCI: 0x8086
Número de bus: 0x5d
Actualización: ¡Lo encontré! Las direcciones Name (_ADR) estaban intercambiadas entre USB3 y US31. ¡Ya está todo perfecto! Voy a quitar las banderas USB del boot.plist.
Ubicación del controlador de host: Interfaz USB integrada (Ingebouwde USB-interface)
Controlador del host: AppleUSBUHCI
ID del dispositivo PCI: 0x3a37
ID de revisión PCI: 0x0002
ID del fabricante PCI: 0x8086
Número de bus: 0x1a
¡Por fin puedo usar el botón de reposo de mi teclado para despertar el equipo (igual que en Windows)!
¡Gracias a todos por la ayuda!
¡Enhorabuena (Gelukwens)!
Yo ya lo he probado todo y no consigo que mi sistema llegue siquiera a entrar en reposo, mucho menos despertar.
@mormegil
¿Estás usando SleepEnabler.kext para Snow Leopard? También necesitarás NullCPUPowerManagement.kext, ya que SleepEnabler entra en conflicto con la gestión de energía nativa si no está parcheada. No tengo tu misma placa base, pero he leído a muchos usuarios que sí la tienen y parece ser una placa excelente para OSx86.
Mormegil, revisa bien que tengas cargados todos los kexts adecuados compatibles con Snow Leopard:
fakesmc
IOAHCIBlockStorageInjector
NullCPUPowerManagement
OpenHaltRestart
PlatformUUID
SleepEnabler
¡además de una DSDT bien configurada!
¿Ejecutaste Kext Utility para reconstruir correctamente las cachés mkext?
Actualización: ¡Lo encontré! Las direcciones Name (_ADR) estaban intercambiadas entre USB3 y US31. ¡Ya está todo perfecto! Voy a quitar las banderas USB del boot.plist.
[/QUOTE]
Se me había olvidado comentar que en mi placa también venían al revés. ¿Por casualidad usaste el Patcher02Beta5 de Windows para generar tu dsdt.aml?
@wwbsox@mormegil ¿Estás usando SleepEnabler.kext para Snow Leopard? También necesitarás NullCPUPowerManagement.kext, ya que SleepEnabler entra en conflicto con la gestión de energía nativa si no está parcheada. No tengo tu misma placa base, pero he leído a muchos usuarios que sí la tienen y parece ser una placa excelente para OSx86.
¡Por fin di con el clavo! Era la controladora JMicron, que estaba configurada en modo IDE en lugar de AHCI en la BIOS :)
Sí, esta placa ha resultado ser tremendamente compatible con OS X (creo que ocurre igual con casi todas las placas P45): el SATA y la red Ethernet funcionan de serie, el sonido va de lujo parcheando AppleHDA y ahora por fin tengo suspensión en RAM (S3) funcionando al 100 %.
Yo utilicé ACPI Patcher en Windows porque permite aplicar más correcciones de golpe. Los nombres de dispositivo como (USB3) o (US31) son arbitrarios; lo que realmente importa es la dirección (_ADR).
Como indiqué en el primer mensaje: "presta especial atención al dispositivo USB con dirección 0x001D0003; en mi placa aparece como US31, no edites ese dispositivo".
Cambiando de tema, ¿alguien ha visto algún kext IOATAFamily que funcione ya en 64 bits? Me encantaría poder desactivar el modo AHCI en la BIOS.
@wwbsoxPrimero expongo los problemas y luego las soluciones. Mis puertos USB 1.1 (UHCI) y USB 2.0 (EHCI) aparecían en Perfil del Sistema como "ranuras de expansión" (expansion slots). Esto me ocasionaba 2 problemas principales. Primero, tenía que usar el botón de encendido para despertar el ordenador del reposo. Segundo, si dejaba una memoria USB conectada al entrar en reposo, me salía un aviso de "dispositivo…
¿Podrías subir tu archivo DSDT completo? Me interesa mucho ver cómo has conseguido despertar el ordenador con el ratón USB.
@kDawg¿Podrías subir tu archivo DSDT completo? Me interesa mucho ver cómo has conseguido despertar el ordenador con el ratón USB.
En la página 1 de este mismo hilo tienes subida la mía, con el reposo y el despertar mediante teclado o ratón funcionando.
@IanxxxEn la página 1 de este mismo hilo tienes subida la mía, con el reposo y el despertar mediante teclado o ratón funcionando.
Pero ahí parece estar únicamente el fragmento DSDT correspondiente al USB/EHCI. Tengo exactamente tu misma placa base y no consigo despertar el equipo ni con el ratón ni con el teclado; tiene que haber alguna otra diferencia en el resto de tu DSDT o en los ajustes de la BIOS que se me está escapando, y me gustaría averiguar cuál es.
Actualización: He añadido mi archivo DSDT.aml al mensaje original. Incluye ya la sección USB editada y la sección IDE1 con los Device IDs de ICH10.
Yo también arrastro el problema de no poder despertar el equipo mediante el teclado ni el ratón USB. Todos mis buses USB aparecen ya como integrados (USB normal y 1 o 2 de alta velocidad), pero no sé qué más me falta para habilitar el despertar por USB...
Además, en el apartado Serial-ATA sí aparecen mis discos duros, pero el nombre del chipset sale en blanco donde debería poner ICH10, ICH9, etc. ¿Eso es cosa de la DSDT o de algún kext?
Aclaro que no soy ningún novato recién llegado (llevo instalando OSx86 desde los tiempos de la imagen de Deadmoo)… pero con este tema estoy bastante perdido.
Adjunto mi DSDT por si podéis echarle un vistazo…
Especificaciones:
GA-P31-DS3L (ICH7)
ALC888
Core 2 Duo E7200 @ 3,42 GHz
Genial, wwbsox: gracias por el apunte sobre el dispositivo IDE1, ¡ya me aparecen las controladoras SATA listadas como ICH10!
¿Podrías indicarme en qué parte de tu DSDT va la sección GFX o explicarme cómo inyectar manualmente el código para mi 8800 GT?
No me entusiasma usar parcheadores automáticos, así que prefiero hacerlo a mano.
Un saludo.
Antes y después de la inyección ICH10:
ANTES
DESPUÉS
@SnowGenial, wwbsox: gracias por el apunte sobre el dispositivo IDE1, ¡ya me aparecen las controladoras SATA listadas como ICH10! ¿Podrías indicarme en qué parte de tu DSDT va la sección GFX o explicarme cómo inyectar manualmente el código para mi 8800 GT? No me entusiasma usar parcheadores automáticos, así que prefiero hacerlo a mano. Un saludo.
Eso depende mucho de cada tarjeta gráfica en particular: varía según la cantidad de VRAM que tenga, la disposición de salidas de vídeo y, sobre todo, en qué ranura PCIe esté pinchada. Te he dejado comentado en el código lo que debes revisar; busca gfxutil en Google para averiguar la ruta PCI de tu gráfica.
Aquí tienes el bloque que debes insertar dentro de la sección Device (PCI0) (este ejemplo corresponde a una GeForce 8800 GT de 512 MB con doble salida DVI):
Device (PEGP)
{
Name (_ADR, 0x00010000) //<-- Ubicación en el bus PCI (importante)
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", //<-- Define las salidas de vídeo de la tarjeta (menos crítico)
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", //<-- Cantidad total de memoria VRAM (importante)
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)
}
}
}
Gráficos por DSDT (DSDT GFX)
@snow: Como bien sabes, esto depende del modelo exacto de tarjeta gráfica, pero subo mi DSDT con la inyección gráfica incluida. Busca la sección PEGP dentro de PCI0 para tener una referencia con la que comparar.
Además, parece que el último mensaje de kDawg incluye el fragmento exacto para la misma tarjeta que tienes tú.
En cualquier caso, yo utilicé ACPI Patcher desde Windows: en el apartado de gráficos seleccionas tu modelo de tarjeta y la cantidad de memoria VRAM; en NVCAP elegí Dual DVI (no elijas otra cosa), y para la ubicación PCI0 marcas las casillas "Use DSDT GFX" y "PEGP".
A mí me funciona, aunque solo puedo usar los archivos .aml compilados directamente por ACPI Patcher. iASLMe puede descompilarlos y volverlos a compilar sin quejarse, pero si intento compilar con iASLMe un archivo .dsl generado directamente por ACPI Patcher me da demasiados errores… Mmm…
Mucha suerte.
Perfecto, chicos: probaré primero el código de kDawg ya que tengo exactamente esa misma tarjeta —una 8800 GT de 512 MB con doble DVI— pinchada en la primera ranura PCIe.
Si no me funciona recurriré a ACPI Patcher, aunque como ese programa regenera la DSDT desde cero no quiero que me desbarate el código que ya tengo afinado.
¡Luego os cuento qué tal ha ido!
Actualización: ¿Dónde puedo mirar la dirección PCI (_ADR) dentro de IORegistryExplorer?
Actualización 2: gfxutil me devuelve DevicePath = PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0). ¿Eso significa que el valor de _ADR debería ser:
0x101000000
Gráficos (GFX)
@snow
Yo tampoco quería volver a empezar desde cero con mi DSDT, así que generé una DSDT temporal con la inyección gráfica y copié toda la sección PEGP dentro de mi DSDT actual donde ya tenía el resto de parches.
Además, juraría que mi gráfica aparecía en IORegistry en la dirección PCI 1, pero cuando seleccionaba esa dirección en ACPI Patcher nunca llegaba a añadirla a la DSDT; tuve que elegir PCI 0.
¡Hecho!
Pegué exactamente el mismo código de kDawg, ya que mi dirección _ADR era efectivamente 0x00010000 y no lo que había pensado antes.
¡Muchísimas gracias de nuevo a todos por la ayuda!
Creo que ya solo me queda 1 pequeño fleco pendiente (al menos hasta que me compre uno de esos teclados de Mac tan elegantes):
Hace mucho tiempo me creé con Ukelele mi propio mapa de teclado adaptado a mi teclado belga (de punto) y encaja a la perfección, pero de vez en cuando a OS X le da por cargar la distribución belga por defecto (que es la disposición belga de Apple).
Probé a sacar el paquete .bundle de /S/L/Keyboard Layouts para impedir que cargara el mapa por defecto, pero me quedé directamente sin teclado (no sé si por quitar el bundle o por coincidir con mis pruebas de DSDT).
Al volver a colocar el bundle en su sitio todo volvió a la normalidad.
Supongo que tendré que apañarlo con QuicKeys.
¡Muchas gracias por publicar este arreglo! (Y)
Llevaba semanas dándole vueltas a mi DSDT para solucionar este problema; hasta ahora había tenido que tirar de la familia IOUSBFamily modificada por Slice como apaño.
@Voyn1x¡Gracias por publicar esta solución! (Y) Llevaba semanas peleándome con mi DSDT para resolver este problema. Hasta ahora había tenido que usar el IOUSBFamily modificado por Slice como solución provisional.
Me alegro de que te haya servido. El mérito es de los autores originales; yo solo reuní ambas correcciones en un mismo sitio para que no hubiera que leerse decenas de páginas buscándolas.
Snow, yo también utilicé ACPI Patcher para inyectar mi 9800 GT mediante la DSDT y va de lujo; solo hay que asegurarse de elegir las opciones adecuadas.
Me preguntaba si alguien está usando este parche USB en una GA-P35-DS3L:
Mis puertos USB también aparecen como "Ranura de expansión" (Expansion Slot) y solo 2 figuran como "Alta velocidad".
No puedo despertar el equipo del reposo con el teclado ni con el ratón y, lo que es más molesto aún, a veces ni siquiera me detecta el teclado al arrancar. En la BIOS tengo activado el soporte para teclado USB (pero no para ratón USB), y siempre me he preguntado si tendrá algo que ver.
EDICIÓN: Acabo de comprobar si me sale el aviso de "Expulsión incorrecta del dispositivo" al dormir el equipo con un pendrive conectado y sí, efectivamente me sale.
Me gustaría probar este parche (nunca he editado la DSDT a mano). ¿Por qué motivo se deja sin tocar ese dispositivo concreto con dirección 0x001D0003?
Adjunto la sección USB de mi archivo dsdt.dsl por si alguien quiere echarme un cable para agilizar el proceso =P.
¡Muchísimas gracias, wwbsox!
Edición:
¡Por ahora va de fábula =D!
Ya puedo despertar el equipo con el teclado y con el ratón, estoy encantado. Ahora… a por mi problema con el reposo automático por inactividad, jeje.
Bueno, me temo que esto no ha solucionado lo de que mi teclado USB no sea detectado al arrancar en uno de cada dos reinicios =(
Si desactivo el soporte de teclado USB en la BIOS dejará de funcionar en la pantalla de selección de Chameleon, ¿verdad? Jaja, así que no tiene sentido probar eso =/
Mi problema con el reposo automático por inactividad (sleep on idle) era el siguiente:
La grabadora de DVD impedía que el equipo entrara en reposo por inactividad, tal como se detalla aquí: http://www.insanelymac.com/forum/index.php?showtopic=17… ↗ (el último mensaje es el mío, donde lo explico con más detalle).
Antes era un disco USB lo que lo bloqueaba, pero acabo de hacer una instalación limpia sin haber conectado siquiera ninguna unidad de DVD al equipo (instalé de disco duro a disco duro) y sigue sin entrar en reposo a la hora programada. Justo en ese instante oigo cómo el disco duro hace un ruido mecánico, así que parece que el sistema intenta dormirse pero algo se lo impide.
Y otro fallo curioso: ¡no salta el salvapantallas =P! Da igual los tiempos que configure para el salvapantallas, apagar la pantalla o poner el ordenador en reposo. Yo solía usar el salvapantallas como paso intermedio para sortear un problema de inicialización que tiene mi tarjeta gráfica: cuando la pantalla acaba de apagarse pero yo sigo frente al ordenador y muevo inmediatamente el ratón antes de que el monitor termine de entrar en modo de espera (standby), al encenderse de nuevo la pantalla muestra durante varios segundos una imagen llena de nieve/estática pura hasta que por fin se reinicializa y vuelve a mostrar el escritorio. Esta gráfica siempre me ha hecho eso tanto por cadena EFI como por DSDT; si alguien sabe cómo corregirlo se lo agradecería muchísimo, pero mientras tanto usaba el salvapantallas como colchón intermedio para poder mover el ratón sin que el monitor llegara a cortar señal jajaja =P, y si de verdad me ausentaba del ordenador ya dejaba que apagara la pantalla y entrara en reposo.
@SnowCreo que ya solo me queda 1 pequeño fleco pendiente (al menos hasta que me compre uno de esos teclados de Mac tan elegantes): Hace mucho tiempo me creé con Ukelele mi propio mapa de teclado adaptado a mi teclado belga (de punto) y encaja a la perfección, pero de vez en cuando a OS X le da por cargar la distribución belga por defecto (que es la disposición belga de Apple). Probé a sacar el paquete .bundle de…
La única solución que encontré para eso fue colocar el archivo del mapa de teclado antes del primer arranque tras instalar el sistema y seleccionarlo directamente durante el asistente de configuración inicial.
¿Y haciéndolo así ya se queda fijo para siempre? Vaya solución más curiosa, aunque oye, si funciona bienvenida sea; eso sí, no pienso reinstalar solo por eso jeje.
Por cierto, me acabo de fijar en que mi 8800 GT aparece listada también en el apartado de Tarjetas PCI del Perfil del Sistema. Todo funciona bien y pegué el código de kDawg tal cual dentro de PCI0 sin comprobar el bus PCI exacto.
¿No pasa nada porque salga ahí, verdad?
¿No se puede volver a lanzar el asistente de configuración inicial sin necesidad de reinstalar? Estoy seguro de que hay una forma de hacerlo borrando el archivo .AppleSetupDone.
Bus: PCIe es la única diferencia que veo...
¿Alguien me recomienda alguna solución para que mi teclado USB no deje de detectarse aleatoriamente en algunos arranques?
Estoy en una GA-P35-DS3L con Chameleon 2, y llevo gráficos, Ethernet, este parche USB y LegacyHDA inyectados mediante DSDT.
Edición: Me acabo de dar cuenta de que también he tenido que desenchufar y volver a enchufar la impresora USB para poder imprimir =/. ¿Qué puede estar causando esto? Al ratón nunca le ha afectado...
¿Debería probar a añadir de nuevo estas claves en el boot.plist de Chameleon?
<key>EHCIacquire</key>
<string>Yes</string>
<key>UHCIreset</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>
No sé si entrarán en conflicto con el parche combinado de este hilo. ¿Alguien lo ha probado?
@EnzoFX
He consultado por privado a otros usuarios con tu misma placa base y no están teniendo esos problemas. Si quieres, sube aquí tu DSDT y le echo un vistazo a ver si doy con el fallo.
SpeedStep mediante DSDT
@Todos los que tenéis placas Gigabyte:
¿Alguien tiene funcionando los P-States y C-States mediante DSDT?
Estoy pensando en abrir un hilo específico sobre SpeedStep por DSDT para placas Gigabyte… salvo que alguien conozca ya alguno bueno.
Todavía no he modificado mi DSDT para SpeedStep, pero la utilidad CPU-i muestra que en parte ya actúa: el multiplicador y la frecuencia suben y bajan según la carga, aunque el voltaje se queda fijo en el valor del P-State más alto (lo cual desvirtúa bastante el propósito).
CPU-i es una utilidad que descargué de applelife.ru (un foro ruso). La he estado usando junto con CPUTest lanzando 4 instancias simultáneas (similar a Prime95 pero para Mac) para comparar las lecturas del procesador en reposo frente a plena carga. Otra función muy práctica de CPU-i es que muestra todos los P-States disponibles en tu procesador junto con el multiplicador y voltaje correspondientes a cada uno; el mío tiene seis.
Con esta información debería poder añadir los seis P-States a mi DSDT. Los datos de los C-States también se pueden extraer de las tablas SSDT e incorporarlos directamente en la DSDT. He encontrado muy buena documentación al respecto, incluido un DSDT.aml ya terminado para mi procesador (Q9550), aunque fue compilado para una placa base Asus y su estructura DSDT es bastante distinta.
Tengo previsto subir el programa y algunas capturas de pantalla este fin de semana.
Aquí hay dos hilos muy buenos: http://www.insanelymac.com/forum/index.php?showtopic=17… ↗ y http://www.insanelymac.com/forum/index.php?showtopic=14… ↗ (aunque creo que ya no hace falta cargar tablas SSDT por separado en el arranque porque ahora se pueden integrar directamente dentro de la DSDT… o eso creo).
¡Me sería de grandísima ayuda si pudieras echarle un vistazo a mi DSDT, wwbsox! Estaba empezando a preguntarme si todo esto no habría empezado a raíz de usar la DSDT; probablemente no, pero ahora mismo ya no sé qué pensar.
He estado fijándome y creo que tanto el teclado USB como la impresora fallan simultáneamente cuando se presenta el problema. ¿Podría ser por la versión de la BIOS? Además, aunque con menos frecuencia, hay veces en que no se carga el perfil de color de mi monitor al arrancar y tengo que abrir Preferencias del Sistema y hacer clic en Pantallas para forzar que se cargue. ¿Quizá la inyección gráfica de mi DSDT no esté del todo fina? Podría probar con otros ajustes en ACPI Patcher.
Por otro lado, ¿puede producirse algún conflicto si desactivo varios periféricos integrados en la BIOS (por ejemplo, todos los puertos serie/paralelo antiguos y controladoras secundarias) pero el archivo DSDT sigue teniéndolos todos declarados?
Mi equipo es:
GA-P35-DS3L rev. 2.0
9800 GT inyectada con ACPI Patcher, al igual que Ethernet y sonido.
Aquí está mi archivo dsdt.dsl: kt tns.org/0zjbl
También quiero confirmar que todos los componentes y periféricos funcionan sin el menor fallo bajo Windows 7, donde arranco de vez en cuando mediante dual boot.
Cuando miras en Perfil del Sistema, ¿todos tus puertos USB aparecen como integrados (Built-in)? ¿La impresora y el teclado cuelgan de un bus USB normal o de un bus USB de alta velocidad (High-Speed USB)? Creo recordar que comentaste que ya habías probado a desactivar "Legacy USB" en la BIOS, ¿verdad? He leído que eso ayudó en otras placas, aunque nunca me he topado con ese fallo en las Gigabyte P35. Esta noche le echaré un vistazo a tu DSDT.
En cuanto a desactivar periféricos en la BIOS… eso no modifica el contenido de tu archivo DSDT. La tabla DSDT se construye a partir de la ROM completa de la BIOS, la cual incluye las definiciones de todos los puertos y controladoras estén activados o no en el menú de la BIOS. Eso sí, asegúrate de haber actualizado tu placa a la última versión de BIOS disponible, ya que a muchos usuarios eso les ha corregido numerosos fallos.
Si sospechas que tu DSDT actual puede estar causando el problema, prueba a extraer una limpia con ACPI Patcher directamente desde el archivo ROM de la BIOS descargado y compílala sin añadir parches ni dispositivos extra. Si el fallo persiste, sabrás con certeza que la causa es ajena a la DSDT.
Mostrar 103 notas adicionales de la comunidadRegistro de archivo completo
@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
@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.
@Snow
Mi teclado de Apple aparece en Perfil del Sistema bajo el bus USB de alta velocidad (High-Speed USB), mientras que mi ratón Rocketfish aparece bajo el bus USB normal (UHCI). Por cierto, encontré una página con el código DSDT exacto para tu Q6600 con todos los P-States habilitados para SpeedStep; tengo que volver a buscar el enlace y luego te lo paso. Ahora solo me falta dar con los valores para mi Q9550.
Aquí adjunto CPU-i.
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
Temps in Leo are low 30's, especially now with colder climate. I guess it doesn't drop the voltage properly.
Tengo exactamente el mismo síntoma: el multiplicador y la frecuencia bajan en reposo, pero el voltaje permanece clavado en el P-State más alto.
Sin embargo, hay una forma de declarar explícitamente en la DSDT los P-States y C-States soportados por tu CPU. Sigo investigándolo, pero voy a probarlo.
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…
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.
El puente sur físico sigue siendo el ICH9/R (no soportado oficialmente por Apple); lo único que hice fue inyectar los Device IDs correspondientes al ICH10 (que sí está soportado) para "engañar" a Mac OS X y hacerle creer que corre sobre hardware nativo.
Tengo la controladora SATA JMicron desactivada en la BIOS a la espera de que alguien compile el kext necesario con soporte para 64 bits; no debería tardar mucho ahora que Apple ha publicado el código fuente de Snow Leopard.
Respecto a los mensajes de error "Sound assertion" durante el arranque, todavía no me he puesto con ellos, pero creo que se deben a que el layout-id y las configuraciones de pines de la DSDT no coinciden exactamente con los definidos dentro del kext HDA (creo que el kext acaba imponiendo sus valores).
En cuanto termine de integrar el SpeedStep nativo (P-States y C-States) en mi DSDT me pondré manos a la obra con el sonido.
@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.
EnzoFX, ¿has probado alguna de las otras DSDT publicadas en este hilo? Lanxxx y varios usuarios más tienen exactamente tu misma placa base. Yo no tengo desactivado ningún puerto USB en la BIOS, únicamente la controladora SATA secundaria integrada (JMicron).
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.
No he tenido ningún problema gráfico inyectando mi 8800 GTS mediante DSDT (recuerda que en Snow Leopard ya no aparece la línea de estado QE/CI en Perfil del Sistema). Las placas EP35 y P35 deberían comportarse de forma muy parecida al llevar el mismo chipset; la serie EP35 simplemente añade funciones de ahorro energético.
En cuanto al reposo automático por inactividad (idle sleep), el mío funciona, pero… tarda exactamente cinco minutos desde que se apaga el monitor hasta que el ordenador entra realmente en reposo. Es decir, si lo programo para dormir tras 1 hora de inactividad, la pantalla se apaga a la hora, el equipo permanece encendido cinco minutos más y entonces se duerme. Para mí no supone ningún inconveniente.
@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
@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"
No, yo tampoco puedo despertar el equipo desde mi teclado Apple Aluminum con cable; utilizo un ratón Rocketfish para despertar el sistema del reposo. Vi otra configuración DSDT distinta para los puertos EHCI que quiero probar (en cuanto vuelva a encontrar el enlace). Si funciona, la añadiré al primer mensaje.
Mucha gente ha conseguido despertar el equipo con un teclado USB… siempre y cuando no sea el teclado de aluminio de Apple.
@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..
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.
@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.
Bueno, he probado unas cuantas configuraciones USB distintas en la DSDT y sigo sin poder despertar del reposo con el teclado de Apple. En cambio, en mi otra placa EP45-DS3L funciona de serie (OOB) sin tocar nada en la DSDT; debe de ser porque esa placa lleva puente sur ICH10 nativo.
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.
@kDawg
En tu placa DS4… ¿estás usando por casualidad el teclado Apple Aluminum Keyboard?
@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?
@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.
@xwin78@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.
Take a look at this post:
UHCI/EHCI Built in with dsdt fix →
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.
@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.
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.
@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?
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 ?
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!
@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?
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
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))
}
}
}
Si puedes, sube tu archivo dsdt.dsl completo tal cual estaba antes de hacerle ningún cambio e intentaré aplicarle el parche y compilarlo yo mismo. Los errores de compilación hacen referencia a distintos números de línea, pero sin ver la DSDT entera no puedo rastrearlos.
Indica también qué hardware tienes; así otros usuarios con tu misma configuración podrán echarte una mano.
@ wwbsox
could you post your DSDT file---I would like to compare it to mine for order etc.
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
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?
@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
@xwin78
Mi DSDT está adjunta en el primer mensaje del hilo.
Por cierto, ¿alguien tiene por casa algún concentrador (hub) USB 1.1 antiguo? Sigo intentando que el teclado de aluminio de Apple pueda despertar el ordenador del reposo.
Mi ratón Rocketfish despierta el equipo porque se conecta como dispositivo USB 1.1 (UHCI), mientras que el teclado de aluminio de Apple es detectado como dispositivo USB 2.0 de alta velocidad (EHCI) debido al hub USB 2.0 que lleva integrado. Mi teoría es que, si conectamos el teclado a través de un hub USB 1.1 antiguo para forzar que se registre en un bus UHCI en vez de EHCI, quizá sí logre despertar el equipo. Por desgracia, no tengo ningún hub antiguo a mano para hacer la prueba.
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
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!
@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?
@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 !
@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.
@osxfr33k: Si pudieras subir tu DSDT completa sería mucho más sencillo corregirla.
@sk1nhd33t: Yo uso el teclado extendido con cable (el que lleva teclado numérico).
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...
Bueno… sigo dándole vueltas al problema de despertar con el teclado de Apple, y creo que vamos por muy buen camino con la teoría del USB 1.1: el motivo por el que no despierta el equipo es precisamente porque se registra como dispositivo USB 2.0.
En mi BIOS, dentro de Integrated Peripherals, puedo desactivar la controladora USB 2.0 (EHCI). Al desactivarla, ¡el teclado de aluminio de Apple despierta el sistema del reposo absolutamente todas las veces!
Evidentemente no es una solución definitiva, sobre todo si usas discos duros externos por USB (los míos van por eSATA). Otro inconveniente es que en mi placa solo funcionan 2 de los 8 puertos USB traseros cuando desactivo la controladora USB 2.0.
Aun así, estoy convencido de que si alguien conecta el teclado de Apple a través de un hub USB 1.1 podrá despertar el equipo sin perder el USB 2.0 en el resto de puertos.
Todo esto me lleva a pensar que tiene que haber alguna forma de modificar la sección EHCI de la DSDT para resolverlo por software. Ya he probado 4 o 5 "parches" distintos para EHCI sin éxito, pero la solución tiene que estar ahí fuera… Seguiré buscando.
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 .
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.
@osxfr33k
No todas las placas base necesitan el parche contra el reinicio de CMOS en Snow Leopard (aunque tu Gigabyte sí lo necesitará).
Le he echado un vistazo rápido: el método DTGP ya está en tu DSDT, pero creo que la ubicación donde pegaste la sección gráfica no es la correcta. Vamos a arreglar eso para que puedas quitar la cadena EFI de tu com.apple.Boot.plist.
Me he descargado la última ROM de BIOS para tu placa desde la web de Asus y voy a generar una DSDT con ACPI Patcher en Windows incluyendo todos los parches y la inyección gráfica.
Con eso podré comparar la ubicación exacta de la sección gráfica y corregir tu DSDT. También te subiré la nueva DSDT generada para que la pruebes (cuando salga del trabajo).
@ohwhyme
No… Por desgracia, en mi placa base, cuando desactivo la controladora USB 2.0 en la BIOS solo quedan operativos 2 de los puertos USB traseros (funcionando como USB 1.1) y me quedo sin USB 2.0 en todo el equipo. Tampoco hice pruebas exhaustivas, simplemente fui cambiando el ratón de puerto en puerto y vi que solo respondía en los 2 conectores inferiores de la placa (no probé los 2 puertos frontales de la caja; los 2 puertos laterales del propio teclado sí funcionan).
Y es que el modo USB 2.0 no va ligado a un puerto físico concreto (¡ojalá fuera así!), sino al dispositivo que enchufes: conectes donde conectes un periférico USB 2.0, la controladora lo enrutará por el bus EHCI, y lo mismo ocurre con un periférico USB 1.1 hacia el bus UHCI.
El reto consiste en lograr que el teclado se registre bajo USB 1.1, porque eso soluciona de raíz el despertar del reposo.
@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?
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.
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.
@Jedric
He añadido las correcciones para los dispositivos USB0 a USB6 sin tocar la sección EHCI, ya que comentaste que esa parte ya te funcionaba bien. Ha compilado con cero errores (solo salieron unas pocas advertencias relacionadas con un bloque de tu DSDT que gestiona ajustes de voltaje Vcore, pero no impiden la compilación). Adjunto tanto el archivo .dsl como el .aml ya compilado; pruébalos. Si comparas las secciones USB verás los cambios aplicados. ¡Mucha suerte!
@osxfr33k
Compilé una DSDT a partir de la última ROM de BIOS de tu placa; me dio un error de desbordamiento (overflow) al compilar —quizá sea algo particular de esa placa Asus—, pero sí llegó a generar la sección gráfica.
Te adjunto la sección gráfica de la DSDT en un archivo de texto aparte, además del archivo .dsl completo generado por ACPI Patcher en Windows (como referencia) para que veas exactamente en qué punto dentro de PCI0 debe colocarse ese bloque. Espero que te sirva.
@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
@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.
@sylvester328
Sí, eso también limitaría los puertos integrados en el propio teclado a velocidad USB 1.1. De hecho, no estoy seguro al 100 %, pero creo que los puertos del teclado ya funcionan en la práctica como USB 1.1 o con corriente muy limitada, porque cada vez que conecto en ellos un dispositivo USB 2.0 me salta el aviso de que el dispositivo requiere más energía de la que el puerto puede suministrar y Snow Leopard lo expulsa automáticamente.
Aun así, recibo muchas consultas de usuarios que necesitan sí o sí despertar el equipo desde su teclado de aluminio de Apple, y esta es al menos una alternativa viable.
Como ya comenté antes, estoy seguro de que existe algún modo de parchear la sección EHCI de la DSDT para habilitar el despertar desde puertos USB de alta velocidad; simplemente aún no he dado con él.
En mi EP45-DS3L el teclado de Apple despierta el equipo perfectamente sin necesidad de parchear nada, pero en la EP35-DS3P no hay manera.
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.
@osxfr33k
En primer lugar, deja tu bloque de audio tal como lo tenías: ACPI Patcher solo sabe inyectar audio para los códecs ALC888 y ALC889A, que no son los que monta tu placa; yo solo lo pasé para extraer el bloque de la tarjeta gráfica.
En segundo lugar, respecto a la posición exacta del bloque gráfico… ahí es donde lo colocó ACPI Patcher; desconozco si cambiarlo de sitio dentro de PCI0 influye porque no tengo esa placa para probarlo.
En tercer lugar, sobre la duda entre el 8 o el 3: tampoco lo sé con certeza. Extraje la DSDT directamente del archivo ROM de la BIOS de tu placa (v1302). He revisado varias placas más (tanto Asus como Gigabyte) y todas las que he tocado llevan Name (_HID, EisaId ("PNP0A03")) en ese dispositivo.
Por último, antes adjunté el .dsl y se me olvidó comentar que, por algún motivo, si genero un .dsl con ACPI Patcher en Windows luego no compila con iASL en Mac OS X; en cambio, si genero directamente el .aml en Windows, luego se puede descompilar y recompilar en Mac sin problemas. Así que en este adjunto te subo el .aml (como referencia).
Lo más recomendable en tu caso es que partas de la DSDT que ya te funciona e incorpores sobre ella las correcciones poco a poco en vez de usar directamente este .aml, ya que no tengo forma de probarlo sin tener tu placa base.
Mucha suerte.
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.
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
@cyclobot
Sigo trabajando en ese asunto. Si tienes un teclado o ratón USB 1.1, deberían poder despertar el sistema sin problemas.
He añadido la sección USB corregida a tu DSDT; pruébala a ver qué tal.
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 ...
@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.
@cyclobot
Esa era la misma DSDT que me pasaste tú; yo únicamente edité la sección USB. Aunque ahora que caigo… tú tienes una EP45-DQ6, ¿no lleva puente sur ICH10? Mi EP45-DS3L lleva ICH10 y no necesita ningún parche USB en la DSDT: duerme bien y despierta desde el teclado de serie.
@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.
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
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
For those with an Apple keyboard, what about getting a strictly USB 1.1 hub? and plug it in through there =P
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
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?
@EnzoFX
Creo que así es: ya he visto otras placas que tampoco tienen el dispositivo en la dirección D3. Las direcciones que realmente se modifican son D0, D1, D2, A0, A1 y A2.
Y sí, intercalar un hub USB 1.1 debería funcionarle a cualquiera que necesite imperiosamente despertar el equipo con el teclado de aluminio de Apple, aunque yo no tengo ningún hub antiguo para verificarlo.
@ 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)?
@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.
@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.
@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.
@BugsBThe dsdt.dsl for my Toshiba Satellite P100 is attached. Bugs
I don't think it is?
Master Chief ha publicado en InsanelyMac un parche DSDT para las placas Asus P5K que permite despertar el equipo desde teclados USB 2.0, incluido el teclado de aluminio de Apple. Llevo varios días intentando adaptarlo a mi placa Gigabyte sin éxito, aunque sigo en ello.
Si alguien tiene una P5K, le recomiendo encarecidamente que busque sus mensajes: tiene tantísimos parches DSDT avanzados para esa placa que te deja boquiabierto, en serio.
@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 :
@sk1nhd33t
http://www.insanelymac.com/forum/index.php?showtopic=18… ↗
En el tercer mensaje de ese hilo Master Chief tiene recopiladas todas sus tablas DSDT.
Lo dicho: una joya si tienes una P5K Pro; yo por mi parte sigo intentando hacer funcionar el despertar con el teclado de aluminio en la Gigabyte.
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
@Pandar
Si te refieres a la corrección de los puertos USB, lo único que tienes que hacer es sustituir la sección USB de tu DSDT por la que figura en el primer mensaje del hilo.
Si necesitas instrucciones más detalladas, mándame un mensaje privado.
¿Actualmente inyectas tu tarjeta gráfica por DSDT? Si es así, este cambio no afectará en nada a esa sección. Si lo que quieres es añadir también los gráficos a la DSDT, tendrás que generar el bloque Device (PEGP) dentro de Device (PCI0); yo utilicé ACPI Patcher para generar esa parte.
Works
Thanks wwbsox!
The combination of the methods works perfectly on my EP45-UD3P!
Wake-up issue by mouse and Keyboard has come!
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
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.
@stayupforever90
Tengo esa misma tarjeta gráfica y la DSDT que adjunté en el mensaje n.º 32 contiene exactamente la sección PEGP que estás buscando.
Sobre el kext IOAHCIBlockStorage no puedo opinar porque no lo uso; creo que en ProjectOSX hay un parche DSDT (obra de THe KiNG) que permite prescindir por completo de él.
Y sí, mi tarjeta gráfica también aparece listada dentro del apartado Tarjetas PCI del Perfil del Sistema.
@atomiX_X
Como tu placa base es una Asus, no puedes reemplazar a pelo toda la sección USB por la de Gigabyte; de ahí todos esos errores de compilación. Sin embargo, veo que ya has añadido el bloque Method (_DSM, 4... dentro de cada uno de tus dispositivos USB con los Device IDs correctos. Tus controladoras EHCI tienen nombres distintos a las mías (EUSB y USBE), aunque no creo que el nombre en sí marque diferencia.
Si tu único problema ahora es que no puedes despertar el equipo del reposo usando periféricos USB, comprueba en Perfil del Sistema si tu ratón y tu teclado cuelgan de un bus UHCI o de un bus EHCI (USB de alta velocidad). Si aparecen bajo USB de alta velocidad, esa es la razón por la que no despiertan el sistema: mi ratón Rocketfish (USB 1.1) lo despierta sin problemas, mientras que mi teclado de Apple (USB 2.0) no.
Dado que tienes una placa Asus, te sugiero echar un vistazo a la DSDT de Master Chief en el hilo de la P5K Pro en InsanelyMac: él asegura haber logrado que el teclado de Apple despierte su placa mediante edición de DSDT. ¡Mucha suerte!
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.
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
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
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
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...
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
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.
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
@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 !
De nada… ¡Hacía muchísimo tiempo que no entraba en este foro! Me alegra ver que la información sigue resultando útil a la gente. Precisamente acabo de montar un equipo para un amigo que tenía exactamente este mismo problema, así que espero que a él también le sirva.
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.
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
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!
Fuentes y registro de autoría (33 usuarios acreditados · Hilo #3849)
| Usuario | Rol en la monografía | Mensajes | Periodo activo |
|---|---|---|---|
| @wwbsox | Autor principal | 44 | 2009-08-30 → 2010-07-10 |
| @Snow | Colaborador clave | 23 | 2009-08-31 → 2009-09-15 |
| @EnzoFX | Colaborador clave | 13 | 2009-09-02 → 2010-02-20 |
| @kDawg | Colaborador clave | 12 | 2009-09-01 → 2009-10-09 |
| @Ianxxx | Colaborador clave | 8 | 2009-08-31 → 2009-10-09 |
| @xwin78 | Colaborador clave | 6 | 2009-09-17 → 2009-10-07 |
| @osxfr33k | Colaborador clave | 6 | 2009-09-21 → 2009-09-23 |
| @twr | Colaborador clave | 5 | 2009-09-18 → 2009-09-24 |
| @Jedric | Colaborador clave | 5 | 2009-09-19 → 2009-09-23 |
| @sk1nhd33t | Colaborador clave | 4 | 2009-09-14 → 2009-10-11 |
| @stayupforever90 | Colaborador clave | 4 | 2009-11-04 → 2010-01-19 |
| @CyCLoBoT | Colaborador clave | 3 | 2009-09-23 → 2009-09-25 |
| @mormegil | Colaborador | 2 | 2009-08-31 → 2009-09-01 |
| @kramer2k | Colaborador | 2 | 2009-09-02 → 2009-09-14 |
| @ohwhyme | Colaborador | 2 | 2009-09-20 → 2009-09-22 |
| @sylvester328 | Colaborador | 2 | 2009-09-23 → 2009-10-09 |
| @spanakorizo | Colaborador | 2 | 2009-09-25 |
| @atomiX_X | Colaborador | 2 | 2009-11-05 |
| @omargoa | Colaborador | 1 | 2009-08-31 |
| @aed0101@hotmail | Colaborador | 1 | 2009-08-31 |
| @Voyn1x | Colaborador | 1 | 2009-09-02 |
| @infinitek | Colaborador | 1 | 2009-09-06 |
| @BugsB | Colaborador | 1 | 2009-10-03 |
| @pandar | Colaborador | 1 | 2009-10-19 |
| @kantok | Colaborador | 1 | 2009-10-31 |
| @adityaxavier | Colaborador | 1 | 2010-01-08 |
| @twistoflemon | Colaborador | 1 | 2010-01-19 |
| @xzeroGx | Colaborador | 1 | 2010-03-07 |
| @Stone-D | Colaborador | 1 | 2010-04-03 |
| @thepiecesfit | Colaborador | 1 | 2010-07-03 |
| @Mack N Tosh | Colaborador | 1 | 2010-07-21 |
| @Epal | Colaborador | 1 | 2010-08-16 |
| @hackaroni | Colaborador | 1 | 2011-09-26 |