SERIAL_IMX in RS485 mode - EOT, read back

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guys,

could you, please, give me also a hint on how to get some information from the serial port driver?

1) Since RS485 is half-duplex, it is necessary to share transmission time with other devices. I think that for reasons of flexibility the preferred solution would be to control that from application, not from the driver. But to do that properly, the information that the TX buffer is empty would be welcome (note: not that TX buffer can accept more bytes, but that there are no more left for sending out). Is it available somewhere already?

2) On half-duplex RS485 bus collisions are possible. A way to detect them could be to listen while transmitting. Here, I think, the preferred way would be to have it done in the driver, which could compare sent and received bytes and have a collision flag somewhere. Is it already implemented, or is there any good place for that? And how do I access that from application?

Best regards,
Adam



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux