I am having the exact same issue with a wireless installed brother MFC-L2740DW 
on Ubuntu 16.04.3.
Installed the repository as suggested here. Now libsane version is 
1.0.27+git20180122-xenial0 - but the problem unfortunately remains.

on starting XSANE: "failed to open device brother4:net1;dev0 invalid
argument"

scanimage -L
device `brother4:net1;dev0' is a Brother MFC-L2740DW MFC-L2740DW

scanimage --test
scanimage: open of device brother4:net1;dev0 failed: Invalid argument

please help !

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1512027

Title:
  open of device pixma:MX7600_... failed: invalid argument

Status in sane-backends package in Ubuntu:
  Confirmed

Bug description:
  Up until recently, I've been able to scan fine with my Canon Pixma
  MX7600. Then I upgraded to Ubuntu Wily and I've started getting:

  $ scanimage
  scanimage: open of device pixma:MX7600_192.168.2.107 failed: Invalid argument

  The device pings and I can get to its HTTP port. Everything appears
  OK.

  If I run

  strace -f -s 256 -o /tmp/trace.txt scanimage

  the relevant output appears to be:

  socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 204
  connect(204, {sa_family=AF_INET, sin_port=htons(8612),
  sin_addr=inet_addr("192.168.2.107")}, 16) = 0
  sendto(204, "BJNP\2\1\0\0\0\0\0\0\0\0\0\0", 16, 0, NULL, 0) = 16
  select(205, [204], NULL, NULL, {4, 0}) = 1 (in [204], left {3, 998257})
  recvfrom(204, 
"BJNP\202\1\0\0\0\0\0\0\0\0\0\20\0\1\10\0\6\4\0\0\205\316\356\343\300\250\2k",
  2048, 0, NULL, N
  ULL) = 32
  close(204)
  write(2, "scanimage: open of device pixma:MX7600_192.168.2.107 failed:
  Invalid argument\n", 78) = 78

  It appears to me that the scanner is responding but the driver doesn't
  like the response. I'm running sane 1.0.14-11 and sane-utils
  1.0.25+git201505.

  WORKAROUND: Use the PPA from
  https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1512027/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to