LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 08-06-2003, 02:58 AM   #1
The Yeti Lives
LQ Newbie
 
Registered: May 2003
Posts: 13

Rep: Reputation: 0
/dev/parport0 probs


Hey all, trying to use ppdev and /dev/parport0 to send chars out the printer port to a motor for positioning. Pretty sure I have got things right using PPCLAIM and PPWDATA. However, I have a loop that checks whether the port is busy, and if so wait. My program always gets caught in this loop. Looking at dmesg it says
parport0: irq 7 detected
lp0 using parport0 (polling)


does this mean that lp0 is making the port busy so I cannot use it?
How can I make the port not busy so I can send stuff to my motor?
Cheers....
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
accidentally deleted /dev/parport0 ebil Linux - Hardware 5 04-21-2005 07:35 PM
Nothing Prints. Problem with /dev/parport0 VorlonInfoTech Linux - Hardware 3 02-20-2005 01:39 PM
Trying to install dev tools - dependency probs Mutoid Red Hat 1 01-19-2005 04:49 AM
kernel 2.6.0 probs with terms and /dev/ttySx Oxagast Linux - General 3 12-22-2003 03:36 AM
VMware "/dev/parport0" is used by other program alexaltair Linux - Newbie 4 08-04-2003 05:30 PM


All times are GMT -5. The time now is 06:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration