[ltp] Battery drain during suspend to RAM fixed on R51 too.

Konstantin Filtschew linux-thinkpad@linux-thinkpad.org
Sun, 13 Feb 2005 17:24:13 +0100


--Signature_Sun__13_Feb_2005_17_24_13_+0100_DqlNM3u30E+9MaS0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

hi,

I tried to compile with this patch, but I get errors:

CC      drivers/video/aty/radeon_pm.o
drivers/video/aty/radeon_pm.c:51: error: request for member `matches' in
something not a structure or union drivers/video/aty/radeon_pm.c:51:
error: parse error before '{' token drivers/video/aty/radeon_pm.c:53:
warning: initialization makes pointer from integer without a cast
drivers/video/aty/radeon_pm.c:55: error: parse error before '}' token
drivers/video/aty/radeon_pm.c: In function `radeonfb_pci_resume':
drivers/video/aty/radeon_pm.c:2699: warning: int format, pm_message_t
arg (arg 3) make[3]: *** [drivers/video/aty/radeon_pm.o] Error 1
make[2]: *** [drivers/video/aty] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2


Have you changed other things. I tried to patch a 2.6.11-rc3 kernel with
software suspend 2.1.6. The patched worked fine, but I can't compile it

Greetz

Konstantin



On Sun, 13 Feb 2005
09:13:04 -0500 Pete Toscano <pete-linux-thinkpad@verisignlabs.com>
wrote:

> JP Renaud wrote:
> > (1829-9MG) from 5,294 mW to 828 mW. I used the following in the 05*
radeon=20
> > patch:
> > {
> > +               .ident =3D "IBM ThinkPad R51 (1829-9MG)",
> > +               .matches =3D {
> > +                       DMI_MATCH(DMI_SYS_VENDOR, "IBM"),
> > +                       DMI_MATCH(DMI_PRODUCT_NAME, "18299MG"),
> > +                }
>=20
> I added this to the most recent version of this file that I have.
>=20
> pete
>=20


----------------------------=20
Building an operation system without source code,
is like buying a  self assemble space shuttle without
instructions.

--Signature_Sun__13_Feb_2005_17_24_13_+0100_DqlNM3u30E+9MaS0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCD38wxHXMYglFk4ARApYtAJ9bYbgp+4BStPro2pR1EygZQ27AcgCglZtb
jCiPt8zzn4786yHA+tEWBNo=
=Tf+N
-----END PGP SIGNATURE-----

--Signature_Sun__13_Feb_2005_17_24_13_+0100_DqlNM3u30E+9MaS0--