Package Details: brscan4 0.4.11_1-5

Git Clone URL: https://aur.archlinux.org/brscan4.git (read-only, click to copy)
Package Base: brscan4
Description: SANE drivers from Brother for compatible models
Upstream URL: http://support.brother.com
Keywords: scanner
Licenses: GPL, custom:brother
Submitter: Harvey
Maintainer: Harvey
Last Packager: Harvey
Votes: 177
Popularity: 0.93
First Submitted: 2011-08-01 08:43 (UTC)
Last Updated: 2026-04-02 19:35 (UTC)

Dependencies (2)

Required by (71)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 25 Next › Last »

Kycko commented on 2026-04-04 16:33 (UTC)

Thank you, successful update now.

Harvey commented on 2026-04-03 06:58 (UTC)

Okay, the real fault was that I did not push the changed mk-udev-hwdb to git. Hopefully corrected now. Sorry for all the noise!

Armag67 commented on 2026-04-02 18:57 (UTC)

@JoeHartley It works with 8966d38375d535028a63a6ef5f6104eb as md5sum for mk-udev-hwdb in PKGBUILD.

HighValueWarrior commented on 2026-04-02 17:00 (UTC)

==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'brscan4-0.4.11_1-4': error: packages failed to build: brscan4-0.4.11_1-4

Kycko commented on 2026-04-02 15:56 (UTC)

brscan4-0.4.11_1-4, the same error :)

Armag67 commented on 2026-04-02 15:40 (UTC)

Same error with brscan4 0.4.11_1-4 at 17:38

Harvey commented on 2026-04-02 15:19 (UTC)

My bad, forgot to correct checksums. Try again, please.

JoeHartley commented on 2026-04-02 14:54 (UTC) (edited on 2026-04-02 15:05 (UTC) by JoeHartley)

I'm getting an error trying to build 0.4.11_1-3:

==> Retrieving sources...
  -> Downloading brscan4-0.4.11-1.x86_64.rpm...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100 116.2k 100 116.2k   0      0 993.2k      0                              0
  -> Found agree.html
  -> Found mk-udev-hwdb
==> Validating source files with md5sums...
    brscan4-0.4.11-1.x86_64.rpm ... Passed
    agree.html ... Passed
    mk-udev-hwdb ... FAILED
==> ERROR: One or more files did not pass the validity check!
:: Unable to build brscan4 - makepkg exited with code: 1

I've cleaned my cache but this error persists.

ETA: I see the patched mk-udev-hwdb file, which gives an md5sum of 8966d38375d535028a63a6ef5f6104eb, which does not match the PKGBUILD file. Substituting the md5sum above in the PKGBUILD file builds correctly.

@Harvey, looks like you updated the mk-udev-hwdb file but forgot to update the checksum.

Harvey commented on 2026-04-02 13:18 (UTC)

@ypomortsev: Thanks for the catch, added!

ypomortsev commented on 2026-03-30 20:55 (UTC) (edited on 2026-03-30 20:59 (UTC) by ypomortsev)

There is a bug in mk-udev-hwdb that causes ADS-2000 and ADS-2100 to be excluded from hwdb. The product ID in ext_2.ini is 5 hex characters, not 4, so it doesn't match the regex.

diff --git i/mk-udev-hwdb w/mk-udev-hwdb
index cfb3590..d424bb7 100755
--- i/mk-udev-hwdb
+++ w/mk-udev-hwdb
@@ -4,8 +4,8 @@ BEGIN {
        print "# brscan4-supported scanners (or interfaces of MFD)";
        print "";
 }
-NF >= 3 && $1 ~ /^0[xX][[:xdigit:]]{4}$/ {
-       id = toupper( substr( $1, 3 ));
+NF >= 3 && $1 ~ /^0[xX][[:xdigit:]]+$/ {
+       id = toupper( substr( $1, length($1) - 3 ));
        name = $4
        gsub("\"", "", name)
        print "# " name;