LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find/mount com ports? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-mount-com-ports-834136/)

bg3075 09-23-2010 09:06 PM

How to find/mount com ports?
 
When trying to run a program, from Gnome terminal, for a device connected to /dev/ttyS0 (COM1), I get a segmentation fault. Can anyone lead me to troubleshooting this problem? I think the terminal may not want to leave the connection open for some reason. Do I first need to mount the device somehow?

bigrigdriver 09-23-2010 10:23 PM

Don't quote me on this, but...

To communicate through a com port such as /dev/ttyS0, you should address the device that uses that port, and not the port itself.

For example, my ethernet card is eth0 which addresses port /dev/ttyS0.

So, try addressing the netcard which uses that com port.

bg3075 09-23-2010 10:28 PM

Yes, I tried that, but not even sure what device it would be referenced by. Is there any way to list the devices present. I imagine I need to mount it first, but a newbie...not sure how to go about it. I looked at /etc/fstab, but still not sure what is device label, and how to mount.


All times are GMT -5. The time now is 10:51 AM.