Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Programming & Scripting > Problem with the serial interface
 Linux Programming & Scripting   C, Perl, PHP, Bash Scripts, anything programming or script related post in here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-20-2006   #1 (permalink)
TrS
Just Joined!
 
Join Date: Jul 2006
Posts: 2
Angry Problem with the serial interface

Hello advanced Linux programmers,

I need a little support.
Because of the needs of a special project, I want to disable the hardware FIFO buffers of the serial interfaces of my target. The result I expect is generation of SIGIO signal on each receved byte. I can not find any possibility to do this. Please, help me if you can...
Thank you in advance!

TrS
TrS is offline  

Reply With Quote
Old 07-21-2006   #2 (permalink)
Linux User
 
Join Date: Aug 2005
Location: Italy
Posts: 401
Send a message via ICQ to burnit
googling on that, I've fuond this resource:

http://www.beyondlogic.org/serial/serial1.htm

It talks about activation about FIFO buffers and interrupt driver I/O... maybe it can help you.
__________________
When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
burnit is offline   Reply With Quote
Old 07-21-2006   #3 (permalink)
TrS
Just Joined!
 
Join Date: Jul 2006
Posts: 2
Thank you Burnit,

This information is really useful if I change the driver of the serial interface, but I prefer to solve my problem from the user level. In any case thank you for the answer.
By the way I will try to ask a more common question. How to control the drivers in RS485 mode (via RTS) signal? This is my main aim. The problem is to find out the exact time when I have to disable the drivers (to clear RTS signal).
This theme is discussed very often on many places, but up to now I can not see a clear answer how it can be done without change of the serial driver. Is it really possible?
TrS is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 08:28 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2