SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

Author Topic: Samsung SCX-4521 Scanner do not working / Printing OK  (Read 22784 times)

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Samsung SCX-4521 Scanner do not working / Printing OK
« on: March 28, 2013, 06:02:03 »
Hi

I have connected Samsung SCX-4521F Printer/Scanner to Ubuntu 12.04 machine via USB. First using CUPS I was able to print to this printer both locally and over network with out any problem. Afterwards I wanted to use the scanner functionality of this device. So I googled and found some directions to install Samsung Unified Linux Driver using apt-get method.  Using these instructions I installer the driver for this device.

Now when I run Configurator both as as user and as root I can configure the printer, but I Can not configure the scanner even though it is listed under scanner page as connected to USB:0.

scanimage -L finds the scanner correctly, but xscan errors out with device i/o  error. I can not scan any thing.

In syslog the error message is "xsane: io/hpmud/pp.c 627: unable to read device-id ret=-1"

Can any one help me solve this issue.

Please let me know if you need any more information.

Regards

SKN

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #1 on: April 02, 2013, 20:42:17 »
Try these suggestions if you haven't already:
http://bchemnet.com/suldr/scanning.html#1

Post again if none of those helps.

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #2 on: April 03, 2013, 02:25:13 »
Hi

Thanks for the Replay.

I tried to do every thing as per check list.

I added vendor ID and Product ID to /etc/sane.d/xerox_mfp-smfp.conf and rebooted the machine. Now scanimage -L finds two devices as below

sknagesh@db-server-2:~$ scanimage -L
device `xerox_mfp:libusb:003:002' is a SAMSUNG ORION multi-function peripheral
device `smfp:SAMSUNG SCX-4x21 Series on USB:0' is a SAMSUNG SCX-4x21 Series on USB:0 Scanner


When I run

"sudo /opt/Samsung/mfp/bin/Configurator" there also two scanners are listed but when I select "Orion" scanner and click on Properties a window flashes and disappears.

SYSLOG as as below

Apr  3 12:42:00 db-server-2 kernel: [166380.237184] usb 3-4: usbfs: interface 1 claimed by usblp while 'smfpscan.app' sets config #1
Apr  3 12:42:02 db-server-2 kernel: [166382.597775] usb 3-4: usbfs: process 16207 (smfpscan.app) did not claim interface 0 before use
Apr  3 12:42:06 db-server-2 kernel: [166386.622129] usb 3-4: usbfs: process 16207 (smfpscan.app) did not claim interface 0 before use
Apr  3 12:42:06 db-server-2 smfpscan.app: io/hpmud/pp.c 627: unable to read device-id ret=-1
Apr  3 12:42:06 db-server-2 kernel: [166386.700447] usb 3-4: usbfs: interface 1 claimed by usblp while 'smfpscan.app' sets config #1
Apr  3 12:42:06 db-server-2 kernel: [166386.750062] smfpscan.app[16207]: segfault at 230 ip b6912911 sp bf8fbccc error 6 in libQtGui.so.4.8.1[b65e8000+aaa000]


When I select "SCX-4x21 Series on USB:0" and click Properties error is "error during I/O".

syslog is as below

Apr  3 12:44:37 db-server-2 kernel: [166537.370241] usb 3-4: usbfs: interface 1 claimed by usblp while 'xsane' sets config #1
Apr  3 12:44:40 db-server-2 kernel: [166539.734190] usb 3-4: usbfs: process 16397 (xsane) did not claim interface 0 before use
Apr  3 12:44:44 db-server-2 kernel: [166543.759760] usb 3-4: usbfs: process 16397 (xsane) did not claim interface 0 before use
Apr  3 12:44:44 db-server-2 xsane: io/hpmud/pp.c 627: unable to read device-id ret=-1
Apr  3 12:44:44 db-server-2 kernel: [166544.670249] usb 3-4: usbfs: interface 1 claimed by usblp while 'xscanimage' sets config #1
Apr  3 12:44:47 db-server-2 kernel: [166547.034501] usb 3-4: usbfs: process 16473 (xscanimage) did not claim interface 0 before use
Apr  3 12:44:51 db-server-2 kernel: [166551.059638] usb 3-4: usbfs: process 16473 (xscanimage) did not claim interface 0 before use
Apr  3 12:44:51 db-server-2 xscanimage: io/hpmud/pp.c 627: unable to read device-id ret=-1


Please let me know if any thing need to be done.

Regards

SKN

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #3 on: April 04, 2013, 20:35:22 »
It looks to me like your hardware is being mis-identified.  Have you tried using different USB ports?

You might also want to try the 4.00.35-2 package versions, which have the older scanner binaries and might work if there is just some odd interaction on your system.

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #4 on: April 05, 2013, 03:36:19 »
Hi

I tried connecting printer/scanner to two other different ports. Same result

I removed old driver using apt-get remove and apt-get autoremove, removed entries from /etc/sane.d/xerox_mfp-smfp.conf, deleted /opt/Samsung folder and rebooted the machine. After this I installed 4.00.35 driver using "apt-get install samsungmfp-driver-4.00.35 samsungmfp-scanner samsungmfp-configurator-qt3".

Again added vendor and device ids to /etc/sane.d/xerox_mfp-smfp.conf. Did not add any entries to /etc/udev/rules.d/99-libsane-samsungmfp.rules as it already had an entry for this printer/scanner model and  restarted the machine.

