MacBook won't go to sleep

If it's sent to sleep, it will wake up again after a few seconds. This happens with the lid closed too.
D.M. Procida wrote on :

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

Chris Ridd replied on :

On 2007-09-01 09:11:50 +0100, real-not-anti-spam-address@redacted.invalid (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

ray replied on :

D.M. Procida real-not-anti-spam-address@redacted.invalid 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..

Pd replied on :

D.M. Procida real-not-anti-spam-address@redacted.invalid 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

T i m replied on :

On Sat, 1 Sep 2007 09:11:50 +0100, real-not-anti-spam-address@redacted.invalid (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

D.M. Procida replied on :

D.M. Procida real-not-anti-spam-address@redacted.invalid 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

Bonge Boo replied on :

D.M. Procida wrote:

D.M. Procida real-not-anti-spam-address@redacted.invalid 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...

Chris Ridd replied on :

On 2007-09-02 10:40:24 +0100, Bonge Boo bingbong@redacted.invalid said:

D.M. Procida wrote:

D.M. Procida real-not-anti-spam-address@redacted.invalid 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

D.M. Procida replied on :

D.M. Procida real-not-anti-spam-address@redacted.invalid 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

D.M. Procida replied on :

D.M. Procida real-not-anti-spam-address@redacted.invalid 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

D.M. Procida replied on :

Bonge Boo bingbong@redacted.invalid 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

Robert Alcock replied on :

D.M. Procida real-not-anti-spam-address@redacted.invalid wrote:

D.M. Procida real-not-anti-spam-address@redacted.invalid 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

Chris Ridd replied on :

On 2007-09-02 15:32:19 +0100, rob@redacted.invalid (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

D.M. Procida replied on :

Chris Ridd chrisridd@redacted.invalid 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

T i m replied on :

On Sun, 2 Sep 2007 18:00:17 +0100, real-not-anti-spam-address@redacted.invalid (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

Rolly replied on :

On 2007-09-02 14:06:05 +0100, real-not-anti-spam-address@redacted.invalid (D.M. Procida) said:

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

Command-Option-P-R on boot.

Cheers,

R.

D.M. Procida replied on :

Rolly none@redacted.invalid 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

Bonge Boo replied on :

D.M. Procida wrote:

Bonge Boo bingbong@redacted.invalid 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...

D.M. Procida replied on :

Bonge Boo bingbong@redacted.invalid wrote:

By the way, does your address above work?

God no.

How jolly inconvenient. Can you email me pliz?

Daniele

Robert Alcock replied on :

T i m news@redacted.invalid wrote:

On Sun, 2 Sep 2007 18:00:17 +0100, real-not-anti-spam-address@redacted.invalid (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

D.M. Procida replied on :

Robert Alcock rob@redacted.invalid 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

Chris Ridd replied on :

On 2007-09-03 07:29:03 +0100, real-not-anti-spam-address@redacted.invalid (D.M. Procida) said:

Robert Alcock rob@redacted.invalid 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
    
  1. Tell them usenet sent you

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

Cheers,

Chris

stephen replied on :

On Sep 3, 12:11 am, r...@redacted.invalid (Robert Alcock) wrote:

T i m n...@redacted.invalid wrote:

On Sun, 2 Sep 2007 18:00:17 +0100, real-not-anti-spam-addr...@redacted.invalid (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.

Robert Alcock replied on :

stephen m0604955@redacted.invalid wrote:

On Sep 3, 12:11 am, r...@redacted.invalid (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

D.M. Procida replied on :

Robert Alcock rob@redacted.invalid 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