Skip to content

Commit

Permalink
V4L/DVB: Retrieve firmware for az6027
Browse files Browse the repository at this point in the history
Signed-off-by: Renzo Dani <arons7@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Renzo Dani authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 1bb6419 commit 89d328d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Documentation/dvb/get_dvb_firmware
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 89d328d

Please sign in to comment.