Re: Re: S3 suspend and serial console

Pavel Machek
2005-02-07T14:16:55Z

Hi!

> > 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

Probably noone was yet trying to use serial during suspend....

Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!