LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-08-2012, 01:47 AM   #1
gitanshu
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.
Gitanshu
 
Old 10-08-2012, 07:56 AM   #2
gitanshu
LQ Newbie
 
Registered: May 2009
Posts: 18

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


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 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


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