Does register_chrdev function make device file under /dev ?
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Wed Mar 12 08:14:43 EDT 2014
On Tue, 11 Mar 2014 08:01:26 -0000, Kim Chan said:
> To my understanding, device file is needed when a user program wants to
> access the device and we don't need to generate the device file for us to use
> the device in kernel. Is my understanding correct?
Right. You don't need to generate the device file because you shouldn't be
accessing the device in a file-like manner from inside the kernel.
> I am trying to open a shell on my LCD (is it going to be tty2
That's userspace, not kernel access.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140312/46facc48/attachment.bin
More information about the Kernelnewbies
mailing list