[sane-devel] New brother MFC-J6920DW, xsane can't find the scanner

Gene Heskett gheskett at shentel.net
Mon May 2 07:04:09 UTC 2016


On Sunday 01 May 2016 10:19:51 Gene Heskett wrote:

> The linux-brother installer downloaded and installed about 6 .debs,
> the printer is working but not very fast.
>
> Its all on a cat5, and addressed at 192.168.xx/21.
>
> From all the evidence I've been able to round up, including about 2
> hours reading thru the "strace xsane >/home/gene/src/stracesane" file,
> the linkage in the form of a brother4.conf file was never created in
> /etc/sane.d/ to link the name "brother4" that was added
> to /etc/sane.d/dll.d/dll.conf to the /opt/brother/brscan stuff.  There
> I have (ls -lR):
> ====================
> root at coyote:/opt/brother/scanner# ls -lR
> .:
> total 8
> drwxr-xr-x 4 root root 4096 Apr 30 15:02 brscan4
> drwxr-xr-x 3 root root 4096 Apr 30 15:02 brscan-skey
>
> ./brscan4:
> total 44
> -rw-r--r-- 1 root root   936 Nov 23 18:58 Brsane4.ini
> -rwxr-xr-x 1 root root 24040 Nov 23 18:58 brsaneconfig4
> -rw-rw-rw- 1 root root    78 Apr 30 15:02 brsanenetdevice4.cfg
> drwxr-xr-x 3 root root  4096 Apr 30 15:02 doc
> drwxr-xr-x 2 root root  4096 Apr 30 15:02 models4
> -rwxr-xr-x 1 root root   388 Nov 23 18:58 setupSaneScan4
>
> ./brscan4/doc:
> total 4
> drwxr-xr-x 2 root root 4096 Apr 30 15:02 brscan4
>
> ./brscan4/doc/brscan4:
> total 4
> -rw-r--r-- 1 root root 75 Nov 23 18:58 readme.txt
>
> ./brscan4/models4:
> total 64
> -rw-r--r-- 1 root root  224 Nov 23 18:58 ext_10.ini
> -rw-r--r-- 1 root root 1212 Nov 23 18:58 ext_11.ini
> -rw-r--r-- 1 root root  528 Nov 23 18:58 ext_12.ini
> -rw-r--r-- 1 root root  432 Nov 23 18:58 ext_13.ini
> -rw-r--r-- 1 root root  691 Nov 23 18:58 ext_14.ini
> -rw-r--r-- 1 root root  182 Nov 23 18:58 ext_15.ini
> -rw-r--r-- 1 root root 1098 Nov 23 18:58 ext_16.ini
> -rw-r--r-- 1 root root  578 Nov 23 18:58 ext_1.ini
> -rw-r--r-- 1 root root   79 Nov 23 18:58 ext_2.ini
> -rw-r--r-- 1 root root  676 Nov 23 18:58 ext_3.ini
> -rw-r--r-- 1 root root  541 Nov 23 18:58 ext_4.ini
> -rw-r--r-- 1 root root  103 Nov 23 18:58 ext_5.ini
> -rw-r--r-- 1 root root  213 Nov 23 18:58 ext_6.ini
> -rw-r--r-- 1 root root  667 Nov 23 18:58 ext_7.ini
> -rw-r--r-- 1 root root  426 Nov 23 18:58 ext_8.ini
> -rw-r--r-- 1 root root  141 Nov 23 18:58 ext_9.ini
>
> ./brscan-skey:
> total 140
> -rw-r--r-- 1 root root     99 Apr 30 15:02 brscan_mail.config
> -rw-r--r-- 1 root root     50 Apr 30 15:02 brscan_mailmessage.txt
> -rwxr-xr-x 1 root root   1160 May 13  2013 brscan-skey
> -rwxr-xr-x 1 root root 109318 May 13  2013 brscan-skey-0.2.4-0
> -rw-r--r-- 1 root root    312 Apr 30 15:02 brscan-skey-0.2.4-0.cfg
> -rwxr-xr-x 1 root root  11779 May 13  2013 brscan-skey-0.2.4-1.sh
> drwxr-xr-x 2 root root   4096 Apr 30 15:02 script
>
> ./brscan-skey/script:
> total 48
> -rwxr-xr-x 1 root root 24719 May 13  2013 brscan_scantoemail-0.2.4-0
> -rw-r--r-- 1 root root  5149 Apr 30 15:02 scantoemail-0.2.4-1.sh
> -rwxr-xr-x 1 root root   689 Apr 30 15:02 scantofile-0.2.4-1.sh
> -rwxr-xr-x 1 root root   706 Apr 30 15:02 scantoimage-0.2.4-1.sh
> -rwxr-xr-x 1 root root   867 Apr 30 15:02 scantoocr-0.2.4-1.sh
> root at coyote:/opt/brother/scanner#
> ====================
>
> How should I proceed?

While I have not tested it yet, it turns out that this $thing has a web 
page based control, so I added it to my /etc/hosts, and now I can see it 
at scanner.coyote.den, or just scanner, the alias.  Apparently I can do 
anything I can do from its control panel.

I had already set it up for networking, giving it a local address, 
netmask, gateway and dns server(my router, it forwards all dns requests 
it gets to the ISP supplied server addresses)  and I setup the sntp to 
keep the clock somewhere near the right time.

I've never tried to run a scanner from a web page, and it doesn't seem to 
have the options xsane does, like a preview scan & then adjust the area 
to scan only what one wants.  So IMO this is going to be a clumsy way to 
run it.  It does have size controls from 4x6 up to ledger (11x17), and 
the printer can also do that too.

I would much rather be able to use it with xsane but despite the 
installation of a pile of software from brother that IS supposed to let 
xsane run it, xsane never try's to open the brother4 scanner that was 
added to /etc/sane.d/dll.conf.  And doing it from its web page, I have 
to login, yet another instance of typing my passwd.  And THAT, as George 
Carlin might have said in much more flowery language, sucks.

Thank you.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



More information about the sane-devel mailing list