failed to start scanner: invalid argument (xsane)

5,559

This is described in a Launchpad bug. What seems to be happening is that xsane is getting mixed up between the webcam and the scanner.

Here is the workaround from Launchpad:

  • Open /lib/udev/rules.d/40-libsane.rules file.

Add the following two lines to the end of the device list, before the line # The following rule will disable ...

# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
  • Unplug webcam from the USB and reboot

  • Install (or reinstall) the 3 Brother packages for the device

    • mfc210clpr-1.0.2-1.i386.deb
    • cupswrapperMFC210C-1.0.2-3.i386.deb
    • brscan2-0.2.4-0.i386.deb
  • Plug the webcam back in

  • Reboot

  • xsane then offers a choice of whether to scan from webcam or scanner. Choose scanner. It will then work.

Share:
5,559
JoelFan
Author by

JoelFan

Updated on September 17, 2022

Comments

  • JoelFan
    JoelFan over 1 year

    I did a fresh install of Ubuntu 9.10 and now my Brother MFC 210C won't scan (printing is fine).

    I installed the following packages according to the instructions on the Brother site:

    cupswrapperMFC210C-1.0.2-3.i386.deb
    mfc210clpr-1.0.2-1.i386.deb
    brscan2-0.2.4-0.i386.deb
    

    When I start xsane and click "Scan", I get the error:

    failed to start scanner: invalid argument
    

    This scanner was working fine on 9.04 (and previous versions).

    EDIT: I also did:

    sudo chmod a+w /dev/bus/usb
    sudo chmod a+w /dev/bus/usb/*
    

    Didn't help!

    • Ron Kaminsky
      Ron Kaminsky about 4 years
      For me, other scanning programs besides xsane were working, even acquiring a preview in xsane was working, but this error would pop up at the end of trying to scan. The solution was to delete ~/.xsane (it seems that the old settings file was the source of the problem).
  • help-info.de
    help-info.de about 2 years
    Welcome to Super User! Before answering an old question having an accepted answer (look for green ✓) as well as other answers ensure your answer adds something new or is otherwise helpful in relation to them. Here is a guide on How to Answer. There is also tour for the site tour, and help center for the help center.