[aadk-commits] dbailey: uClinux/trunk r464 - in
/uClinux/trunk/uClinux-dist/vendors/Digium/S...
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Fri Jun 1 08:39:08 MST 2007
Author: dbailey
Date: Fri Jun 1 10:39:08 2007
New Revision: 464
URL: http://svn.digium.com/view/aadk?view=rev&rev=464
Log:
Add zap channels 5-8 to the /dev/zap devices
Add fxotune_all as a shortcut to tune all fxo ports on an appliance
Save the fxotune.conf file with the configuration and restore the settings at startup
Add a call to display the appliance settings at boot
Added:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all (with props)
Modified:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/device_table.txt
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/save_config
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/device_table.txt
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/device_table.txt?view=diff&rev=464&r1=463&r2=464
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/device_table.txt (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/device_table.txt Fri Jun 1 10:39:08 2007
@@ -164,6 +164,10 @@
/dev/zap/2 c 644 0 0 196 2 0 1 -
/dev/zap/3 c 644 0 0 196 3 0 1 -
/dev/zap/4 c 644 0 0 196 4 0 1 -
+/dev/zap/5 c 644 0 0 196 5 0 1 -
+/dev/zap/6 c 644 0 0 196 6 0 1 -
+/dev/zap/7 c 644 0 0 196 7 0 1 -
+/dev/zap/8 c 644 0 0 196 8 0 1 -
/dev/zap/channel c 644 0 0 196 254 0 1 -
/dev/zap/ctl c 644 0 0 196 0 0 1 -
/dev/zap/pseudo c 644 0 0 196 255 0 1 -
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc?view=diff&rev=464&r1=463&r2=464
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc Fri Jun 1 10:39:08 2007
@@ -76,6 +76,11 @@
cp /etc/asterisk/zapata.conf.override /etc/asterisk/zapata.conf
fi
ztcfg
+if [ -f /etc/fxotune.conf ]; then
+ echo "Setting FXOTUNE Parameters"
+ cat /etc/fxotune.conf
+ fxotune -s
+fi
mount -t ext3 /dev/hda1 /var/lib/asterisk/sounds
echo "Starting Asterisk..."
asterisk -f >/dev/null 2>/dev/null &
@@ -93,9 +98,9 @@
if [ "$boardrev" != "A" ]; then
echo "Attempting to communicate to I2C Devices"
- modprobe eeprom
modprobe hwmon
modprobe lm75
+ s800iconfig
fi
cat /etc/motd
Added: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all?view=auto&rev=464
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all (added)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all Fri Jun 1 10:39:08 2007
@@ -1,0 +1,2 @@
+#!/bin/sh
+fxotune -i -b 1 -e 8
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all
------------------------------------------------------------------------------
svn:executable = *
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/save_config
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/save_config?view=diff&rev=464&r1=463&r2=464
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/save_config (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/save_config Fri Jun 1 10:39:08 2007
@@ -1,7 +1,7 @@
#!/bin/sh
PID=$$
ROOT="/"
-SUBDIRS="etc/config etc/asterisk etc/passwd etc/zaptel.conf.* etc/dropbear etc/network etc/ssmtp etc/zoneinfo etc/localtime"
+SUBDIRS="etc/config etc/asterisk etc/passwd etc/zaptel.conf.* etc/dropbear etc/network etc/ssmtp etc/zoneinfo etc/localtime etc/fxotune.conf"
cd ${ROOT}
tar czf /tmp/etc-${PID}.tgz ${SUBDIRS}
echo -n "Saving config..."
More information about the aadk-commits
mailing list