Snanning with Brother 3-in-one J140W gets killed by signal 11 and signal 5
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.
Snanning with Brother 3-in-one J140W gets killed by signal 11 and signal 5
Downloaded and installed the brscan 4 drivers for printer DCP-J140W. It prints fine but when I try to scan I get killed by signal 11 and killed by signal 5.
We're using Fedora 16.
Using scan tool brings up message: Failed to open device 'brother4:bus1, dev1':
Trying to scan with Scan utility brings up Error report: gnome-scan
Process/usr/flegita was killed by signal 11.
What do I do next? [Mind, I'm a new user with no code writing in my background].
Thanks!
Fedora 16, 15, 14, 13, 12
1. Open"/lib/udev/rules.d/65-libsane.rules"
2. Add the following 2 lines at the last of the device entry. (just before "# The following rule...").
Is this a 32 bit system or a 64 bit system? Did you make sure you installed the driver package that matches? 32 bit or 64 bit?
It's a 64 bit system. Yep, I downloaded and installed the correct drivers from the Brother support and download site.
I have no idea what those instructions mean or are saying. How and where do write these things and what do I sub for what is in the brackets? Like I said, new user [my Dad wants to use Fedora. I could do without the headach].
Carla
They are udev rules. You need them so the scanner is correctly recognized. The instructions are on Brothers site.
Quote:
How and where do write these things and what do I sub for what is in the brackets?
You edit the file as root, copy and paste the lines exactly as they are. You do not change anything.
The udev rules are used to match information read from the scanner hardware. Once a match is made, a device gets created in the /dev directory. Without it, the scanner doesn't work.
Ok, got that.
How do I do this part "Open"/lib/udev/rules.d/65-libsane.rules"
Where do I do this, in terminal?
Thanks for your help!
C
Camorri said:
"You edit the file as root, copy and paste the lines exactly as they are. You do not change anything.
The udev rules are used to match information read from the scanner hardware. Once a match is made, a device gets created in the /dev directory. Without it, the scanner doesn't work.[/QUOTE]
Yes, in a terminal. You use what ever text editor you have on the system. ( Not a word processor ). If the file 65-libsane.rules doesn't exist, create it and add the lines, and save it to the path /lib/udev/rules.d/ and restart the system ( boot it ).
Yes, in a terminal. You use what ever text editor you have on the system. ( Not a word processor ). If the file 65-libsane.rules doesn't exist, create it and add the lines, and save it to the path /lib/udev/rules.d/ and restart the system ( boot it ).
Ok, how do I find the file "65-libsane.rules."?
Carla
Ok, it says "no such file or directory". How do I create it.
By the way, thank you for helping me with this. Now I will know how to edit when I have to install other items].
Carla
Quote:
Originally Posted by camorri
Open a konsole. It will open in your home directory. /home/username/.
Type 'cd /lib/udev/rules.d/' ( just what is between the quotes ) and press enter.
You will be in the correct directory. You can confirm that with the 'pwd' command ( present working directory).
Type 'ls 65-libsane.rules'. If the file exists, the system will list the file.
How much of the directory structure do you have? Some distros install things to different locations.
To find out, do a 'cd /' press enter. That gets you to the root of the file system.
Then one step at a time. 'cd lib' press enter. That should work on any system.
Next, 'cd udev' note there is no forward slash used here.
Last, 'cd rules.d' press enter. Can you get here?
You can do an 'pwd' at any point, and the system will tell you where you are.
If the directory structure is there, do a 'ls -l' command, look for 65-libsane.rules file.
It may not be there. There should be several files starting with numbers, and ending with .rules extension. If that is what you see, start up the editor you want to use, type the lines as posted above ( or copy and paste them ) and save the file with the name of 65-libsane.rules. Restart the system, and try the scanner.
If you have problems, copy and paste the errors into this thread, it helps me help you faster.
Ok, I dud all this and found the file '65-libsane.rules' after getting down to:
[carl@localhost rules.d]$
I did the 'ls -l' command and got a whole list of directories. The 65-libsane.rules' was in the list.
How to I get it to the command prompt so that I can cut and paste the needed 2 lines? I'm not using an editor, I'm just typing everything out that you tell me or copy and pasting from these forum postings. I don't know about saving the file.
Carla
Quote:
Originally Posted by camorri
How much of the directory structure do you have? Some distros install things to different locations.
To find out, do a 'cd /' press enter. That gets you to the root of the file system.
Then one step at a time. 'cd lib' press enter. That should work on any system.
Next, 'cd udev' note there is no forward slash used here.
Last, 'cd rules.d' press enter. Can you get here?
You can do an 'pwd' at any point, and the system will tell you where you are.
If the directory structure is there, do a 'ls -l' command, look for 65-libsane.rules file.
It may not be there. There should be several files starting with numbers, and ending with .rules extension. If that is what you see, start up the editor you want to use, type the lines as posted above ( or copy and paste them ) and save the file with the name of 65-libsane.rules. Restart the system, and try the scanner.
If you have problems, copy and paste the errors into this thread, it helps me help you faster.
The 65-libsane.rules' was in the list.
How to I get it to the command prompt so that I can cut and paste the needed 2 lines
You have to use an editor as the root user.
You will have to use the 'su' command ( switch user ), the system will prompt you for a password. Enter the root password.
Next, try the 'nano' editor. type 'nano 65-libsane.rules' and press enter. The file shold open. Once opened, you can enter the lines, and save the file. Nano shows the use of keys at the bottom of the screen. You will see the ^ symbol, followed by a letter. For example, the WriteOut is done by using the Ctrl key plus the O key ( that is the letter o, not number 0 ).
If that editor is not on your system, there is always vi, however there is a learning curve with it.
If you know of an editor you would rather use, tell me, I'll try and help if you need it.
You will have to use the 'su' command ( switch user ), the system will prompt you for a password. Enter the root password.
I did what you said and it asks for the password, but it won't allow me to type, even though there's a blinking curser there...
[carl@localhost rules.d]$ su
Password:
Hsu: incorrect password
[carl@localhost rules.d]$ Helpme
bash: Helpme: command not found...
su
[carl@localhost rules.d]$ su
Password:
su: incorrect password
[carl@localhost rules.d]$
You will have to ask the person who installed the system to give you the root password. Without it, you can not edit files owned by root. This is normal on a linux system.
What you observed is normal. The cursor does not move, the system "sees the keystrokes" you enter, plus the enter key when you type the password. If you provide the correct password, the command prompt will change from a $ sign, to a # sign and you will have root privileges.
I'm the one that installed the system. That's the password.
I don't know why it won't let me type after I do the 'su.'
Carla
Quote:
Originally Posted by camorri
You will have to ask the person who installed the system to give you the root password. Without it, you can not edit files owned by root. This is normal on a linux system.
What you observed is normal. The cursor does not move, the system "sees the keystrokes" you enter, plus the enter key when you type the password. If you provide the correct password, the command prompt will change from a $ sign, to a # sign and you will have root privileges.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.