LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2012, 09:26 AM   #16
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Installing the scanner function on a multifunction Brother dcp153 under U12.04


Hi,
I tried the suggestion without success. I went back to the brother website which suggested that I do the following copy statements.

/usr/lib64/libbrscandec2.so.1.0.0
/usr/lib64/sane/libsane-brother2.so.1.0.7
/usr/lib64/sane/libsane-brother2.so.1
/usr/lib64/sane/libsane-brother2.so
/usr/lib64/libbrcolm2.so.1.0.1
/usr/lib64/libbrcolm2.so
/usr/lib64/libbrscandec2.so.1
/usr/lib64/libbrscandec2.so
/usr/lib64/libbrcolm2.so.1

and copying them as below.

cp /usr/lib64/libbrscandec2.so.1.0.0 /usr/lib etc..


When I tried this I got the following.

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:
cp: cannot stat `usr/lib64/libbrscandec2.so.1.0.0': No such file or directory

Does this mean the drivers are not actually installed?

Cheers

David
 
Old 08-18-2012, 10:03 AM   #17
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
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.
 
Old 08-21-2012, 08:30 AM   #18
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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:~$ 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:~$



ls command

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.
 
Old 08-22-2012, 08:46 AM   #19
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
I have run the command as a sudo, but did'nt seem to get a response showing the file was copied or existed already.
That means the command(s) worked. Success.

Quote:
updatedb
You have to run this as root. That means 'sudo updatedb' press, no quotes.

Files that are in the root partition are owned by root user, you have to use sudo in Ubuntu to operate on them.
 
Old 08-24-2012, 02:22 PM   #20
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-24-2012, 02:29 PM   #21
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
if I use the cp command as a sudo, then the files will get copied in to /usr/lib,
Yes, this will copy the files.
 
Old 08-28-2012, 11:56 AM   #22
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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:~$

Not sure where to go next.

Cheers

David
 
Old 09-01-2012, 07:23 PM   #23
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.
 
Old 09-02-2012, 02:35 PM   #24
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Installing the scanner function on a multifunction Brother dcp153 under U12.04

david@david-System-Product-Name:~$ dpkg -l | grep Brother
ii brother-cups-wrapper-common 1.0.0-10-0ubuntu5 Common files for Brother cups wrapper packages
ii brscan-skey 0.2.3-0 Brother Linux scanner S-KEY tool
ii brscan2 0.2.5-1 Brother Scanner Driver
rc dcp153clpr:i386 1.0.1-1 Brother lpr Inkjet Printer Definitions
ii printer-driver-ptouch 1.3-3ubuntu0.1 printer driver Brother P-touch label printers
david@david-System-Product-Name:~$
 
Old 09-02-2012, 06:37 PM   #25
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Have you got this installed?

Quote:
sane-utils is required to be installed.
I would think its in the Ubuntu repos.
 
Old 09-03-2012, 07:43 AM   #26
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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:~$
 
Old 09-03-2012, 08:32 AM   #27
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.

Sorry I couldn't be of more help.
 
Old 09-03-2012, 10:09 AM   #28
walkerdr2911
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-03-2012, 12:16 PM   #29
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You are most welcome. Best of luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing dcp-7030 brother scanner zenbo Linux - Newbie 1 02-15-2012 04:53 PM
Installing Brother DCP-7040 printer/scanner under CUPS wufo Slackware 4 11-27-2011 08:55 PM
Slow printing from CUPS on Debian to Brother Multifunction Device jimbo1954 Linux - Hardware 2 03-18-2008 08:26 AM
Tell me what printer/scanner multifunction to get! RoaCh Of DisCor Linux - Hardware 10 02-16-2006 08:34 PM
brother multifunction printer mfcc6800 sonic Fedora 1 10-15-2004 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration