Jump to content

sleep doesn't work rather vanilla 9.2.2 or sleep kernel 9.2.2 from kalyway 10.5.2 pack


3 posts in this topic

Recommended Posts

Hi ALL!!!

I've already tried to solve sleep problem about 2 weeks. So now I decided to write here.

I've got the Mobile DualCore Intel Core 2 Duo T5600, 1833 MHz (11 x 167), NVIDIA GeForce Go 7600 (256 Мб), Mobile Intel Calistoga i945PM.

I'm also using the KalyWay 10.5.2. distr. Boot loader is EFI v 8. Partition table is GUID.

I can use both cores with sleep kernel only (vanilla kernel can use one core only =( )

When I'd installing KaliWay 10.5.2. I choose next patches:

- PCGen_USB_Fix

- Francais_pc_keyboard_layout

- TimeMashineFix

 

After installing I have battery sign working fine and if I replace PowerManagement.bundle by PowerManagement_137_1.bundle my battery sign gone.

My AppleACPIPlatform.kext is 1.1.0 version. And it hasn't AppleACPIPowerSource.kext at all.

 

bash-3.2# kextstat | grep ACPI
  18   11 0x1bbc8000 0x4000	 0x3000	 com.apple.iokit.IOACPIFamily (1.2.0) <12>
  19	6 0x1bc16000 0x3d000	0x3c000	com.apple.driver.AppleACPIPlatform (1.1.0) <18 17 12 7 4>
  29	0 0x21190000 0x4000	 0x3000	 com.apple.driver.AppleACPIButtons (1.1.0) <23 19 18 7 6 5 4 2>
  30	0 0x21224000 0x3000	 0x2000	 com.apple.driver.AppleACPIPCI (1.1.0) <19 18 17 12>
  32	0 0x212c2000 0x5000	 0x4000	 com.apple.driver.AppleACPIEC (1.1.0) <31 19 18 12>
  37	0 0x21526000 0x2000	 0x1000	 org.tgwbd.driver.ACPIPS2Nub (1.0.0d1) <19 18 12>
  74	0 0x2d268000 0xc000	 0xb000	 com.apple.driver.ACPI_SMC_PlatformPlugin (3.1.5d3) <73 72 18 17 12 7 6 5 4>
  80	0 0x2d29c000 0x4000	 0x3000	 com.apple.driver.AppleACPIPowerSource (1.0.5) <19 18 12>
  81	0 0x2d2a4000 0x4000	 0x3000	 com.apple.driver.AppleACPIThermal (1.0.5) <19 18 12>

So I done next :

pico  to /System/Library/Extensions/AppleACPIPlatform.kext/Contents/PlugIns/AppleACPIPowerSource.kext/Contents/Info.plist

 

but I saw next:

<key>OSBundleLibraries</key>
	<dict>
			<key>com.apple.driver.AppleACPIPlatform</key>
			<string>1.1.0</string>
			<key>com.apple.iokit.IOACPIFamily</key>
			<string>1.0.0d1</string>
			<key>com.apple.kernel.mach</key>
			<string>1.1</string>
	</dict>

So I didn't change anything.

Then I done :

bash-3.2# pmset -g
Active Profiles:
Battery Power		-1
AC Power		-1*
Currently in use:
sleep		0
displaysleep	0
autorestart	0
hibernatefile	/var/vm/sleepimage

powerbutton	1
womp		1
disksleep	10
ttyskeepawake	1

 

As you can see hibernatemode is mode 0.

If I turn sleep mode a screen is power off, but computer still working.

dmesg command give next:

 

bash-3.2# dmesg
om.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
Loading security extension com.apple.nke.applicationfirewall
Loading security extension com.apple.security.seatbelt
calling mpo_policy_init for mb
Seatbelt MACF policy initialized
Security policy loaded: Seatbelt Policy (mb)
Loading security extension com.apple.security.TMSafetyNet
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 5242 buffer headers and 4096 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S3 S4 S5] (S3)
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
mbinit: done
Security auditing service present
BSM auditing present
From path: "uuid",
Waiting for boot volume with UUID 69FFB56A-280F-3D1F-8718-3BD64D10311A
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.
Starting AppleACPIPS2Nub
Found mouse PNP device
AppleACPIPS2Nub startup complete
USBF:	0.883	Attempting to get EHCI Controller from BIOS
USBF:	0.883	USBLEGCTLSTS value c0002000
USBF:	0.883	Found USBLEGSUP_ID - value 0x1000001 - writing OSOwned
USBF:	0.883	acquireOSOwnership done - value 0x1000001
IOPCCardBridge::checkBridgeBusIDs invalid sub/cardbus/pci settings of 0x0
FireWire (OHCI) TI ID 803a PCI now active, GUID 00080da0d162140b; max speed s400.
Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPIIXATARoot/PRID@0/AppleIntelICHxSATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/HTS541010G9SA00 HTS541010G9SA00/IOGUIDPartitionScheme/Untitled@2
BSD root: disk0s2, major 14, minor 2
Jettisoning kernel linker.
Resetting IOCatalogue.
Matching service count = 3
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
Matching service count = 4
NVDANV40HAL loaded and registered.
ERROR: FireWire unable to determine security-mode; defaulting to full-secure.
ACPI_SMC_CtrlLoop::initCPUCtrlLoop - pmCPUControl (PMIOCSETPSTATETABLE) returned 0xffffffff
IOPanelDevice: Machine Is Laptop!
IOPanelDevice: Registered OK!
ApplePS2Trackpad: Synaptics TouchPad v6.2
Intel82557: Ethernet address 00:a0:d1:62:14:0b
ALCinject: Starting.
ALCinject: Setting built-in=<data not shown>
ALCinject: Setting layout-id=<data not shown>
dsmos: Initializing...
dsmos: Hook and decryption contexts set!
dsmos: Starting...
NVinjectGo: Probing.
NVinjectGo: Setting model=Graphics by NVIDIA
NVinjectGo: Setting @0,device_type=display
NVinjectGo: Setting @1,display-type=LCD
NVinjectGo: Setting @0,compatible=NVDA,NVMac
NVinjectGo: Setting NVCAP=<data not shown>
NVinjectGo: Setting @1,name=NVDA,Display-B
NVinjectGo: Setting device_type=NVDA,GeForce
NVinjectGo: Setting name=NVDA,Parent
NVinjectGo: Setting rom-revision=NVinjectGo 0.2.0
NVinjectGo: Setting @0,name=NVDA,Display-A
NVinjectGo: Setting @1,compatible=NVDA,NVMac
NVinjectGo: Setting @1,device_type=display
NVDA::probe(VGA)
NVDA::start(VGA) <1>
NVDA::start(VGA) <1> failed
System Doze

 

If I replace AppleACPIPlatform.kext version 1.2.1. I become hibernate mode 1 (0 - Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.) when there is power in RAM only.

How can I get real S3 hibernate mode? (1 - Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.)

Command

pmset -a hibernatemode 1

give nothing =\

What I have to do ?

Please Help!

×
×
  • Create New...