This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Dm368 Serial Port



I am trying to access the serial port on the DM368 card from my software. If I type "ps w" I get a process "/sbin/getty 38400 tty1". I assume this is the RS232 connector on the board. If I try to kill the process it always comes back. (I am logged on via ethernet telnet).  There is supposedly another serial port on the card but I cannot find out anything about it except the schematic shows it connected to some kind of multiplexor.

I can open a connection in the software only to ttyS1. But ttyS0, tty0, tty1 all hang when I try to open a connection. If I try to output something to the ttyS0 port I see nothing on the scope.

So my question is - how do I kill the console getty stuff and how do I access this port. Also, if anyone can shed some light on the serial port arrangement on this card and how to set up linux to use them.

 

  • Harold,

    just try editing your "/etc/inittab" file.

    if you want to disable getty, simple comment the lines like the following one:

    S:2345:respawn:/sbin/getty 115200 ttyS1

    putting a '#' at the beginning of the line, then save the file and reboot.

     

    Bye Daniele