summaryrefslogtreecommitdiff
path: root/Documentation/dvb
diff options
context:
space:
mode:
authorRenzo Dani <arons7@gmail.com>2010-07-06 14:23:33 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 22:36:19 +0400
commit89d328d5782cb7efebe733fb994aac4bc64c255a (patch)
treecc7a6b183168cc460f119d6ea918626127aedb87 /Documentation/dvb
parent1bb6419433433e845f7bc47651ad246b2e65c6fa (diff)
downloadlinux-89d328d5782cb7efebe733fb994aac4bc64c255a.tar.xz
V4L/DVB: Retrieve firmware for az6027
Signed-off-by: Renzo Dani <arons7@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/dvb')
-rw-r--r--Documentation/dvb/get_dvb_firmware19
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index 239cbdbf4d12..9ea94dc3556e 100644
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -26,7 +26,7 @@ use IO::Handle;
"dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
"opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
- "af9015", "ngene");
+ "af9015", "ngene", "az6027");
# Check args
syntax() if (scalar(@ARGV) != 1);
@@ -567,6 +567,23 @@ sub ngene {
"$file1, $file2";
}
+sub az6027{
+ my $file = "AZ6027_Linux_Driver.tar.gz";
+ my $url = "http://linux.terratec.de/files/$file";
+ my $firmware = "dvb-usb-az6027-03.fw";
+
+ wgetfile($file, $url);
+
+ #untar
+ if( system("tar xzvf $file $firmware")){
+ die "failed to untar firmware";
+ }
+ if( system("rm $file")){
+ die ("unable to remove unnecessary files");
+ }
+
+ $firmware;
+}
# ---------------------------------------------------------------
# Utilities