Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202091
b: refs/heads/master
c: 89d328d
h: refs/heads/master
i:
  202089: ad38f3c
  202087: fa43414
v: v3
  • Loading branch information
Renzo Dani authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 5805e58 commit bd94919
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bb6419433433e845f7bc47651ad246b2e65c6fa
refs/heads/master: 89d328d5782cb7efebe733fb994aac4bc64c255a
19 changes: 18 additions & 1 deletion trunk/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 bd94919

Please sign in to comment.