[maemo-developers] getty over serial is running

From: František Dufka DufkaF at seznam.cz
Date: Thu Apr 19 00:14:52 EEST 2007
>   I heard that with some of the newer versions
> /etc/init.d/ttyusb0 could start getty and the script needs to be updated
> for newer kernel.

Mystery solved. There is clear bug in the script. While the comment above dd talks about reading it writes to /dev/ttyS0 creating 1 byte regular file in /dev.

        #test if we can read ttyS0, we have serial console
        if dd of=/dev/ttyS0 count=1 bs=1 if=/dev/zero ; then

So everybody should have getty running in latest FW.
Or did I change the script while sleeping?


More information about the maemo-developers mailing list