You are not logged in.

#1 2009-11-07 01:47:07

andreamer
Member
Registered: 2009-08-11
Posts: 41

trying to get suspend/resume on laptop. help me patch kernel

Hello, please help me up on this one, I'm rather new to Archlinux (couple months) but i really like it and feel confortable with it.

My problem is this, i have a laptop with an ATI card (ati radeon xpress 200m), which recently was running fine with the catalyst driver on a downgraded system (kernel 2.6.29). After reading about the new radeon driver and KMS support on the new kernel i decided to try it out and update my system.

Almost everything works fine, except suspension and resuming, which is strange since the site http://www.x.org/wiki/RadeonFeature marks suspension support as "done" for my card.

If I undestood right, the issue is related to DRI (which i want to be on) explained in this bug https://bugs.launchpad.net/ubuntu/+sour … mments=all

In that bug, there's a link to a patch that has solved the issue on some machines http://git.kernel.org/?p=linux/kernel/g … 74d1173f23

I've tried to compile the kernel and patch the file rs400.c but i get an error, it seems i dont know how to patch or some change must be done to the patch to work on ARCH.

please help me patch the kernel, i've followed the archwiki without results. i have installed abs and copied the core/kernel26 folder to my home.

How could i successfuly apply the patch to the 2.6.31 kernel?

$ lspci | grep -i vga
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
$ pacman -Q | grep kernel26\
kernel26 2.6.31.5-1
$ pacman -Q | grep video-ati
xf86-video-ati 6.12.99.git20091014-1

I get this error while trying to patch:

$ patch src/linux-2.6.31/drivers/gpu/drm/radeon/rs400.c linux-next.git-ea1495a6274c9542a168337536f8ce74d1173f23.patch
missing header for unified diff at line 1 of patch
patching file src/linux-2.6.31/drivers/gpu/drm/radeon/rs400.c
Hunk #1 FAILED at 418.
1 out of 1 hunk FAILED -- saving rejects to file src/linux-2.6.31/drivers/gpu/drm/radeon/rs400.c.rej

Last edited by andreamer (2009-11-09 01:43:33)

Offline

#2 2009-11-09 01:02:27

andreamer
Member
Registered: 2009-08-11
Posts: 41

Re: trying to get suspend/resume on laptop. help me patch kernel

bump (please help)

Offline

#3 2009-11-09 07:51:26

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: trying to get suspend/resume on laptop. help me patch kernel

You cannot use this patch for 2.6.31 kernels. It is for the upcoming 2.6.32 release. You should wait until 2.6.32 gets released or, if you are the adventurous type of person, use the latest 2.6.32-rc kernel from www.kernel.org. You will have to compile it yourself, though.

Offline

Board footer

Powered by FluxBB