[dahdi-commits] tzafrir: tools/trunk r4765 - in /tools/trunk/xpp: ./ perl_modules/Dahdi/Hardw...
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Aug 12 05:23:26 CDT 2008
Author: tzafrir
Date: Tue Aug 12 05:23:25 2008
New Revision: 4765
URL: http://svn.digium.com/view/dahdi?view=rev&rev=4765
Log:
* xpp_fxloader: shows USB firmware version.
* Update PCI IDs database.
Modified:
tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm
tools/trunk/xpp/xpp_fxloader
Modified: tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm
URL: http://svn.digium.com/view/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm?view=diff&rev=4765&r1=4764&r2=4765
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm Tue Aug 12 05:23:25 2008
@@ -118,6 +118,9 @@
'1923:0100' => { DRIVER => 'wanpipe', DESCRIPTION => 'Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card' },
'1923:0300' => { DRIVER => 'wanpipe', DESCRIPTION => 'Sangoma Technologies Corp. A101 single-port T1/E1' },
'1923:0400' => { DRIVER => 'wanpipe', DESCRIPTION => 'Sangoma Technologies Corp. A104u Quad T1/E1 AFT' },
+
+ # Yeastar (from output of modinfo):
+ 'e159:0001/2151' => { DRIVER => 'ystdm8xx', DESCRIPTION => 'Yeastar YSTDM8xx'},
);
$ENV{PATH} .= ":/usr/sbin:/sbin:/usr/bin:/bin";
Modified: tools/trunk/xpp/xpp_fxloader
URL: http://svn.digium.com/view/dahdi/tools/trunk/xpp/xpp_fxloader?view=diff&rev=4765&r1=4764&r2=4765
==============================================================================
--- tools/trunk/xpp/xpp_fxloader (original)
+++ tools/trunk/xpp/xpp_fxloader Tue Aug 12 05:23:25 2008
@@ -113,7 +113,8 @@
devices=`find_dev $v_id $p_id`
for dev in $devices
do
- $LOGGER "USB Firmware $XPP_FIRMWARE_DIR/$fw into $dev"
+ ver=$(awk '/\$Id:/ { print $4 }' $XPP_FIRMWARE_DIR/$fw)
+ $LOGGER "USB Firmware $XPP_FIRMWARE_DIR/$fw (Version=$ver) into $dev"
do_fxload -D $dev -I $XPP_FIRMWARE_DIR/$fw || exit 1
done
}
More information about the dahdi-commits
mailing list