[Home]

Summary:ASTERISK-04039: [request] possible suggestion for udev and zaptel
Reporter:geisj (geisj)Labels:
Date Opened:2005-05-02 19:50:46Date Closed:2008-06-07 10:51:36
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) zaptel.permissions
( 1) zaptel.rules
( 2) zaptel-udev-rules.patch.txt
Description:I know anyone can read the README.udev and cut and paste....

However, has anyone given thought to doing a "make udev" (name can be anything)
that will add the needed lines to the /etc/udev/rules.d/50-udev.rules file?

This makes it very convinient for installing a new system...
tar --
make
make install
make udev

done - no files to edit...

THanks for the consideration.
Comments:By: Jeffrey C. Ollie (jcollie) 2005-05-02 19:57:16

You don't actually need to edit "/etc/udev/rules.d/50-udev.rules".  You can just create another file (like "/etc/udev/rules.d/zaptel.rules") and udev should find it.  The same goes for the udev permissions file.

By: geisj (geisj) 2005-05-02 20:06:35

That would be great to do that automatically...
It is being detected in the makefile anyway
can it just go ahead and create the zaptel.rules file
and everything will "just work".

By: Kevin P. Fleming (kpfleming) 2005-05-02 22:12:28

Yes, a patch to create/update /etc/udev/rules.d/(something)-zaptel.rules would be welcome.

By: Matthew Fredrickson (mattf) 2005-05-04 10:09:36

Any update?

By: Jeffrey C. Ollie (jcollie) 2005-05-05 13:30:33

Uploaded patches/files that implements a "install-udev" target in the Makefile. (disclaimer on file).

By: geisj (geisj) 2005-05-05 13:41:40

Is there a LAG of some kind in the CVS? I just checked out head according to
the download section on asterisk.org and looked at the makefile
searched for udev and found just the usual. nothing new.

By: Jeffrey C. Ollie (jcollie) 2005-05-05 14:00:28

This patch has not gone into CVS yet.  If you want to try out this patch, download the three files attached to this bug. Copy zaptel.rules and zaptel.permissions to your zaptel source directory.  Run "patch -p0 < zaptel-udev-rules.patch.txt" to patch the Makefile.  You should then be able to run "make install-udev".

By: Kevin P. Fleming (kpfleming) 2005-05-15 02:07:10

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-06-07 10:51:36

Repository: dahdi
Revision: 645

U   trunk/Makefile
A   trunk/udev/
A   trunk/udev/zaptel.permissions
A   trunk/udev/zaptel.rules

------------------------------------------------------------------------
r645 | kpfleming | 2008-06-07 10:51:34 -0500 (Sat, 07 Jun 2008) | 2 lines

add install-udev target to add standard rules/permissions files for udev (bug ASTERISK-4039)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=645