LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-28-2006, 04:23 AM   #1
myrmidon
Member
 
Registered: May 2005
Distribution: redhat 9 , fedora 5,6,7,DSL,Debian 3, mandrake 9.2 , knoppix 3.8, red hat 7.3
Posts: 38

Rep: Reputation: 15
lpt + irq


Hi to all.

I'm trying to read IRQ-from the parallel port. Is it possible to do this from c program under linux and how ?

Thx ...
 
Old 03-01-2006, 11:11 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
???

I don't understand what you mean. Could you explain further - or post some pseudo code?

Thanx in advance .. PSM
 
Old 03-02-2006, 05:48 AM   #3
myrmidon
Member
 
Registered: May 2005
Distribution: redhat 9 , fedora 5,6,7,DSL,Debian 3, mandrake 9.2 , knoppix 3.8, red hat 7.3
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by paulsm4
???

I don't understand what you mean. Could you explain further - or post some pseudo code?

Thanx in advance .. PSM

ok i have some c code that spins a stepper motor on parallel port, now i want to execute some other actions when i get an irq from parallel port(the stepper motor reached some end point, and thorough simple switch he send an logical 1, to irq pin of the lpt)
 
  


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
lpt bash command ell Programming 6 01-22-2006 03:43 PM
SCSI Errors when IRQ Shared - How do I not share IRQ MQMan Linux - Hardware 2 01-08-2006 11:42 PM
Programming through lpt Fcm Linux - Software 0 05-13-2005 06:50 PM
Samba LPT printer cb9fl Linux - Networking 1 03-16-2005 12:03 PM
No LPT port for printer!! akudewan Linux - Hardware 2 08-20-2004 12:23 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:36 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