LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Reply
  Search this Thread
Old 02-03-2009, 07:33 AM   #1
cold
Member
 
Registered: Feb 2004
Posts: 34

Rep: Reputation: 15
Char device not visible in /dev


Dear *,
I have a char driver registered successfully. I can see logs with dmesg commands, I can see the device in /proc/devices. Registering by calling register_chrdev is OK, I know major of the device. No error occurs during initialization. But I don't see the device in /dev directory despite. What can be wrong? How can I open this device? Is there any other location where a device can be located?
Driver is compiled into the kernel (not as a module), kernel is 2.4.31.
Thanks for any hint.

Best regards.
JN.
 
Old 02-03-2009, 07:50 AM   #2
cold
Member
 
Registered: Feb 2004
Posts: 34

Original Poster
Rep: Reputation: 15
So I've found the problem. Stupid, solution is easy: mknod was not called correctly.
 
  


Reply



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 to set my bluetooth device connectable and visible to others harshiloh Linux - Wireless Networking 0 10-29-2007 10:47 AM
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0? lugoteehalt Linux - Software 3 10-24-2007 10:27 AM
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 08:14 AM
char device module the_uplink2x Programming 2 05-24-2005 10:53 PM
char device i810_rng djgerbavore Linux - Newbie 1 08-18-2004 08:33 PM

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

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