Bug 949063

Summary: unable to print on Samsung SCX-4200
Product: [Fedora] Fedora Reporter: Dalibor Pospíšil <dapospis>
Component: splixAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bkoz, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-20 19:23:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dalibor Pospíšil 2013-04-05 18:56:57 UTC
Description of problem:
Printer is recognized and connected. However I cannot send even test page to the printer.

First plugin of print seems to be ok in /vart/log/messages

Apr  5 16:34:41 localhost kernel: [  589.078632] usb 1-6: new high-speed USB device number 6 using ehci-pci
Apr  5 16:34:41 localhost kernel: [  589.199237] usb 1-6: New USB device found, idVendor=04e8, idProduct=341b
Apr  5 16:34:41 localhost kernel: [  589.199256] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr  5 16:34:41 localhost kernel: [  589.199270] usb 1-6: Product: SCX-4200 Series
Apr  5 16:34:41 localhost kernel: [  589.199281] usb 1-6: Manufacturer: Samsung
Apr  5 16:34:41 localhost kernel: [  589.199292] usb 1-6: SerialNumber: 8T21BFGQA00101W.
Apr  5 16:34:41 localhost colord: Device added: sysfs-Samsung-SCX-4200_Series
Apr  5 16:34:41 localhost systemd[1]: Starting Printer.
Apr  5 16:34:41 localhost systemd[1]: Reached target Printer.
Apr  5 16:34:41 localhost systemd[1]: Starting Configure Plugged-In Printer...
Apr  5 16:34:41 localhost systemd[1]: Started Configure Plugged-In Printer.
Apr  5 16:34:41 localhost kernel: [  589.934282] usblp 1-6:1.1: usblp0: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr  5 16:34:41 localhost kernel: [  589.941191] usbcore: registered new interface driver usblp
Apr  5 16:34:45 localhost kernel: [  593.694324] usblp0: removed
Apr  5 16:34:45 localhost kernel: [  593.739649] usblp 1-6:1.1: usblp0: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr  5 16:34:50 localhost dbus-daemon[586]: dbus[586]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr  5 16:34:50 localhost dbus[586]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr  5 16:34:51 localhost dbus-daemon[586]: dbus[586]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr  5 16:34:51 localhost dbus[586]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr  5 16:35:14 localhost dbus-daemon[586]: dbus[586]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
Apr  5 16:35:14 localhost dbus[586]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
Apr  5 16:35:14 localhost dbus-daemon[586]: dbus[586]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
Apr  5 16:35:14 localhost dbus[586]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
Apr  5 16:35:21 localhost colord: Profile added: SCX-4200-Series-Gray..
Apr  5 16:35:21 localhost colord[1518]: (colord:1518): Cd-WARNING **: failed to get session [pid 1532]: Unknown error -2
Apr  5 16:35:21 localhost colord: Device added: cups-SCX-4200-Series
Apr  5 16:35:22 localhost udev-configure-printer[2023]: No ID match for device usb://Samsung/SCX-4200%20Series?serial=8T21BFGQA00101W.&interface=1:
Apr  5 16:35:22 localhost udev-configure-printer[2023]: MFG:Samsung;MDL:SCX-4200 Series;CMD:GDI;
Apr  5 16:35:22 localhost udev-configure-printer[2023]: Using lsb/usr/cupsfilters/textonly.ppd (status: 3)



But after reconnect /var/log/messages says:

Apr  5 16:40:14 localhost kernel: [  922.058329] usb 1-6: USB disconnect, device number 6
Apr  5 16:40:14 localhost kernel: [  922.085907] usblp0: removed
Apr  5 16:40:14 localhost udev-configure-printer: Disabled printer ipp://localhost:631/printers/SCX-4200-Series as the corresponding device was unplugged or turned off
Apr  5 16:40:14 localhost colord: device removed: sysfs-Samsung-SCX-4200_Series
Apr  5 16:40:14 localhost systemd[1]: Service printer.target is not needed anymore. Stopping.
Apr  5 16:40:14 localhost systemd[1]: Stopping Printer.
Apr  5 16:40:14 localhost systemd[1]: Stopped target Printer.
Apr  5 16:40:17 localhost systemd[1]: chrony-wait.service: main process exited, code=exited, status=1/FAILURE
Apr  5 16:40:17 localhost systemd[1]: Failed to start Wait for chrony to synchronize system clock.
Apr  5 16:40:17 localhost systemd[1]: Unit chrony-wait.service entered failed state
Apr  5 16:40:17 localhost systemd[1]: Starting System Time Synchronized.
Apr  5 16:40:17 localhost systemd[1]: Reached target System Time Synchronized.
Apr  5 16:40:18 localhost systemd[1]: Startup finished in 1min 7s 714ms 391us (kernel) + 2min 35s 654ms 192us (initrd) + 11min 42s 567ms 966us (userspace) = 15min 25s 936ms 549us.
Apr  5 16:40:28 localhost kernel: [  936.396621] usb 1-6: new high-speed USB device number 7 using ehci-pci
Apr  5 16:40:28 localhost kernel: [  936.518115] usb 1-6: New USB device found, idVendor=04e8, idProduct=341b
Apr  5 16:40:28 localhost kernel: [  936.518135] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr  5 16:40:28 localhost kernel: [  936.518148] usb 1-6: Product: SCX-4200 Series
Apr  5 16:40:28 localhost kernel: [  936.518159] usb 1-6: Manufacturer: Samsung
Apr  5 16:40:28 localhost kernel: [  936.518170] usb 1-6: SerialNumber: 8T21BFGQA00101W.
Apr  5 16:40:28 localhost kernel: [  936.563320] usblp 1-6:1.1: usblp0: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr  5 16:40:28 localhost colord: Device added: sysfs-Samsung-SCX-4200_Series
Apr  5 16:40:28 localhost systemd[1]: Starting Configure Plugged-In Printer...
Apr  5 16:40:28 localhost systemd[1]: Started Configure Plugged-In Printer.
Apr  5 16:40:28 localhost systemd[1]: Starting Printer.
Apr  5 16:40:28 localhost systemd[1]: Reached target Printer.
Apr  5 16:40:28 localhost systemd[1]: Starting Configure Plugged-In Printer...
Apr  5 16:40:28 localhost systemd[1]: Started Configure Plugged-In Printer.
Apr  5 16:40:32 localhost kernel: [  940.334503] usblp0: removed
Apr  5 16:40:32 localhost kernel: [  940.369536] usblp 1-6:1.1: usblp0: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr  5 16:40:32 localhost udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/SCX-4200-Series
Apr  5 16:40:34 localhost udev-configure-printer: no device named /dev/bus/usb/001/006 found
Apr  5 16:40:34 localhost systemd[1]: configure-printer: main process exited, code=exited, status=1/FAILURE
Apr  5 16:40:34 localhost systemd[1]: Unit configure-printer entered failed state



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


How reproducible:
100%

Steps to Reproduce:
1. plug the print and let it initialize
2. unplug and plug it again
3. check /var/log/messages
4. Print Test Page in printer properties is greyed out

Additional info:
In Ubuntu/Ubuntu base distro (Linux Mint) the printer works ok. I can provide more info on demand.

Comment 1 Jiri Popelka 2013-04-06 08:50:24 UTC
SCX-4200 should be supported in SpliX [1], please install splix package and try again.

I'll add the printer's device-id to that package next week so it'll be installed automatically when the printer is connected.

http://splix.ap2c.org/

Comment 2 Fedora Update System 2013-04-08 09:02:31 UTC
splix-2.0.1-0.17.20121128svn.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/splix-2.0.1-0.17.20121128svn.fc19

Comment 3 Fedora Update System 2013-04-08 16:06:43 UTC
Package splix-2.0.1-0.17.20121128svn.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing splix-2.0.1-0.17.20121128svn.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5146/splix-2.0.1-0.17.20121128svn.fc19
then log in and leave karma (feedback).

Comment 4 Benjamin Kosnik 2013-04-08 21:10:02 UTC
I'm having better luck with 

foo2qpdl

on samsung devices that support QPDL.

Comment 5 Dalibor Pospíšil 2013-04-10 19:19:09 UTC
splix-2.0.1-0.17.20121128svn.fc19.x86_64 helped but for the second plug

For the first plug I got:

Apr 10 14:58:23 localhost kernel: [ 1086.579622] usb 1-8: new high-speed USB device number 6 using ehci-pci
Apr 10 14:58:23 localhost kernel: [ 1086.701478] usb 1-8: New USB device found, idVendor=04e8, idProduct=341b
Apr 10 14:58:23 localhost kernel: [ 1086.701505] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 10 14:58:23 localhost kernel: [ 1086.701524] usb 1-8: Product: SCX-4200 Series
Apr 10 14:58:23 localhost kernel: [ 1086.701541] usb 1-8: Manufacturer: Samsung
Apr 10 14:58:23 localhost kernel: [ 1086.701558] usb 1-8: SerialNumber: 8T21BFGQA00101W.
Apr 10 14:58:24 localhost colord: Device added: sysfs-Samsung-SCX-4200_Series
Apr 10 14:58:24 localhost systemd[1]: Starting Printer.
Apr 10 14:58:24 localhost systemd[1]: Reached target Printer.
Apr 10 14:58:24 localhost systemd[1]: Starting Configure Plugged-In Printer...
Apr 10 14:58:24 localhost systemd[1]: Started Configure Plugged-In Printer.
Apr 10 14:58:24 localhost kernel: [ 1087.427715] usblp 1-8:1.1: usblp0: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr 10 14:58:24 localhost kernel: [ 1087.436151] usbcore: registered new interface driver usblp
Apr 10 14:58:26 localhost systemd[1]: configure-printer: main process exited, code=exited, status=1/FAILURE
Apr 10 14:58:26 localhost systemd[1]: Unit configure-printer entered failed state

The second was better but still there are some failures. Isn't there some other problem?

Apr 10 15:02:06 localhost kernel: [ 1309.392560] usb 1-8: new high-speed USB device number 7 using ehci-pci
Apr 10 15:02:06 localhost kernel: [ 1309.513595] usb 1-8: New USB device found, idVendor=04e8, idProduct=341b
Apr 10 15:02:06 localhost kernel: [ 1309.513615] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 10 15:02:06 localhost kernel: [ 1309.513628] usb 1-8: Product: SCX-4200 Series
Apr 10 15:02:06 localhost kernel: [ 1309.513640] usb 1-8: Manufacturer: Samsung
Apr 10 15:02:06 localhost kernel: [ 1309.513651] usb 1-8: SerialNumber: 8T21BFGQA00101W.
Apr 10 15:02:06 localhost kernel: [ 1309.561363] usblp 1-8:1.1: usblp0: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr 10 15:02:06 localhost colord: Device added: sysfs-Samsung-SCX-4200_Series
Apr 10 15:02:06 localhost systemd[1]: Starting Configure Plugged-In Printer...
Apr 10 15:02:06 localhost systemd[1]: Started Configure Plugged-In Printer.
Apr 10 15:02:07 localhost systemd[1]: Starting Printer.
Apr 10 15:02:07 localhost systemd[1]: Reached target Printer.
Apr 10 15:02:07 localhost systemd[1]: Starting Configure Plugged-In Printer...
Apr 10 15:02:07 localhost systemd[1]: Started Configure Plugged-In Printer.
Apr 10 15:02:11 localhost kernel: [ 1313.998474] usblp0: removed
Apr 10 15:02:11 localhost kernel: [ 1314.043292] usblp 1-8:1.1: usblp0: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
Apr 10 15:02:13 localhost udev-configure-printer: no device named /dev/bus/usb/001/006 found
Apr 10 15:02:13 localhost systemd[1]: configure-printer: main process exited, code=exited, status=1/FAILURE
Apr 10 15:02:13 localhost systemd[1]: Unit configure-printer entered failed state
Apr 10 15:02:19 localhost dbus-daemon[586]: dbus[586]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr 10 15:02:19 localhost dbus[586]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr 10 15:02:20 localhost dbus-daemon[586]: dbus[586]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 10 15:02:20 localhost dbus[586]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 10 15:02:49 localhost colord: Profile added: SCX-4200-Series-Gray..
Apr 10 15:02:49 localhost colord[1499]: (colord:1499): Cd-WARNING **: failed to get session [pid 1510]: Unknown error -2
Apr 10 15:02:49 localhost colord: Device added: cups-SCX-4200-Series
Apr 10 15:02:56 localhost dbus-daemon[586]: dbus[586]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
Apr 10 15:02:56 localhost dbus[586]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
Apr 10 15:02:56 localhost dbus-daemon[586]: dbus[586]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
Apr 10 15:02:56 localhost dbus[586]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
Apr 10 15:02:56 localhost udev-configure-printer[2417]: Using drv:///splix/samsung.drv/scx4200.ppd (status: 0)
Apr 10 15:03:57 localhost systemd[1]: Started CUPS Printing Service.

Comment 6 Jiri Popelka 2013-04-11 08:47:53 UTC
(In reply to comment #5)
> The second was better but still there are some failures.

Has the printer been configured ? Does it print ?

> Isn't there some other problem?

Seems similar to bug #911727

Comment 7 Dalibor Pospíšil 2013-04-11 09:18:41 UTC
(In reply to comment #6)
> 
> Has the printer been configured ? Does it print ?

Yes as I wrote it helped. I mean the printer had been detected but configured after second plug-in and I was able to print on it than.

Comment 8 Tim Waugh 2013-04-11 09:36:38 UTC
Could you please try this systemd update and report back whether it has any effect?

https://bugzilla.redhat.com/show_bug.cgi?id=922279#c6
https://admin.fedoraproject.org/updates/systemd-201-2.fc18.1

Comment 9 Dalibor Pospíšil 2013-04-11 09:39:26 UTC
(In reply to comment #8)
> Could you please try this systemd update and report back whether it has any
> effect?
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=922279#c6
> https://admin.fedoraproject.org/updates/systemd-201-2.fc18.1

I will try that once I get home. I will report the result than.

Comment 10 Fedora Update System 2013-04-20 19:23:46 UTC
splix-2.0.1-0.17.20121128svn.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.