Jump to content

DSDT: trick retail drivers by changing "device-id" (e.g USB)


  • Please log in to reply
365 replies to this topic

#61
rx782p

rx782p

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
I removed moded subsystem-vondor-id form DSDT, Because It was meaningless.
They work only in device ID Mod well, Even as for LPC and DRAM Controller, PCI-E Root Port, HD Audio Controller and etc...
(Only USB need EHCIacquire=Yes option in com. apple.boot.plist)
My board is faker 82801JI/82801JIB board now.

I try whether various devices work with vanilla Driver by DSDT adding Device ID.
The LAN is still making trial and error.
Thank you for an interesting solution, sorry my terrible English.

#62
rcfa

rcfa

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts
A quick question: is that limited to USB, or can this be done with other devices?

In particular, the only devices on an EeePC 1000HE that require patched Apple drivers (as vs. just additional kexts) and thus cause potential issues with each OS update, are the USB-based BT interface and the GMA950 graphics chip set.

If instead of patching the GMA950 drivers with the device ID of the chipset used in the EeePC1000HE I could simply use DSDT to patch the ID reported to the OS, and if I could do the same with the Broadcom BT interface, then that would solve a lot of potential issues and would completely eliminate the need to patch drivers...

#63
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

A quick question: is that limited to USB, or can this be done with other devices?...

All I can say is read this and the one below that.

#64
rcfa

rcfa

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts

All I can say is read this and the one below that.


Well, I tried it before I read the posts you referred to. Unfortunately, it doesn't seem to work, although it's obviously not impossible, that I made a mistake in the process of patching the .dsl file, even though it compiled without errors.

Anyway, chances are that the device ID is taken from the PCI bus directly, so that didn't work. Too bad.

#65
zhell

zhell

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 125 posts
  • Gender:Male

Well, I tried it before I read the posts you referred to. Unfortunately, it doesn't seem to work, although it's obviously not impossible, that I made a mistake in the process of patching the .dsl file, even though it compiled without errors.

Anyway, chances are that the device ID is taken from the PCI bus directly, so that didn't work. Too bad.

The approach is not specific to USB at all; USB is just one of the most useful fields of application.
If the driver is open source, have a look at the source code. This will tell you what it does and also what the problem is.

#66
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
Well I'm learning more as I go. My Gigabyte P35-DQ6 does not have SAT sections it has IDE. Finding this I was able to make my ICH9 appear as an ICH10. I've also changed my USB devices but still seem to have an issue after sleep. After sleep, when I shut down the next restart does not work properly and the system halts. Not sure what's doing that.

I do have a question about the "Names" in the DSDT. Does it matter for example if my DSDT has a section labled IDE1 instead of SAT0? System Profiler still shows ICH10 when I inject the device ID. How far are you guys trying to take this to match a MacPro or iMac? (I have a desktop machine) and what are the reasons to choose MacPro over iMac or iMac over MacPro?

Thanks for all the help,
SMF

#67
zhell

zhell

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 125 posts
  • Gender:Male

Well I'm learning more as I go. My Gigabyte P35-DQ6 does not have SAT sections it has IDE. Finding this I was able to make my ICH9 appear as an ICH10. I've also changed my USB devices but still seem to have an issue after sleep. After sleep, when I shut down the next restart does not work properly and the system halts. Not sure what's doing that.

I do have a question about the "Names" in the DSDT. Does it matter for example if my DSDT has a section labled IDE1 instead of SAT0? System Profiler still shows ICH10 when I inject the device ID. How far are you guys trying to take this to match a MacPro or iMac? (I have a desktop machine) and what are the reasons to choose MacPro over iMac or iMac over MacPro?

Congratulations on faking ICH10!
Regarding sleep, what was the problem before you faked the device-ids?
On device names, it's just cosmetics. I've seen people recommending to change all occurrences of "AZAL" to "HDEF" to make it easier to enable sound. I found a DSDT for my board that matches a Mac very closely, so I never spent a lot of thought on this.
The model you set in SMBIOS matters much more. You should set it to the model that is closest to your hardware, not closest to your dream machine. I set it to MacPro3,1 for my ICH9-R-based DP35DP mobo. With MacPro4,1 (the model of my dreams...) I get a kernel panic immediately at boot. The model also determines which software updates you receive, so it's good to stick to the reality as close as possible.

#68
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
zhell,

Thanks for the feedback. Changing the USB device id's didn't change my sleep behavior - it's the same as it always has been. But my USB has always worked so I didn't expect to much different. I would like to figure out the two "AppleUSBOHCI[0xac77000]::CheckSleepCapability - controller will be unloaded across sleep" errors I see (these have been happening since 10.5.6 or 10.5.5). I also need to figure out how to do the SSDT power management fixes for my board so I can get rid of the "ACPI_SMC_PlatformPlugin" errors I see (exact details in post #56 in the thread).

I'll take a look at mapping my hardware to the closest Mac model and work the SMBIOS.

Thanks,
SMF

#69
Drfrag

Drfrag

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male
  • Location:Brazil
Note: Automatic sleep after an idle period is not enabled by this fix. I don't know if this problem is even related to USB. Users of real Macs report this problem popping up after the 10.5.7 update as well.

Bart86 have found a temporary solution for the automatic sleep problem. I can confirm that it works. Tried with a Wii DVD backup.

Drfrag

#70
roidm

roidm

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,059 posts
  • Gender:Male
  • Location:Spain

zhell,

Thanks for the feedback. Changing the USB device id's didn't change my sleep behavior - it's the same as it always has been. But my USB has always worked so I didn't expect to much different. I would like to figure out the two "AppleUSBOHCI[0xac77000]::CheckSleepCapability - controller will be unloaded across sleep" errors I see (these have been happening since 10.5.6 or 10.5.5). I also need to figure out how to do the SSDT power management fixes for my board so I can get rid of the "ACPI_SMC_PlatformPlugin" errors I see (exact details in post #56 in the thread).

I'll take a look at mapping my hardware to the closest Mac model and work the SMBIOS.

Thanks,
SMF


you can fix those errors just adding this code to the scope _pr , and if you want to enable speedstep just change your mac model to macpro3,1 or mod the acpi_smc_platformplugin to match your smbios injection, of course EIST and C1E must be enable in bios

External (PDC0)	External (CFGD)	Scope (_PR)	{		Processor (CPU0, 0x00, 0x00000410, 0x06)		{			Method (_CST, 0, NotSerialized)			{				If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC0, 0x10					))))				{					Return (Package (0x02)					{						One, 						Package (0x04)						{							ResourceTemplate ()							{								Register (FFixedHW, 									0x00,			   // Bit Width									0x00,			   // Bit Offset									0x0000000000000000, // Address									,)							}, 							One, 							0x9D, 							0x03E8						}					})				}				If (And (PDC0, 0x0300))				{					If (And (CFGD, 0x20))					{						Return (Package (0x03)						{							0x02, 							Package (0x04)							{								ResourceTemplate ()								{									Register (FFixedHW, 										0x01,			   // Bit Width										0x02,			   // Bit Offset										0x0000000000000000, // Address										,)								}, 								One, 								One, 								0x03E8							}, 							Package (0x04)							{								ResourceTemplate ()								{									Register (FFixedHW, 										0x01,			   // Bit Width										0x02,			   // Bit Offset										0x0000000000000010, // Address										,)								}, 								0x02, 								One, 								0x01F4							}						})					}				}				If (And (CFGD, 0x20))				{					Return (Package (0x03)					{						0x02, 						Package (0x04)						{							ResourceTemplate ()							{								Register (FFixedHW, 									0x01,			   // Bit Width									0x02,			   // Bit Offset									0x0000000000000000, // Address									,)							}, 							One, 							One, 							0x03E8						}, 						Package (0x04)						{							ResourceTemplate ()							{								Register (SystemIO, 									0x08,			   // Bit Width									0x00,			   // Bit Offset									0x000000000000000C, // Address									,)							}, 							0x02, 							One, 							0x01F4						}					})				}				Return (Package (0x02)				{					One, 					Package (0x04)					{						ResourceTemplate ()						{							Register (FFixedHW, 								0x01,			   // Bit Width								0x02,			   // Bit Offset								0x0000000000000000, // Address								,)						}, 						One, 						One, 						0x03E8					}				})			}		}	   Processor (CPU1, 0x01, 0x00000410, 0x06)		{			Method (_CST, 0, NotSerialized)			{				Return (^^CPU0._CST ())			}		}		Processor (CPU2, 0x02, 0x00000000, 0x00)		{			Method (_CST, 0, NotSerialized)			{				Return (^^CPU0._CST ())			}		}		Processor (CPU3, 0x03, 0x00000410, 0x06)		{			Method (_CST, 0, NotSerialized)			{				Return (^^CPU0._CST ())			}		}	}


#71
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
roisoft,

Once again giving me good input for my DSDT. I'll put it in and report back later today or tomorrow. Right now I'm using SMBIOSEFI but thinking about using injection via Chameleon. Do you have a preferred method?

I'll have to study what you've given me and see if I can learn more! I did wonder why you've only input code to CPU0? I have a core 2 duo at present so would think you would put code for both CPU0 and CPU1.

UPDATE: Did a quick compile and had a few errors -

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

dsdt_new_usb ohci fix.dsl 160: Method (_CST, 0, NotSerialized)
Warning 1080 - Reserved method must return a value ^ (_CST)

dsdt_new_usb ohci fix.dsl 162: Return (^^.CPU0_CST ())
Error 4095 - ^ Invalid character (0x2E), expecting ASL keyword or name

dsdt_new_usb ohci fix.dsl 162: Return (^^.CPU0_CST ())
Error 4095 - ^ syntax error, unexpected PARSEOP_NAMESEG, expecting ')'

ASL Input: dsdt_new_usb ohci fix.dsl - 6040 lines, 202756 bytes, 2405 keywords
Compilation complete. 2 Errors, 1 Warnings, 0 Remarks, 31 Optimizations
[/codebox]

I'll look at it but have attached my full dsdt in case you get a chance to look at it.




Thanks again,
SMF

Attached Files



#72
roidm

roidm

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,059 posts
  • Gender:Male
  • Location:Spain
you have a syntax error, replace

Return (^^.CPU0_CST ())

by

Return (^^CPU0._CST ())


Attached File  dsdt.dsl.zip   13.88KB   67 downloads

#73
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts

you have a syntax error, replace

Return (^^.CPU0_CST ())

by

Return (^^CPU0._CST ())


Attached File  dsdt.dsl.zip   13.88KB   67 downloads


roisoft,

Thanks for the fix. Compiled fine and fixed the _CST errors but I've still got the OHCI errors and the PSS error.

Jun  8 19:59:10 localhost kernel[0]: USBF:	0.258	AppleUSBOHCI[0xac53800]::CheckSleepCapability - controller will be unloaded across sleepJun  8 19:59:10 localhost kernel[0]: USBF:	0.272	AppleUSBOHCI[0xac77000]::CheckSleepCapability - controller will be unloaded across sleepJun  8 19:59:12 Stephen-Falatkos-Computer-2 kernel[0]: ACPI_SMC_PlatformPlugin::getCPU_PSSData - _PSS evaluation failed

SMF

#74
roidm

roidm

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,059 posts
  • Gender:Male
  • Location:Spain
You can to use a linux LiveCD to dump your P-States. Boot using a livecd open a terminal and type dmesg |grep ACPI , you will see something like this

[codebox]
[ 0.000000] BIOS-e820: 00000000bf5e0000 - 00000000bf5e3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bf5e3000 - 00000000bf5f0000 (ACPI data)
[ 0.000000] modified: 00000000bf5e0000 - 00000000bf5e3000 (ACPI NVS)
[ 0.000000] modified: 00000000bf5e3000 - 00000000bf5f0000 (ACPI data)
[ 0.000000] ACPI: RSDP 000F6ED0, 0014 (r0 GBT )
[ 0.000000] ACPI: RSDT BF5E3040, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: FACP BF5E30C0, 0074 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: DSDT BF5E3180, 5620 (r1 GBT GBTUACPI 1000 MSFT 100000C)
[ 0.000000] ACPI: FACS BF5E0000, 0040
[ 0.000000] ACPI: HPET BF5E8900, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 98)
[ 0.000000] ACPI: MCFG BF5E8980, 003C (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: APIC BF5E8800, 0084 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: SSDT BF5E9020, 03AB (r1 PmRef CpuPm 3000 INTL 20040311)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.018870] ACPI: Core revision 20080926
[ 0.020940] ACPI: Checking initramfs for custom DSDT
[ 0.528383] ACPI: bus type pci registered
[ 0.529357] ACPI: EC: Look up EC in DSDT
[ 0.539115] ACPI: Interpreter enabled
[ 0.539123] ACPI: (supports S0 S3 S4 S5)
[ 0.539147] ACPI: Using IOAPIC for interrupt routing
[ 0.546137] ACPI: No dock devices found.
[ 0.546154] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.547314] pci 0000:00:1f.0: quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
[ 0.548422] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.548784] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX0._PRT]
[ 0.548913] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX4._PRT]
[ 0.549040] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX5._PRT]
[ 0.549161] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
[ 0.571062] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 12 14 *15)
[ 0.571209] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[ 0.571353] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 0.571497] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 0.571641] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 0.571786] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 *6 7 9 10 11 12 14 15)
[ 0.571928] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 11 12 *14 15)
[ 0.572077] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 0.572254] ACPI: WMI: Mapper loaded
[ 0.572319] PCI: Using ACPI for IRQ routing
[ 0.592037] pnp: PnP ACPI init
[ 0.592053] ACPI: bus type pnp registered
[ 0.596017] pnp: PnP ACPI: found 14 devices
[ 0.596020] ACPI: ACPI bus type pnp unregistered
[ 0.596025] PnPBIOS: Disabled by ACPI PNP
[ 1.439004] ACPI: Power Button (FF) [PWRF]
[ 1.439059] ACPI: Power Button (CM) [PWRB]
[ 1.439561] ACPI: SSDT BF5E8A00, 022A (r1 PmRef Cpu0Ist 3000 INTL 20040311)
[ 1.439884] processor ACPI_CPU:00: registered as cooling_device0
[ 1.439889] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 1.440105] ACPI: SSDT BF5E8EC0, 0152 (r1 PmRef Cpu1Ist 3000 INTL 20040311)
[ 1.440408] processor ACPI_CPU:01: registered as cooling_device1
[ 1.440413] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 101.579957] parport_pc 00:09: reported by Plug and Play ACPI
[/codebox]

