From 1818360e59b558561a6b0b530d2c9ef7f2407da5 Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 16 Jul 2004 22:09:07 +0000 Subject: Add udev support (courtesy matt / creslin) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@433 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- README.udev | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 README.udev (limited to 'README.udev') diff --git a/README.udev b/README.udev new file mode 100755 index 0000000..da3656a --- /dev/null +++ b/README.udev @@ -0,0 +1,34 @@ +UDEV -- What the heck is udev OR why did I get a message to read this? + +This is the new mechanism of doing a dyamic /dev. What does +that mean? Basically, before the days of linux-2.3/linux-2.4 your /dev +had to have ~18000 files in it for all the possible device that your +kernel could possibly have, most of which you will NEVER use. This, for +obvious reasons, is somewhat undesirable. So then came devfs. Devfs +solved a lot of these problems by dynamically populating /dev with only +the device nodes of the devices that existed on your system. Now, in +linux-2.6, udev+sysfs has become the mechanism of choice for populating +your dynamic /dev with device nodes. + +You got this message because you are probably running udev on your system. + +If your are not, or you feel that you have reached this message error you +can send me an email (look to bottom of file for address). + +If you're running udev on your system, you were probably directed +to read this file during compile. For udevd (the daemon responsible +for creation/deletion of device nodes), you will need to add the following +lines to your udev rules. + +# Section for zaptel device +KERNEL="zapctl", NAME="zap/ctl" +KERNEL="zaptimer", NAME="zap/timer" +KERNEL="zapchannel", NAME="zap/channel" +KERNEL="zappseudo", NAME="zap/pseudo" +KERNEL="zap[0-9]*", NAME="zap/%n" + +This will take care of making all the automagic occur that needs to be +done so that udevd will make the right files for zaptel. + +Matthew Fredrickson +creslin@NOSPAMdigium.com -- cgit v1.2.3