I'm having a similar problem. I have an old 32-bit Debian laptop on
which my scanner is working fine, and a new 64-bit Ubuntu 14.04 laptop
on which the scanner is not working. The scanner is connected via USB
cable. It is part of a Brother DCP-8155DN (multifunction black and
white laser printer, copier, and scanner). The copier is working, and
the printer part is working with CUPS just fine as far as I can tell.
The scanner seems to be detected, but then gscan2pdf and Simple Scan
give errors, and sane-find-scanner can not find it. Scanimage sees it
but cannot produce an output image. I tried these as root and not
root.
I have sane 1.0.14-9 and sane-utils 1.0.23-3. The kernel is Linux
version 3.13.0-32-generic.
lsusb:
Bus 003 Device 006: ID 04f9:0293 Brother Industries, Ltd
grep bro /etc/sane.d/dll.conf
brother4
locate libsane | grep rules
/etc/udev/rules.d/40-brother-libsane-type1.rules
/lib/udev/rules.d/40-libsane.rules
grep 0293 /lib/udev/rules.d/40-libsane.rules
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="0293",
ENV{libsane_matched}="yes"
scanimage -L
device `brother4:bus2;dev1' is a Brother DCP-8155DN USB scanner
sudo scanimage -T
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
sudo sane-find-scanner
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
When I ran gscan2pdf as root from the command line, it gave a command
line error:
ERROR - opening device 'brother4:bus2;dev1': Invalid argument
*************************************************************************************
sudo SANE_DEBUG_SANEI_USB=255 sane-find-scanner
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: initializing libusb-1.0
[sanei_usb] sanei_usb_init: Looking for libusb-1.0 devices
...
[sanei_usb] sanei_usb_init: device 0x04f9/0x0293, interface 0 doesn't look like
a scan
ner (0/7)
[sanei_usb] sanei_usb_init: found libusb-1.0 device (0x04f9/0x0293) interface 1
at lib
usb:003:006
[sanei_usb] store_device: add dn 0 with libusb:003:006
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:003:006
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner' in list
...
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner' in list
...
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
******************************************************************************
sudo SANE_DEBUG_SANEI_USB=255 scanimage -T
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: initializing libusb-1.0
[sanei_usb] sanei_usb_init: Looking for libusb-1.0 devices
...
[sanei_usb] sanei_usb_init: device 0x04f9/0x0293, interface 0 doesn't look like
a scanner (0/7)
[sanei_usb] sanei_usb_init: found libusb-1.0 device (0x04f9/0x0293) interface 1
at libusb:003:006
[sanei_usb] store_device: add dn 0 with libusb:003:006 (*** some paragraphs in
the output have this line ***)
[sanei_usb] store_device: not storing device libusb:003:006 (*** alternate
paragraphs in the output have this line ***)
...
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:003:006
...
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner' in list
...
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
*************************************************************************
/etc/udev/rules.d/40-brother-libsane-type1.rules:
ACTION!="add", GOTO="brother_mfp_end"
SUBSYSTEM=="usb", GOTO="brother_mfp_udev_1"
SUBSYSTEM!="usb_device", GOTO="brother_mfp_end"
LABEL="brother_mfp_udev_1"
SYSFS{idVendor}=="04f9", GOTO="brother_mfp_udev_2"
ATTRS{idVendor}=="04f9", GOTO="brother_mfp_udev_2"
GOTO="brother_mfp_end"
LABEL="brother_mfp_udev_2"
ATTRS{bInterfaceClass}!="0ff", GOTO="brother_mfp_end"
ATTRS{bInterfaceSubClass}!="0ff", GOTO="brother_mfp_end"
ATTRS{bInterfaceProtocol}!="0ff", GOTO="brother_mfp_end"
ENV{libsane_matched}="yes"
LABEL="brother_mfp_end"
Here's a link that has some source code that has to do with this, not
sure it's the version I have:
http://sane-
backends.sourcearchive.com/documentation/1.0.19-19/sanei__usb_8h_7e7a35cd2d6c02d93dbf9addbdf06452.html
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1312594
Title:
14.04 won't detect common USB scanner
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1312594/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs