Change Linux Uart driver

I want to change the UART driver of my kernel (2.6.32). I am using the standard uart driver for ttyS2. I do not know the exact files. The problem is simple: setting and maintaining the gpio peak during transmission and when receiving it should be low.

Which files should I access? And any ideas about gpio s bitbing from the uart driver are welcome ...

Sincerely.

+3
source share
1 answer
  • Try to understand how Linux Serial Driver Layers work .
  • Determine which serial chip (driver) your device uses.
  • Hack the beat of the GPIO into a driver with a low level of leverage.

OR

, GPIO. UART RS485, RTS , → . , rs232, .

+1

Source: https://habr.com/ru/post/1794252/


All Articles