I think the issue is that you have to add or modify the udev rules to give normal users permission to scan, as I mentioned and described earlier in the thread. I am not sure being in the "scanner" group does it, and many Brother scanner users seem to need udev adjustments in general. Running xsane with sudo might be an issue , as it probably prevents a normal user from saving settings perhaps, but probably not keep it from actually scanning (if the proper udev entry exists).
I could be wrong though, as my scanner trouble shooting knowledge is now a bit long in the tooth.
Sent from my LG-H931 using Tapatalk
Announcement
Collapse
No announcement yet.
Brother AIO laser printer doesn't want to work
Collapse
This topic is closed.
X
X
-
You've either missed the point Snowhog and I are trying to make or simply do not want to accept it. Let me state unequivocally: In no uncertain terms, no files in your home folder should be owned by root. If there are, then that in and of itself, is "screwed up." If your goal is to not have a screwed up computer, then un-screw it one thing at a time and start by re-taking possession of the files in your home.Originally posted by przxqgl View Posti realise that i'm not supposed to have files owned by root in my home directory, and i'm not saying that i do have files owned by root in my home directory... what i'm saying is that IF i have files owned by root in my home directory, i don't know about them and if i were to take possession of them with out knowing what they are, it's a good bet that i wouldn't know why things are screwing up.
i COULD take the time to sort everything out so that it works the way i want it to, but then, inevitably, something would change in the software that would cause things to screw up without my having to do anything. it inevitably happens, and there's nothing i can do, short of not upgrading my computer ever again, that will prevent it.
at this point, i've got this dysfunctional mess of a computer working MOSTLY the way i want it to, and i don't have the time or energy to screw it up more in order to make it work better, in the long run.
A further goal might be to learn what caused this, or other, screwed up conditions and to not repeat those behaviors. Et. al. running GUI programs as root.
However, as always it's your system so do with it as you wish.
- Top
- Bottom
Leave a comment:
-
Originally posted by Snowhog View PostChanging 'anything' in your /home directory from 'root' to 'yourself' isn't dangerous; nothing in ones /home directory should be owned by root.i realise that i'm not supposed to have files owned by root in my home directory, and i'm not saying that i do have files owned by root in my home directory... what i'm saying is that IF i have files owned by root in my home directory, i don't know about them and if i were to take possession of them with out knowing what they are, it's a good bet that i wouldn't know why things are screwing up.Originally posted by oshunluvr View PostIf you have root owned files is your home folder you've already got things screwed up that you aren't aware of. I thought UN-screwing them was the point of this thread.
i COULD take the time to sort everything out so that it works the way i want it to, but then, inevitably, something would change in the software that would cause things to screw up without my having to do anything. it inevitably happens, and there's nothing i can do, short of not upgrading my computer ever again, that will prevent it.
at this point, i've got this dysfunctional mess of a computer working MOSTLY the way i want it to, and i don't have the time or energy to screw it up more in order to make it work better, in the long run.
- Top
- Bottom
Leave a comment:
-
If you have root owned files is your home folder you've already got things screwed up that you aren't aware of. I thought UN-screwing them was the point of this thread.Originally posted by przxqgl View Postas much as i would like to do this, i am afraid that, if i did, it would result in screwed-up other things of which we aren't currently aware...
really...
my computer has always been somewhat like walking blindfolded through a minefield, and if i arbitrarily ran chown to take possession of files which may or may not have originally been assigned to "root", there's no telling what may blow up... as long as it's only giving me the permissions error when i quit, i'm willing to put up with it until a more definite solution can be found.
- Top
- Bottom
Leave a comment:
-
Great. gscan2pdf only saves to pdf so you may want to install skanlite for saving to images.Originally posted by przxqgl View Postdon't have a spare ethernet cable. currently, i have a USB cable connected to the device, which appears to work satisfactorally
i do, now...
- Top
- Bottom
Leave a comment:
-
Changing 'anything' in your /home directory from 'root' to 'yourself' isn't dangerous; nothing in ones /home directory should be owned by root.
- Top
- Bottom
Leave a comment:
-
as much as i would like to do this, i am afraid that, if i did, it would result in screwed-up other things of which we aren't currently aware...Originally posted by oshunluvr View PostI would assume this is because you ran it as root several times. Running a GUI program as root will almost always cause problems. Search your home folder for files owed by root and chown them to your user. Don't forget the hidden files also.
really...
my computer has always been somewhat like walking blindfolded through a minefield, and if i arbitrarily ran chown to take possession of files which may or may not have originally been assigned to "root", there's no telling what may blow up... as long as it's only giving me the permissions error when i quit, i'm willing to put up with it until a more definite solution can be found. 😉
- Top
- Bottom
Leave a comment:
-
don't have a spare ethernet cable. currently, i have a USB cable connected to the device, which appears to work satisfactorallyOriginally posted by Iangh View PostPhase 1 - install printer, scanner comes later
1. Connect printer using ethernet cable.
i do, now... 😉Originally posted by Iangh View PostWho actually has a Brother AIO installed and working?
- Top
- Bottom
Leave a comment:
-
I would assume this is because you ran it as root several times. Running a GUI program as root will almost always cause problems. Search your home folder for files owed by root and chown them to your user. Don't forget the hidden files also.Originally posted by przxqgl View Post...xSANE worked exactly as i expected it to, except for the end part, when i told it to "Quit", at which point it gave me two, count them, TWO messages that said "Error - Failed to create file: Permission denied" with a "Close" button on each one. apparently there's something that doesn't like my being there, but it saved the test scan that i made in a number of different file formats, so it's not that...
- Top
- Bottom
Leave a comment:
-
Phase 1 - install printer, scanner comes later
1. Connect printer using ethernet cable.
1. Choose Linux deb, https://support.brother.com/g/b//dow...ll2395dw_us_as
2. Choose Driver install tool
3. Agree and download
4. You get these instructions (I have modded the instructions for your printer, see bold):
Step1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz)
The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(LoginName)/Download
Step2. Open a terminal window and type cd Downloads, press return
Step4. Enter this command to extract the downloaded file:
Command: gunzip linux-brprinter-installer-2.2.1-1.gz
Step5.
Get superuser authorization with the "su" command or "sudo su" command.
Step6. Run the tool:
Command: bash linux-brprinter-installer-2.2.1-1 HL-L2395DW
Step7. The driver installation will start. Follow the installation screen directions.
When you see the message "Will you specify the DeviceURI ?",
For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI number.For a network printer, you select in the next question the last option:
(A): Auto. For that, you type the number of that option and you press Enter.The install process may take some time. Please wait until it is complete.
Reboot your computer.
You should now have the printer installed. Print a test page to make sure.
Phase 2 Set a static address for your printer. At some stage (can't remember exactly when) it wants to know the ip address of your printer, so to stop any issues with the router changing the dynamic address I set a static ip address. To do this you need to log into your router and enter an ip address and MAC address. What's the current ip address and MAC address? You can find it in the settings section of the control panel. OR, download https://play.google.com/store/apps/d...urvey&hl=en_AU and click on 'Discovery' at the bottom of the page. Look for Brother. You'll have to do a search for how to set a static IP on your router.
Phase 3 Get the scanner working. Says Linux but works for Kubuntu.
10. Now you may have to solve a problem with the scanner. In 64-bit Linux Mint 19.1 the location for the supporting library files has changed, and the driver for the scanner feature doesn't always take that into account. The Brother driver then puts them in /usr/lib64, whereas your operating system expects them in /usr/lib.
So for a 64-bit system, you now need to execute the following three commands in order to make your scanner work well (use copy/paste to transfer them one by one to the terminal, and press Enter after each command):
sudo ln -sf /usr/lib64/libbrscandec*.so* /usr/lib
sudo mkdir -p /usr/lib/sane
sudo ln -sf /usr/lib64/sane/libsane-brother*.so* /usr/lib/sane
11. Then add yourself to the scanner user group. You can use a click-click-click graphical system tool for that, but this varies amongst editions. The terminal works in all editions...
An example is easiest. If your name is Johnny, your username is johnny (no caps), so the terminal command would be:
sudo usermod -a -G scanner johnny
Check your username by looking at Account Details/User manager.
Press Enter.
Reboot PC
phase 4 install gscan2pdf
Search for gscan2pdf in Discover software centre and install
phase 5 run gscan2pdf. When you run it gscan2pdf searches for the scanners on the network and opens up a giu with scanning options.
- Top
- Bottom
Leave a comment:
-
......
Originally posted by claydoh View PostYou still probably have to add the udev rule, which the 'scanner setting file' *should* do just fine, but this probably is better:
1. Open "/lib/udev/rules.d/60-libsane1.rules" file.
2. Add the following two lines to the end of the device list. (Before the line "# The following rule will disable ..."):
If there is "LABEL="libsane_rules_end"", add the following 2 lines before "LABEL="libsane_rules_end"".
The lines to be added---------------------------
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
and reboot.
This is updated from numerous other sources, including Brother, to reflect the correct file name.
- Top
- Bottom
Leave a comment:
-
If you start xsane in a konsole, "xsane", you may get a lot of messages (at least I do, ~500), and the last few might shed light on the permissions problem.Originally posted by przxqgl View Post...xsane worked exactly as i expected it to, except for ... messages that said "Error - Failed to create file: Permission denied"...
- Top
- Bottom
Leave a comment:
-
aha, i've never used that command before...Originally posted by oshunluvr View PostWell, since the user manager part of settings is totally useless...
open Konsole and enter;
sudo usermod -a -G scanner <your_user_name>
then log out and back in.
i did it, and xSANE worked exactly as i expected it to, except for the end part, when i told it to "Quit", at which point it gave me two, count them, TWO messages that said "Error - Failed to create file: Permission denied" with a "Close" button on each one. apparently there's something that doesn't like my being there, but it saved the test scan that i made in a number of different file formats, so it's not that...
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: