soft_uart icon indicating copy to clipboard operation
soft_uart copied to clipboard

Readme

Open rin67630 opened this issue 5 years ago • 0 comments

Please correct the Readme, (or correct me if I am wrong).

This serial UART will NOT behave and be detected as a real available serial port. It is listed with ls /dev/tty*, usable with minicom (as Linux pseudo tty ports are) It is NOT listed as an active device by ls /sys/class/tty/tty*

/sys/class/tty/ttyAMA0:
close_delay   custom_divisor  device  iomem_base       io_type  line  power      type     uevent
closing_wait  dev             flags   iomem_reg_shift  irq      port  subsystem  uartclk  xmit_fifo_size

/sys/class/tty/ttyprintk:
dev  power  subsystem  uevent

/sys/class/tty/ttyS0:
close_delay   custom_divisor  device  hci0        iomem_reg_shift  irq   port   subsystem  uartclk  xmit_fifo_size
closing_wait  dev             flags   iomem_base  io_type          line  power  type       uevent

/sys/class/tty/ttySOFT0:
dev  power  subsystem  uevent

It will e.g. NOT work with ser2net and not be found as available ports by many applications detecting active serial ports like the Arduino IDE.

To be working exactly like a hardware-based serial port it should have been listed within ls /sys/class/tty/*/device/driver as having a device driver.

Thank you for considering this subtle difference.

rin67630 avatar Jan 20 '20 10:01 rin67630