UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've installed KDE Neon (based on Ubuntu 16.04 LTS (kernel 4.8.0-49)) and installed the drivers for Brother dcp-j315w. The printer works fine, but I cannot find the scanner with "scanimage -L" nor with "sane-find-scanner" I've got the following outputs:
Code:
:~$ lsusb Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 04f9:0254 Brother Industries, Ltd Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 003: ID 0461:0010 Primax Electronics, Ltd HP PR1101U / Primax PMX-KPR1101U Keyboard Bus 003 Device 002: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button) Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code:
$ sudo dpkg -l | grep Brother
[sudo] password for jonas:
ii brscan-skey 0.2.4-1 amd64 Brother Linux scanner S-KEY tool
ii brscan3 0.2.13-1 amd64 Brother Scanner Driver
ii dcpj315wcupswrapper:i386 1.1.3-1 i386 Brother CUPS Inkjet Printer Definitions
ii dcpj315wlpr:i386 1.1.3-1 i386 Brother lpr Inkjet Printer Definitions
ii libsane-dsseries 1.0.5-1 amd64 Brother DS-series scanners driver
ii printer-driver-brlaser 3-5~ubuntu1 amd64 printer driver for (some) Brother laser printers
ii printer-driver-ptouch 1.4-1 amd64 printer driver Brother P-touch label printers
As far as I can see I've installed every driver (+uninstalled and reinstalled several times...), I've added the brother printer to /lib/udev/rules.d/60-libsane.rules . Restarted the computer etc.
The scanner has previously worked very well with Debian, Slackware, Linux Mint, and Crunchbang.
Last edited by skrotnisse; 04-26-2017 at 09:41 AM.
is (I had to shorten the output, but I hope it includes necessary information):
Code:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# 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.
# SANE has been built without libusb support. This may be a reason
# for not detecting USB scanners. Read README for more details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
The output of
Code:
dmesg -wH
is
Code:
[apr27 06:59] Linux version 4.8.0-49-generic (buildd@lcy01-26) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #52~16.04.1-Ubuntu SMP Thu Apr 20 10:55:59 UTC 2017 (Ubuntu 4.8.0-49.52~16.04.1-generic 4.8.17)
[apr27 08:47] usb 4-1: new full-speed USB device number 6 using uhci_hcd
[ +0,199992] usb 4-1: New USB device found, idVendor=04f9, idProduct=0254
[ +0,000005] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0,000003] usb 4-1: Product: DCP-J315W
[ +0,000003] usb 4-1: Manufacturer: Brother
[ +0,000003] usb 4-1: SerialNumber: BROC1F273255
[ +0,007736] usblp 4-1:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0254
[ +0,000377] usb-storage 4-1:1.2: USB Mass Storage device detected
[ +0,000331] scsi host4: usb-storage 4-1:1.2
[ +1,041557] scsi 4:0:0:0: Direct-Access Brother DCP-J315W 1.00 PQ: 0 ANSI: 2
[ +0,000639] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ +0,071369] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ +4,073150] usblp0: removed
[ +0,016889] usblp 4-1:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0254
Last edited by skrotnisse; 04-27-2017 at 01:53 AM.
FWIW, I note that you mentioned this in your opening post
Quote:
I've added the brother printer to /lib/udev/rules.d/60-libsane.rules
What does your udev rule look like? I note that there is a 'brother-udev-rule-type1-1.0.2-0.all.deb' package that needs to be installed to provide the appropriate rule automatically. Refer Scanner Setting file (deb package)...
Thank you for you time!
I still don't know what went wrong, but I think the problem was related to the distribution. Even if KDE Neon is based on Ubuntu they are probably not equivalent. I had no problem getting the scanner working in Linux Mint.
However, I learned a lot during my attempts
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.