Bug#302327: Laptop panel's backlight turns on when laptop is docked

Gerardo Ballabio Gerardo Ballabio <g.ballabio@cineca.it>, 302327@bugs.debian.org
Thu, 31 Mar 2005 12:11:57 +0200 (MEST)


--=-sVqvRzRyGymiWE2ak+xK
Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: metacity
Version: 1:2.8.8-1
Severity: normal

When I plug my laptop (Dell Latitude C640, video card Radeon Mobility =20
7500) to its docking station with an external monitor attached, even =20
if I have the "PanelOff" option set in my X config file, the laptop =20
panel's backlight turns on during the Gnome login process. (Without =20
"PanelOff", it turns on as soon as X starts.)

This causes serious heating, especially when the lid is closed (as I =20
normally keep it when docked); it could potentially damage the system =20
in the long run.

I'm not really sure which package exactly is causing that, but I =20
think metacity is the most likely candidate. Indeed, it happens when =20
the Gnome splash screen is displaying "window manager". (I asked for =20
advice on debian-user, but got no useful response.) I guess metacity =20
turns the backlight on when it grabs the X display.

Error messages printed or logged: none that I know of.

How to demonstrate the problem: log into Gnome with laptop docked, =20
external monitor attached.

Expected behavior: panel should stay off.

Observed behavior: at some point in the Gnome login process, while =20
the splash screen is displaying "window manager", the panel's =20
backlight suddenly turns on. However the screen remains blank.

Debian version: 3.1 (Sarge) on i386
Kernel version: 2.6.8-1-686

Hardware: Dell Latitude C640 laptop (with docking station).
Processor: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Video card: ATI Technologies, Inc. Radeon Mobility M7 LW [Radeon =20
Mobility 7500]

/etc/X11/XF86Config-4 attached.

Thank you
  Gerardo Ballabio
--=-sVqvRzRyGymiWE2ak+xK
Content-Type: text/plain; charset=us-ascii; name=XF86Config-4
Content-Disposition: attachment; filename=XF86Config-4
Content-Transfer-Encoding: quoted-printable

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, usin=
g
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *o=
nly*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically update=
d
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/truetype/ttf-bitstream-vera"
	FontPath	"/usr/share/fonts/truetype/latex-xft-fonts"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "ServerFlags"
    Option    "BlankTime"    "10"
    Option    "StandbyTime"    "20"
    Option    "SuspendTime"    "30"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us,it"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection
Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

#Section "InputDevice"
#	Identifier	"Trackpoint"
#	Driver 		"mouse"
#	Option		"Device"		"/dev/input/mouse1"
#	Option		"SendCoreEvents"	"true"
#	Option		"Protocol"		"ImPS/2"
#EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon Mobility M7 LW [Radeon Mobility =
7500]"
	Driver		"ati"
#	Option		"UseFBDev"		"true"
	Option		"AGPFastWrite"		"true"
	Option		"AGPMode"		"4"
#	Option		"DDCMode"		"true"
#	Option		"MonitorLayout"		"LVDS, CRT"
	Option		"CloneMode"		"1280x960"
	Option		"CloneHSync"		"30-82"
	Option		"CloneVRefresh"		"56-76"
	Option		"EnablePageFlip"	"true"
	Option		"PanelOff"		"true"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-60
	VertRefresh	50-75
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Mobility M7 LW [Radeon Mobility 750=
0]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x960" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x960" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x960" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x960" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x960" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x960" "1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
#	InputDevice	"Trackpoint"
EndSection

Section "DRI"
	Mode	0666
EndSection


--=-sVqvRzRyGymiWE2ak+xK--