Serial port
Dear All,
I have same problem, I have 4 serial ports in the PC, Now we are running our software and using /dev/ttyS0 to read the GPS input. Due to improper earthing i serial port is burnt. Now can i connect the GPS cable to /dev/ttyS1 and redirect that to /dev/ttyS0. IS it possible because, i am using the exe version of the software, it that, they have used /dev/ttyS0 only. Cat the data on /dev/ttyS1, i am receiving the GPS time but i want to redirect that GPS time to /dev/ttyS0. Is it possible? Is there any alternative? Kindly do the needfull Manjunath |
As root:
Code:
cd /dev Alternately you could do this: Code:
cd /dev Code:
cd /dev Be sure your circuits are all properly grounded! Of course, your machine has four UARTS . . . so hey . . . you could make nodes of type c all the way up to minor 67! Good luck! |
Thanks..Will try n get back to you.
Quote:
|
Thanks, Will try this n let back to You
|
Hi ,
I have checked with cd /dev rm ttyS0 ln ttyS1 ttyS0. This is working fine. But the after rebooting the machine it doesn't work...Again we need to same before running the application software... Is there any permanent solution to dis? So tht i can mv or place ttyS1 in place of ttyS0... Manjunath |
The third option that I suggested originally should work as a permanent solution.
|
All times are GMT -5. The time now is 06:05 PM. |