[915GM] Mouse cursor disappears when laptop lid closed

Bug #552058 reported by omanni
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

when closing laptop lid and reopening it the mouse cursor disappears.
happens with lucid beta 1. cursor can be made visual again pressing Fn+F7 (ibm thinkpad x41).

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03)
     Subsystem: IBM Device [1014:0575]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03)
     Subsystem: IBM Device [1014:0582]

Tags: hardy lucid
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi omanni,

Please attach the output of `lspci -vvnn` and `dmesg`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you're using a custom /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
omanni (olli-mannisto) wrote :
Revision history for this message
omanni (olli-mannisto) wrote :
Revision history for this message
omanni (olli-mannisto) wrote :
Revision history for this message
omanni (olli-mannisto) wrote :
Revision history for this message
omanni (olli-mannisto) wrote :

i'm not using custom /etc/X11/xorg.conf

Bryce Harrington (bryce)
tags: removed: needs-xorglog
tags: removed: needs-lspci-vvnn
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: lucid
Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
summary: - Mouse cursor disappears when laptop lid closed
+ [915GM] Mouse cursor disappears when laptop lid closed
Revision history for this message
Zapter (sebastian-knitter) wrote :

This bug is still present in the final version of ubuntu 10.04.

Revision history for this message
Zapter (sebastian-knitter) wrote :

oops, additional information: IBM X41tablet, Ubuntu 10.04, same problem as described above

Revision history for this message
cmcanulty (cmcanulty) wrote :

Same issue Gateway laptop, only restart cures it

Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
Robb Topolski (funchords) wrote :

Confirming on my IBM Thinkpad X41 running 10.4

also seen reported on bug 560804 which is similar or same behavior on Intel Corporation 82852/855GM Integrated Graphics Device

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I am the original bug reporter for 560804 -- a workaround I found while being affected by the bug is below -- perhaps it will be useful to you as well:

Mouse pointer can be made to "reappear" by switching to a TTY session and then back. For example, pressing Ctrl+Alt+F1, then Ctrl+Alt+F7 to switch back.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

Confirmed here.
System: IBM Thinkpad X40
Final 10.04 installation.

Tried the PPA from the Lucid8xx Freezes wiki to no avail. Lspci and Dmesg forthcoming.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :
Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :
Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :
Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

I noticed that syslog, user.log and daemon.log all had relevant entries, so I have attached those.

I'm going to try nuking PulseAudio to see if that helps.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :
Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :
Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

Removing PulseAudio does not help.

This problem is with some acpi helper.
If I execute `sudo service acpid stop` I can close my lid and keep my cursor.

I am investigating this further.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

Forgot to add: SWCursor "true" does not affect the outcome.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

I must have been on a lucky streak with acpid. I had it disabled later, cycled the lid and still lost my cursor.

If you close the lid, bring it back up and are missing your cursor, toggling with the following brings the cursor back inside X:
 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 0
 xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 1

When you close the lid, Xorg kills the keyboard and trackpoint. For some reason it fails to turn it back on when it comes back up.
It may be missing a hotplug event.

Lucid is all udev so I'm not sure how all of that factors in... the debugging continues.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

evtest still dumps data when the cursor is missing, so Xorg is seeing the evdev the whole time.

Revision history for this message
Jodie Cunningham (jodie-cunningham) wrote :

Switching desktops (Ctrl+Alt+LeftArrow,Ctl+Alt+RightArrow) also revives the cursor without changing VTs.

Revision history for this message
cmcanulty (cmcanulty) wrote :

Mine disappears after hibernate and keyboard tricks above don't work but terminal command modprobe psmouse brings it back. Was OK before Lucid install.

Revision history for this message
mike-g2 (mikeg-utk) wrote :

Running lucid on a Thinkpad T60 and encountering this problem after upgrading from 9.10 to 10.04. Haven't tweaked any config files. Fn+7 solves the problem.

Revision history for this message
iluii (fco-calisto) wrote :

happens on my x41 xubuntu 10.04, only fn f7 doesnt work for me, maybe its not mapped, anyway I have to:

sudo /etc/init.d/gdm restart

for it to reappear

Revision history for this message
TF (tftf) wrote :

I was able to get the cursor to show after suspend and optionally eliminate screen graphics tearing on my gateway lt3103u running 10.04 in this manner:

save your work as this will restart X and close all windows, use with caution or you can screw up your X display

ctl alt f6

-start a root shell

sudo bash

service gdm stop

Xorg -configure

note where xorg.conf.new is generated in the information listed

service gdm start

-back to a root shell

sudo bash

cp <path where it was generated>/xorg.conf.new /etc/X11/xorg.conf

gedit /etc/X11/xorg.conf

Add the appropriate Option in the section below:

Example:
Section "Device"
        #text cut for brevity.....................................
        Identifier "Card0"
        Driver "radeon"
        VendorName "ATI Technologies Inc"
        BoardName "RS690M [Radeon X1200 Series]"
        BusID "PCI:1:5:0"

        #Option: You may not need this one if your graphics are fine:
        #This eliminates graphics tearing and jumbling on my gateway lt3103u
        Option "RenderAccel" "False"

        #Option: This allows the cursor to show after suspend
        Option "SWcursor" "True"
EndSection

restart computer

Revision history for this message
bmomjian (bruce-momjian) wrote :

I have developed an automatic fix based on a bug report comment (https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/552246/comments/2). Add this file as /etc/acpi/local/lid.sh.pre --- is basically does Cntrl-Alt-1, Cntrl-Alt-7 when you open the lid and fixes the problem for me:

#!/bin/bash
# TODO: Change the above to /bin/sh

# This file goes into /etc/acpi/local/lid.sh.pre
# fixed cursor restore when lid is opened

# https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/552246/comments/23
chvt 1
chvt 7

Revision history for this message
Chris Wilson (ickle) wrote :

I believe I recognise this kernel bug in cursor misbehaviour across modeset.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.