[Dell Latitude D505] Lubuntu suspend via lid close causes freeze

Bug #1254131 reported by kalehrl
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Low
Unassigned

Bug Description

I have a Dell latitude d505 laptop running Lubuntu 13.10. When I close the lid, the screen becomes blank and the mouse cursor freezes and can't be moved. The backlight is still on but the system is completely unresponsive. I can't even ssh into the laptop to shut it down properly but have to pull the plug. I tried changing the options in xfce-power-manager to disable suspend but to no avail. I also tried editing the /etc/systemd/logind.conf but nothing worked.

WORKAROUND: Suspend via logout menu, or keyboard shortcut first, then shut the lid.

---
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDmesg: [ 19.936126] init: plymouth-upstart-bridge main process ended, respawning
DistUpgraded: Fresh install
DistroCodename: trusty
DistroRelease: Ubuntu 14.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Dell Latitude D505 [1028:0163]
   Subsystem: Dell Latitude D505 [1028:0163]
InstallationDate: Installed on 2014-04-17 (2 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
LightdmGreeterLog:
 ** (lightdm-gtk-greeter:2923): WARNING **: Failed to load user image: Failed to open file '/home/kalehrl/.face': No such file or directory
 g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
LightdmGreeterLogOld: ** (lightdm-gtk-greeter:2029): WARNING **: Failed to load user image: Failed to open file '/home/kalehrl/.face': No such file or directory
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Inc. Latitude D505
Package: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
PackageArchitecture: i386
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=bdc1d82e-11a8-4346-9b88-9ad33e86fa9f ro forcepae quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Tags: trusty ubuntu
Uname: Linux 3.13.0-24-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 11/03/2006
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0H2049
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd11/03/2006:svnDellInc.:pnLatitudeD505:pvr:rvnDellInc.:rn0H2049:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D505
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.52-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0-4ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0-4ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Sun Apr 20 18:27:20 2014
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.15.1-0ubuntu2

kalehrl (kalehrl)
tags: added: close d505 dell freeze latitude lid
removed: apport-bug i386
Revision history for this message
kalehrl (kalehrl) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
kalehrl (kalehrl) wrote : ProcEnviron.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : Re: Lubuntu 13.10 lid close freeze

This is the same bug but it was closed with 'won't fix' because that distribution was no longer supported:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/462939

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

This is almost certainly a bios bug.

Revision history for this message
kalehrl (kalehrl) wrote :

I didn't have this bug in previous Lubuntu versions and I haven't upgraded or downgraded my bios.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Poisoned Dragon (poisoneddragon-rol) wrote :

I found that this issue exists with any release that uses Kernel 3.7 or newer. I currently use Kubuntu 12.04 LTS on my Dell Latitude D505, because I am unable to use any newer, supported, release. Quantal works fine, but it is verging on EOL. As an alternative, I can install the linux-generic-lts-quantal package onto my LTS. I have even tested the alpha release of Kubuntu 14.04 and still have issues with the system halting, when the lid is closed.

In short, Kernels 3.2 (Precise) and 3.5 (Quantal) have no hardware issues with the laptop lid switch. Kernel 3.7 (Saucy) and above halt the system when the lid is closed.

Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

Poisoned Dragon, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-intel (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Neil (schneil-2k) wrote :

Dell D505 latitude still crashes in ubuntu 14.04 when I close the lid. Selecting suspend from the menu works fine however.

Revision history for this message
kalehrl (kalehrl) wrote :

I also installed 14.04 and the bug is still there.
I guess devs don't care much about old machines :(

Revision history for this message
kalehrl (kalehrl) wrote : Dependencies.txt

apport information

tags: added: trusty
description: updated
Revision history for this message
kalehrl (kalehrl) wrote : ProcEnviron.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : Re: Lubuntu 13.10 lid close freeze

There seems to be a way to avoid laptop lid freeze.
I'm using Lubuntu 14.04 and it utilises Xfce power manager.
When it is used to monitor power events, lid close always freezes the laptop.
However, when you install acpi-support the freeze no longer happens but the screen remains on when the lid is closed.
If you just want to power off your screen when closed, go to Xfce power manager settings and choose 'nothing' in the 'when laptop lid is closed' field.
If you want your laptop to suspend when the lid is closed, you need to exit Xfce power manager to let acpi-support handle the event.
So the key seems to be to install acpi-support to avoid freeze.
Good luck and please post what power manager you are using.
This bug seems to be related to Xfce power manager rather than xserver-xorg-video-intel

Revision history for this message
kalehrl (kalehrl) wrote :

This is unbelievable!
It no longer works so the freeze is back again.
I didn't change anything, it just worked for some time and now it reverted back to old behaviour.
Go figure!

Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

kalehrl, could you please execute the apport-collect again as it didn't include helpful debugging information, and please ensure you have xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

tags: removed: close d505 dell freeze latitude lid
affects: xserver-xorg-video-intel (Ubuntu) → xorg (Ubuntu)
Changed in xorg (Ubuntu):
status: Expired → Incomplete
tags: removed: apport-collected
description: updated
affects: xorg (Ubuntu) → linux (Ubuntu)
Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

Neil, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
kalehrl (kalehrl) wrote : BootDmesg.txt

apport information

tags: added: apport-collected ubuntu
description: updated
Revision history for this message
kalehrl (kalehrl) wrote : BootLog.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : Dependencies.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : DpkgLog.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : LightdmDisplayLog.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : LightdmLog.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : Lspci.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : ProcEnviron.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : ProcModules.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : UdevDb.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : UdevLog.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : XorgLog.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : XorgLogOld.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : Xrandr.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : xdpyinfo.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : xserver.devices.txt

apport information

Revision history for this message
kalehrl (kalehrl) wrote : Re: Lubuntu 13.10 lid close freeze

If I suspend the laptop using the suspend menu entry or CRTL+ESC button first, wake it up properly and after that close the lid, the hang doesn't happen. That could explain why I thought I had found a workaround before. I must have suspended the laptop using keyboard shortcuts and then the lid close worked fine which led me to believe that I had found the solution to the problem. I have tried many times the procedure before and I'm confident the behaviour is persistent.
Suspend the laptop using suspend menu or keyboard shortcut first - lid close NO freeze no matter how many times afterwards I suspend it and wake it up.
I reboot the laptop and close the lid - freeze occurs.
During these actions Xfce power manager is disabled.

Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

kalehrl, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-3.15-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

description: updated
tags: added: bios-outdated-a17
tags: added: latest-bios-a11
removed: bios-outdated-a17
tags: added: regression-potential
tags: added: needs-upstream-testing
summary: - Lubuntu 13.10 lid close freeze
+ [Dell Latitude D505] Lubuntu suspend via lid close causes freeze
tags: added: bot-stop-nagging
description: updated
Revision history for this message
kalehrl (kalehrl) wrote :

OK, I tested the 3.15.0-031500rc1-generic_3.15.0-031500rc1.201 kernel and I get the same behaviour.
A11 bios is the latest one for my laptop.

tags: added: kernel-bug-exists-upstream-3.15-rc1
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

kalehrl, did this problem not occur in a release prior to Saucy?

Revision history for this message
kalehrl (kalehrl) wrote :

I can't remember really.
I think I ran Lubuntu 11.10 without this problem and then I made a pause and the next version I installed was 13.10.

Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

kalehrl, the next step is to fully commit bisect from 11.10 to 13.10, in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

tags: added: regression-release
removed: regression-potential
Revision history for this message
kalehrl (kalehrl) wrote :

I'm afraid that's way over my head. Furthermore, since I'm not sure when the freeze started to occur, I may as well waste a lot of effort for nothing.
The workaround seems to do its job although I would like to be able to choose whether I want to just turn off screen or suspend the laptop when I close the lid.
Thank you very much for your help.

Revision history for this message
Pavel Selivanov (muiriled) wrote :

Same problem for Dell Inspiron 1525.

I had no such problem in previous ubuntus (13.10, 13.04, 12.10, 12.04 etc).

But after upgrading from 13.10 to 14.04 system just freezes if I close the lid or display turning off due to inactivity timeout. I also had the same problem after wake from suspend, but looks like the latest kernel update fixed this for me. I tried a clean install of 14.04 (using it right now) and it didn't help.

Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

Pavel Selivanov, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Pavel Selivanov (muiriled) wrote :

Hi. I reported my bug here https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1310823

Actually not sure if it's an xorg or kernel bug, so it's for you to decide.

Revision history for this message
Pavel Selivanov (muiriled) wrote :

After updates i got today screen is able to turn off an on by inactivity timeout successfully, without freezing the system.

If the behaviour of lid is to suspend laptop, than closing it suspends successfully. But wakeups from suspend are randomly freezyng the system or not.

If the behaviour of lid is to 'do nothing'- system freezes as soon as lid closes.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers