Re: Re: S3 suspend and serial console

Carl-Daniel Hailfinger
2005-02-07T02:16:03Z

Stefan Seyfried schrieb:
>
> only "> /dev/ttyS0", no echo. This basically does...
>
> open("/dev/tty", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
> fcntl64(1, F_GETFD) = 0
> fcntl64(1, F_DUPFD, 10) = 10
> fcntl64(1, F_GETFD) = 0
> fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
> dup2(3, 1) = 1
> close(3) = 0
>
> so it is pretty equivalent to "echo -n > /dev/ttyS0"

Erm... is it intentional that serial powermanagement code is never
called on entering/leaving S3? When I added debugging statements
to the serial code, this seemed very strange.

Regards,
Carl-Daniel
--