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 04-23-2007, 03:33 PM   #1
LQ Newbie
Registered: Oct 2004
Location: Montreal
Distribution: Ubuntu
Posts: 25

Rep: Reputation: 15
serial port interrupts in user space

Could a user space program be driven by hardware interrupts ? I'm looking of an efficient way to make my program (user space) react to some data written on the serial port by device. Otherwise... I'd maybe have to code my own driver that calls the other process by signals.

This is somewhat related to my previous (resolved) thread but this is another matter...
Old 04-24-2007, 06:38 AM   #2
LQ Newbie
Registered: Nov 2005
Location: Sweden
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
This might get you going

Take a look at the following thread, seems pretty much like the question you are asking.

A simple example of just getting a notice on when new data has arrived.
3.3 Asynchronous Input in

Old 04-24-2007, 09:48 PM   #3
LQ Newbie
Registered: Oct 2004
Location: Montreal
Distribution: Ubuntu
Posts: 25

Original Poster
Rep: Reputation: 15
It seems to be exactly what I was searching for.

Thank you.


interrupts, kernel, space, user

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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Parallel Port & Serial Port device identification helpmeforlinux Linux - Hardware 3 01-02-2007 01:15 AM
single-user mode through serial port? Buurzgoth Linux - Software 5 01-22-2006 04:17 AM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
Need to disable timer or all interrupts from user space G35Coupe Linux - General 0 11-16-2004 12:31 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:34 AM.

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