From f314f6fcda2493f0097b4e2af46fd0c305e740d7 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Tue, 16 Oct 2007 19:17:46 +0000 Subject: xpp r4892: * Zaptel/Hardware perl modules: - Use sysfs directly. Don't rely on lspci/lsusb. - Each device has a description and driver name. - Zaptel::Hardware::drivers() to show the list of required drivers for this system (see zaptel_drivers). - zaptel_hardware shows a description and a (suggested?) driver. * zt_registration sorts by Serial first and only then by connector. * USB_FW.hex replaces all the USB_11x0.hex . - Separate USB interface for the management processor. - Hence fpga_load can now work even with drivers loaded. * Fix firmware upgrading. * Fix manual firmware loading while auto-loading. Merged revisions 3142 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3143 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/utils/zaptel_drivers | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 xpp/utils/zaptel_drivers (limited to 'xpp/utils/zaptel_drivers') diff --git a/xpp/utils/zaptel_drivers b/xpp/utils/zaptel_drivers new file mode 100755 index 0000000..5cd890d --- /dev/null +++ b/xpp/utils/zaptel_drivers @@ -0,0 +1,9 @@ +#! /usr/bin/perl -w +use strict; +use File::Basename; +BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/zconf"); } + +use Zaptel::Hardware; + +Zaptel::Hardware->scan_hardware(); +print join("\n", Zaptel::Hardware->drivers),"\n"; -- cgit v1.2.3