disconnect and close serial port from console so I can use it in my application

خرید بک لینک

ubuntu 16.04

I need /dev/ttyS0 (serial port) for use in my application.

command:
~$ dmesg | grep tty

response with:
[ 0.000000] console [tty0] enabled [ 0.691609] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.715333] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A

how do I close the serial port (for current session only is also ok) so I can use it for my own needs?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: disconnect close_wait, نویسنده: استخدام کار بازدید: 471 تاريخ: شنبه 30 مرداد 1395 ساعت: 4:43

صفحه بندی