Bug 702983

Summary: Samsung 3170 series scanner not recognised and not usable.
Product: [Fedora] Fedora Reporter: David Keegan <dksw.daithi>
Component: sane-backendsAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sane-backends-1.0.22-3.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-17 01:06:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Keegan 2011-05-08 19:59:45 UTC
Description of problem:

Since I installed fedora I cannot scan with my Samsung CLX3175FN multi-function printer/scanner. When I boot Debian off a different partition the scanner works fine. The scanner is connected to a usb port on the computer.

Version-Release number of selected component (if applicable):

1.0.22 1.fc15

How reproducible: VERY.

Steps to Reproduce:

1. Switch on printer/scanner.

2. Run "sane-find-scanner". Scanner is detected as:

found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x342a [CLX-3170 Series]) at libusb:001:002

Conclusion: Scanner is functioning and is detected on the USB bus at the
OS level.

3. Run "scanimage -L". 

Actual results:

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Conclusion: sane backend libsane-xerox-mfp, is failing to handle the scanner though it is configured with the USB vendor and device codes.
 
Expected results:

device `xerox_mfp:libusb:001:002' is a Samsung Samsung CLX-3170 Series multi-function peripheral

Additional info:

I see the expected results above and the scanner works if I boot Debian from a different partition. Both Debian and Fedora 15 have the same version of the backend library libsane-xerox-mfp.so.1.0.22.

Workaround:

Place a copy of the Debian version of the backend library libsane-xerox-mfp.so.1.0.22 and the associated symbolic link in a directory accessible from
Fedora and add that directory to the beginning of LD_LIBRARY_PATH so it overrides the Fedora version of the library.

I don't necessarily recommend this workaround, but it does suggest that the problem is in the sane backend library.

Comment 1 Nils Philippsen 2011-05-09 09:28:13 UTC
(In reply to comment #0)
> Conclusion: Scanner is functioning and is detected on the USB bus at the
> OS level.

Just because I'm a nitpicker ;-): you only verified that the USB part of the machine is talking to your computer with this. Functionality is a different kind of beef, verified e.g. by it working in Debian.

> I don't necessarily recommend this workaround, but it does suggest that the
> problem is in the sane backend library.

The Debian SANE packages already contain a patch from the upstream repository which I suspect to fix your issue. As I don't have your hardware, I've built a temporary scratch package containing the fix here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3059820

Please download the relevant packages from the build tasks for you architecture (x86_64, i686) and check whether this patch helps. Thanks.

If you can confirm that this patch fixes your issue, I'll incorporate the patch in the official packages.

Comment 2 David Keegan 2011-05-09 21:11:12 UTC
(In reply to comment #1)

> Just because I'm a nitpicker ;-): you only verified that the USB part of the
> machine is talking to your computer with this. Functionality is a different
> kind of beef, verified e.g. by it working in Debian.
You're correct.

> If you can confirm that this patch fixes your issue, I'll incorporate the patch
> in the official packages.

Yes. The patch fixes my problem.

I note the patch rpms are "fc16". Will the fix make it into Fedora 15?

Comment 3 Nils Philippsen 2011-05-10 08:15:50 UTC
(In reply to comment #2)
> Yes. The patch fixes my problem.
> 
> I note the patch rpms are "fc16". Will the fix make it into Fedora 15?

That's because I built the packages for Rawhide -- I'd have built them for F-15 if the bug was filed against it. Doesn't really matter anyway, I like to have bugs fixed in all releases if it can be helped, therefore I'll build fixed packages for all of them.

Comment 4 Fedora Update System 2011-05-10 09:05:39 UTC
sane-backends-1.0.22-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/sane-backends-1.0.22-3.fc15

Comment 5 Fedora Update System 2011-05-10 09:05:58 UTC
sane-backends-1.0.22-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/sane-backends-1.0.22-3.fc14

Comment 6 Fedora Update System 2011-05-10 09:05:59 UTC
sane-backends-1.0.22-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/sane-backends-1.0.22-3.fc13

Comment 7 Fedora Update System 2011-05-11 05:50:25 UTC
Package sane-backends-1.0.22-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sane-backends-1.0.22-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sane-backends-1.0.22-3.fc15
then log in and leave karma (feedback).

Comment 8 David Keegan 2011-05-15 14:08:13 UTC
I've installed the updated package from updates-testing and it works fine with my scanner. Thanks for dealing with this so efficiently.

Comment 9 Fedora Update System 2011-05-17 01:06:42 UTC
sane-backends-1.0.22-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-05-19 04:43:44 UTC
sane-backends-1.0.22-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2011-05-25 02:25:52 UTC
sane-backends-1.0.22-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.