[ltp] server layout in X.org - radeon 7500 T41

Konstantin Filtschew linux-thinkpad@linux-thinkpad.org
Sat, 24 Sep 2005 20:46:53 +0200


--=-Vdii32QX9KsTTMx8pjDw
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

hi,

I've sent you the usb step by step solution

What you should try is this(suspend to disk):

www.suspend2.net=20


Suspend to ram(Sleep mode) is also possible, check the

www.thinkwiki.org

there you will find a solution for your problem :)
There are only some modules(like USB), which disturb your system from
resuming of suspend to ram :(
If you unload them before you suspend, everything will be fine, try
this:

###### Begin of the script for suspend to ram #########################


#!/bin/bash

# remove USB for external mouse before sleeping
 if lsmod | grep '^usbhid' >/dev/null ; then
     /sbin/modprobe -r -s usbhid
 fi
 if lsmod | grep '^uhci_hcd' >/dev/null ; then
     /sbin/modprobe -r -s uhci_hcd
 fi
 if lsmod | grep '^ehci_hcd' >/dev/null ; then
     /sbin/modprobe -r -s ehci_hcd
 fi

# Sets the hardware clock, so it's not lost during suspend
hwclock --systohc

# The Suspend
echo mem >  /sys/power/state

# Take the clock under control of the system
hwclock --hctosys


# After resume, bring USB back
if !(lsmod | grep '^ehci_hcd') >/dev/null ; then
    /sbin/modprobe -s ehci_hcd
fi
if !(lsmod | grep '^uhci_hcd') >/dev/null ; then
    /sbin/modprobe -s uhci_hcd
fi
if !(lsmod | grep '^usbhid')   >/dev/null ; then
    /sbin/modprobe -s usbhid
fi

############# end of the script for suspend to ram #####################


Please read thikwiki.org, it'll help you in 95% of your problems


Greetz


Konstantin Filtschew



On Sat, 2005-09-24 at 17:30 +0200, alejo wrote:
> On Sep 24, 2005, at 3:03 PM, Brad Langhorst wrote:
> >
> > See Konstantine Filtschew's response ... but why are you rebooting?
> > I only reboot when I change the kernel (almost).
> >
> > Try telinit 1 followed by telinit 3 instead of reboot.
> >
> > Brad
> >
>=20
>=20
>=20
> Hi brad, i have looked at the BIOS and i have no USB parameter..and =20
> for the question about rebooting...well since this is a laptop and i =20
> often move it from places i think is better for the hardware to be =20
> off than in standby mode...and the sleep option is not able to regain =20
> X when i awake the computer so..i have not many other options than =20
> turnning it off.
>=20
> l will check the telinit trick anyway..thanks.
>=20
> /a
--=20
Building an operation system without source code,
is like buying a  self assemble space shuttle without
instructions.

--=-Vdii32QX9KsTTMx8pjDw
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBDNZ8dxHXMYglFk4ARAnEGAJ9/eIwZ6PJodpbleumiimF8Hwkp5QCbB0KA
IJndSS+7+aAY/HD7q8stuQY=
=uv5C
-----END PGP SIGNATURE-----

--=-Vdii32QX9KsTTMx8pjDw--