[sane-devel] Need sane docs

Gene Heskett gheskett at shentel.net
Tue May 3 18:26:14 UTC 2016


On Tuesday 03 May 2016 10:07:49 Gene Heskett wrote:

> Greetings all;
>
> I just bought a Brother MFC-J6920DW, and installed the brother linux
> .deb drivers that are "supposed" to let xsane run the scanner.  But
> xsane makes no attempt to access it even if I plug in a USB cable.  It
> did install the name "brother4" in /etc/sane.d/dll.conf, but I can't
> find that name referenced in a strace, ltrace, or latrace output.
> There is no brother4.conf from the installation in that directory
> tree. And locate can't find it either.

Further tracing what I perceive to be the "chain of command" here, I find 
no brother entries at all in the usual suspects "libsane" files, either 
in synaptic, looking at properties or any other place except the listing 
below from /opt/brother/scanner.

> So IF I could find a step by step of how any of these names in the
> dll.conf winds up being coupled into sane, it would be a huge help.
>
> URL's are fine.
>
It looks like I should have said URL's to developer tutorials, because it 
looks as if I will have to carve these missing files by hand.

IDK if the API's would be compatible but if a brother4.conf could be 
carved up that used what the brother supplied debs installed 
in /opt/brother:
=======================
/opt/brother/scanner:
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

/opt/brother/scanner/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

/opt/brother/scanner/brscan4/doc:
total 4
drwxr-xr-x 2 root root 4096 Apr 30 15:02 brscan4

/opt/brother/scanner/brscan4/doc/brscan4:
total 4
-rw-r--r-- 1 root root 75 Nov 23 18:58 readme.txt

/opt/brother/scanner/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

/opt/brother/scanner/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

/opt/brother/scanner/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
=============================== 
that would be a treat.

The Apr 30 15:02 dated files are apparently what I created when I 
discovered the darned thing had a web page that essentially duplicates 
its front panel and setup some config options that were fill in the 
blanks type entries.  kludgy to edit one character at a time from the 
front panel.

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