Installing the scanner function on a multifunction Brother dcp153 under U12.04
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.
Does this mean the drivers are not actually installed?
The way to tell, easily, if the files are there, in a terminal....
1. copy one line at a time from the list you posted, in a terminal, type ls ( followed by a space, then paste the copied line, press enter.
2. It will list the file if it is there.
3. If you get this response :
Quote:
ls /usr/lib64/sane/libsane-brother2.so
/bin/ls: cannot access /usr/lib64/sane/libsane-brother2.so: No such file or directory
then no, the exact file name is not present, at that location.
If you do not have the files in the correct location, you can also use the locate command.
As root user, in a terminal, run the command 'updatedb'. This may take a few minutes to complete. It is building a database of every file on the system. Once that completes, as a regular user, or root user, you can do a 'locate nameoffile'. If the file exists on the system, it will show you the path to the file. Keep in mind it will do exact full name matches. You can also use wild cards with it.
Wild cards are handy with files that have version numbers on the end. Say, for example, you did a 'locate libsane-brother2.so.1.0.7' and no file was found. Try removing the numbers, use a * instead. Then you may find you have a different version of the file.
Installing the scanner function on a multifunction Brother dcp153 under U12.04
Ran the ls command using the wildcard (*) which shows that all the various required files seem to be in the /usr/lib64 directory, however when I run the copy,permission is denied.
I have run the command as a sudo, but did'nt seem to get a response showing the file was copied or existed already. Also tried the updatedb file;
david@david-System-Product-Name:~$ cp /usr/lib64/libbrscandec2.so.1.0.0 /usr/libcp: cannot create regular file `/usr/lib/libbrscandec2.so.1.0.0': Permission denied
david@david-System-Product-Name:~$ sudo cp /usr/lib64/libbrscandec2.so.1.0.0 /usr/lib
[sudo] password for david:
david@david-System-Product-Name:~$ locate libsane-brother2.so.1.0.0
david@david-System-Product-Name:~$ locate libsane-brother2.so*
david@david-System-Product-Name:~$ updatedb
updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'
david@david-System-Product-Name:~$
david@david-System-Product-Name:~$ ls /usr/lib64/sane/libsane-brother2.so*
/usr/lib64/sane/libsane-brother2.so
/usr/lib64/sane/libsane-brother2.so.1
/usr/lib64/sane/libsane-brother2.so.1.0.7
david@david-System-Product-Name:~$ ls /usr/lib64/libbrcolm2.so*
/usr/lib64/libbrcolm2.so /usr/lib64/libbrcolm2.so.1.0.1
/usr/lib64/libbrcolm2.so.1
david@david-System-Product-Name:~$ ls /usr/lib64/libbrscandec2.so*
/usr/lib64/libbrscandec2.so /usr/lib64/libbrscandec2.so.1.0.0
/usr/lib64/libbrscandec2.so.1
cp command w/o sudo
david@david-System-Product-Name:~$ cp /usr/lib64/libbrscandec2.so.1.0.0 /usr/lib cp: cannot create regular file `/usr/lib/libbrscandec2.so.1.0.0': Permission denied
david@david-System-Product-Name:~$
We cant be too far away. I tried using the scanner using GIMP as the Brother site suggested. No joy.
Installing the scanner function on a multifunction Brother dcp153 under U12.04
If I have understood this correctly; if I use the cp command as a sudo, then the files will get copied in to /usr/lib, which is where Brother seem to think they should be.?David
Hi
Ran the cp command for the above files to copy them in to usr/lib
Ran the updatedb command which just repeated the command line so I assume that the db was updated.
I tried to run SANE and subsequently the xsane programs with identical results as before i.e. no scanner detected equivalents in both cases. The xsane program referred to a possible lack of a "sane" backend.
david@david-System-Product-Name:~$ sudo updatedb
[sudo] password for david:
david@david-System-Product-Name:~$
Been away for a few days. Saw your last update. I reviewed the entire thread. I'm not convinced the scanner driver is installed. I am also not sure why Brother wanted the files in /usr/lib. This is the 32 bit location, your system is 64 bit.
Could you run the following:
Quote:
4-4. Check if the driver is installed
Command (for dpkg) : dpkg -l | grep Brother
just the part 'dpkg -l | grep Brother' and post the results.
Ran a grep with the following response. My Linux all in one 4 dummies does not identlfy the ii return, but it seems like the sane utils are there so it might be in the wrong directory?
david@david-System-Product-Name:~$ dpkg -l | grep sane-utils
ii sane-utils 1.0.22-7ubuntu1 API library for scanners -- utilities
david@david-System-Product-Name:~$
Well, I'm out of ideas. From your post #3, the scanner was found. The drivers are installed, and the pre-req's are there. It should work at this point.
The only thing I can think of now is the sequence you did things in may have caused a problem, ( that is just a guess though ). Possible hardware problem? Don't know.
I think at this point, if it were my scanner, I would remove the driver package, and re-install it. Give it another try. Your choice.
Installing the scanner function on a multifunction Brother dcp153 under U12.04
Thank you. I'll try that. I have a backup way which I scan under W7 but I have to change back & forward which is a pain.
You have taught me a lot about Linux in a very short time, so that is a big step forward for me.
Once again, many many thanks,
David
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.