TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
Namen der seriellen Schnittstellen …

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> eSOM/2x86
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 26.10.2010, 15:03    Post subject: Namen der seriellen Schnittstellen … Reply with quote

Hallo Form.

Hin und wieder wird unser Support gefragt, wie man die Namen der seriellen Schnittstellen eines Linux-Systems feststellen kann. Durch die Eingabe

Code:
dmesg | grep tty


erhält man auf dem eSOM/2586 die Ausgaben:

Code:
Kernel command line: root=/dev/sda5 ro console=ttyS0,115200 pnpbios=off acpi=off
 rootdelay=6 ssvinit BOOT_IMAGE=bzImage
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A


Darin sind ttyS0 (COM1), ttyS1 (COM2) und ttyS2 (COM3) die gesuchten Namen. Mit

Code:
echo hello world > /dev/ttyS1


kann man dann zum Beispiel „hello world“ über COM2 an eine externe Einheit ausgeben.

Gruß

KDW
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> eSOM/2x86 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015