Now sane-find-scanner finds two devices and xscanimage -L finds only samsung scanner. But xscanimage but do not scan. Syslog messages are also same as before.

One difference I am seeing is earlier when using xscanimage a brief message used to appear on scanner screen indicating "Scanning to PC" now that is also not appearing.

Is the procedure I have followed to install driver is correct?.

Regards

SKN

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #5 on: April 05, 2013, 06:32:45 »
Use this to get the older packages (you will probably need to remove all existing samsungmfp packages first to ensure dependencies work correctly):
apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #6 on: April 06, 2013, 01:04:38 »
Hi

Thanks for the replay.

I am getting following errors trying to install 4.00.35-2 drivers.


>>>>>
sknagesh@db-server-2:~$ sudo apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '4.00.35-2' for 'samsungmfp-configurator-qt3' was not found

>>>>>

So I removed version info. for samsungmfp-configurator-qt3. no I get following errors.

>>>>>>>>>
sknagesh@db-server-2:~$ sudo apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 samsungmfp-configurator-qt3 : Depends: samsungmfp-libmfp but it is not going to be installed
 samsungmfp-driver-4.00.35 : Depends: samsungmfp-common (= 4.00.35-2) but 4.00.39-1 is to be installed
 samsungmfp-scanner : Depends: samsungmfp-common (= 4.00.35-2) but 4.00.39-1 is to be installed
E: Unable to correct problems, you have held broken packages.

>>>>>>>>

So How do I install driver version 4.00-35-2.

Regards

SKN

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #7 on: April 06, 2013, 10:00:59 »
apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2.2

The ".2" for the version of the configurator was left out of my previous post.

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #8 on: April 08, 2013, 07:10:34 »
Hi

Thank you for the replay.

Still not able to install 4.00.35-2 Drivers.


>>>>>>>>
sknagesh@db-server-2:~$ sudo apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 samsungmfp-configurator-qt3 : Depends: samsungmfp-common (= 4.00.35-2) but 4.00.39-1 is to be installed
                               Recommends: samsungmfp-data but it is not going to be installed
 samsungmfp-driver-4.00.35 : Depends: samsungmfp-common (= 4.00.35-2) but 4.00.39-1 is to be installed
                             Recommends: samsungmfp-data but it is not going to be installed
 samsungmfp-scanner : Depends: samsungmfp-common (= 4.00.35-2) but 4.00.39-1 is to be installed
E: Unable to correct problems, you have held broken packages.

>>>>>>>>>


Regards

SKN

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #9 on: April 08, 2013, 07:23:01 »
Try adding the explicit samsungmfp-common version:
apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2.2 samsungmfp-common=4.00.35-2

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #10 on: April 08, 2013, 08:09:09 »
Hi,

Thanks for the fast response.

Still getting erors

>>>>>>>>>>


sknagesh@db-server-2:~$ sudo apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2.2 samsungmfp-common=4.00.35-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 samsungmfp-configurator-qt3 : Depends: samsungmfp-configurator-data (>= 4.00.35-1) but it is not going to be installed
                               Recommends: samsungmfp-data but it is not going to be installed
 samsungmfp-driver-4.00.35 : Depends: samsungmfp-network (>= 4.00.35-1) but it is not going to be installed or
                                      samsungmfp-network-legacy (>= 3.00.37-9) but it is not going to be installed
                             Recommends: samsungmfp-data but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

>>>>>>>>>>>

Regards

S K N

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #11 on: April 08, 2013, 08:22:00 »
Okay, try explicitly adding everything:
apt-get install samsungmfp-driver-4.00.35=4.00.35-2 samsungmfp-scanner=4.00.35-2 samsungmfp-configurator-qt3=4.00.35-2.2 samsungmfp-common=4.00.35-2 samsungmfp-configurator-data=4.00.35-2 samsungmfp-network=4.00.35-2

Sometimes apt is configured to be too insistent on the latest versions.

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #12 on: April 09, 2013, 03:27:47 »
Okay

Now I was able to install Drivers.

Once installation was finished sane-find-scanner did detect the scanner but scanimage -L did not.

So I edited /etc/sane.d/xerox_mfp.conf to add vendor and product IDs and restarted saned.

No scanimage -L detected scanner as ORION Scanner. but once again scanning failed.

Next I created etc/udev/rules.d/99-libsane-samsungmfp.rules file as it was not there and added lines as given in FAQ with correct product ID.

After restarting both saned and udev,  scanimage -L is not finding any scanner.

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #13 on: April 09, 2013, 20:34:31 »
I'm not sure what else to try, unless you happen to have another computer available to try with the printer to test for a different result in the event it is a subtle hardware issue.  This printer is normally well-supported by both the Samsung driver and SANE natively, but I do occasionally hear from other people who simply can't get a particular printer/computer combination to work.

sknagesh

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: ubuntu 12.04 LTS
  • Printer: Samsung SCX-4521F
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #14 on: April 16, 2013, 08:00:08 »
Hi

Finally installed WinXP under virtual box on same machine and scanning is working through windows with out any issues.

Thanks for the help.

Regards

SKN

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Samsung SCX-4521 Scanner do not working / Printing OK
« Reply #15 on: May 04, 2013, 21:40:28 »
If you still want to get it working directly, you can try the updated packages just released to the repository.

 

Repository Information Legal Contact Alternative Drivers