system-config-printer applet cannot detect samsung 2851nd network printer karmic 9.10

Bug #480527 reported by Jingo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: cups

Samsung 2851ND attached via ethernet and has a Raw TCP/IP print server enabled in it. When trying to add the printer via System->Administration->Printing-> New it tries to detect the printer but fails and falls back to manual Select Device dialog window.

When I go to Network Printer and enter in the printer's address 'printer' and ask it to find a printer, it will still not detect the printer properly. HOWEVER,

Samsung ML-2850 will then show up as an option under network printer. The URI for it will be 'RAW'. So I guess cups will not know what to do with it.

In 9.04 (Jaunty) I had no problems with autodetecting this printer. I am loosely speculating that the lack of HAL is opening up these gaps in hardware detection?

The fact that it's doing some network negotiation is clearly visible from network monitoring logs:

19:32:20.830350 IP donatello.lan.37171 > 192.168.1.255.snmp: GetRequest(28) 25.3.2.1.2.1
19:32:20.831191 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(37) 25.3.2.1.2.1=[|snmp]
19:32:20.831255 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(28) 25.3.2.1.3.1
19:32:20.831263 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(32) E:2699.1.2.1.2.1.1.3.1
19:32:20.831271 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(33) E:2699.1.2.1.3.1.1.4.1.1
19:32:20.831277 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(25) system.sysLocation.0
19:32:20.831284 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(30) E:641.2.1.2.1.2.1
19:32:20.831291 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(33) E:674.10898.100.2.1.2.1.2.1
19:32:20.831298 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(30) E:641.2.1.2.1.3.1
19:32:20.831305 IP donatello.lan.37171 > PRINTER.lan.snmp: GetRequest(30) E:128.2.1.3.1.2.0
19:32:20.832104 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(92) 25.3.2.1.3.1=[|snmp]
19:32:20.832432 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(101) E:2699.1.2.1.2.1.1.3.1=[|snmp]
19:32:20.832714 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(36) E:2699.1.2.1.3.1.1.4.1.1=[|snmp]
19:32:20.832971 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(25) system.sysLocation.0=""
19:32:20.833322 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(30) noSuchName@1 E:641.2.1.2.1.2.1=
19:32:20.833596 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(33) noSuchName@1 E:674.10898.100.2.1.2.1.2.1=
19:32:20.833837 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(30) noSuchName@1 E:641.2.1.2.1.3.1=
19:32:20.834057 IP PRINTER.lan.snmp > donatello.lan.37171: GetResponse(30) noSuchName@1 E:128.2.1.3.1.2.0=

ProblemType: Bug
Architecture: i386
Date: Wed Nov 11 19:53:18 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: IBM 2687DRU
Package: cups 1.4.1-5ubuntu2.1
Papersize: a4
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=303fa0c1-eb73-4518-b7ef-174c2f22e13f ro quiet splash #radeon.modeset=1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: cups
Uname: Linux 2.6.31-14-generic i686
dmi.bios.date: 08/21/2006
dmi.bios.vendor: IBM
dmi.bios.version: 1YET65WW (1.29 )
dmi.board.name: 2687DRU
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1YET65WW(1.29):bd08/21/2006:svnIBM:pn2687DRU:pvrThinkPadT43:rvnIBM:rn2687DRU:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2687DRU
dmi.product.version: ThinkPad T43
dmi.sys.vendor: IBM

Revision history for this message
Jingo (mudler) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Am I right that the problem is that you have to choose manufacturer and model manually in system-config-printer as this information cannot be retrieved from the printer?

This is neither a problem of HAL nor of system-config-printer. HAL never detected and listed network-connected printers. system-config-printer simply lists printers which the CUPS backends discover.

To see what happens, the best is to run the CUPS backends manually. Rub the following command, if a command does not exit, stop it with Ctrl+C after some seconds:

/usr/lib/cups/backend/snmp
sudo /usr/lib/cups/backend/dnssd

Post the output of these commands here.

If you have a Jaunty box in your network, execute the same commands on it, so that we can compare.

If the printer is not even discovered by the backends, please post also the output of the "ifconfig" command and the IP of the printer. If you have a Jaunty box, please post also the "ifconfig" output from that box.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Jingo (mudler) wrote :

$ /usr/lib/cups/backend/snmp
network RAW "Samsung ML-2850 Series" "Samsung ML-2850 Series ; OS 1.01.00.12 10-18-2007; V4.01.02(ML-2" "MFG:Samsung;CMD:PCL5E,PCL6,POSTSCRIPT;MDL:ML-2850 Series;CLS:PRINTER;" ""

$ sudo /usr/lib/cups/backend/dnssd
WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect
[hangs here]

IFCONFIG OUTPUT:

eth0 Link encap:Ethernet HWaddr 00:11:25:d7:05:2e
          inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::211:25ff:fed7:52e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:349113 errors:0 dropped:0 overruns:0 frame:0
          TX packets:280482 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:464201667 (464.2 MB) TX bytes:27993193 (27.9 MB)
          Interrupt:16

Printer is on:
Name: printer.lan
Address: 192.168.1.157

Unfortunately I do not have a jaunty box to duplicate these commands on. If the printing infrastructure is on a jaunty installer cd, I may try and hunt down a jaunty cd and run those commands in the live environment.

Revision history for this message
Jingo (mudler) wrote :

This is from the jaunty beta live cd:

ubuntu@ubuntu:~$ /usr/lib/cups/backend/snmp
network socket://192.168.1.157 "Samsung ML-2850 Series ; OS 1.01.00.12 10-18-2007; V4.01.02(ML-2" "Samsung ML-2850 Series ; OS 1.01.00.12 10-18-2007; V4.01.02(ML-2 192.168.1.157" ""

ubuntu@ubuntu:~$ sudo /usr/lib/cups/backend/dnssd
lpstat: No destinations added.
lpstat: No destinations added.

the system-config-printer tool picks up the printer.

So now there is something to compare with.

Revision history for this message
Jingo (mudler) wrote :

Manually changing RAW to socket://printer in the sytem-config-printer gui frontend now makes everything work.

So I guess the problem is one of autodetection.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem is the CUPS snmp backend. It returns RAW instead of a valid URI. system-config-printer cannot create a working print queue without a valid URI.

Changed in cups (Ubuntu):
status: Incomplete → Triaged
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.