Jump to content

Wake Sleep


uran0s
 Share

12 posts in this topic

Recommended Posts

Boa noite,

 

Até a data, quando carregaba ESC ou outra tecla do keyboard, o mac acordava do sleep instantaneo.

 

Actualmente e não sei porque, ele liga, fico a ver os monitores, mas rato e teclado ficam encravados durante 30s até normalizar.

 

Rato magic mouse

teclado com fio da apple

sistema: lion 64bits

 

há maneira de ver "log" ou assim, o que deixa o mac assim pendurado durante X tempo?

 

Abraço

Link to comment
Share on other sites

olá boa noite

 

já não és um usuário novo, e pelo ke vi no teu post, parece que nunca leste as regras do forum, não dás qualquer informação do teu hardware, que versão do os x estás a correr.

 

por favor vê se atualizas tua assinatura.

 

bom hack

Link to comment
Share on other sites

by issuing a remote wakeup (2)

Nov 15 20:28:04 Nuno-Lima-Mac-Pro kernel[0]: The USB device Apple Keyboard (Port 2 of Hub at 0xfd200000) may have caused a wake by issuing a remote wakeup (3)

Nov 15 20:28:04 Nuno-Lima-Mac-Pro kernel[0]: HID tickle 146 ms

Nov 15 20:28:41 Nuno-Lima-Mac-Pro kernel[0]: nstat_lookup_entry failed: 2

Link to comment
Share on other sites

olá boa noite

 

possivelmente terás de experimentar no dsdt um dos muitos patches para usb, para ver se resolves esse problema .

 

http://olarila.com/forum/viewtopic.php?f=7&t=646

 

bom hack

 

olá boa noite

 

tenta ver também este tópico

 

http://www.insanelymac.com/forum/index.php...t=#entry1754782

 

bom hack

Link to comment
Share on other sites

Vou ler.... thanks

 

 

O estranho é que se criar outro utilizador, e usar o sleep e wake por lá funciona bem, e o dsdt é o mesmo

 

 

 

Eu tinha o mesmo problema, mais resolvi com esta kernel flag darkwake=0

 

Test this:

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>EthernetBuiltIn</key>

<string>Yes</string>

<key>ForceWake</key>

<string>Yes</string>

<key>GenerateCStates</key>

<string>Yes</string>

<key>GeneratePStates</key>

<string>Yes</string>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string>darkwake=0</string>

<key>Quiet Boot</key>

<string>No</string>

<key>Timeout</key>

<string>3</string>

<key>UseKernelCache</key>

<string>Yes</string>

</dict>

</plist>

Link to comment
Share on other sites

