LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-19-2011, 12:35 AM   #1
shankar.489
Member
 
Registered: Jan 2011
Posts: 53

Rep: Reputation: 0
Lightbulb Configuring serial port


Hi folks,

iam trying to configure my serial port to look back mode programmatically can anybody please let me know how i can achive this.

Modem Control Register (MCR) of serial port
Bit Notes
Bit 7 Reserved
Bit 6 Reserved
Bit 5 Autoflow Control Enabled (16750 only)
Bit 4 LoopBack Mode
Bit 3 Aux Output 2
Bit 2 Aux Output 1
Bit 1 Force Request to Send
Bit 0 Force Data Terminal Ready

i want to set bit 4 of mcr register how can i achive this programatically is there any syscalls/Apis avilable? or do i need go kernel programing?

if you have any information regarding please let me know
or
if you have serial port loop back test working code please share with me iam in urgent need

thanks for your help in adv

regards
shankar.
 
Old 08-20-2011, 05:53 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
There seems to be a discussion here. Unfortunately, you will find it difficult to read as the OP (you) has not used code tags, and has tried to make some of the text invisible.

Maybe they didn't want a helpful answer.
 
  


Reply



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
Configuring a USB to Serial Cable to connect to a console port on a HP Procurve jamtech Linux - Networking 3 01-22-2008 07:30 AM
Configuring Serial Port dwhitney67 Linux - Software 2 10-10-2007 07:34 AM
Trouble configuring pci serial port in fedora core5 karnati Linux - Hardware 4 12-18-2006 11:22 PM
Problem in Configuring Serial Port based UPS on Linux AS 4 nadravian Linux - Hardware 0 06-08-2006 12:03 AM
Help configuring serial port and Internet budelak Linux - Networking 1 10-13-2004 06:03 AM

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

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

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
Open Source Consulting | Domain Registration