LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 09:06 PM   #1
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Rep: Reputation: 15
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?

Last edited by bg3075; 09-23-2010 at 10:04 PM.
 
Old 09-23-2010, 10:23 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
Old 09-23-2010, 10:28 PM   #3
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration