Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2138  / 2 Years ago, tue, august 23, 2022, 8:28:09

Now after updating from 13.10 to Ubuntu 14.04, my Brother DCP-7055 still prints, but still does not scan. I've reinstalled the Brother drivers. Twice. (I'm now using 0.4.2-3)



lsusb says:



Bus 003 Device 011: ID 04f9:0248 Brother Industries, Ltd DCP-7055 scanner/printer


Whereas scanimage -L says



device `brother4:bus2;dev1' is a Brother DCP-7055 USB scanner


So I tried (as root):



ln -s /dev/bus/usb/003/011 /dev/usb/scanner


So, now instead of "failed to open" sane-find-scanner -v gives me:



...
searching for USB scanners:
checking /dev/usb/scanner... open ok, but vendor and product could NOT be identified
found USB scanner (UNKNOWN vendor and product) at device /dev/usb/scanner
....
# Your USB scanner was detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# `UNKNOWN vendor and product' means that there seems to be a scanner at this
# device file but the vendor and product ids couldn't be identified.
# Currently identification only works with Linux versions >= 2.4.8. You may
# need to configure your backend manually, see the backend's manpage.


I feel I might have taken an important step forward, but I don't know what to do next? Is there a command to find out the product/device ID? And, if/when I find that, I guess there is a configuration file somewhere where I stick it?



UPDATE



Duh! I just noticed lsusb was giving me vendor ID (04f9) and product ID (0248). But I still don't know where to stick them. Thanks!


More From » 14.04

 Answers
5

I have got the same problem as you; and although I do know what config file you need to insert vendor and product ID, I fear it will not be enough to get rid of the "Invalid Argument" error. (At least, I am still stuck with it.)



The file you want to edit is /lib/udev/rules.d/40-libsane.rules. Here, you need to insert the following line:



# Brother scanners
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="0248", ENV{libsane_matched}="yes"


(Actually, most tutorials I found so far content themselves with `ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"'. Your posting here was the first time I've seen a product ID to try.)



My current status: After adding my own user account to the "lp" group, I am at least able to start xsane again. But on clicking the "scan" button, I only receive an "Invalid Argument" error message.


[#23276] Wednesday, August 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nquirewha

Total Points: 256
Total Questions: 109
Total Answers: 122

Location: Namibia
Member since Mon, Feb 21, 2022
2 Years ago
;