The conversation on this page has been archived and is no longer active.

MacBook won't go to sleep

Message #1 - Posted 2007/09/01 - D.M. Procida

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

Daniele

Message #2 - Posted 2007/09/01 - Chris Ridd

On 2007-09-01 09:11:50 +0100, D.M. Procida said:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

Does the console/system log say anything when the machine sleeps/wakes?

Cheers,

Chris

Message #3 - Posted 2007/09/01 - ray

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

Is there anything plugged into any ports, usb,firewire? Network activity?

The road outside our house had a bump in it and occasionally the house would shake a bit if an HGV went over it. This would wake the Powerbook sitting on my desk.
I'm not suggesting it's in any way related to the road outside our house and anyway they resurfaced the road........

sorry just drifted away there..

to email me please go here
http://www.dream-weaver.com/email.html iChat AV datasmog7

Message #4 - Posted 2007/09/01 - Pd

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

There are some interesting points about waking from sleep here:

<http://www.macworld.com/weblogs/macosxhints/2007/02/nowakelid>

Pd

Message #5 - Posted 2007/09/01 - T i m

On Sat, 1 Sep 2007 09:11:50 +0100, D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

Or it's frightened of the dark. Can he/her leave a light on in the room?

All the best ..

T i m

Message #6 - Posted 2007/09/02 - D.M. Procida

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

I've had him send me the output from system.log. It includes:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

Here's the full log output:

===== Sunday, September 2, 2007 11:11:15 AM Europe/Madrid ===== Sep 2 11:11:52 robert-alcocks-computer kernel[0]: hibernate image path: /var/vm/sleepimage
Sep 2 11:11:52 robert-alcocks-computer kernel[0]: sizeof(IOHibernateImageHeader) == 512
Sep 2 11:11:52 robert-alcocks-computer kernel[0]: Opened file /var/vm/sleepimage, size 1073741824, partition base 0xc805000, maxio 400000
Sep 2 11:11:52 robert-alcocks-computer kernel[0]: hibernate image major 14, minor 2, blocksize 512, pollers 3
Sep 2 11:11:52 robert-alcocks-computer kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
Sep 2 11:11:53 robert-alcocks-computer launchd: Server 0 in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[90]: exited abnormally: Hangup Sep 2 11:11:53 robert-alcocks-computer configd[38]: posting notification com.apple.system.config.network_change
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: System SafeSleep Sep 2 11:12:00 robert-alcocks-computer kernel[0]: hibernate_page_list_setall start
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: hibernate_page_list_setall time: 91 ms
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: pages 156104, wire 43679, act 12174, inact 21840, zf 11859, could discard act 27462 inact 39090
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: hibernate_page_list_setall found pageCount 156104
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: IOHibernatePollerOpen(0)
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: writing 155483 pages Sep 2 11:12:00 robert-alcocks-computer kernel[0]: image1Size 59776512 Sep 2 11:12:00 robert-alcocks-computer kernel[0]: all time: 4074 ms, comp time: 611 ms, deco time: 0 ms,
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: image 149836800, uncompressed 364261376 (88931), compressed 147642500 (40%), sum1 256dc5be, sum2 4642d9c5
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: hibernate_write_image done(0)
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: sleep
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
Sep 2 11:12:00 robert-alcocks-computer kernel[0]: Started CPU 01 Sep 2 11:12:00 robert-alcocks-computer kernel[0]: System Wake Sep 2 11:12:00 robert-alcocks-computer kernel[0]: IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)
Sep 2 11:12:06 robert-alcocks-computer lookupd[251]: lookupd (version 369.6) starting - Sun Sep 2 11:12:06 2007
Sep 2 11:12:08 robert-alcocks-computer launchd: Server 615b in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[251]: exited abnormally: Hangup
Sep 2 11:12:08 robert-alcocks-computer configd[38]: posting notification com.apple.system.config.network_change
Sep 2 11:12:08 robert-alcocks-computer lookupd[253]: lookupd (version 369.6) starting - Sun Sep 2 11:12:08 2007
Sep 2 11:12:10 robert-alcocks-computer mDNSResponder: Repeated transitions for interface en1 (192.168.0.3); delaying packets by 5 seconds

Any further suggestions?

Daniele

Message #7 - Posted 2007/09/02 - Bonge Boo

D.M. Procida wrote:

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

I've had him send me the output from system.log. It includes:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

I've had that all the time when my KVM is plugged in.

Get them to reproduce it with NO external devices plugged in or network interfaces active inc eth,wireless and bluetooth...

Message #8 - Posted 2007/09/02 - Chris Ridd

On 2007-09-02 10:40:24 +0100, Bonge Boo said:

D.M. Procida wrote:

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

I've had him send me the output from system.log. It includes: IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

I've had that all the time when my KVM is plugged in.

Get them to reproduce it with NO external devices plugged in or network interfaces active inc eth,wireless and bluetooth...

That seems like the best plan to me too.

Cheers,

Chris

Message #9 - Posted 2007/09/02 - D.M. Procida

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

I've had him send me the output from system.log. It includes:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

And it happens in Safe Mode too. I think it has to be a hardware issue.

Daniele

Message #10 - Posted 2007/09/02 - D.M. Procida

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

I've had him send me the output from system.log. It includes:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

Oh - and what's the Intel equivalent of an Open Firmware reset?

Daniele

Message #11 - Posted 2007/09/02 - D.M. Procida

Bonge Boo wrote:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

I've had that all the time when my KVM is plugged in.

Get them to reproduce it with NO external devices plugged in or network interfaces active inc eth,wireless and bluetooth...

Nothing's plugged in. I don't think any internal devices except modems and keyboard/trackpad were on USB, were they? Still, I'll get him to try.

My money at the moment is on a USB hardware fault.

By the way, does your address above work?

Daniele

Message #12 - Posted 2007/09/02 - Robert Alcock

D.M. Procida wrote:

D.M. Procida wrote:

A friend has a MacBook. If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.

Any idea what might be causing this?

It sounds to me like some sort of hardware issue.

I've had him send me the output from system.log. It includes:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

Oh - and what's the Intel equivalent of an Open Firmware reset?

Daniele

I'm the owner of the MacBook in question.
The waking seems to be caused by a wake signal from the USB port. It happens in safe mode too, and with is nothing plugged into the ports. It still happens with Airport and Bluetooth switched off, too. I reset the PRAM (startup with alt+command+PR) at Daniele's suggestion, no change.
I'm dreading having to send it for hardware repairs so if anyone can suggest anything I can do to fix this it would be most appreciated.

Thanks!

Robert

Message #13 - Posted 2007/09/02 - Chris Ridd

On 2007-09-02 15:32:19 +0100, Robert Alcock said:

I'm the owner of the MacBook in question. The waking seems to be caused by a wake signal from the USB port. It happens in safe mode too, and with is nothing plugged into the ports. It still happens with Airport and Bluetooth switched off, too.

There's a block diagram of the motherboard at:
<http://developer.apple.com/documentation/HardwareDrivers/Conceptual/MacBook_0705/index.html> and it looks like the kbd/trackpad go through the USB controller, as does Bluetooth, the IR receiver, and the iSight camera.

If the last two are working OK, then I suspect you're going to need the hardware repaired :-(

Does its boot DVD have a "hardware test" boot option? It might be worth running that.

I'm dreading having to send it for hardware repairs so if anyone can suggest anything I can do to fix this it would be most appreciated.

Is it in warranty?

Cheers,

Chris

Message #14 - Posted 2007/09/02 - D.M. Procida

Chris Ridd wrote:

I'm the owner of the MacBook in question. The waking seems to be caused by a wake signal from the USB port. It happens in safe mode too, and with is nothing plugged into the ports. It still happens with Airport and Bluetooth switched off, too.

There's a block diagram of the motherboard at:
<http://developer.apple.com/documentation/HardwareDrivers/Conceptual/MacBo ok_0705/index.html> and it looks like the kbd/trackpad go through the USB controller, as does Bluetooth, the IR receiver, and the iSight camera.

iSight, I'd forgotten that. Does it happen with iChat/SKype/whatever all turned off?

And the IR receiver - can that be turned off too?

I'm dreading having to send it for hardware repairs so if anyone can suggest anything I can do to fix this it would be most appreciated.

Is it in warranty?

Would taking it to the nearest Apple Store and crying and begging likely produce better (i.e. quicker) results than having the retailer (PC World) take it on?

Daniele

Message #15 - Posted 2007/09/02 - T i m

On Sun, 2 Sep 2007 18:00:17 +0100, D.M. Procida wrote:

Would taking it to the nearest Apple Store and crying and begging likely produce better (i.e. quicker) results than having the retailer (PC World) take it on?

Yes, do you still have the box it came in?

All the best ..

T i m

Message #16 - Posted 2007/09/02 - Rolly

On 2007-09-02 14:06:05 +0100, D.M. Procida said:

Oh - and what's the Intel equivalent of an Open Firmware reset?

Command-Option-P-R on boot.

Cheers,

R.

Message #17 - Posted 2007/09/02 - D.M. Procida

Rolly wrote:

Oh - and what's the Intel equivalent of an Open Firmware reset?

Command-Option-P-R on boot.

So what about all the reset-nvram stuff we used to be able to do in Open Firmware - has that gone?

Daniele

Message #18 - Posted 2007/09/02 - Bonge Boo

D.M. Procida wrote:

Bonge Boo wrote:

IOUSBWorkLoop::closeGate - interrupt Thread being held offUSB caused wake event (EHCI)

He also has some problems with USB - sometimes, devices attached don't show up until after a restart.

I've had that all the time when my KVM is plugged in.

Get them to reproduce it with NO external devices plugged in or network interfaces active inc eth,wireless and bluetooth...

Nothing's plugged in. I don't think any internal devices except modems and keyboard/trackpad were on USB, were they? Still, I'll get him to try.

My money at the moment is on a USB hardware fault.

By the way, does your address above work?

God no...

Message #19 - Posted 2007/09/02 - D.M. Procida

Bonge Boo wrote:

By the way, does your address above work?

God no.

How jolly inconvenient. Can you email me pliz?

Daniele

Message #20 - Posted 2007/09/03 - Robert Alcock

T i m wrote:

On Sun, 2 Sep 2007 18:00:17 +0100, D.M. Procida wrote:

Would taking it to the nearest Apple Store and crying and begging likely produce better (i.e. quicker) results than having the retailer (PC World) take it on?

Yes, do you still have the box it came in?

All the best ..

T i m

Yes, but it's at my house in Spain and I'm in England, where I bought the MacBook. It's still in warranty but I'm very not keen to send it away for repairs.

It looks as if this is an intermittent problem, since after not going to sleep properly for several days, now it's decided to start sleeping again. Knowing that the keyboard is also a USB device, I'm putting my money on a keyboard fault, since that is where 95% of the machine's moving parts are.

In the next couple of days I will try to get to the Apple Store in Birmingham. Any tips on how to get a good result?

Thanks

Robert

Message #21 - Posted 2007/09/03 - D.M. Procida

Robert Alcock wrote:

In the next couple of days I will try to get to the Apple Store in Birmingham. Any tips on how to get a good result?

1. Weep
2. Extremely politely
3. Get any members of your family with you to weep too 4. Be very persistent

Daniele

Message #22 - Posted 2007/09/03 - Chris Ridd

On 2007-09-03 07:29:03 +0100, D.M. Procida said:

Robert Alcock wrote:

In the next couple of days I will try to get to the Apple Store in Birmingham. Any tips on how to get a good result?

1. Weep
2. Extremely politely
3. Get any members of your family with you to weep too 4. Be very persistent

5. Tell them usenet sent you

OK, that /might/ not work. I take it you're going without the MacBook?

Cheers,

Chris

Message #23 - Posted 2007/09/03 - stephen

On Sep 3, 12:11 am, Robert Alcock wrote:

T i m wrote:

On Sun, 2 Sep 2007 18:00:17 +0100, D.M. Procida wrote:

Would taking it to the nearest Apple Store and crying and begging likely produce better (i.e. quicker) results than having the retailer (PC World) take it on?

Yes, do you still have the box it came in?

All the best ..

T i m

Yes, but it's at my house in Spain and I'm in England, where I bought the MacBook. It's still in warranty but I'm very not keen to send it away for repairs.

It looks as if this is an intermittent problem, since after not going to sleep properly for several days, now it's decided to start sleeping again. Knowing that the keyboard is also a USB device, I'm putting my money on a keyboard fault, since that is where 95% of the machine's moving parts are.

In the next couple of days I will try to get to the Apple Store in Birmingham. Any tips on how to get a good result?

Thanks

Robert

You might need to book an appointment using the Apple Support website or over the phone. The Geniuses tend to be busy and often won't talk to you unless you've booked.

Take the box and all other packaging.
Make a full backup before you go.

Message #24 - Posted 2007/09/04 - Robert Alcock

stephen wrote:

On Sep 3, 12:11 am, Robert Alcock wrote:

In the next couple of days I will try to get to the Apple Store in Birmingham. Any tips on how to get a good result?

Thanks

Robert

You might need to book an appointment using the Apple Support website or over the phone. The Geniuses tend to be busy and often won't talk to you unless you've booked.

Take the box and all other packaging.
Make a full backup before you go.

Thanks for the advice - pity I didn't read it till now! I did actually make it to the Apple store today. You're right about needing to book. They _were_ all booked up; only by persistence and (dignified) pleading did I manage to get them to take a look at my machine during a quiet period.

They did all the tests I'd already told them I'd done (some geniuses!) plus a few more, and decided that it was the USB bus that was at fault. They booked it in to do the repair. I didnt need the box or any of my original paperwork, since with the machine's serial number they could already tell when the machine was bought.

They said it would take up to a week, or I could buy a special cover policy "Pro Care" (I thought that was a kind of dog food) for £70 and they'd do it in a couple of hours. I was feeling flush so I decided to take them up on their offer. I hadn't backed up, so they offered to let me take the hard disk out and keep it with me, but I didn't bother since ethey weren't going to touch it anyway.

Machine fixed and back home in time for tea. I was quite impressed. Apple is definitely now one of my favourite evil multinational corporations.

Thanks everyone for your help.

Robert

Message #25 - Posted 2007/09/04 - D.M. Procida

Robert Alcock wrote:

You might need to book an appointment using the Apple Support website or over the phone. The Geniuses tend to be busy and often won't talk to you unless you've booked.

Take the box and all other packaging.
Make a full backup before you go.

Thanks for the advice - pity I didn't read it till now! I did actually make it to the Apple store today. You're right about needing to book. They _were_ all booked up; only by persistence and (dignified) pleading did I manage to get them to take a look at my machine during a quiet period.

You didn't cry?

They did all the tests I'd already told them I'd done (some geniuses!) plus a few more, and decided that it was the USB bus that was at fault. They booked it in to do the repair. I didnt need the box or any of my original paperwork, since with the machine's serial number they could already tell when the machine was bought.

They said it would take up to a week, or I could buy a special cover policy "Pro Care" (I thought that was a kind of dog food) for £70 and they'd do it in a couple of hours.

What is this Pro Care, and how long does it last, and what do you get for it?

Machine fixed and back home in time for tea. I was quite impressed. Apple is definitely now one of my favourite evil multinational corporations.

Shame it cost £70, but two hours on-the-spot repair is pretty impressive.

Daniele

Need Help? Have a Question?

Looking for more help, comments, and answers?

Ask your questions on Ask Different. Ask Different is a community of Apple users ready to help.