Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40168 - [linux] Dell lattitude D500 hangs on lid close

Attached to Project: Arch Linux
Opened by Martin Baselier (martinbaselier) - Thursday, 01 May 2014, 02:10 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 13 August 2014, 07:24 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
On my Dell lattitude D500, when acpi is on, laptop screen goes off when closing lid and doesn't turn on again.
If i915 is loaded system hangs completely.
If X has been started, the screen goes on again,
but it stays black and you only see a cursor (which won't move).

Without acpi the laptop screen is turned off until opening the lid.
Then the screen is turned on again.
I presume it's only the backlight that is turned off, but I can't see.

Additional info:
* package version(s)
3.14.1-1-ARCH #1 SMP PREEMPT i686 GNU/Linux

* config and/or log files etc.
output of dmesg when lid is pressed and system doesn't hang.
[ 400.656028] ACPI: \_SB_.PCI0: ACPI_NOTIFY_BUS_CHECK event

lspci:
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:01.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
01:03.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 81)

lspci -s 00:02.0 -v
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Latitude D500
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Memory at faf80000 (32-bit, non-prefetchable) [size=512K]
I/O ports at c000 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

Similar issues:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/462939
https://bbs.archlinux.org/viewtopic.php?id=86637

Steps to reproduce:
this is what I've done:
-made a list of all loaded kernel modules (with lsmod and sed)
-turned off ACPI in bootloader and rebooted.
-emulated closing the lid (pushed the little button that the lid pushes on when closed)
-made a second list and used diff to see which modules were loaded with acpi.
-blacklisted these modules, turned acpi on and rebooted
(instead of blacklisting I actually did "install modulename /bin/false" for all modules)
-emulated closing the lid (here I had no display anymore)
-redirected dmesg to a file and rebooted using keyboard
-moved the blacklist file from /etc/modprobe.d to my homedir
-disabled only i915, rebooted, tested again with same results
-enabled i915 on next reboot and system hung.
-to be completely sure, I entered "sleep 5; reboot" before closing the lid. Nothing happened and I had to keep the powerbutton pressed for 5 seconds to turn the laptop off. There were also no signs of kernel panic (the leds weren't flashing)

history:
This is a recent install of Arch. I've had Debian Wheezy on it for a month, which I then converted to Crunchbang. There I did not have this particular problem. But the xorg driver did not have direct rendering. I don't know if ACPI was on (it had the standard setting).
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 13 August 2014, 07:24 GMT
Reason for closing:  Upstream
Comment by Martin Baselier (martinbaselier) - Friday, 02 May 2014, 17:19 GMT
If the i915 module hasn't been loaded (and acpi is on), the display can be turned on again with "vbetool dpms on"

Loading...