exprimentei agora, ainda ficou pior :(

 

 

Nov 15 22:11:34 Nuno-Lima-Mac-Pro kernel[0]: Wake reason: ? (Network)

Nov 15 22:11:34 Nuno-Lima-Mac-Pro kernel[0]: F718x: Fintek: Found unsupported chip ID=0xa5 REVISION=0x13

Nov 15 22:12:21: --- last message repeated 3 times ---

Nov 15 22:12:21 Nuno-Lima-Mac-Pro kernel[0]: [ffffff802140fc00][bNBTrackpadDevice::init][66] init is complete

 

 

Nov 15 22:20:56 Nuno-Lima-Mac-Pro kernel[0]: Wake reason: ? (Network)

Nov 15 22:21:33 Nuno-Lima-Mac-Pro kernel[0]: nstat_lookup_entry failed: 2

Nov 15 22:21:40 Nuno-Lima-Mac-Pro kernel[0]: [ffffff8020402c00][bNBTrackpadDevice::init][66] init is complete

Link to comment
Share on other sites

exprimentei agora, ainda ficou pior :(

 

 

Nov 15 22:11:34 Nuno-Lima-Mac-Pro kernel[0]: Wake reason: ? (Network)

Nov 15 22:11:34 Nuno-Lima-Mac-Pro kernel[0]: F718x: Fintek: Found unsupported chip ID=0xa5 REVISION=0x13

Nov 15 22:12:21: --- last message repeated 3 times ---

Nov 15 22:12:21 Nuno-Lima-Mac-Pro kernel[0]: [ffffff802140fc00][bNBTrackpadDevice::init][66] init is complete

 

 

 

Abra o Terminal i use este comando pmset-g E depois este pmset -g assertions para ver o que prevent teu wake ou sleep , i talves vc tenha que editar o kext BroadcomUSBBluetoothHCIController.kext .

EX:

Osmar:~ osmardallas$ pmset -g

Active Profiles:

AC Power -1*

Currently in use:

hibernatemode 0

displaysleep 5

sleep 0 (imposed by 223, 134) these two process, prevent sleep for me

disksleep 10

powerbutton 1

ttyskeepawake 1

hibernatefile /var/vm/sleepimage

autorestart 1

panicrestart 15

 

Osmar:~ osmardallas$ pmset -g assertions

24/10/11 09:51:54 BRST

Assertion status system-wide:

ChargeInhibit 0

PreventUserIdleDisplaySleep 0

PreventUserIdleSystemSleep 1

NoRealPowerSources_debug 0

CPUBoundAssertion 0

EnableIdleSleep 1

PreventSystemSleep 0

DisableInflow 0

DisableLowPowerBatteryWarnings 0

ExternalMedia 0

 

Listed by owning process: ( these two process prevent sleep )

pid 223: [0x0000012c000000df] PreventUserIdleSystemSleep named: "Nameless (via IOPMAssertionCreate)"

pid 134: [0x0000012c00000086] PreventUserIdleSystemSleep named: "com.apple.audio.'AppleHDAEngineOutput:1B,2,1,3:3'.noidlesleep"

 

Kernel Assertions: 0x0012

* Kernel Assertion ID = 500

Created At = 31/12/69 21:02:42 BRT

Modified At = 24/10/11 07:34:34 BRST

Owner ID = 0xffffff8006d31000

Level = 255

Assertions Set = None (4)

 

* Kernel Assertion ID = 501

Created At = 31/12/69 21:02:50 BRT

Modified At = 24/10/11 07:34:28 BRST

Owner ID = 0xffffff8006d55000

Level = 255

Assertions Set = None (4)

 

* Kernel Assertion ID = 502

Created At = 31/12/69 21:04:35 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff80365f9000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 503

Created At = 31/12/69 21:04:35 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff80365f6000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 504

Created At = 31/12/69 21:04:35 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff80365f3000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 505

Created At = 31/12/69 21:04:46 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff8036626000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 506

Created At = 31/12/69 21:04:47 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff80365fc000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 507

Created At = 31/12/69 21:04:47 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff8036623000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 508

Created At = 31/12/69 21:04:47 BRT

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff8036620000

Level = 0

Assertions Set = None (4)

 

* Kernel Assertion ID = 511

Created At = 24/10/11 08:21:45 BRST

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff8009d59000

Level = 255

Assertions Set = None (8)

 

* Kernel Assertion ID = 512

Created At = 24/10/11 08:06:32 BRST

Modified At = 31/12/69 21:00:00 BRT

Owner ID = 0xffffff80092da600

Level = 255

Assertions Set = None (8)

 

Osmar:~ osmardallas$

Link to comment
Share on other sites

Nuno-Lima-Mac-Pro:~ uran0s$ pmset -g

Active Profiles:

AC Power -1*

Currently in use:

hibernatemode 0

disksleep 10

womp 1

networkoversleep 0

sleep 30

powerbutton 1

ttyskeepawake 1

hibernatefile /var/vm/sleepimage

autorestart 0

panicrestart 157680000

displaysleep 10

 

 

 

Como mudo estes valores?

Link to comment
Share on other sites

Ola,aqui estou em uma situação no minimo estranha,o sleep funciona no menu e não funciona na operação normal,no kernel log eu tenho isso depois de por em repouso pelo menu:

Nov 22 11:31:20 Mac-Pro-de-CrLion kernel[0]: Wake reason: power-button EUSB (User)
Nov 22 11:31:20 Mac-Pro-de-CrLion kernel[0]: No interval found for . Using 8000000
Nov 22 11:31:20 Mac-Pro-de-CrLion kernel[0]: USB (EHCI):Port 2 on bus 0xfd connected or disconnected: portSC(0x301803)
Nov 22 11:31:20 Mac-Pro-de-CrLion kernel[0]: USB (EHCI):Port 3 on bus 0xfd connected or disconnected: portSC(0x101803)
Nov 22 11:31:20 Mac-Pro-de-CrLion kernel[0]: The USB device PSC 2350 series (Port 1 of Hub at 0x3d000000) may have caused a wake by being disconnected
Nov 22 11:31:21 Mac-Pro-de-CrLion kernel[0]: 0		0 AppleUSBCDC: start - initDevice failed
Nov 22 11:31:21 Mac-Pro-de-CrLion kernel[0]: USBMSC Identifier (non-unique): BR57TFP07FKJ 0x3f0 0x4911 0x100
Nov 22 11:31:21 Mac-Pro-de-CrLion kernel[0]: 0		0 AppleUSBCDC: start - initDevice failed
Nov 22 11:31:59 Mac-Pro-de-CrLion kernel[0]: IOSurface: buffer allocation size is zero
Nov 22 11:32:29: --- last message repeated 6 times ---
Nov 22 11:32:33 Mac-Pro-de-CrLion kernel[0]: IOSurface: buffer allocation size is zero
Nov 22 11:33:03: --- last message repeated 3 times ---
Nov 22 11:36:33 Mac-Pro-de-CrLion kernel[0]: IOSurface: buffer allocation size is zero
Nov 22 11:37:03: --- last message repeated 1 time ---

 

Obs:Eu ja tirei o PRW da EUSB e o power-button ja testei com ele ativado e desativado e deu o mesmo resultado.

 

Qualquer ajuda é bem vinda :(

 

Editado:O pb esta nessa linha

Nov 22 11:31:20 Mac-Pro-de-CrLion kernel[0]: The USB device PSC 2350 series (Port 1 of Hub at 0x3d000000) may have caused a wake by being disconnected

 

É o HUB da Webcam.

Status:O sleep só functiona pelo menu :( se alguem estiver usando webcam com hub e tiver o fix sera muito bem vindo

 

Editado:Confirindo melhor o problema verifiquei que não é hub da cam e sim o hub da impressora ,são 4 entradas para cartão e uma usb,vou testar denovo e posto o status aqui.

Link to comment
Share on other sites

 Share

×
×
  • Create New...