Page 1 of 8 123 ... LastLast
Results 1 to 10 of 79

Thread: Brother MFC-7220: Scanner allergic to Linux?

  1. #1
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    427

    Question Brother MFC-7220: Scanner allergic to Linux?

    Hello.

    I have been fighting with this machine since mid-2014, & it has consistently beaten me. Being an MFC, it prints & scans... at least it does both those in Windows. Ever since i changed from Windows to Linux however, i've only ever managed to get its printer function working [which is fine], but never its scanner. My first Linux was Mint KDE4, then Maui, now oS TW. In all three... great printing, nil scanning. I'm hoping that some benevolent genius here might pls be able to identify what i'm doing wrong. Here's my latest TW attempt:

    1. I reviewed each of these:


    2. poppler-tools is installed & up to date.

    3. libstdc++6-32bit is installed & up to date.

    4. I ran linux-brprinter-installer-2.1.1-1

    5. My MFC successfully printed the test page after that.

    6. I added myself to the "lp' group, then logged out/in.

    7. According to http://support.brother.com/g/s/id/li...n.html#brscan2 my MFC-7220 is a brscan2 model, so I verified that /etc/sane.d/dll.conf has the necessary 'brother2' entry present and uncommented.

    8. I created new file 66-brother.rules in /etc/udev/rules.d/ [then rebooted], with content:
    Code:
    # Brother MFC-7220
    ATTR{idVendor}=="04f9", ATTR{idProduct}=="0185", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
    #
    # https://forums.opensuse.org/showthread.php/499286-I-can-t-make-work-my-brother-scanner-MFC-1810?p=2652454#post2652454
    # a more generalised rule (that doesn't care about model) should work okay too
    # ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
    9. For the preceding, i first tried the first ATTR line, rebooted, scanning failed, edited file to activate 2nd ATTR line, rebooted, scanning still failed.

    10. I obtained the chipset details from:
    Code:
    linux-Tower:~> lsusb                                                                                                                                      
    Bus 004 Device 002: ID 8087:8001 Intel Corp.  
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
    Bus 003 Device 002: ID 8087:8009 Intel Corp.  
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 001 Device 010: ID 04f9:0185 Brother Industries, Ltd MFC-7220 Printer 
    Bus 001 Device 008: ID 045e:0039 Microsoft Corp. IntelliMouse Optical 
    Bus 001 Device 006: ID 413c:2003 Dell Computer Corp. Keyboard 
    Bus 001 Device 007: ID 413c:2010 Dell Computer Corp. Keyboard 
    Bus 001 Device 005: ID 413c:1003 Dell Computer Corp. Keyboard Hub 
    Bus 001 Device 004: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse 
    Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub 
    Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    11. The MFC is plugged into a USB2 not USB3 port.

    12. Simple Scan can see the machine:


    13. But all attempts to actually scan, still fail like has happened for three years & three distros:


    14. YaST also sees it:



    Same as with Mint & Mau before, i've run out of ideas to try. Each time i need to scan, i still have to launch my dreaded Win10 VM, & do it that way... aggravatingly that works perfectly.
    OS: openSUSE Tumbleweed KDE x64 Plasma 5.10.5. Browser: Vivaldi-Snapshot x64. She not he, her not him.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    16,547
    Blog Entries
    1

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Anything interesting reported in the ~/.cache/simple-scan/simple-scan.log ?

    Does scanimage report the scanner as expected?
    Code:
    scanimage -L
    Using the bus# and device# reported are you able to complete a successful scan using something like the following?
    Code:
    scanimage -d brother2:libusb:001:010 --format=tiff >image.tiff
    *Substitute the applicable bus:device IDs for the connected scanner device.

  3. #3
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    427

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Thanks for your fast reply deano.

    Here's the log:
    Code:
    [+0.00s] DEBUG: simple-scan.vala:637: Starting Simple Scan 3.26.0, PID=4
    [+0.02s] CRITICAL: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed
    [+0.02s] CRITICAL: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed
    [+0.05s] DEBUG: app-window.vala:1714: Loading state from /home/gooeygirl/.cache/simple-scan/state
    [+0.05s] DEBUG: app-window.vala:1671: Restoring window to 600x400 pixels
    [+0.05s] DEBUG: autosave-manager.vala:64: Loading autosave information
    [+0.05s] DEBUG: autosave-manager.vala:259: Waiting to autosave...
    [+0.09s] DEBUG: scanner.vala:1454: sane_init () -> SANE_STATUS_GOOD
    [+0.09s] DEBUG: scanner.vala:1460: SANE version 1.0.27
    [+0.09s] DEBUG: scanner.vala:1521: Requesting redetection of scan devices
    [+0.10s] DEBUG: scanner.vala:806: Processing request
    [+0.15s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
    [+0.15s] DEBUG: scanner.vala:353: Device: name="brother2:bus4;dev1" vendor="Brother" model="MFC-7220" type="USB scanner"
    [+0.34s] DEBUG: autosave-manager.vala:281: Autosaving book information
    [+0.34s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+0.46s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+3.73s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+4.09s] DEBUG: simple-scan.vala:454: Requesting scan at 150 dpi from device 'brother2:bus4;dev1'
    [+4.09s] DEBUG: scanner.vala:1569: Scanner.scan ("brother2:bus4;dev1", dpi=150, scan_mode=ScanMode.GRAY, depth=2, type=ScanType.SINGLE, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=15ms)
    [+4.09s] DEBUG: scanner.vala:806: Processing request
    [+4.23s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+4.96s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+10.24s] DEBUG: scanner.vala:867: sane_open ("brother2:bus4;dev1") -> SANE_STATUS_INVAL
    [+10.24s] WARNING: scanner.vala:871: Unable to get open device: Invalid argument
    [+10.36s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+15.21s] DEBUG: app-window.vala:1775: Saving state to /home/gooeygirl/.cache/simple-scan/state
    [+16.83s] DEBUG: autosave-manager.vala:195: Deleting autosave records
    [+16.83s] DEBUG: scanner.vala:1597: Stopping scan thread
    [+16.83s] DEBUG: scanner.vala:806: Processing request
    [+16.83s] DEBUG: scanner.vala:1608: sane_exit ()
    Now the command response:
    Code:
    gooeygirl@linux-Tower:~> scanimage -L
    device `brother2:bus4;dev1' is a Brother MFC-7220 USB scanner
    gooeygirl@linux-Tower:~>
    Wrt your final command, i'm sorry for my ignorance, but which parts of it are where i need to substitute my MFC's details?
    OS: openSUSE Tumbleweed KDE x64 Plasma 5.10.5. Browser: Vivaldi-Snapshot x64. She not he, her not him.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    17,072
    Blog Entries
    13

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Since this on TW. see this thread https://forums.opensuse.org/showthre...hlight=ML-1640
    You as well might have to blacklist the device, then run YaST - Hardware - Scanner .
    ° Appreciate my reply? Click the star and let me kow why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Hi,

    You might need to install the libusb-1.0 Compatibilty Librarary for libusb-0.1
    InTumbleweed it is
    Code:
    libusb-0_1-4
    I am using a brother mfc also and I always have to install this package
    to be able to use the scanner.

    You might need a reboot after installing the package.

    Hope this help.
    People who do not break things first will never learn to create anything

  6. #6

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Quote Originally Posted by GooeyGirl View Post
    Hello.

    I have been fighting with this machine since mid-2014, & it has consistently beaten me. Being an MFC, it prints & scans... at least it does both those in Windows. Ever since i changed from Windows to Linux however, i've only ever managed to get its printer function working [which is fine], but never its scanner. My first Linux was Mint KDE4, then Maui, now oS TW. In all three... great printing, nil scanning. I'm hoping that some benevolent genius here might pls be able to identify what i'm doing wrong. Here's my latest TW attempt:

    6. I added myself to the "lp' group, then logged out/in..

    I have to add lp to both the user and group to make the scanner work also.
    Not only in group as you mentioned.

    You need a reboot for this also.
    People who do not break things first will never learn to create anything

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    16,547
    Blog Entries
    1

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Now the command response:
    Code:
    gooeygirl@linux-Tower:~> scanimage -L
    device `brother2:bus4;dev1' is a Brother MFC-7220 USB scanner
    gooeygirl@linux-Tower:~>
    Wrt your final command, i'm sorry for my ignorance, but which parts of it are where i need to substitute my MFC's details?
    Based on the above.....
    Code:
    scanimage -d brother2:libusb:004:001 --format=tiff >image.tiff

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    16,547
    Blog Entries
    1

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Quote Originally Posted by conram View Post
    Hi,

    You might need to install the libusb-1.0 Compatibilty Librarary for libusb-0.1
    InTumbleweed it is
    Code:
    libusb-0_1-4
    I am using a brother mfc also and I always have to install this package
    to be able to use the scanner.

    You might need a reboot after installing the package.

    Hope this help.
    That's interesting to know. I haven't run into this problem with my DCP-7055 scanner. It might be the key.

  9. #9
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    427

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Quote Originally Posted by Knurpht View Post
    Since this on TW. see this thread https://forums.opensuse.org/showthre...hlight=ML-1640
    You as well might have to blacklist the device, then run YaST - Hardware - Scanner .
    Thank you. I followed your link, & then also its own link -- very interesting. I have not yet tried this blacklist, because it seems to apply to a printer, whereas with my MFC the printing function is fine. As i've now seen several other helpful replies herein, i'm going to try them all, one by one, & if via that means my scanner is still useless, i shall certainly then return to your nice clue & try it too. :-)
    OS: openSUSE Tumbleweed KDE x64 Plasma 5.10.5. Browser: Vivaldi-Snapshot x64. She not he, her not him.

  10. #10
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    427

    Default Re: Brother MFC-7220: Scanner allergic to Linux?

    Quote Originally Posted by deano_ferrari View Post
    Based on the above.....
    Code:
    scanimage -d brother2:libusb:004:001 --format=tiff >image.tiff
    Oh, right, [slaps forehead], i should have deduced that myself -- thank you. Unfortunately however:
    Code:
    gooeygirl@linux-Tower:~> scanimage -d brother2:libusb:004:001 --format=tiff >image.tiff                                       
    scanimage: open of device brother2:libusb:004:001 failed: Invalid argument                                                                                   
    gooeygirl@linux-Tower:~>
    OS: openSUSE Tumbleweed KDE x64 Plasma 5.10.5. Browser: Vivaldi-Snapshot x64. She not he, her not him.

Page 1 of 8 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •