pm-suspend on Dell Latitude D600

linux-desktops at epperson.homelinux.net linux-desktops at epperson.homelinux.net
Mon Jul 30 17:52:11 PDT 2007


On Fri, July 27, 2007 22:19, linux-desktops at epperson.homelinux.net wrote:
> On Sat, July 7, 2007 19:07, linux-desktops at epperson.homelinux.net wrote:
>> On Sat, July 7, 2007 06:06, Richard Hughes wrote:
>>> On Thu, 2007-06-07 at 18:58 -0400,
>>> linux-desktops at epperson.homelinux.net wrote:
>>>> Ok, I'm getting there with Fedora 7 and pm-suspend on this Dell
>>>> Latitude D600.  The backlight wasn't coming back on, but the
>>>> power_management.quirk.radeon_off quirk seems to fix that.  Patch
>>>> for 20-video-quirk-pm-dell.fdi was:
>>> Could you generate the patch with diff -urNp old new or use the
similar
>>> instructions at
>>> http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-report.h
>>>  tml
>> Here it is.  That's easy, installing git to generate a simple diff
>> isn't. I'm surprised I still could find the old one after a month. I've
>>  given up on pm-suspend on this unit:  it _always_ loses the Bluetooth
>>  mouse on resume, sometimes the Bluetooth card itself (so can't
>> manually reconnect). Hope the patch helps someone else. ---
>> 20-video-quirk-pm-dell.fdi  2007-05-17 11:30:37.000000000 -0400 +++
>> /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
>>  2007-06-07 18:37:23.000000000 -0400 @@ -27,6 +27,7 @@ <merge
>> key="power_management.quirk.vbe_post" type="bool">true</merge> <merge
>> key="power_management.quirk.vbestate_restore" type="bool">true</merge>
>>  <merge key="power_management.quirk.no_fb" type="bool">true</merge> +
>> <merge key="power_management.quirk.radeon_off" type="bool">true</merge>
>>  </match> </match> <match key="system.hardware.product"
>> prefix="Inspiron">
>
> I'm really getting confused here.  I think I figured out how to get the
> bluetooth mouse to come back up, but now find that radeontool and
vbetool
> are no longer present on the system.  It looks like they should be part
of
> my pm-utils package, but they aren't there.  And yum info pm-utils is
> turning up info for pm-utils-0.99.3-6.fc7 once for installed, three
times
> for fedora repo, with three different package sizes.  What's going on?
>

Richard,

Just found the post below and manually applied your patch to my 20video
after getting radeontool and vbetool source and building the tools.  Now
pm-suspend works like a charm--as long as I don't dock the D600 during
suspend (I use the dock only for recharging).

Had to install
libpciaccess.i386 0.8-0.1.20070530git.fc7
libpciaccess-devel.i386 0.8-0.1.20070530git.fc7
pciutils-devel.i386 2.2.4-3.fc7
to get everything vbetool wanted, and also hacked the Makefile to add
"-lz" to the empty "LDFLAGS =" assignment.  They apparently expect static
libpci.a, and it's dynamic in the Fedora 7 pci-utils package.  Also needed
exec_dir=/usr to get it to find pci.h.

Sorry for the long message, but it's a disjointed thread, and I wanted to
try to include enough for someone to make sense of what had to be done to
get pm-suspend working on a Latitude D600 in Fedora 7.

Still a mystery why radeontool and vbetool aren't in the Fedora 7 pm-utils
package.  I hope the packaging gets straightened out.  I'm an RHCT with a
BS in IS and 25 years as an SE/admin, and I barely had the skills and
patience to work it out, pretty much on my own.  Joe Starbucks is unlikely
to start using Linux if he can't close his laptop and have it wake back
up.

regards,
j.

Re: [Pm-utils] radeontool turns off backlight but pm-suspend doesn't

Richard Hughes
Tue, 05 Jun 2007 00:42:02 -0700

On Mon, 2007-06-04 at 18:11 -0400, Milos Popovic wrote:
>
> On the other hand, "radeontool light off" does turn off the backlight.
>
> Is this supposed to be so?  (i.e. should pm-suspend be able to turn
> off the ATI Radeon Mobility 7500's backlight, or am I supposed to make
> a script with radeontool called before and after suspend?)

I've just fixed a bug where the call to radeon tool was missing. The
patch is attached, although I committed this yesterday.

Peter, could we roll a new release please?

Thanks.

Richard.


? .autobuild
Index: pm/hooks/20video
===================================================================
RCS file: /cvs/pm-utils/pm-utils/pm/hooks/20video,v
retrieving revision 1.11
diff -u -r1.11 20video
--- pm/hooks/20video	6 Mar 2007 19:55:31 -0000	1.11
+++ pm/hooks/20video	3 Jun 2007 17:18:28 -0000
@@ -42,6 +42,10 @@
 	fi

 	# We might need to do one or many of these quirks
+	if [ "${DISPLAY_QUIRK_RADEON_OFF}" == "true" ]; then
+		radeon dac off
+		radeon light off
+	fi
 	if [ "${DISPLAY_QUIRK_VBESTATE_RESTORE}" == "true" ]; then
 		vbe vbestate save > /var/run/vbestate
 	fi



More information about the hal mailing list