Package Details: wd719x-firmware 1-7

Git Clone URL: (read-only, click to copy)
Package Base: wd719x-firmware
Description: Driver for Western Digital WD7193, WD7197 and WD7296 SCSI cards
Upstream URL:
Licenses: unknown
Submitter: pedrogabriel
Maintainer: mijailr
Last Packager: mijailr
Votes: 238
Popularity: 4.38
First Submitted: 2015-03-02 23:50
Last Updated: 2020-08-05 01:10

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Eeems commented on 2020-10-28 17:29

I've noticed that this PKGBUILD will hang waiting for user input if the lha commands have already extracted their contents as part of a previous run. I'd recommend adding f to the options.

ryshglene commented on 2020-04-07 18:22

Done ( :

Edit: sorry, it took a while. I'm not really familiar with how GitHub works

mijailr commented on 2020-04-07 17:18

@ryshglene can you please create a pull request to the aur branch on

ryshglene commented on 2020-04-07 17:13

I've made these changes to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index d64fd22..cbcf8e4 100644
@@ -17,8 +17,9 @@ sha256sums=('d310338eaaeae6db3673021c0ec2ec23b9cfb9f9b9d1eb8854d2d60b3a6490f9')

 build() {
-        lha xi pciscsi.exe pci-scsi.exe
-        lha xi pci-scsi.exe nt/wd7296a.sys
+        lha l --convert-filename-case pciscsi.exe 2> /dev/null && local lha_opts="--convert-filename-case"
+        lha xi $lha_opts pciscsi.exe pci-scsi.exe
+        lha xi $lha_opts pci-scsi.exe nt/wd7296a.sys
         dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
         dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514

And now it works for both lha and lhasa. Please update it, if you get the same results.

emceebois commented on 2020-04-06 15:50

@mijailr @nightuser

I think I might know what's going on -- when I used lha from the AUR, the filenames were uppercase. When I replaced it with lhasa from Community, the filenames were lowercase.

If there is a flag recognized by both lha and lhasa that makes the command case-insensitive, adding that flag should fix this issue. If not then either some helper commands to do a case-insensitive grep of the output of lha l will need to be piped or parameterized to allow both to work, or lha will need to be removed as a dependency and entirely replaced with lhasa.

mijailr commented on 2020-04-06 15:40

@nightuser can you get the latest version of this? Because I updated this to use the file, so maybe we have a different version of the pciscsi.exe

nightuser commented on 2020-04-06 15:10


The following is written in the man page for lha:

              When extracting, the archive format is MS-DOS  or  Generic,  and
              the  whole filename (and directory name) is uppercase, extracted
              filename will be in lowercase.

              It was default behavior on the old version of the LHa for  UNIX.
              However,  many  software create the LZH archive with case-sensi‐
              tive filename even if it is a MS-DOS type  archive.   Therefore,
              its behavior was deprecated as default


That's strange. I have:

$ lha l pciscsi.exe 
---------- ----------- ------- ------ ------------ --------------------
[generic]               507996  99.7% Mar 14  1996 PCI-SCSI.EXE
[generic]                 5289  37.7% Mar 14  1996 README.1ST
---------- ----------- ------- ------ ------------ --------------------
 Total         2 files  513285  99.1% Mar 22 02:25
$ lha --version
LHa for UNIX version 1.14i-ac20081023 (x86_64-pc-linux-gnu)
  configure options:  '--prefix=/usr' 'CFLAGS=-march=ivybridge -maes -O2 -pipe -fno-plt' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'

lha is from AUR with no additional changes.

mijailr commented on 2020-04-06 00:40

I'm not sure if that is the issue, this is the output of lha l

[build@21ff3fc70773 ~]$ lha l pciscsi.exe
[generic]               507996  99.7% Mar 14  1996 pci-scsi.exe

[build@21ff3fc70773 ~]$ lha l pci-scsi.exe
[generic]                28576  49.2% Mar 14  1996 nt/wd7296a.sys

nightuser commented on 2020-04-06 00:32

pciscsi.exe contains case-sensitive file, so you shold run lha xi pciscsi.exe PCI-SCSI.EXE, the same with WD7296A.SYS.

aphirst commented on 2020-04-05 13:52

[adam@rakka ~]$ aur sync wd719x-firmware ==> Using [custom] repository -> wd719x-firmware: (none) -> 1-5 ==> Retrieving package files From = [up to date] master -> origin/master Running makepkg --clean --syncdeps ==> Making package: wd719x-firmware 1-5 (Sun 05 Apr 2020 14:51:45 BST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found pciscsi.exe ==> Validating source files with sha256sums... pciscsi.exe ... Passed ==> Extracting sources... ==> Removing existing $pkgdir/ directory... ==> Starting build()... LHa: Fatal error: Cannot open archive file "pci-scsi.exe": No such file or directory ==> ERROR: A failure occurred in build(). Aborting...