LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Accessing parport device (/dev/parport0) in multiple application (https://www.linuxquestions.org/questions/linux-software-2/accessing-parport-device-dev-parport0-in-multiple-application-4175431062/)

gitanshu 10-08-2012 01:47 AM

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

gitanshu 10-08-2012 07:56 AM

No reply yet. :-(


All times are GMT -5. The time now is 08:33 PM.