Results 1 to 2 of 2
Hi,
I am new to developing Linux device drivers.
I have written a virtual device driver (char driver). After inserting its module (by insmod) I can see it in the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-01-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 9
Device Driver - failed to open
Hi,
I am new to developing Linux device drivers.
I have written a virtual device driver (char driver). After inserting its module (by insmod) I can see it in the /dev directory.
However, in my application when I try to open the device using "open", it returns -1. The returned errno is 6 (ENXIO).
Am I missing something?
Any help will be appreciated.
Regards,
Mickey
- 06-02-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
Post your code here for the initialization of the library as well as for the open command.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
