LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2006, 07:41 AM   #1
yugandhar
LQ Newbie
 
Registered: Jun 2006
Posts: 28

Rep: Reputation: 15
Question can i handle interrupts


Hi guys,
I want to write one application which access the device that is interfaced to the parallel port. I want to handle the interrupts generated by that device.
Can i able to handle the interrupts generated by the device in the user mode application or else i have to write a driver for that device.
Can any one answer that applications accessing parallel port handle interrupts generated by the device.I am using Fedora Linux 2.6.9 kernel

Last edited by yugandhar; 06-13-2006 at 07:42 AM.
 
Old 06-13-2006, 08:06 AM   #2
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
I think u can solve it by both the methods. Writing a driver and without writing a driver. Later one I dont know but can help you in former one.
You go thru request_irq, free_irq functions.
Still any doubt get back to me
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interrupts rhcohen Programming 5 12-21-2017 11:25 AM
How to handle interrupts in C swatisameerp Programming 2 01-17-2006 11:37 AM
interrupts registrering sdimag Programming 0 11-02-2004 03:40 AM
howto handle interrupts in linux cheema Programming 3 07-08-2004 01:44 AM
about interrupts eshwar_ind Programming 1 02-25-2004 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:46 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
Open Source Consulting | Domain Registration