Hello G, Ubuntu,
Unfortunately I currently don't have/use a USB to Parrallel Port Interface 
anymore since my old printer died on me 6 months ago (at the young age of 10), 
so I cannot check if this issue occurs on my current Ubuntu (18.04)... Sorry 
for that. 
Mu current CUPS version works great on my new network printer though!!! ;-)
Kind regards,
Frank Neirynck

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/999931

Title:
  Only one page can be printed te USB printer followed by errors and
  empty pages

Status in cups package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 12.04 after clean install!

  When printing to previously perfect ly working Kyocera Mita 3800 via a USB to 
Parrallel Port Interface, CUPS flips completely: 1 page is printed followed by 
a page stating 
  ERROR:
  undefined 
  OFFENDING COMMAND: 

  STACK:

  and further empty pages. Then I cannot print anymore until
  disconnecting USB, reconeccting and then again I can print one page,
  followed by... etc.

  I tried reinstalling KM3800EN.PPD driver with no improvement.
  Herundersome troubleshooting:

  
  root@redactie-laptop:/home/redactie# lsmod | grep usb
  usblp                  17885  0 
  usb_storage            39646  0 
  snd_usb_audio         101566  2 
  snd_usbmidi_lib        24603  1 snd_usb_audio
  snd_hwdep              13276  2 snd_usb_audio,snd_hda_codec
  snd_pcm                80845  4 
snd_hda_codec_hdmi,snd_usb_audio,snd_hda_intel,snd_hda_codec
  snd_rawmidi            25424  2 snd_usbmidi_lib,snd_seq_midi
  snd                    62064  20 
snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_usb_audio,snd_usbmidi_lib,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device
  usbhid                 41906  0 
  hid                    77367  1 usbhid
  root@redactie-laptop:/home/redactie# tail -f /var/log/syslog
  May 15 22:43:57 redactie-laptop kernel: [16380.689129] type=1400 
audit(1337114637.031:1115): apparmor="STATUS" operation="profile_replace" 
name="/usr/sbin/mysqld" pid=31229 comm="apparmor_parser"
  May 15 22:43:58 redactie-laptop kernel: [16381.937672] type=1400 
audit(1337114638.279:1116): apparmor="DENIED" operation="mknod" parent=1 
profile="/usr/sbin/mysqld" name="/run/mysqld/mysqld.sock" pid=31233 
comm="mysqld" requested_mask="c" denied_mask="c" fsuid=119 ouid=119
  May 15 22:43:58 redactie-laptop kernel: [16382.478880] init: mysql main 
process (31233) terminated with status 1
  May 15 22:43:58 redactie-laptop kernel: [16382.478989] init: mysql main 
process ended, respawning
  May 15 22:44:07 redactie-laptop kernel: [16391.540325] usb 5-2: USB 
disconnect, device number 6
  May 15 22:44:07 redactie-laptop udev-configure-printer: remove 
/devices/pci0000:00/0000:00:13.0/usb5/5-2
  May 15 22:44:07 redactie-laptop udev-configure-printer: URI of print queue: 
usb://Kyocera%20Mita/FS-3800, normalized: kyocera mita fs 3800
  May 15 22:44:07 redactie-laptop udev-configure-printer: URI of detected 
printer: usb://Kyocera%20Mita/FS-3800, normalized: kyocera mita fs 3800
  May 15 22:44:07 redactie-laptop udev-configure-printer: Queue 
ipp://localhost:631/printers/Kyocera_Mita_FS-3800 has matching device URI
  May 15 22:44:07 redactie-laptop udev-configure-printer: Disabled printer 
ipp://localhost:631/printers/Kyocera_Mita_FS-3800 as the corresponding device 
was unplugged or turned off
  May 15 22:44:24 redactie-laptop kernel: [16408.032070] usb 5-2: new 
full-speed USB device number 7 using ohci_hcd
  May 15 22:44:24 redactie-laptop mtp-probe: checking bus 5, device 7: 
"/sys/devices/pci0000:00/0000:00:13.0/usb5/5-2"
  May 15 22:44:24 redactie-laptop kernel: [B16408.208148] usblp0: USB 
Bidirectional printer dev 7 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
  May 15 22:44:24 redactie-laptop mtp-probe: bus: 5, device: 7 was not an MTP 
device
  May 15 22:44:24 redactie-laptop udev-configure-printer: add 
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0
  May 15 22:44:24 redactie-laptop udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:13.0/usb5/5-2
  May 15 22:44:24 redactie-laptop udev-configure-printer: Device vendor/product 
is 067B:2305
  May 15 22:44:24 redactie-laptop udev-configure-printer: add 
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0/usb/lp0
  May 15 22:44:24 redactie-laptop udev-configure-printer: failed to claim 
interface
  May 15 22:44:24 redactie-laptop udev-configure-printer: failed to claim 
interface
  May 15 22:44:24 redactie-laptop udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:13.0/usb5/5-2
  May 15 22:44:24 redactie-laptop udev-configure-printer: MFG:Kyocera Mita 
MDL:FS-3800 SERN:- serial:-
  May 15 22:44:25 redactie-laptop kernel: [16409.486607] usblp0: removed
  May 15 22:44:25 redactie-laptop kernel: [16409.504777] usblp0: USB 
Bidirectional printer dev 7 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
  May 15 22:44:25 redactie-laptop hp[31331]: io/hpmud/pp.c 627: unable to read 
device-id ret=-1
  May 15 22:44:25 redactie-laptop udev-configure-printer: add 
/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0/usb/lp0
  May 15 22:44:26 redactie-laptop python: io/hpmud/pp.c 627: unable to read 
device-id ret=-1
  May 15 22:44:26 redactie-laptop udev-configure-printer: URI matches without 
serial number: usb://Kyocera%20Mita/FS-3800
  May 15 22:44:26 redactie-laptop udev-configure-printer: No serial number URI 
matches so using those without
  May 15 22:44:26 redactie-laptop udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:13.0/usb5/5-2
  May 15 22:44:26 redactie-laptop udev-configure-printer: Device already handled
  May 15 22:44:26 redactie-laptop udev-configure-printer: Consider also queues 
with "/usb/lp0" or "/usblp0" in their URIs as matching
  May 15 22:44:26 redactie-laptop udev-configure-printer: URI of print queue: 
usb://Kyocera%20Mita/FS-3800, normalized: kyocera mita fs 3800
  May 15 22:44:26 redactie-laptop udev-configure-printer: URI of detected 
printer: usb://Kyocera%20Mita/FS-3800, normalized: kyocera mita fs 3800
  May 15 22:44:26 redactie-laptop udev-configure-printer: Queue 
ipp://localhost:631/printers/Kyocera_Mita_FS-3800 has matching device URI
  May 15 22:44:26 redactie-laptop udev-configure-printer: Re-enabled printer 
ipp://localhost:631/printers/Kyocera_Mita_FS-3800
  May 15 22:44:26 redactie-laptop kernel: [16409.740397] usblp0: removed
  May 15 22:44:27 redactie-laptop kernel: [16410.798985] init: mysql post-start 
process (31234) terminated with status 1
  May 15 22:44:27 redactie-laptop kernel: [16410.886321] type=1400 
audit(1337114667.227:1117): apparmor="STATUS" operation="profile_replace" 
name="/usr/sbin/mysqld" pid=31347 comm="apparmor_parser"
  May 15 22:44:28 redactie-laptop kernel: [16412.232281] type=1400 
audit(1337114668.575:1118): apparmor="DENIED" operation="mknod" parent=1 
profile="/usr/sbin/mysqld" name="/run/mysqld/mysqld.sock" pid=31351 
comm="mysqld" requested_mask="c" denied_mask="c" fsuid=119 ouid=119
  May 15 22:44:29 redactie-laptop kernel: [16412.707250] init: mysql main 
process (31351) terminated with status 1
  May 15 22:44:29 redactie-laptop kernel: [16412.707298] init: mysql main 
process ended, respawning
  ^C
  root@redactie-laptop:/home/redactie# lsusb 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 003 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
  Bus 002 Device 004: ID 04f2:b044 Chicony Electronics Co., Ltd Acer CrystalEye 
Webcam
  Bus 005 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
  Bus 005 Device 003: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 
24-bit External SB0490
  Bus 005 Device 007: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel 
Port
  root@redactie-laptop:/home/redactie# ls -l /dev/usb/lp* /dev/bus/usb/*/*
  ls: kan geen toegang krijgen tot /dev/usb/lp*: Bestand of map bestaat niet
  crw-rw-r-- 1 root root 189,   0 mei 15 18:11 /dev/bus/usb/001/001
  crw-rw-r-- 1 root root 189, 128 mei 15 18:11 /dev/bus/usb/002/001
  crw-rw-r-- 1 root root 189, 131 mei 15 18:11 /dev/bus/usb/002/004
  crw-rw-r-- 1 root root 189, 256 mei 15 18:11 /dev/bus/usb/003/001
  crw-rw-r-- 1 root root 189, 257 mei 15 18:11 /dev/bus/usb/003/002
  crw-rw-r-- 1 root root 189, 384 mei 15 18:11 /dev/bus/usb/004/001
  crw-rw-r-- 1 root root 189, 512 mei 15 18:11 /dev/bus/usb/005/001
  crw-rw-r-- 1 root root 189, 513 mei 15 18:11 /dev/bus/usb/005/002
  crw-rw-r-- 1 root root 189, 514 mei 15 18:11 /dev/bus/usb/005/003
  crw-rw-r-- 1 root lp   189, 518 mei 15 22:45 /dev/bus/usb/005/007
  root@redactie-laptop:/home/redactie# sudo usb_printerid /dev/usb/lp0 
  Error: No such file or directory: can't open '/dev/usb/lp0'
  root@redactie-laptop:/home/redactie# sudo usb_printerid /dev/usb/lp1
  Error: No such file or directory: can't open '/dev/usb/lp1'
  root@redactie-laptop:/home/redactie# sudo usb_printerid /dev/usb/lp0
  Error: No such file or directory: can't open '/dev/usb/lp0'
  root@redactie-laptop:/home/redactie# sudo usb_printerid /dev/usb/lp2
  Error: No such file or directory: can't open '/dev/usb/lp2'
  root@redactie-laptop:/home/redactie# lpinfo -v
  network http
  network https
  network beh
  direct scsi
  network ipps
  network ipp
  network smb
  network socket
  network lpd
  direct parallel:/dev/lp0
  direct usb://Kyocera%20Mita/FS-3800
  direct hp
  direct hpfax
  root@redactie-laptop:/home/redactie#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/999931/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to