Re: [Xpert]Ati Rage Mobility and X 4.1 won't resume from suspend

2002-01-22 Thread Frank Steiner

OS wrote:
> 
> > > Have you tried 4.x without the chvt hack? X supports APM directly now.
> >
> > Thanks! That's it! I just shut the apmd down and suspended, and it came
> 
> Could you explain exactly how to do this ! I have an ATI Rage Mobility
> chipset, and a C&T 65550 chipset, and have the same problem. I would love to
> know how to fix it but I am not too bright !!!  :-)
 
I think it depends very much on your distribution, because the config file
for the apmd is not always the same. First of all, shutting down the apmd
completely works for testing. This can be done by "/etc/init.d/apmd stop".
If you have an old SuSE version, it can also be /sbin/init.d/apmd or maybe
also /etc/rc.d/apmd.
If that works but you need the apmd for something else (ejecting pcmcia
or stopping sound), search for the apmd config file. On SuSE systems,
this is /etc/rc.config.d/apmd.rc.config. You should be able to figure
it out by listing all files in the apmd package. I don't know how to
do this on debian, but on an rpm-based system to "rpm -ql apmd" and
look for a filename that could be the config file. In this file, you
should find an option like "LEAVE_X_BEFORE_SUSPEND". Setting this to
"no" solves the problem on my system. 
If you have a RedHat system, this posting might also interest you
(the link on the dell site has changed, but searching for "linux and apm"
on the main page will bring you there):

http://groups.google.com/groups?q=apm+X+4+ati+suspend+group:*linux*&hl=en&scoring=r&selm=95up13%245cl3%40news1.lmtas.lmco.com&rnum=1

cu,
Frank
-- 
Dipl.-Inform. Frank Steinermailto:[EMAIL PROTECTED]
Lehrstuhl f. Programmiersprachen   mailto:[EMAIL PROTECTED]
CAU Kiel, Olshausenstraße 40   Phone: +49 431 880-7265, Fax: -7613
D-24098 Kiel, Germany  http://www.informatik.uni-kiel.de/~fst/
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Ati Rage Mobility and X 4.1 won't resume from suspend

2002-01-21 Thread Frank Steiner

Michel Dänzer wrote:
> 
> On Mon, 2002-01-21 at 11:39, Frank Steiner wrote:
> 
> > I just upgraded from XFree 3.3.6 to 4.1 on my laptop which has a
> > Ati Rage Mobility chip. On 3.3.6, suspend and awake worked fine
> > by making the apmd switching to a text console before suspending,
> > using the chvt command in the apmd proxy. I'm working with SuSE
> > which uses a apmd_proxy script which is called from apmd and does
> > all this stuff.
> >
> > Now, with XFree 4.1, it doesn't work anymore.
> 
> Have you tried 4.x without the chvt hack? X supports APM directly now.
 
Thanks! That's it! I just shut the apmd down and suspended, and it came
up properly. Maybe one should include this as a hint in the install
script or in some FAQ of XFree 4.x, because some upgraders from 3.3.6
may run into this...

Thank you very much! It's nice to have that working again :-))
cu,
Frank

-- 
Dipl.-Inform. Frank Steinermailto:[EMAIL PROTECTED]
Lehrstuhl f. Programmiersprachen   mailto:[EMAIL PROTECTED]
CAU Kiel, Olshausenstraße 40   Phone: +49 431 880-7265, Fax: -7613
D-24098 Kiel, Germany  http://www.informatik.uni-kiel.de/~fst/
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Ati Rage Mobility and X 4.1 won't resume from suspend

2002-01-21 Thread Frank Steiner

Jose Fonseca wrote:
> 
> Frank,
> 
> I also have a ATI Rage Mobility in my laptop with XFree 4.1.0 and the
> suspend/awake work properly. The difference is that I have RedHat 7.2
> with Kernel 2.4.x. So the problem could be a side effect of a
> incompatibility of some kind...
 
Allright! Knowing it's not a general X driver problem, I will start
to exchange parts of my system like kernel etc. to see what happens.
Thank you!

Best regards,
Frank

-- 
Dipl.-Inform. Frank Steinermailto:[EMAIL PROTECTED]
Lehrstuhl f. Programmiersprachen   mailto:[EMAIL PROTECTED]
CAU Kiel, Olshausenstraße 40   Phone: +49 431 880-7265, Fax: -7613
D-24098 Kiel, Germany  http://www.informatik.uni-kiel.de/~fst/
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Ati Rage Mobility and X 4.1 won't resume from suspend

2002-01-21 Thread Frank Steiner

Hi,

I just upgraded from XFree 3.3.6 to 4.1 on my laptop which has a
Ati Rage Mobility chip. On 3.3.6, suspend and awake worked fine
by making the apmd switching to a text console before suspending,
using the chvt command in the apmd proxy. I'm working with SuSE
which uses a apmd_proxy script which is called from apmd and does
all this stuff.

Now, with XFree 4.1, it doesn't work anymore. When I try to suspend
from X, the screen seems to switch to a console, because it goes black,
but half a second later it switches back to X and then suspends! Just as
if there was another "chvt 7" called just before the suspension. 
I traced the apmd proxy script to make sure that the "chvt 1" is indeed
executed, but I could not find any hint about another chvt which switches
back to X.

Neither kernel (2.2.19) nor apmd (3.0) have changed, just X, so I guess
it's a problem with X. I've found some messages in newsgroups describing
the same problem, but no solution. I also traced  the xpert and newbie 
list archives back to Jan 2000, but found nothing about this topic
(only recommendations to let apmd switch vt, which my apmd obviously does...)

Does anyone have an idea what to do?
Anything else works just fine with XFree 4.1...

Best regards,
Frank

-- 
Dipl.-Inform. Frank Steinermailto:[EMAIL PROTECTED]
Lehrstuhl f. Programmiersprachen   mailto:[EMAIL PROTECTED]
CAU Kiel, Olshausenstraße 40   Phone: +49 431 880-7265, Fax: -7613
D-24098 Kiel, Germany  http://www.informatik.uni-kiel.de/~fst/
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert