Package Details: brscan2 0.2.5_1-1

Git Clone URL: https://aur.archlinux.org/brscan2.git (read-only)
Package Base: brscan2
Description: SANE driver from Brother for brscan2 models
Upstream URL: http://support.brother.com
Licenses: GPL, custom:brother
Submitter: leidola
Maintainer: pmattern
Last Packager: pmattern
Votes: 37
Popularity: 0.000451
First Submitted: 2008-08-15 02:08
Last Updated: 2015-08-04 22:29

Latest Comments

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

giaonhanquocte commented on 2018-05-03 18:06

Thanks for sharing, nice post!!! https://giaonhanquocte247.com/order-hang-nhat/

reuver commented on 2018-04-14 12:00

I plugged in my old MFC as a scanner. Since I had a hard time finding the missing links in the installation process I will document them here:

First install the following packages: - brscan2 - sane-utils - xsane Most users will have a 64-bit distribution nowadays, therefore the standard package from 2011 installs wrong.

To get all working you need:

brsaneconfig2 -a name=mfc model=MFC-xxxxxx ip=aa.bb.cc.dd

This creates /usr/local/Brother/sane/brsanenetdevice2.cfg It also adds a line with "brother2" to /etc/sane.d/dll.conf The simple test however will fail.

scanimage -L

This fails because the libraries are not in the right place.

Copying the libraries from /usr/lib64 to /usr/lib solves the problem mentioned above:

cp -a /usr/lib64/* /usr/lib

(Note: all commands following '#' asume root login. You might use sudo instead.)

Now scanimage will work as intended, als will xsane and gimp.

scanimage -L

device `brother2:net1;dev0' is a Brother MFC-xxxxxx mfc

Adding the (fixed) IP-number to /etc/sane.d/net.conf makes no difference for me.

After installation and testing as root using the scanner under my normal user-ID proved to be no problem. $ scanimage -L device `brother2:net1;dev0' is a Brother MFC-xxxxxx mfc

After this test xsane also works as intended.

swiftgeek commented on 2018-03-03 14:37

EDIT: It simply does NOT work with xhci controllers and works fine with ehci one even with recent sane version (1.0.27-1). So simply connect scanner to your USB2.0 port

Fails for me as well, i tried downgrading sane right down to 1.0.22 (2009-2012) and it still fails with the same error

Related thread on stackexchange: https://unix.stackexchange.com/questions/359210/brother-dcp-110c-integrated-scanner-not-working-in-mint-18-1-x64

FreddieChopin commented on 2018-01-14 13:47

I cannot make DCP-135C working... I had to add VID and PID to the udev rules manually, but this did not change anything. No matter what I do I get:

$ scanimage --test

scanimage: open of device brother2:bus6;dev4 failed: Invalid argument

$ scanimage -L

device `brother2:bus6;dev4' is a Brother DCP-135C USB scanner

$ lsusb

Bus 002 Device 002: ID 8087:8001 Intel Corp.

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 8087:8009 Intel Corp.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 003 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver

Bus 003 Device 007: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub

Bus 003 Device 006: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub

Bus 003 Device 005: ID 04f9:01ce Brother Industries, Ltd DCP-135C

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any ideas?

AJSlye commented on 2015-02-26 04:29

I solved my issue by using the brscan2-network AUR package instead:
https://aur.archlinux.org/packages/brscan2-network/

AJSlye commented on 2015-02-26 04:28

I solved my issue by using the brscan2-network AUR package:
https://aur.archlinux.org/packages/brscan2-network/

AJSlye commented on 2015-02-25 22:25

This seems to be still broken, here is what I'm getting:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)
Aborted (core dumped)

But It works as root:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)

What Am I doing Wrong?

AJSlye commented on 2015-02-25 22:24

This is still broken here is what I'm getting:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)
Aborted (core dumped)

But It works as root:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)

What Am I doing Wrong?

AJSlye commented on 2015-02-25 21:44

This is still broken here is what I'm getting:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)
Aborted (core dumped)

crs commented on 2015-01-11 06:11

/usr/local/Brother is referenced in libsane-brother2.so.1.0.7

the PKGBUILD tries to relocate the files in the RPM package from /usr/local/Brother to /usr/share/brother, but does an incomplete job.
This seems contrary to KISS, and the renaming of lib64 to lib seemed
inelegant too, so I found a way to do that while extracting from the RPM:

if [ "$CARCH" == "i686" ]; then
source="http://www.brother.com/pub/bsc/linux/dlf/$pkgname-$pkgver-$pkgrel.i386.rpm"
md5sums='944432983dcb918704862147b2a27977'
else
source="http://www.brother.com/pub/bsc/linux/dlf/$pkgname-$pkgver-$pkgrel.x86_64.rpm"
md5sums='88ab217b814ba87ac855b21dc037e0ac'
fi
rpm=`basename ${source[0]}`
noextract=($rpm) # we'll extract manually in prepare()

source+=('scanner-license.txt')
md5sums+=('SKIP')

prepare() {
# change "lib64" to "lib" in paths and symlinks
rpm2cpio $rpm | bsdtar -xpf - -s @/lib64/@/lib/@
}

package() {
cp -pR "$srcdir/usr" "$pkgdir"
install -m 644 -D scanner-license.txt \
"${pkgdir}/usr/share/licenses/${pkgname}/scanner-license.txt"
}


And finally, a suggestion for updating /etc/sane.d/dll.conf from brscan2.install:

post_install() {
echo 'brother2 #brscan2#' >> /etc/sane.d/dll.conf
}

post_remove() {
sed -i '/#brscan2#/d' /etc/sane.d/dll.conf
}