Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-08-2012, 01:47 AM   #1
LQ Newbie
Registered: May 2009
Posts: 18

Rep: Reputation: 1
Accessing parport device (/dev/parport0) in multiple application

Dear All,

I am trying to open and access /dev/parport0 using open and ioctl calls my program works fine for one application.

But when i run the second instance of same program it blocks in open. even if i use O_RDONLY| O_NONBLOCK | O_NOCTTY flags with open it blocks.

is parallel port acess possible in exclusive mode only.?

Any help is greatly appreciated.

Thanks in advance.
Old 10-08-2012, 07:56 AM   #2
LQ Newbie
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 1
No reply yet. :-(


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
[SOLVED] accessing device driver from C application baraq Linux - Hardware 2 06-15-2011 02:47 AM
error: permission denied on key 'dev.parport.parport0.autoprobe' abhayani Linux - Newbie 0 04-27-2009 01:15 AM
Nothing Prints. Problem with /dev/parport0 VorlonInfoTech Linux - Hardware 3 02-20-2005 01:39 PM
Howto accessing parport0 Li... Debian 1 04-10-2004 02:50 PM
/dev/parport0 probs The Yeti Lives Linux - General 0 08-06-2003 02:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 PM.

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