Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Scanner doesn't work anymore

  1. #1
    Join Date
    Oct 2009
    Beans
    369

    Scanner doesn't work anymore

    I'm running Ubuntu 18.04.3 on two Dell Machines, a M6800 and a M6600. After a recent update the scanner, a Brother MFC-7820 stopped working with both machines. If I launch xsane I get the correct pop-up "Available devices" window, however when I click on the MFC-7820 I get another window saying

    Code:
    Failed to open device 'brother2:net1:dev0':
    Invalid argument.
    This problem is recent because the scanning was working fine until a couple of weeks ago.

    I ran:

    Code:
    daniel@chopin:~$ scanimage -L
    device `brother2:net1;dev0' is a Brother MFC-7820N MFC-7820N
    device `brother2:bus2;dev1' is a Brother MFC-7820N USB scanner
    device `brother4:net1;dev0' is a Brother MFC-L8900CDW MFC-L8900CDW
    daniel@chopin:~$
    the MFC-L8900CDW works fine.

    I also ran:
    Code:
    daniel@chopin:~$ lsusb | grep Brother
    Bus 003 Device 004: ID 04f9:0181 Brother Industries, Ltd MFC-7820N Port(FaxModem)
    I will appreciate any help.
    Last edited by danielsender; 1 Week Ago at 10:28 PM.

  2. #2
    Join Date
    Oct 2009
    Beans
    369

    Re: Scanner doesn't work anymore

    Anybody there?

  3. #3
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Scanner doesn't work anymore

    How Odd, just had a friend bring me his, but i had to edit:
    Code:
    /lib/udev/rules.d/40-libsane.rules
    I just commented this: (Some where around line 40 I think)
    Code:
    # Brother scanners
    #ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
    Might be a conflict now, so first check and show us this please:
    Code:
    dpkg -l | grep Brother
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Scanner doesn't work anymore

    Maybe see how this works:
    Code:
    scanimage --test -d 'brother2:net1;dev0'
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  5. #5
    Join Date
    Oct 2009
    Beans
    369

    Re: Scanner doesn't work anymore

    Code:
    daniel@chopin:~$ scanimage --test -d 'brother2:net1;dev0'
    Output format is not set, using pnm as a default.
    scanimage: open of device brother2:net1;dev0 failed: Invalid argument
    daniel@chopin:~$
    and

    Code:
    daniel@chopin:~$ dpkg -l | grep -i brother
    ii  brmfc7820nlpr:i386                            2.0.1-1                                      i386         Brother MFC-7820N LPR driver
    ii  brother-udev-rule-type1                       1.0.2                                        all          Brother udev rule type 1
    ii  brscan-skey                                   0.2.4-1                                      amd64        Brother Linux scanner S-KEY tool
    ii  brscan2                                       0.2.5-1                                      amd64        Brother Scanner Driver
    ii  brscan4                                       0.4.7-1                                      amd64        Brother Scanner Driver
    ii  cupswrappermfc7820n:i386                      2.0.1-2                                      i386         Brother MFC7820N CUPS wrapper driver
    ii  mfcl8900cdwcupswrapper:i386                   1.4.0-0                                      i386         Brother CUPS Laser Printer Driver
    ii  mfcl8900cdwlpr:i386                           1.3.0-0                                      i386         Brother lpr Laser Printer Driver
    ii  printer-driver-brlaser                        4-1                                          amd64        printer driver for (some) Brother laser printers
    ii  printer-driver-ptouch                         1.4.2-3                                      amd64        printer driver Brother P-touch label printers
    daniel@chopin:~$
    Last edited by danielsender; 1 Week Ago at 12:12 AM.

  6. #6
    Join Date
    Oct 2009
    Beans
    369

    Re: Scanner doesn't work anymore

    Any suggestions?

  7. #7
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Scanner doesn't work anymore

    Will it show in:
    Code:
    scanimage -L
    It might need something like:
    Code:
    brsaneconfig4 -a name=MyOwn665 model=MFC-665CW ip=192.168.1.234
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  8. #8
    Join Date
    Oct 2009
    Beans
    369

    Re: Scanner doesn't work anymore

    Sorry, I forgot to type 'name', here it goes again:

    Code:
    daniel@chopin:~$ scanimage -L
    device `brother2:net1;dev0' is a Brother MFC-7820N MFC-7820N
    device `brother2:bus2;dev2' is a Brother MFC-7820N USB scanner
    device `brother4:net1;dev0' is a Brother MFC-L8900CDW MFC-L8900CDW
    daniel@chopin:~$ brsaneconfig2 -a name=MFC-7820N model=MFC-7820N ip=192.168.2.17
    "MFC-7820N" is already registered.
    daniel@chopin:~$
    Last edited by danielsender; 6 Days Ago at 07:21 PM.

  9. #9
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Scanner doesn't work anymore

    What dose this show then:
    Code:
    cat /lib/udev/rules.d/40-libsane.rules
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  10. #10
    Join Date
    Oct 2009
    Beans
    369

    Re: Scanner doesn't work anymore

    In my system the file name is different:
    Code:
    daniel@chopin:~$ ls -last /lib/udev/rules.d/*sane*
    4 -rw-r--r-- 1 root root 3543 Sep  1 02:31 /lib/udev/rules.d/60-libsane.rules
    daniel@chopin:~$
    looking at the timestamp, it seems very recent as if it was changed by an update. Here are its contents, that has no mention to any Brother scanner, however the MFC-8900CDW works fine.
    Code:
    daniel@chopin:~$ cat /lib/udev/rules.d/60-libsane.rules
    # This file was automatically created based on description files (*.desc)
    # by sane-desc 3.5 from sane-backends 1.0.28git
    #
    # udev rules file for supported USB and SCSI devices
    #
    # For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
    #
    # The SCSI device support is very basic and includes only
    # scanners that mark themselves as type "scanner" or
    # SCSI-scanners from HP and other vendors that are entitled "processor"
    # but are treated accordingly.
    #
    # If your SCSI scanner isn't listed below, you can add it to a new rules
    # file under /etc/udev/rules.d/.
    #
    # If your scanner is supported by some external backend (brother, epkowa,
    # hpaio, etc) please ask the author of the backend to provide proper
    # device detection support for your OS
    #
    # If the scanner is supported by sane-backends, please mail the entry to
    # the sane-devel mailing list (sane-devel@alioth-lists.debian.net).
    #
    ACTION!="add", GOTO="libsane_rules_end"
    
    
    # The following rule will disable USB autosuspend for the device
    ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"
    
    
    SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
    GOTO="libsane_rules_end"
    
    
    LABEL="libsane_scsi_rules_begin"
    KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"
    
    
    # Generic: SCSI device type 6 indicates a scanner
    ATTRS{type}=="6", ENV{libsane_matched}="yes"
    
    
    # Some scanners advertise themselves as SCSI device type 3
    
    
    # Wildcard: for some Epson SCSI scanners
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"
    
    
    # Epson Expression 800 | Epson Expression 800
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"
    
    
    # Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"
    
    
    # Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"
    
    
    # Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"
    
    
    # Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"
    
    
    # Epson Perfection 636 | Epson Perfection 636S
    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet 4p
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet IIc
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet IIp
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet IIcx
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet 4c
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet 5p
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet 6200C
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"
    
    
    # Hewlett-Packard ScanJet 6300C
    ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"
    
    
    
    
    LABEL="libsane_rules_end"
    daniel@chopin:~$

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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