[maemo-developers] getty over serial is running

From: Frantisek Dufka dufkaf at seznam.cz
Date: Wed Apr 18 21:19:06 EEST 2007
Frantisek Dufka wrote:
> Eero Tamminen wrote:
>> Are you building your own kernel which is newer than the one coming
>> with the latest release?    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.

Well, I do have /dev/ttyS0 device file.
dd read test for serial in /etc/init.d/ttyusb0 does not fail
Nokia-N800-10:~# /etc/init.d/ttyusb0 start
1+0 records in
1+0 records out
so the scripts uncomments line
#T0:12345:respawn:/sbin/getty -L ttyS0 115200 vt100
and I see
Nokia-N800-10:~# ps -ef | grep getty
  1550 root        460 S   /sbin/getty -L ttyS0 115200 vt100

Workaround is to comment inittab line with two #'s.

How is this supposed to work in theory?


More information about the maemo-developers mailing list