LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Closed Thread
  Search this Thread
Old 05-11-2011, 07:25 AM   #1
tanniru
LQ Newbie
 
Registered: Mar 2006
Posts: 24

Rep: Reputation: 0
Can we use fifos for transfering data from device driver to an user application?


Can we use fifos for transfering data from device driver to an user application?
 
Old 05-11-2011, 08:55 AM   #2
robvoo
LQ Newbie
 
Registered: Jul 2009
Distribution: debian, ubuntu
Posts: 22

Rep: Reputation: 2
Yes this is possible,

Use kfifo in the device driver.
Using the READ file operation the user can then read bytes from the fifo.

Don't know what you exactly want to achieve, but this shoud be a start.

Regards Rob
 
Old 05-11-2011, 03:57 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...cation-880045/
 
  


Closed Thread



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
how can we send data from device driver to an user application? tanniru Linux - Kernel 3 05-12-2011 01:45 AM
Running application in kernel mode as device driver! hank007 Linux - Newbie 1 05-29-2009 07:21 AM
Serial driver problem on reading data from device archieval Programming 2 07-22-2008 11:42 PM
device driver private data? kpachopoulos Programming 1 01-06-2006 04:13 PM
Access linux device driver from a java application bnujos Programming 3 07-02-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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