Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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 am using 64-bit Debian Sid with 3.2.0-4-amd64 kernel. I had no problems installing Brother DCP7030 printer with official drivers from Brother's page, but I can't find any way to get scanner working. I've installed sane and libsane-1.0.22-7.4, brscan3-0.2.11-5.amd64 and brscan-skey-0.2.4-0.amd64 packages, copied the lib64 libraries mentioned in the Brother's FAQ.
# Brother DCP-7030
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ea", MODE="666", GROUP="scanner", ENV{libsane_matched}="yes"
# The following rule will disable USB autosuspend for the device
ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"
LABEL="libsane_usb_rules_end"
User pawel is in groups ld and scanner.
At the very end of /etc/sane.d/dll.conf, there's "brother3" line.
Now when I plug in my printer I can see dmesg:
Code:
[ 8695.435420] usb 2-2: new full-speed USB device number 4 using xhci_hcd
[ 8695.470593] usb 2-2: New USB device found, idVendor=04f9, idProduct=01ea
[ 8695.470598] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=3
[ 8695.470600] usb 2-2: SerialNumber: 000M9N675233
lsusb:
Code:
Bus 002 Device 004: ID 04f9:01ea Brother Industries, Ltd DCP-7030
pawel@autumn:~$ scanimage -L
WARNING: gnome-keyring:: couldn't connect to: /home/pawel/.cache/keyring-TtMqOV/pkcs11: No such file or directory
device `brother3:bus4;dev1' is a Brother DCP-7030 USB scanner
device `v4l:/dev/video0' is a Noname Laptop_Integrated_Webcam_HD virtual device
But after all, after every first plugging in, scanimage -T gives me:
Code:
pawel@autumn:~$ SANE_DEBUG_BROTHER3=255 scanimage -T
[sanei_debug] Setting debug level of brother3 to 255.
[brother3] brother init
[brother3] brother version: 1000001
[brother3] starting bus scan
[brother3] scanning bus 004
[brother3] found dev 8087/0024
[brother3] found dev 1D6B/0002
[brother3] scanning bus 001
[brother3] found dev 0C45/6441
[brother3] found dev 8086/0189
[brother3] found dev 8087/0024
[brother3] found dev 1D6B/0002
[brother3] scanning bus 003
[brother3] found dev 1D6B/0003
[brother3] scanning bus 002
[brother3] found dev 04F9/01EA
[brother3] found dev 1D6B/0002
WARNING: gnome-keyring:: couldn't connect to: /home/pawel/.cache/keyring-TtMqOV/pkcs11: No such file or directory
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
[brother3] cancel called...
And after every another try:
Code:
pawel@autumn:~$ SANE_DEBUG_BROTHER3=255 scanimage -T
[sanei_debug] Setting debug level of brother3 to 255.
[brother3] brother init
[brother3] brother version: 1000001
[brother3] starting bus scan
[brother3] scanning bus 004
[brother3] found dev 8087/0024
[brother3] found dev 1D6B/0002
[brother3] scanning bus 001
[brother3] found dev 0C45/6441
[brother3] found dev 8086/0189
[brother3] found dev 8087/0024
[brother3] found dev 1D6B/0002
[brother3] scanning bus 003
[brother3] found dev 1D6B/0003
[brother3] scanning bus 002
[brother3] found dev 04F9/01EA
[brother3] found dev 1D6B/0002
WARNING: gnome-keyring:: couldn't connect to: /home/pawel/.cache/keyring-TtMqOV/pkcs11: No such file or directory
scanimage: open of device brother3:bus4;dev1 failed: Invalid argument
The same happens with xsane and simple-scan, and when giving commands from root account. Switching to kernel 2.6.32-5-amd64 doesn't help, either.
I know there are a few similar problems out there on the forums, but for me simply changing the access rights and groups does not work. As far as I know, gnome-keyring warning is irrevelant.
It seems so - I've tried this on a Crunchbang liveCD without gnome-keyring problem, and it was the same.
I repaired it on my present one using your suggestions, and still, nothing changed.
Printer driver didn't work, either, and I have no idea what should I look for in a Brother booklet. I remember scanner working flawlessly under Arch and Ubuntu some months ago, so it is possible, and I suspect some newer version of... sane? kernel? broke the compatibility.
I gave thought to moving forward to a newer version of the kernel; generally does the job.
Even sometimes rolling back to an older version of the kernel too- But I know; you already did that-
Hmm...Not sure what this compatibility issue is.
Since your printer did perform under Arch and Ubuntu I suspect that this compatibility is of some sort of configuration. I'm wondering if re-configuring the 'printing' config file would make any difference.
However; I'm not sure how to change that file for the printer to comply.
I'll continue a little re-search and see if I find anything else you could try.
As crazy as it sounds; (this may be the answer) what is it that Arch and Ubuntu have (if anything) that Crunchbang lacks?
As crazy as it sounds; (this may be the answer) what is it that Arch and Ubuntu have (if anything) that Crunchbang lacks?
They have some other libraries, and different defaults in the configs. I've tried, hovewer, running Ubuntu 12.04.1 LiveCD and installing my Brother - and what's interesting, it didn't work. The last time it did was on installed Ubuntu 12.10 though, and I'm gonna try it again.
My printer isn't wireless, I connect it to my laptop via USB.
Also, restarting cups didn't help.
My best guess is that some sane libraries can work only with the newest kernels. I'll try upgrading to absolutely bleeding edge one.
Installed a few gutenprint utils - it seems that these are necessary for cups to communicate with some printers, but are not included in the printing-support script.
Quote:
open of device brother3:bus4;dev1 failed: Invalid argument
Would you like me to get another Senior Member or Moderator involved?
If that's not a problem. I've been thinking about everything I could do and found nothing. I'm sure I'm missing something obvious, I jusy don't know, what...
If that's not a problem. I've been thinking about everything I could do and found nothing. I'm sure I'm missing something obvious, I jusy don't know, what...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.