[solved] brother usb scanner (mfc-7320)

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[solved] brother usb scanner (mfc-7320)

Postby fourreux » 2012-01-16 15:54

Hello everybody

Trying to get a usb printer working (as many others here, I guess). Normally I would expect that scanner to be supported as brother offers the drivers.
So I downloaded the appropriate drivers brscan3 64bit and scan-key-tool 64bit from http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html. Followed the install instructions: namely dpkg -i brscan3....amd64.deb and dpkg -i brscan-skey...amd64.deb.

I added the following line to /lib/udev/rules.d/60-libsane.rules
Code: Select all
# Brother scanner
 22 ATTRS{idVendor}=="04f9", ATTRS{idProduct}== "01eb", MODE="0664", GROUP="scanner", ENV{libsane_matched}="y    es"

Here's my lsusb
Code: Select all
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 005: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 002 Device 004: ID 04f9:01eb Brother Industries, Ltd MFC-7320


In my /etc/sane.d/dll.conf there's a line "brother3" that seems to have been added at some point in the process ...

The output of sane-find-scanner is (as root):
Code: Select all
found USB scanner (vendor=0x04f9, product=0x01eb) at libusb:002:004
found USB scanner (vendor=0x147e [UPEK], product=0x2016 [Biometric Coprocessor]) at libusb:001:003


And here's scanimage -L as root
Code: Select all
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device

It's recognizing the integrated webcam of my T410 only ....

Code: Select all
# scanimage -T
scanimage: sane_start: Invalid argument

So I found a thread saying that it's about that webcam that is recognized first, and so the scanner will not be installed/recognized properly.

Digging deeper I found out that actually there should be a /dev/scanner0 or the like that should be created. But there isn't (http://linux-sxs.org/hardware/usbsane.html).

And then further on someone said I need the usbdevfs enabled/supported which I have not (http://tldp.org/HOWTO/html_single/Scanner-HOWTO/#LIBUSB):
Code: Select all
# cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   cpuset
nodev   tmpfs
nodev   devtmpfs
nodev   debugfs
nodev   securityfs
nodev   sockfs
nodev   pipefs
nodev   anon_inodefs
nodev   devpts
nodev   ramfs
nodev   hugetlbfs
nodev   pstore
nodev   mqueue
nodev   usbfs
   ext4
   ext2
nodev   rpc_pipefs
nodev   nfs
nodev   nfs4
nodev   nfsd
nodev   fuse
   fuseblk
nodev   fusectl


I'm not quite sure which lead to follow ...

What I also tried was adding the following line to /lib/udev/rules.d/50-udev-default.rules:
Code: Select all
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MO    DE="0666"

But I don't think that this changed anything ...

Thanx for any help

PS:
Code: Select all
# uname -a
Linux mob 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
Last edited by fourreux on 2012-01-17 08:07, edited 1 time in total.
fourreux
 
Posts: 4
Joined: 2011-10-14 08:54

Re: brother usb scanner (mfc-7320)

Postby bmc5311 » 2012-01-16 16:44

macbook air /sid amd64/gnome shell
broken hpdv6200 motherboard screwed to the wall in my garage /sid amd64/gnome shell
http://img823.imageshack.us/i/garagecomputer.jpg/

http://www.debianuserforums.org/ - By the community. For the community.
User avatar
bmc5311
 
Posts: 534
Joined: 2008-11-16 15:21
Location: lost in the vast machine

Re: brother usb scanner (mfc-7320)

Postby fourreux » 2012-01-17 08:07

Thanks a lot.

In my case I needed to copy:

Code: Select all
# cp /usr/lib64/sane/libsane-brother3.so* /usr/lib/sane/

libsane-brother3.so
libsane-brother3.so.1.0.7
libsane-brother3.so.1


and

Code: Select all
# cp /usr/lib64/libbrscandec3.so* /usr/lib/

libbrscandec3.so
libbrscandec3.so.1.0.0 
libbrscandec3.so.1


et voila! Was able to scan right away!

Thanks again.
fourreux
 
Posts: 4
Joined: 2011-10-14 08:54


Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable