Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-11-2003, 01:31 PM   #1
LQ Newbie
Registered: May 2003
Location: Melbourne, Victoria, Australia
Distribution: RH9.0, Fedora Core 1, Fedora Core 2
Posts: 19

Rep: Reputation: 0
Unhappy Reading COM Port Data


I am tring to access my COM port through C. I have a piece of hardware connected to the port that dumps 32 characters on to the port at a time. I want to read this data.
Currently instead of the hardware I am using my mouse which is connected on COM1.
Please suggest.....

Old 06-11-2003, 04:17 PM   #2
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
There's an input library here called libgii that may be useful:

I used it once with a com port remote control:

Last edited by zmedico; 06-11-2003 at 04:24 PM.


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
mysqld running and reading for connections on port 3306, no port 3306 found from scan darkenigmaa Linux - Networking 10 07-13-2016 11:53 AM
Reading USB mouse data spectasaurus Linux - Software 0 12-05-2004 11:00 AM
reading data from a serial port mchitrakar Linux - Networking 3 12-04-2004 01:24 PM
having problems reading data into a C program Hockeyfan Programming 2 05-24-2004 04:51 PM
reading data from a file afrm Programming 2 12-16-2003 07:43 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:35 PM.

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