Re: Re: S3 suspend and serial console

Carl-Daniel Hailfinger
2005-02-07T17:14:57Z

Pavel Machek schrieb:
> Hi!
>
>
>>>>Erm... is it intentional that serial powermanagement code is never
>>>>called on entering/leaving S3? When I added debugging statements
>>
>>>Probably noone was yet trying to use serial during suspend....
>>
>>You mean noone uses the serial console while testing suspend?
>>What is the new way to debug suspend problems not requiring a
>>serial console?
>
> Well, when video works, you debug using video. I used hardware
> debugger, too...

Will there be any patch to actually use the powermanagement code
in the serial core?

Regarding the original problem:
It seems the following call is sufficient to make the console work
again. However, I haven't found a function which would give me
the parameters needed to call ->set_termios.

serial/8250.c: serial8250_set_termios

Do you have any idea how to obtain the termios and tty structures
for a given port, e.g. ttyS0?

Regards,
Carl-Daniel
--