• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] SuSE 9.3 & CUPS & Lexmark Z615 schweigt

Status
Für weitere Antworten geschlossen.

Falkenstein

Hacker
Hallo!
Ich habe gerade ein Update von SuSE 9.2 auf 9.3 eingespielt.
Jetzt sagt der Drucker keinen Mucks mehr.
Er wird erkannt, lässt sich mit YaST einrichten.
Es ist ein Lexmark Z615 der mit dem Treiber von Lexmark unter 9.2 super lief.
Alle Lösungsvorschläge dieses Forums schlagen fehl, ich weiss nicht mehr, wie ich 9.2 ausgetrickst habe um zu Drucken.
Ich habe diverse CUPS und Ghostscript-Versionen bereits ausprobiert.
Aktuell sind die neusten CVS-Versionen von CUPS und Ghostscript drauf.
Zur Firewall: Accept TCP:631 Accept UDP:631.

lsusb

Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 10ab:10c5 USI Co., Ltd Sony-Ericsson datacable
Bus 001 Device 004: ID 04a9:2204 Canon, Inc. CanoScan FB630U
Bus 001 Device 003: ID 043d:0078 Lexmark International, Inc.
Bus 001 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 001: ID 0000:0000



cat /proc/bus/usb/devices

...
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=043d ProdID=0078 Rev= 1.00
S: Manufacturer=Lexmark
S: Product=Lexmark Z600 Series
S: SerialNumber=18K618522038114
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 4mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 16 Ivl=0ms
...



/var/log/messages

...
Sep 5 14:28:25 linux kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x043D pid 0x0078
Sep 5 14:28:25 linux kernel: usbcore: registered new driver usblp
Sep 5 14:28:25 linux kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Sep 5 14:31:04 linux kernel: usb 1-1.2: USB disconnect, address 4
Sep 5 14:31:06 linux kernel: usb 1-1.2: new full speed USB device using uhci_hcd and address 6
Sep 5 14:31:06 linux kernel: usb 1-1.1: USB disconnect, address 3
Sep 5 14:31:06 linux kernel: drivers/usb/class/usblp.c: usblp0: removed
Sep 5 14:31:08 linux kernel: usb 1-1.1: new full speed USB device using uhci_hcd and address 7
Sep 5 14:31:08 linux kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x043D pid 0x0078
Sep 5 14:31:08 linux kernel: usb 1-1.3: USB disconnect, address 5
Sep 5 14:31:10 linux kernel: usb 1-1.3: new full speed USB device using uhci_hcd and address 8
...



cat printers.conf

# Printer configuration file for CUPS v1.2svn
# Written by cupsd on Mon Sep 5 07:49:37 2005
<DefaultPrinter z600series>
Info Lexmark Z600 Series
Location USB-Drucker auf //Lexmark/Z600%20Series
DeviceURI usb://Lexmark/Z600%20Series
State Stopped
StateMessage
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>



cat cupsd.conf

ServerName linux.local
ServerAdmin root@linux.local
AccessLog /var/log/cups/access_log
LogLevel info
Printcap /etc/printcap
User lp
Group lp
RunAsUser Yes
Port 631
BrowseAllow @LOCAL
BrowseDeny All
SystemGroup lp

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From 192.168.123.57
Allow From @LOCAL
Allow From linux.local
</Location>

<Location /admin>
AuthType BasicDigest
AuthClass Group
AuthGroupName sys
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From 192.168.123.57
Allow From linux.local
</Location>

Browsing On

<Location /printers>
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From 192.168.123.57
Order Allow,Deny
</Location>



cat error_log

I [05/Sep/2005:09:13:27 +0200] Listening to 0:631
I [05/Sep/2005:09:13:27 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/Sep/2005:09:13:27 +0200] Configured for up to 100 clients.
I [05/Sep/2005:09:13:27 +0200] Allowing up to 100 client connections per host.
I [05/Sep/2005:09:13:27 +0200] Full reload is required.
I [05/Sep/2005:09:13:29 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 2537 PPDs...
I [05/Sep/2005:09:13:31 +0200] LoadPPDs: Wrote "/etc/cups/ppds.dat", 2550 PPDs...
I [05/Sep/2005:09:13:31 +0200] Full reload complete.
I [05/Sep/2005:09:13:35 +0200] Adding start banner page "none" to job 6.
I [05/Sep/2005:09:13:35 +0200] Adding end banner page "none" to job 6.
I [05/Sep/2005:09:13:35 +0200] Job 6 queued on 'z600series' by 'root'.



netstat -pltn | grep 631

tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 18047/cupsd



cat /etc/hosts.allow

ALL:LOCAL
 

misiu

Moderator
Teammitglied
Hast du versucht den Drucker über CUPS-Browseroberfläche
einzurichten?
Geht Drucken, als root?

MfG
misiu
 
OP
Falkenstein

Falkenstein

Hacker
Ich hab es sowohl per YaST, per cupsdconf, per CUPS-Oberfläche im Browser als auch per webmin versucht.
Drucken geht weder als root noch als user.
Keine Reaktion auf echo -en "\rHallo\r\f" >/dev/usblp0
 
OP
Falkenstein

Falkenstein

Hacker
Mit "loglevel=debug" bekomm ich dies:

D [05/Sep/2005:15:24:16 +0200] StopListening: closing all listen sockets.
D [05/Sep/2005:15:24:16 +0200] PauseListening: Clearing input bits...
I [05/Sep/2005:15:24:16 +0200] Listening to 127.0.0.1:631
I [05/Sep/2005:15:24:16 +0200] Listening to 192.168.123.57:631
D [05/Sep/2005:15:24:16 +0200] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL'
D [05/Sep/2005:15:24:16 +0200] AllowIP: CUPS_INTERNAL_BROWSE_ACL allow 0:0:0:0/0:0:0:0
D [05/Sep/2005:15:24:16 +0200] AddLocation: added location '/admin/conf'
D [05/Sep/2005:15:24:16 +0200] AllowHost: /admin/conf allow localhost
D [05/Sep/2005:15:24:16 +0200] AllowIP: /admin/conf allow 7f:0:0:1/ffffffff:ffffffff:ffffffff:ffffffff
D [05/Sep/2005:15:24:16 +0200] AllowIP: /admin/conf allow c0:a8:7b:39/ffffffff:ffffffff:ffffffff:ffffffff
D [05/Sep/2005:15:24:16 +0200] AllowIP: /admin/conf allow 0:0:0:0/0:0:0:0
D [05/Sep/2005:15:24:16 +0200] DenyIP: /admin/conf deny ffffffff:ffffffff:ffffffff:ffffffff/0:0:0:0
D [05/Sep/2005:15:24:16 +0200] AddLocation: added location '/admin'
D [05/Sep/2005:15:24:16 +0200] AllowHost: /admin allow localhost
D [05/Sep/2005:15:24:16 +0200] AllowIP: /admin allow 7f:0:0:1/ffffffff:ffffffff:ffffffff:ffffffff
D [05/Sep/2005:15:24:16 +0200] AllowIP: /admin allow c0:a8:7b:39/ffffffff:ffffffff:ffffffff:ffffffff
D [05/Sep/2005:15:24:16 +0200] AllowIP: /admin allow 0:0:0:0/0:0:0:0
D [05/Sep/2005:15:24:16 +0200] DenyIP: /admin deny ffffffff:ffffffff:ffffffff:ffffffff/0:0:0:0
D [05/Sep/2005:15:24:16 +0200] AddLocation: added location '/'
D [05/Sep/2005:15:24:16 +0200] DenyIP: / deny 0:0:0:0/0:0:0:0
D [05/Sep/2005:15:24:16 +0200] AllowIP: / allow 7f:0:0:1/ffffffff:ffffffff:ffffffff:ffffffff
D [05/Sep/2005:15:24:16 +0200] AllowIP: / allow 7f:0:0:2/ffffffff:ffffffff:ffffffff:ffffffff
D [05/Sep/2005:15:24:16 +0200] AllowHost: / allow @LOCAL
I [05/Sep/2005:15:24:16 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/Sep/2005:15:24:16 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [05/Sep/2005:15:24:16 +0200] Configured for up to 100 clients.
I [05/Sep/2005:15:24:16 +0200] Allowing up to 100 client connections per host.
I [05/Sep/2005:15:24:16 +0200] Using policy "default" as the default!
I [05/Sep/2005:15:24:16 +0200] Full reload is required.
I [05/Sep/2005:15:24:16 +0200] Loaded MIME database from '/etc/cups': 31 types, 38 filters...
D [05/Sep/2005:15:24:16 +0200] LoadAllPrinters: Loading printer z600series...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Scanning /var/spool/cups...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 1...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 2...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 3...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 4...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 5...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 6...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Loading attributes for job 7...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Auto-typing document file d00005-001...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Auto-typing document file d00006-001...
D [05/Sep/2005:15:24:16 +0200] LoadAllJobs: Auto-typing document file d00007-001...
I [05/Sep/2005:15:24:16 +0200] Full reload complete.
D [05/Sep/2005:15:24:16 +0200] StartListening: NumListeners=2
D [05/Sep/2005:15:24:16 +0200] StartListening: address=127.0.0.1 port=631
D [05/Sep/2005:15:24:16 +0200] StartListening: address=192.168.123.57 port=631
D [05/Sep/2005:15:24:16 +0200] ResumeListening: Setting input bits...
D [05/Sep/2005:15:24:17 +0200] AcceptClient: 6 from localhost:631.
D [05/Sep/2005:15:24:17 +0200] ReadClient: 6 POST / HTTP/1.1
D [05/Sep/2005:15:24:17 +0200] ProcessIPPRequest: 6 status_code=1 (successful-ok-ignored-or-substituted-attributes)
D [05/Sep/2005:15:24:17 +0200] ReadClient: 6 POST / HTTP/1.1
D [05/Sep/2005:15:24:17 +0200] ProcessIPPRequest: 6 status_code=1 (successful-ok-ignored-or-substituted-attributes)
D [05/Sep/2005:15:24:17 +0200] ReadClient: 6 POST / HTTP/1.1
D [05/Sep/2005:15:24:17 +0200] ProcessIPPRequest: 6 status_code=0 (successful-ok)
D [05/Sep/2005:15:24:17 +0200] AcceptClient: 12 from localhost:631.
D [05/Sep/2005:15:24:17 +0200] CloseClient: 6
D [05/Sep/2005:15:24:17 +0200] ReadClient: 12 POST /printers/z600series HTTP/1.1
D [05/Sep/2005:15:24:17 +0200] print_job: auto-typing file...
D [05/Sep/2005:15:24:17 +0200] print_job: request file type is text/plain.
D [05/Sep/2005:15:24:17 +0200] check_quotas: requesting-user-name = 'root'
D [05/Sep/2005:15:24:17 +0200] print_job: requesting-user-name = 'root'
I [05/Sep/2005:15:24:17 +0200] Adding start banner page "none" to job 8.
I [05/Sep/2005:15:24:17 +0200] Adding end banner page "none" to job 8.
I [05/Sep/2005:15:24:17 +0200] Job 8 queued on 'z600series' by 'root'.
D [05/Sep/2005:15:24:17 +0200] Job 8 hold_until = 0
D [05/Sep/2005:15:24:17 +0200] Discarding unused job-created event...
D [05/Sep/2005:15:24:17 +0200] ProcessIPPRequest: 12 status_code=0 (successful-ok)
D [05/Sep/2005:15:24:17 +0200] CloseClient: 12


Einer ne idee?

Und war da nicht was mit dem Eintrag in der fstab?
Ist dieser richtig:
usbfs /proc/bus/usb usbfs noauto 0 0
?
 
OP
Falkenstein

Falkenstein

Hacker
Es kann so einfach sein. :)

ServerName 127.0.0.1
in die cupsd.conf
und 127.0.0.1
als Standort des Druckers eintragen.
Fertig.
 
Status
Für weitere Antworten geschlossen.
Oben