Topic: Black screen and stuck mouse cursor on resume

I'm running the XFCE version of statler on an Asus UL30VT.  I'm using the intel graphics card. My problem is this:

I suspend the laptop using xfce, closing the lid or using the suspend button on the logout dialog.  When I resume, the screen comes up black with a mouse cursor that I can't move. I can switch to another vterm but switching back to the vterm running X yields the same black screen and stuck mouse cursor. At this point I usually just restart GDM.

If I suspend by issuing a pm-suspend command directly, I do not experience this issue.  Is this a HAL bug? I've updated the quirks for my machine in /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi so HAL uses noquirks.   Any clue as to where I should look?

Last edited by mindKMST (2010-05-19 18:19:47)

Re: Black screen and stuck mouse cursor on resume

sounds like you've done quite a bit of troubleshooting... it definitely looks like a suspend related problem. Can you verify if the suspend works perfectly in different distros? Like Ubuntu 9.10 or 10.04?
Or has this been a problem with other distros?

just call me...
~FSM~

Re: Black screen and stuck mouse cursor on resume

I knew that question was coming.  I just booted into Xubuntu 10.04 running on a usb stick. Could not reproduce the problem.  I believe the newer ubuntu versions use upower instead of HAL?

Re: Black screen and stuck mouse cursor on resume

I've induced a new behavior. Now the system comes back up but I need to use the function keys (fn-F7) to disable and re-enable the built-in screen.

Changes I made,
installed acpid (noticed it was installed on xubuntu and not on crunchbang)
Added the entry to hal to disable the suspend quirks

Re: Black screen and stuck mouse cursor on resume

Thats really not a bad setup now then, mindKMST, it just means the computer is forgetting to turn your screen back on.
I'm not sure what more you could do. Barring you finding any specific packages that make a big difference and solve all your problems, you could try using the unstable debian sources instead of 'squeeze' which is what statler uses now (actually 'testing'), these repos might provide you with newer updates which could fix the problem.
goodluck anyways smile

just call me...
~FSM~

Re: Black screen and stuck mouse cursor on resume

Actually, probably not a new behaviour at all.  Probably just didn't try the fn-F7 thing before ( I can roll back my changes) .  Xubuntu 10.04 is on older versions of these packages anyway.  I think it's a configuration problem and not with the pm-suspend scripts. I'm going to comb through their livecd configs a little more.