Problems getting my Samsung SCX-4100 to run as a scanner
Hello,
first of all, this is my first post on this forum, so I'm not 100% sure whether this is the right subforum if not, please move my thread. I'm using a Scientific Linux 7.2 64-bit distribution, which is based on RedHat Enterprise Linux, so everything that works for RedHat should work out for me too. Basicly I want to get my Samsung SCX-4100 printer and scanner to work. The printing function works perfectly fine, but I have trouble getting the scanning functions to work. I figured out that I'm gonna need SANE and CUPS packages to use the printer as a scanner. To make sure that I have all required packages, I used: Code:
sudo yum install *sane* Code:
sudo yum update I also checked that the Samsung SCX-4100 is supported by the current version of SANE. Following some guides from the internet, I learned that I'd need an official Samsung driver too, to get the printer to work properly, so I installed the "Samsung Unified Linux driver" from the official Samsung website. Up to this point everything worked out perfectly, but now the problems begin to start. First of all the scanner is being detected properly by scanimage: Code:
scanimage -L Quote:
Code:
sudo sane-find-scanner Quote:
Furthermore I'm not able to scan anything: Code:
scanimage Quote:
First I thought it was a problem with my rights, so I checked: Code:
ls -l /dev/usb/lp0 Quote:
My question is whether any of you know similar errors and their fixes or have basicly any idea of whats going wrong here. I know the printer is pretty old, but I read that many guys on the internet already got the scanner to work, and I thing it should be possible cause according to http://www.sane-project.org/sane-mfgs.html#Z-SAMSUNG the Samsung SCX-4100 is still supported. Thanks for your help. |
Triple_S,
Welcome to LQ. I am not a yum/rpm user, so you will need to translate these instructions from Ubuntu for use in Scientific Linux: http://askubuntu.com/questions/55468...msung-scx-4100 |
Quote:
I've already seen this instruction before, but I was not able to follow it, because the entry "usb 0x04e8 0x3413" already existed in my "/etc/sane.d/xerox_mfp.conf". Furthermoe the file "/lib/udev/rules.d/40-libsane.rules" doesnt exist. I checked the /lib64 folder too and it doesnt exist there eigther. The only file I found in the rules.d directory, that has something to do with SANE is "/lib/udev/rules.d/65-sane-backends.rules", but I doubt thats the same file. Last point is that the service saned doesnt exist on my system. Code:
sudo service saned restart Quote:
|
Triple_S,
Dedoimedo gives widely differing conclusions on his reviews of the two RH-based OSs, but then again you may have solid reasons for using SL. CentOS 7: http://www.dedoimedo.com/computers/c...t-desktop.html SL 7.1: http://www.dedoimedo.com/computers/s...linux-7-1.html You could try using CentOS 7 which is also based on RH. However since it is based on RH, I suspect that the end result will be the same, a Samsung SCX-4100 whose scanner does not work. Basically, as I see it, you have 2 choices: 1. Cheaper……..Change distro to Ubuntu/Mint/Debian or whatever or 2. More expensive…….Buy a scanner such as the Canon CanoScan LiDE 220 Compact Scanner: https://www.amazon.co.uk/Canon-CanoS...dp_ob_title_ce Again, this works fine with Ubuntu/Mint/Debian but perhaps not in SL/CentOS? EDIT There is also Fedora 23: http://www.dedoimedo.com/computers/l...50-fedora.html |
According to this it works in Linux. http://www.sane-project.org/lists/sa...html#Z-SAMSUNG
It really is irrelevant what distro is used. Make sure the correct driver is installed - that would be sane-xerox_mfp. |
Thanks for your answers.
Actually I'd like to stay with SL, cause its the distribution I use at university too. When I saw that SCX-4100 is included in xerox_mfp package, I thought it would be easy to get it working, but despite the driver package being installed, it just wont work. Without having the Samsung Unified Linux driver package installed, the scanner isnt even recognized, so there seems to be something wrong with my SANE. I really hope someone had the same problem before or has a brilliant idea how to get it working. |
Your scanner has to show up in lsusb properly, if it does not then it cannot be found and made to work. I personally use ethernet connected printers/scanners only. Can yours be connected over ethernet?
|
Quote:
Quote:
|
https://wiki.archlinux.org/index.php...roubleshooting
Are you using a USB3 port to connect your scanner? |
Thanks for the tipp, actually it was connected with a USB 3.0 port, but changing to an USB 2.0 port didnt fix the device being displayed as busy.
|
It may be something else is claiming it, I'd unplug the scanner, run tail -f /var/log/messages and plug it back in ...
|
Quote:
Quote:
Quote:
|
TBH SELinux is terra incognita for me. I know there can be some conflicts between USB drivers and CUPS, but this is something I never experienced myself, thus I have no details on this. Nor have I experience with CUPS locking up a multifunction device and denying access to SANE. You could shut down CUPS as troubleshooting measure and see if you get access to the scanner.
|
Even with cups deactivated (sudo service cups stop) scanimage issues "Device busy". Somehow cups is restarting itself. Because it starts running without using sudo service cups start. I really dont get, cause I really dont know which application could be blocking the scanner.
|
I just had another idea that might help someone who's experienced to find the error.
Running Code:
SANE_DEBUG_DLL=255 scanimage Quote:
|
All times are GMT -5. The time now is 06:54 AM. |