take a look at ACPI: SSDT BF5E8A00, 022A (r1 PmRef Cpu0Ist 3000 INTL 20040311) and ACPI: SSDT BF5E8EC0, 0152 (r1 PmRef Cpu1Ist 3000 INTL 20040311) (maybe you will get more ssdt entries),

download ACPIDUMP and still in the terminal type

acpidump -a 0xBF5E8A00 -l 0x022a > cpu0ist (repeat this for all the ssdt entries)
acpidump -a 0xBF5E8EC0 -l 0x0152 > cpu1ist
now use iasl to decompile all the files dumped with acpidump (iasl -d cpu0ist etc...) and you will get the .dsl files

i.e.
[codebox]/*
* Intel ACPI Component Architecture
* AML Disassembler version 20081031
*
* Disassembly of cpu0ist, Sat Jun 6 00:22:32 2009
*
*
* Original Table Header:
* Signature "SSDT"
* Length 0x0000022A (554)
* Revision 0x01
* Checksum 0x81
* OEM ID "PmRef"
* OEM Table ID "Cpu0Ist"
* OEM Revision 0x00003000 (12288)
* Compiler ID "INTL"
* Compiler Version 0x20040311 (537133841)
*/
DefinitionBlock ("cpu0ist.aml", "SSDT", 1, "PmRef", "Cpu0Ist", 0x00003000)
{
External (CFGD)
External (\_PR_.CPU0, DeviceObj)

Scope (\_PR.CPU0)
{
Method (_PPC, 0, NotSerialized)
{
Return (0x00)
}

Method (_PCT, 0, NotSerialized)
{
If (LEqual (And (CFGD, 0x00060000), 0x00020000))
{
Return (Package (0x02)
{
ResourceTemplate ()
{
Register (SystemIO,
0x10, // Bit Width
0x00, // Bit Offset
0x0000000000000880, // Address
,)
},

ResourceTemplate ()
{
Register (SystemIO,
0x10, // Bit Width
0x00, // Bit Offset
0x0000000000000882, // Address
,)
}
})
}

If (LEqual (And (CFGD, 0x00060000), 0x00040000))
{
Return (Package (0x02)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
},

ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
}
})
}

If (LOr (And (CFGD, 0x4000), And (CFGD, 0x00010000)))
{
Return (Package (0x02)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
},

ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
}
})
}

Return (Package (0x02)
{
ResourceTemplate ()
{
Register (SystemIO,
0x10, // Bit Width
0x00, // Bit Offset
0x0000000000000880, // Address
,)
},

ResourceTemplate ()
{
Register (SystemIO,
0x10, // Bit Width
0x00, // Bit Offset
0x0000000000000882, // Address
,)
}
})
}

Method (_PSS, 0, NotSerialized)
{
If (LEqual (And (CFGD, 0x00060000), 0x00020000))
{
Return (SPSS)
}

If (LEqual (And (CFGD, 0x00060000), 0x00040000))
{
Return (NPSS)
}

If (LOr (And (CFGD, 0x4000), And (CFGD, 0x00010000)))
{
Return (NPSS)
}

Return (SPSS)
}

Name (SPSS, Package (0x02)
{
Package (0x06)
{
0x00000640,
0x000157C0,
0x000000A0,
0x0000000A,
0x00000036,
0x00000000
},

Package (0x06)
{
0x000004B0,
0x000109A0,
0x000000A0,
0x0000000A,
0x00000136,
0x00000001
}
})
Name (NPSS, Package (0x02)
{
Package (0x06)
{
0x00000640,
0x000157C0,
0x0000000A,
0x0000000A,
0x00000823,
0x00000823
},

Package (0x06)
{
0x000004B0,
0x000109A0,
0x0000000A,
0x0000000A,
0x0000061D,
0x0000061D
}
})
}
}

[/codebox]

#75
eberts

eberts

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 138 posts
Hi roisoft,
how or where do you inject those ssdt dumps into dsdt? Is it even possible with the original chameleon 2 ?
And what about those external stuff?
DefinitionBlock ("SSDT/cst1.aml", "SSDT", 1, "AMI", "CPU1PM", 0x00000001)
{
	External (NCPU)
	External (CFGD)
	External (TYPE)
	External (\_PR_.CPU1, DeviceObj)

thx

#76
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
roisoft,

Tried both Mandriva and KUbuntu live CD's (posting this from Konqueror). dmesg |grep ACPI gives no output. dmesg itself does but there is no ACPI parts to it. Any other ideas?

If I use the script from this post - http://www.insanelym...howtopic=145792 - I get one SSDT.dsl which I've attached. I'll study it but the structure isn't what I would expect from the ACPI documents for PStates.



Thanks,
SMF

Attached Files



#77
mimayin

mimayin

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
modified dsdt made no difference to my sleep problem. Machine goes to sleep but fails to wake, i get a black screen for 10-20 seconds then it reboots. Foxconn Blackops X48 with ICH9R. Any advice much appreciated.. i followed the tutorial to the letter.

#78
zhell

zhell

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 125 posts
  • Gender:Male

modified dsdt made no difference to my sleep problem. Machine goes to sleep but fails to wake, i get a black screen for 10-20 seconds then it reboots. Foxconn Blackops X48 with ICH9R. Any advice much appreciated.. i followed the tutorial to the letter.

Check system.log

#79
rcfa

rcfa

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts

Check system.log


We really need some nvram emulation that writes to a reserved area on disk, or something like that.
I have similar issues where the computer sometimes either crashes or doesn't wake up from sleep after a long period of inactivity even though it's set to never sleep (never happens if I put the computer manually to sleep), but there's nothing in the system log, and the panic.log never gets written, because what apple seems to do is to save the panic log in nvram, and then writes it to disk upon the next reboot (or something like that).
So in essence, I have no idea how to even begin figuring out why it does what it does. I'm now forced to put the system to sleep manually when I leave it unattended for a while, instead of just leaving it running, which is a bit annoying, partcularly when you want to keep things like VoIP clients open.

#80
zhell

zhell

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 125 posts
  • Gender:Male

We really need some nvram emulation that writes to a reserved area on disk, or something like that.
I have similar issues where the computer sometimes either crashes or doesn't wake up from sleep after a long period of inactivity even though it's set to never sleep (never happens if I put the computer manually to sleep), but there's nothing in the system log, and the panic.log never gets written, because what apple seems to do is to save the panic log in nvram, and then writes it to disk upon the next reboot (or something like that).
So in essence, I have no idea how to even begin figuring out why it does what it does. I'm now forced to put the system to sleep manually when I leave it unattended for a while, instead of just leaving it running, which is a bit annoying, partcularly when you want to keep things like VoIP clients open.

If you open an AFP connection or run Parallels, it will write some stuff into the system.log before going to sleep.
Or for something more fancy use Sleep Watcher from here: http://www.bernhard-baehr.de/
To prevent sleep on idle altogether, I could offer you my DVD burner, which prevents it reliably. Or you can get Jiggler, which just moves the mouse every now and then http://www.versiontr...fo/macosx/20791





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy