Hi, I was trying to identify certainly the true serial port in Linux using a Mini2440. But I have, tty, tty0, tty1,..tty63, and ttySAC0, ttySAC1 and ttySAC2. In the card I can see COM0, CON1, CON2 and CON3. How I can get the correspondance between COM0, CON1, CON2 and CON3 and Logical Ports like tty...? Thank you, Best Regards
How identity, Serial Ports in Linux, Mini2440
"tty<number>" are virtual terminals connected to the screen. "tty<name><number>" are serial units. "SAC" is the name the Samsung UART driver is using. So, the ttySAC0/1/2 are the three supported UARTs on the S3C2440 SoC. And how their device node names correspond to the connetors' names depends on the developer of the Mini2440 schematics. Mostly the 'ttySAC0' corresponds to the first UART in the address space of the SoC. And now it depends on the schematics where the developer has conntected this unit to. So, reading the schematics would be a perfect source to get an idea which device node corresponds to which physical connector.