Samsung SCX-3200 scanner isn't detected in Ubuntu 12.04 LTS

Bug #879619 reported by Giorgio Sironi
98
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Baltix
Confirmed
Medium
Unassigned
sane-backends (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After upgrading to 11.10, the scanner does not work anymore.
I have added the configuration for SCX-3200 as shown here:
http://3v1n0.tuxfamily.org/tumblelog/post/936/
but nothing changed.

Output of diagnostics:
[21:05:47][giorgio@Desmond:~]$ sane-find-scanner
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.
  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:002
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.
  # Not checking for parallel port scanners.
  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
[21:05:52][giorgio@Desmond:~]$ scanimage -L

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).

Scaning with Samsung SCX-3400 and SCX-3405 doesn't work too, but it's easy to fix - just add this line into /etc/sane.d/xerox_mfp.conf file:

usb 0x04e8 0x344f
# Samsung SCX-3400

See http://ubuntuforums.org/showthread.php?t=1952312 for more info

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libsane 1.0.22-2ubuntu2 [modified: lib/udev/rules.d/40-libsane.rules]
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Fri Oct 21 21:01:56 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.sane.d.dll.conf: 2011-10-21T20:17:22.966767
mtime.conffile..etc.sane.d.xerox.mfp.conf: 2011-10-21T20:26:22.544361

Revision history for this message
Giorgio Sironi (piccoloprincipeazzurro) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sane-backends (Ubuntu):
status: New → Confirmed
Revision history for this message
vince2000 (zevince) wrote :

I have the same problem and a lot of people too, see http://ubuntuforums.org/showthread.php?t=341621&page=84. I am try to use the libsane-xerox_mfp.so of the Ubuntu v 11.04 with no succes, maybe the bug is somewhere in sane
below the ouput of :
SANE_DEBUG_DLL=3 SANE_DEBUG_XEROX_MFP=4 SANE_DEBUG_SNAPSCAN=128 scanimage -L

[dll] load: dlopen()ing `/usr/lib/sane/libsane-xerox_mfp.so.1'
[dll] init: initializing backend `xerox_mfp'
[sanei_debug] Setting debug level of xerox_mfp to 4.
[xerox_mfp] sane_init: Xerox backend (build 12), version != null, authorize != null
[xerox_mfp] sane_xerox_mfp_get_devices: 0xbfd9ab5c, 0

Revision history for this message
vince2000 (zevince) wrote :

arch linux distribution fixed the problem :

https://bbs.archlinux.org/viewtopic.php?id=123934

Revision history for this message
vince2000 (zevince) wrote :

to avoid the error message : "netdiscovery: relocation error: /lib/i386-linux-gnu/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference"
you can install the unified driver packing in this link :

http://www.bchemnet.com/suldr/

But this package dont correct the scanner detection.

Revision history for this message
Arturo Orlando (arturo-orlando) wrote :

I can add that this bug also affects my Samsung SCX-4521F.
sane-find-scanner’s report is analogous to the opening poster’s. "scanimage -L" just doesn’t work.
Everything was working perfectly in 11.04.

Revision history for this message
百草谷居士 (liu-pl) wrote :

I add this bug also affects my Samsung SCX-4521F.
sane-find-scanner’ find the scanner of samsung scx-4x21 series. but "SimpleScan" and "scanimage -L" cannot find the scanner.
It was working perfectly before upgrade to 11.10

ubuntu 11.10 desktop amd64

Revision history for this message
Michael Moller (mmoller2k) wrote :

scanimage detects my SCX-4521F only the first time after connecting the USB.
SANE_DEBUG_DLL=3 SANE_DEBUG_XEROX_MFP=4 SANE_DEBUG_SNAPSCAN=128 scanimage -L
gives (among others):
 [sanei_debug] Setting debug level of xerox_mfp to 4.
 [xerox_mfp] sane_init: Xerox backend (build 12), version != null, authorize != null
 [xerox_mfp] sane_xerox_mfp_get_devices: 0x7fff65586338, 0
 [xerox_mfp] list_one_device: libusb:002:013
 [xerox_mfp] usb_dev_open: open 0x22e3970
 [xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
 [xerox_mfp] dev_inquiry: found SAMSUNG/ORION
 [xerox_mfp] usb_dev_close: closing dev 0x22e3970
 [dll] load: searching backend `snapscan' in `/usr/lib/sane'
 [dll] load: dlopen()ing `/usr/lib/sane/libsane-snapscan.so.1'
 [dll] init: initializing backend `snapscan'
 [sanei_debug] Setting debug level of snapscan to 128.
 [snapscan] sane_snapscan_init
 [snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
 [snapscan] sane_snapscan_get_devices (0x7fff65586338, 0)
 [dll] load: searching backend `hpaio' in `/usr/lib/sane'
 [dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
 [dll] init: initializing backend `hpaio'
 [dll] sane_get_devices: found 1 devices
 device `xerox_mfp:libusb:002:013' is a SAMSUNG ORION multi-function peripheral

then, when running scanimage -L for the second time, I get

 [sanei_debug] Setting debug level of xerox_mfp to 4.
 [xerox_mfp] sane_init: Xerox backend (build 12), version != null, authorize != n
ull
 [xerox_mfp] sane_xerox_mfp_get_devices: 0x7fff397db638, 0
 [xerox_mfp] list_one_device: libusb:002:013
 [xerox_mfp] usb_dev_open: open 0x2261970
 [xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
 [xerox_mfp] usb_dev_request: sanei_usb_read_bulk: Error during device I/O
 [xerox_mfp] dev_command: dev_request: Error during device I/O
 [xerox_mfp] usb_dev_close: closing dev 0x2261970
 [xerox_mfp] list_one_device: dev_inquiry(libusb:002:013): Error during device I/O
 [dll] load: searching backend `snapscan' in `/usr/lib/sane'
 [dll] load: dlopen()ing `/usr/lib/sane/libsane-snapscan.so.1'
 [dll] init: initializing backend `snapscan'
 [sanei_debug] Setting debug level of snapscan to 128.
 [snapscan] sane_snapscan_init
 [snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
 [snapscan] sane_snapscan_get_devices (0x7fff397db638, 0)
 [dll] sane_get_devices: found 0 devices

still can't scan..
I hope someone that knows what's going on finds this useful.

Revision history for this message
Retrokid (eatmywords) wrote :

I also have a Samsung SCX-3200. I have been holding off on upgrading to 11.10 due to a number of bugs but when I tested Ubuntu 11.10 in VirtualBox scanning worked. This is what I did:

- I did a fresh install of Ubuntu 11.10 to a virtual drive via VirtualBox. I have not run any Updates but I don't think there are any SANE updates in any case.

- I installed the Unified Print Driver provided by Samsung. Afterwards printing worked but scanning did not.

- I modified the configuration files as described here: http://3v1n0.tuxfamily.org/tumblelog/post/936

- I rebooted and afterwards scanning also worked.

Sorry if I am stating the obvious, but when you were editing /lib/udev/rules.d/40-libsane.rules did you ensure that you pasted the new lines after 'LABEL="libsane_usb_rules_begin"' ? Otherwise it would not work.

I find it odd that it seems to work for me but not for everybody else. Can anybody think of a reason why scanning would work in 11.10 in VirtualBox but not if installed normally?

Revision history for this message
Giorgio Sironi (piccoloprincipeazzurro) wrote :

Checked 40-libsane.rules, it's already like you suggest. It's reasonable that VirtualBox and a native install work differently, however.

Revision history for this message
Retrokid (eatmywords) wrote :

UPDATE: I have installed all updates through Update Manager and rebooted. Scanning still works.

Revision history for this message
Retrokid (eatmywords) wrote :

So just to confirm, I have the scanner as the first entry after the label. The relevant section looks like this:

# For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y
# If the following rule does not exist on your system yet, uncomment it
# ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root", GROUP="root"

# Kernel < 2.6.22 jumps here
LABEL="libsane_usb_rules_begin"

Samsung SCX-3205 #
attrs {idVendor} == "04e8", attrs {idProduct} == "3441", ENV {libsane_matched} = "yes"

# Hewlett-Packard ScanJet 4100C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0101", ENV{libsane_matched}="yes"

Revision history for this message
Retrokid (eatmywords) wrote :

When I get the time I will try a native install on a different partition or an external hard drive and let you know if I encounter the same problems.

Revision history for this message
Retrokid (eatmywords) wrote :

Ok, I tried a native install and can confirm that I had the same issue.

Revision history for this message
vince2000 (zevince) wrote :

Actually it's become form cups, because cups blacklist the usblp module, see this this post :
http://ubuntuforums.org/showpost.php?p=11462268&postcount=843

Revision history for this message
百草谷居士 (liu-pl) wrote :

什么时间问题能够得到解决呢?
我不想费力地使用英语了。

Revision history for this message
Retrokid (eatmywords) wrote :

Thanks vince2000, that worked for me.

Revision history for this message
Kökéndy Ákos (kokendy-akos) wrote : Re: [Bug 879619] Re: Samsung SCX-3200 scanner ceased to work in 11.10

Great solution for me too!
Thanks!
Ákos

2011/11/20 Retrokid <email address hidden>

> Thanks vince2000, that worked for me.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/879619
>
> Title:
> Samsung SCX-3200 scanner ceased to work in 11.10
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/879619/+subscriptions
>

Revision history for this message
Kökéndy Ákos (kokendy-akos) wrote :
Revision history for this message
Benkő Pál (benko-pal) wrote : Re: Samsung SCX-3200 scanner ceased to work in 11.10

unblacklisting usblp blocks printing.

but at least both printing and scanning is doable,
only I have to add or remove the usblp module.

Revision history for this message
vince2000 (zevince) wrote :

> Benkő Pál (benko-pal) wrote on 2011-11-23:

> unblacklisting usblp blocks printing.

nop, load the module, delete the printer et re create it and after both printing and scanning works with the usblp module !
mine works with this method, it's a scx-3200 printer

good luck

> but at least both printing and scanning is doable,
> only I have to add or remove the usblp module.

Revision history for this message
Bartek Celary (karaphka) wrote :

I am on 12.04 LTS. I wonder why the quite popular Samsung SCX 3200 is still not in the /lib/udev/rules.d/40-libsane.rules. This is frustrating... However after adding my device there all is working fine. Finally :)

Revision history for this message
Alexander (wellok5) wrote : Re: [Bug 879619] Re: Samsung SCX-3200 scanner ceased to work in 11.10
Download full text (3.7 KiB)

I tryed to add this scanner in /lib/udev/rules.d/40-libsane.rules, but
it's not result.
I don't know how to add my scanner.
OS: Ubuntu 12.04 +kde
Help please.
I downloaded driver for SCX-3200 universal, but I don't know how to
install this driver.

2012/6/18, Bartek Celary <email address hidden>:
> I am on 12.04 LTS. I wonder why the quite popular Samsung SCX 3200 is
> still not in the /lib/udev/rules.d/40-libsane.rules. This is
> frustrating... However after adding my device there all is working fine.
> Finally :)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/879619
>
> Title:
> Samsung SCX-3200 scanner ceased to work in 11.10
>
> Status in "sane-backends" package in Ubuntu:
> Confirmed
> Status in Baltix GNU/Linux:
> New
>
> Bug description:
> After upgrading to 11.10, the scanner does not work anymore (the printer
> is fine in the 32 bit version of Ubuntu using Samsung's unified drivers).
> I have added the configuration for SCX-3200 as shown here:
> http://3v1n0.tuxfamily.org/tumblelog/post/936/
> but nothing changed.
>
> Output of diagnostics:
> [21:05:47][giorgio@Desmond:~]$ sane-find-scanner
>
> # sane-find-scanner will now attempt to detect your scanner. If the
> # result is different from what you expected, first make sure your
> # scanner is powered up and properly connected to your computer.
>
> # No SCSI scanners found. If you expected something different, make sure
> that
> # you have loaded a kernel SCSI driver for your SCSI adapter.
>
> found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.],
> product=0x3441 [SCX-3200 Series]) at libusb:001:002
> # Your USB scanner was (probably) detected. It may or may not be
> supported by
> # SANE. Try scanimage -L and read the backend's manpage.
>
> # Not checking for parallel port scanners.
>
> # Most Scanners connected to the parallel port or other proprietary
> ports
> # can't be detected by this program.
>
> # You may want to run this program as root to find all devices. Once
> you
> # found the scanner devices, be sure to adjust access permissions as
> # necessary.
> [21:05:52][giorgio@Desmond:~]$ scanimage -L
> netdiscovery: relocation error: /lib/i386-linux-gnu/libnss_files.so.2:
> symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link
> time reference
> netdiscovery: relocation error: /lib/i386-linux-gnu/libnss_files.so.2:
> symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link
> time reference
>
> 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).
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: libsane 1.0.22-2ubuntu2 [modified:
> lib/udev/rules.d/40-libsane.rules]
> ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
> Uname: Linux 3.0.0-12-generic i686
> ApportVersion: 1.23-0ubuntu3
> Architecture: i386
> Date: Fri O...

Read more...

description: updated
summary: - Samsung SCX-3200 scanner ceased to work in 11.10
+ Samsung SCX-3200 , SCX-3400 and SCX-3405 scanners isn't detected in
+ Ubuntu 12.04 LTS
Changed in baltix:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Re: Samsung SCX-3200 , SCX-3400 and SCX-3405 scanners isn't detected in Ubuntu 12.04 LTS

I've Samsung SCX-3405 and added this line to /lib/udev/rules.d/40-libsane.rules :
# Samsung SCX-3405
added ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344f", ENV{libsane_matched}="yes"

and also added one line to /etc/sane.d/xerox_mfp.conf
usb 0x04e8 0x344f

After this my scanner works but only for one scan - if I wanna scan another photo or document I must turn off SCX-3405 device and turn on it again :(

I'm using Ubuntu 12.04 LTS with all updates

Revision history for this message
Chow Loong Jin (hyperair) wrote :

There seems to be some issue with the xerox_mfp libsane backend and USB3 ports, judging by http://lists.alioth.debian.org/pipermail/sane-devel/2013-June/031436.html.

I tried plugging the scanner into my the USB2 port on my laptop instead and it suddenly started working correctly. Yay!

Revision history for this message
penalvch (penalvch) wrote :

Giorgio Sironi, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases 11.10 reached EOL on May 9, 2013.

If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it.

summary: - Samsung SCX-3200 , SCX-3400 and SCX-3405 scanners isn't detected in
- Ubuntu 12.04 LTS
+ Samsung SCX-3200 scanner isn't detected in Ubuntu 12.04 LTS
Changed in sane-backends (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Vasiliy (count0-3) wrote :

In Lubuntu 14.04.2, kernel 4.2.0-32-generic #37~14.04.1-Ubuntu SMP
it's still problem. Yes, I have laptop with usb 3.0, and xhci_hcd driver. All configs is good, running from root allows scan sometimes, after 3-4 tryes with xsane, simple-scan don't see anything.
Please create new thread yourself, I don't know where do it.

Feb 2 23:21:39 acer colord: Device added: sysfs-Xerox-WorkCentre_3119_Series
Feb 2 23:22:02 acer CRON[32317]: (root) CMD (touch /media/outer/.timestamp >/dev/null 2>/dev/null)
Feb 2 23:22:02 acer kernel: [ 3581.748586] vgaarb: this pci device is not a vga device
Feb 2 23:22:03 acer kernel: [ 3582.762097] vgaarb: this pci device is not a vga device
^Croot@acer:~export SANE_DEBUG_XEROX_MFP=255
root@acer:~# scanimage -L
[sanei_debug] Setting debug level of xerox_mfp to 255.
[xerox_mfp] sane_init: Xerox backend (build 13), version != null, authorize != null
[xerox_mfp] sane_xerox_mfp_get_devices: 0xbf9d9e5c, 0
[xerox_mfp] list_one_device: libusb:001:012
[xerox_mfp] usb_dev_open: open 0x916fef8
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[xerox_mfp] [70] a8 00 43 10 53 41 4d 53 55 4e 47 20 4f 52 49 4f 4e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 35 3f 04 29 00 00 27 d8 00 00 36 d8 00 01 2f 00 00 02 00 00 00 00 36 d8 00 00 36 d8 04 01 05 05 00...
[xerox_mfp] dev_inquiry: found SAMSUNG/ORION
[xerox_mfp] usb_dev_close: closing dev 0x916fef8
device `xerox_mfp:libusb:001:012' is a SAMSUNG ORION multi-function peripheral
root@acer:~# scanimage -L
[sanei_debug] Setting debug level of xerox_mfp to 255.
[xerox_mfp] sane_init: Xerox backend (build 13), version != null, authorize != null
[xerox_mfp] sane_xerox_mfp_get_devices: 0xbfe0858c, 0
[xerox_mfp] list_one_device: libusb:001:012
[xerox_mfp] usb_dev_open: open 0x8817ef8
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[xerox_mfp] usb_dev_request: sanei_usb_read_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
[xerox_mfp] usb_dev_close: closing dev 0x8817ef8
[xerox_mfp] list_one_device: dev_inquiry(libusb:001:012): Error during device I/O

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).

Revision history for this message
penalvch (penalvch) wrote :

Vasiliy (count0-3), it will help immensely if you use the computer the problem is reproducible with, and provide necessary debugging logs by filing a new report with Ubuntu via a terminal:
ubuntu-bug sane-backends

or via https://bugs.launchpad.net/ubuntu/+source/sane-backends/+filebug as an alternative.

Please feel free to subscribe me to it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.