udev and char devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey folks,

I'm reading through Linux Device Drivers, 2nd ed., trying to get a
feel for how linux driver development works.  However, LDD is
2.6-unaware so I've hit a small stumbling block.

I know it's possible, with udev/sysfs, to make a /dev node appear as
one loads modules implementing the required functionality.  My
question is, does udev have to explicitly know (presumably in a
configuration file) about _every_ kind of device it will encounter?
That is, suppose I make a module for some device, do I have to also
tell udev somewhere in userspace that that module maps to a specific
/dev node? Or can udev extract this information from something in the
module itself?  If the latter is the case, how do I do it?

Thanks,

Athul

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux