Comment 34 for bug 910272

Revision history for this message
UsedBits (s-prinz-c) wrote : RE: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

Why not just replace the whole shoot and cabang with what worked in version 8?

> Date: Wed, 5 Dec 2012 20:39:07 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it
>
> As the proposed fix never got verified and as it also turned out that
> more needed to get fixed to make USB->Parallel adapters working, I will
> not re-upload the proposed fix. Closing Oneiric task ...
>
> ** Changed in: cups (Ubuntu Oneiric)
> Status: Fix Committed => Won't Fix
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (497244).
> https://bugs.launchpad.net/bugs/910272
>
> Title:
> USB->Parallel adapter produces crappy device URI and CUPS "usb"
> backend cannot cope with it
>
> Status in “cups” package in Ubuntu:
> Fix Released
> Status in “cups” source package in Oneiric:
> Won't Fix
>
> Bug description:
> Parallel port dot matrix printer Panasonic KX-P2124 connected via usb-
> parallel cable to HP6600 PC; running Ubuntu 11.10 system located on
> external hard drive attached by usb. Worked on Ubuntu version 8 using
> URI "parallel:/dev/usb/lp0". Understand that usblp has been
> deprecated; replace with ??? Cups reports printer not connected.
> CUPS version is (from UbuntuSoftwareCenter) - "cups 1.5.0-8ubuntu6".
>
> #Researched existing bugs - lots of info - no results. No "Help" menu
> found by selecting upper right located "Gear"/"Printers; could not
> find any "Wizard."
>
> Thank you for your assistance,
> nvsoar
> ------------------------------------
> w8@w8-FJ463AAR-ABA-a6528p:~$ uname -a
> Linux w8-FJ463AAR-ABA-a6528p 3.0.0-15-generic #24-Ubuntu SMP Mon Dec 12 15:25:25 UTC 2011 i686 i686 i386 GNU/Linux
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 067b:3507 Prolific Technology, Inc. PL3507 ATAPI6 Bridge
> Bus 001 Device 004: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
> Bus 002 Device 002: ID 050d:0002 Belkin Components
> #Device immediately above is usb to parallel cable
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ lsmod | grep lp
> lp 17455 0
> parport 40930 4 parport_pc,ppdev,uss720,lp
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ lsmod | grep ppdev
> ppdev 12849 0
> parport 40930 4 parport_pc,ppdev,uss720,lp
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ lsmod | grep parport_pc
> parport_pc 32114 0
> parport 40930 4 parport_pc,ppdev,uss720,lp
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
> ls: cannot access /dev/usb/lp*: No such file or directory
> crw-rw-r-- 1 root root 189, 0 2011-12-30 15:04 /dev/bus/usb/001/001
> crw-rw-r-- 1 root root 189, 1 2011-12-30 15:04 /dev/bus/usb/001/002
> crw-rw-r-- 1 root root 189, 3 2011-12-30 15:04 /dev/bus/usb/001/004
> crw-rw-r-- 1 root root 189, 128 2011-12-30 15:04 /dev/bus/usb/002/001
> crw-rw-r-- 1 root lp 189, 129 2011-12-30 15:25 /dev/bus/usb/002/002
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ dmesg | grep par
> [ 0.000000] Booting paravirtualized kernel on bare hardware
> [ 0.000000] vt handoff: transparent VT on vt#7
> [ 0.210399] hpet0: 3 comparators, 32-bit 25.000000 MHz counter
> [ 28.754567] uss720: protocols (eg. bitbang) over USS720 usb to parallel cables
> [ 28.893725] type=1400 audit(1325286282.534:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=705 comm="apparmor_parser"
> [ 28.893736] type=1400 audit(1325286282.534:3): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=755 comm="apparmor_parser"
> [ 28.894175] type=1400 audit(1325286282.534:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=755 comm="apparmor_parser"
> [ 28.894324] type=1400 audit(1325286282.534:5): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=705 comm="apparmor_parser"
> [ 28.894438] type=1400 audit(1325286282.534:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=755 comm="apparmor_parser"
> [ 28.894592] type=1400 audit(1325286282.534:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=705 comm="apparmor_parser"
> [ 30.347397] type=1400 audit(1325286283.986:8): apparmor="STATUS" operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" pid=969 comm="apparmor_parser"
> [ 30.347408] type=1400 audit(1325286283.986:9): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm-guest-session-wrapper" pid=970 comm="apparmor_parser"
> [ 30.353749] type=1400 audit(1325286283.994:10): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=973 comm="apparmor_parser"
> [ 30.359290] type=1400 audit(1325286283.998:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=973 comm="apparmor_parser"
> [ 34.659441] ppdev: user-space parallel port driver
> [ 34.672608] type=1400 audit(1325286288.314:24): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=1540 comm="apparmor_parser"
> [ 34.673270] type=1400 audit(1325286288.314:25): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=1540 comm="apparmor_parser"
> w8@w8-FJ463AAR-ABA-a6528p:~$ ls -l /dev/lp* /dev/parport*
> ls: cannot access /dev/lp*: No such file or directory
> ls: cannot access /dev/parport*: No such file or directory
> w8@w8-FJ463AAR-ABA-a6528p:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
> ls: cannot access /proc/sys/dev/parport/parport*/autoprobe*: No such file or directory
> w8@w8-FJ463AAR-ABA-a6528p:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
> [sudo] password for w8:
> cat: /proc/sys/dev/parport/parport*/autoprobe*: No such file or directory
>
> w8@w8-FJ463AAR-ABA-a6528p:~$ lpinfo -v
> network ipp
> network http
> network socket
> direct hp
> direct scsi
> network lpd
> network smb
> network beh
> direct hpfax
> w8@w8-FJ463AAR-ABA-a6528p:~$ /usr/lib/cups/backend/parallel
> w8@w8-FJ463AAR-ABA-a6528p:~$ sudo /usr/lib/cups/backend/parallel
> w8@w8-FJ463AAR-ABA-a6528p:~$
> --------------------------------
> #From CUPS@localhost:631/Printers/
> ▼ Queue Name ▼ Description Location Make and Model Status
> Panasonic-KX-P2135 Panasonic KX-P2135 Epson LQ-850 Foomatic/lq850 (recommended) Processing - "Printer not connected; will retry in 30 seconds."
> ------------------------------end
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: cups 1.5.0-8ubuntu6
> ProcVersionSignature: Ubuntu 3.0.0-15.24-generic 3.0.13
> Uname: Linux 3.0.0-15-generic i686
> NonfreeKernelModules: nvidia
> ApportVersion: 1.23-0ubuntu4
> Architecture: i386
> Date: Fri Dec 30 16:33:40 2011
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
> Lpstat:
> device for Panasonic-KX-P2135: parallel:/dev/lp0
> device for Stylus-COLOR-880: usb://EPSON/Stylus%20COLOR%20880?serial=EPIDH0012072218460
> Lsusb:
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 067b:3507 Prolific Technology, Inc. PL3507 ATAPI6 Bridge
> Bus 001 Device 004: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
> Bus 002 Device 002: ID 050d:0002 Belkin Components
> MachineType: HP-Pavilion FK792AAR-ABA a6600f
> Papersize: letter
> PpdFiles:
> Panasonic-KX-P2135: Epson LQ-850 Foomatic/lq850 (recommended)
> Stylus-COLOR-880: Epson Stylus Color 880 - CUPS+Gutenprint v5.2.7 Simplified
> ProcEnviron:
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-15-generic root=UUID=18eae402-8bbf-4406-b146-8c34f8c73607 ro quiet splash vt.handoff=7
> SourcePackage: cups
> UpgradeStatus: Upgraded to oneiric on 2011-10-15 (76 days ago)
> dmi.bios.date: 10/24/2008
> dmi.bios.vendor: Phoenix Technologies, LTD
> dmi.bios.version: 5.20
> dmi.board.name: Napa
> dmi.board.vendor: FOXCONN
> dmi.board.version: HP P/N
> dmi.chassis.type: 3
> dmi.chassis.vendor: Hewlett-Packard
> dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr5.20:bd10/24/2008:svnHP-Pavilion:pnFK792AAR-ABAa6600f:pvr:rvnFOXCONN:rnNapa:rvrHPP/N:cvnHewlett-Packard:ct3:cvr:
> dmi.product.name: FK792AAR-ABA a6600f
> dmi.sys.vendor: HP-Pavilion
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/910272/+subscriptions