LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Closed Thread
 
Search this Thread
Old 02-02-2013, 03:34 AM   #1
mrjmrj
LQ Newbie
 
Registered: Feb 2013
Posts: 12

Rep: Reputation: Disabled
communicate with a driver from a kernel module


I want to communicate with a driver (/dev device) from a kernel module. I have an application and some kernel modules associated with it. From the lowest KM I want to read and write to the driver. What should I do? I have read that writing and reading files from the KM is not a good choice. Is there any other way? Could I use the header files of the driver? If so, how?
 
Old 02-02-2013, 03:39 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello and welcome to LinuxQuestions,

Please don't post your question in more then one forum. You'll only create confusion on where the discussion is going on. I've reported your other two threads for closure since they are duplicates of this one. Stick to one thread per question please.

Kind regards,

Eric
 
Old 02-02-2013, 05:28 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,498

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
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. Please, follow discussion here: https://www.linuxquestions.org/quest...le-4175448307/
 
  


Closed Thread


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
i am writing a kernel driver when i try to insert a kernel module i am getting an err kernelminded Linux - Kernel 1 12-16-2012 11:37 AM
adding a new kernel module to wireless driver module nandan.amar Linux - Newbie 2 04-22-2010 09:21 AM
nvidia driver 8762 kernel module mismatch x module openfun Ubuntu 5 06-27-2006 10:02 PM
How to get make communicate with my module? bhuvanmital Linux - Software 4 02-15-2006 05:20 PM
Driver module in kernel hazzyb Linux - Hardware 1 09-21-2005 02:54 PM


All times are GMT -5. The time now is 12:46 AM.

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