Set 16550A UART Hardware FIFO interrupt level from Linux Userspace

左心房为你撑大大i 提交于 2019-12-06 03:34:16

I think the general solution to this problem is to use setserial to make the uart change modes. For instance with the pericom PI7C9X7958, you have multiple modes of operation such as the "550" and the 950 modes. These correspond to a 16550 or a 16950 standard uart type. Each mode has a certain fifo size associated with it and some other features.

So, if your device supports it you can try

setserial -v /dev/ttyS1 uart 16950

and then to verify

setserial -g /dev/ttyS1 /dev/ttyS1, UART: 16950/954, Port: 0xc800, IRQ: 16

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!