diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-10-16 19:17:46 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-10-16 19:17:46 +0000 |
commit | f314f6fcda2493f0097b4e2af46fd0c305e740d7 (patch) | |
tree | 2a5341d3b22461a73763908d496f896bbeb9ef33 /xpp/utils/zaptel_drivers | |
parent | 963a296c4a3cd7cca0bed3af311ab75b3f75a6ce (diff) |
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
Diffstat (limited to 'xpp/utils/zaptel_drivers')
-rwxr-xr-x | xpp/utils/zaptel_drivers | 9 |
1 files changed, 9 insertions, 0 deletions
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"; |