一、在3554启动的时候 会有两个串口启动 一个是ttyS3 ttyS0 ,在/etc/profile下添加上电自启动的程序时,在开机后会有两个程序在运行 ,由于工作需要,要ttyS3的调试串口功能关掉,但是按照systemctl disable serial-getty@ttyS3.service 这个方法来设置,ttyS3在上电的时候还是会运行 ,那这个有没有解决的办法。
二、如果没有解决的办法,那能不能更改下开机启动的顺序 ,让ttyS3 先运行 , 再 运行ttyS0 .
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
一、在3554启动的时候 会有两个串口启动 一个是ttyS3 ttyS0 ,在/etc/profile下添加上电自启动的程序时,在开机后会有两个程序在运行 ,由于工作需要,要ttyS3的调试串口功能关掉,但是按照systemctl disable serial-getty@ttyS3.service 这个方法来设置,ttyS3在上电的时候还是会运行 ,那这个有没有解决的办法。
二、如果没有解决的办法,那能不能更改下开机启动的顺序 ,让ttyS3 先运行 , 再 运行ttyS0 .