[MOD] STR #4124: Xerox Phaser 6000B cups-deviced detection failure

Fabio Erculiani <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Hi,
I just bought this cheapo Xerox Phaser 6000B, which is a Laser Color
printer. Xerox is providing CUPS drivers for it and they work great.
Even though, cups-deviced fails to autodetect the USB device, due to this
error:


D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/bluetooth (PID 19258)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/smb (PID 19259)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/beh (PID 19260)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/usb (PID 19261)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/serial (PID 19262)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/http (PID 19263)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/https (PID 19264)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/ipp (PID 19265)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/socket (PID 19266)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/ipps (PID 19267)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/lpd (PID 19268)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/snmp (PID 19269)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Started backend
/usr/libexec/cups/backend/parallel (PID 19270)
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19258 (bluetooth) exited
with no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "smb"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19259 (smb) exited with
no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19270 (parallel) exited
with no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "beh"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "ipp"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "https"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19264 (https) exited
with no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "http"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19263 (http) exited with
no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19260 (beh) exited with
no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19265 (ipp) exited with
no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "socket"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "ipps"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] Found device "lpd"...
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19266 (socket) exited
with no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19267 (ipps) exited with
no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19268 (lpd) exited with
no errors.
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19262 (serial) exited
with no errors.
E [13/Jun/2012:01:51:20 +0200] [cups-deviced] Bad line from "usb": direct
usb://Xerox/Phaser%206000B?serial=3168745663 "Xerox Phaser 6000B" "Xerox
Phaser 6000B" "MFG:Xerox;CMD:HBPL;MDL:Phaser 6000B;DES:Xerox Phaser 6000
Color Laser Printer,Letter/A4
size;CLS:PRINTER;STS:AAAWAQD/AP8AAAAAAAIAAWQDZANkA2QDAAAAAGQDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/
E [13/Jun/2012:01:51:20 +0200] [cups-deviced] Bad line from "usb":  /w==;"
""
D [13/Jun/2012:01:51:20 +0200] [cups-deviced] PID 19261 (usb) exited with
no errors.
D [13/Jun/2012:01:51:22 +0200] [cups-deviced] PID 19269 (snmp) exited with
no errors.
D [13/Jun/2012:01:51:22 +0200] PID 19257
(/usr/libexec/cups/daemon/cups-deviced) exited with no errors.


Relevant line:
E [13/Jun/2012:01:51:20 +0200] [cups-deviced] Bad line from "usb":  /w==;"
""

Manually configuring printers.conf works:

<Printer Xerox>
  UUID urn:uuid:xxxxxxxxx
  Info Xerox
  Location 
  MakeModel Xerox Phaser 6000B v1.0
  DeviceURI usb://Xerox/Phaser%206000B?serial=XXXXXXXX
  State Idle
  StateTime 1339545181
  Type 8392908
  Accepting Yes
  Shared Yes
  JobSheets none none
  QuotaPeriod 0
  PageLimit 0
  KLimit 0
  OpPolicy default
  ErrorPolicy stop-printer
</Printer>

Link: http://www.cups.org/str.php?L4124
Version: 1.5.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.