Hello,

First of all, thanks a lot for your efforts to improve the community.

I just found this thread looking for a solution to a problematic ticket
printer. It is the kind of printer that is detected as parallel but has
a USB cable.

Manufacturer: EC Liner
Model: EC Printer EC-PM-5890X
Here's the website of the manufacturer: http://www.ecline.com.mx/
It seems that the computer is not detecting the printer directly, but the 
parallel connector (QinHeng Electronics).

Here's all the information you asked in the comments above. If you need
any more, please let me know:

------------------------------------
root@monsterbox:/# uname -a
Linux monsterbox 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:22:58 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux
------------------------------------
root@monsterbox:/# lsusb
...
Bus 001 Device 005: ID 1a86:7584 QinHeng Electronics CH340S
...
------------------------------------
root@monsterbox:/# lsusb -v -d 1a86:7584
Bus 001 Device 005: ID 1a86:7584 QinHeng Electronics CH340S
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1a86 QinHeng Electronics
  idProduct          0x7584 CH340S
  bcdDevice            2.54
  iManufacturer           0 
  iProduct                2 USB2.0-Print 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               96mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
------------------------------------
root@monsterbox:/# lsmod | grep lp
usblp                  18111  0 
ablk_helper            13597  1 aesni_intel
cryptd                 20373  3 ghash_clmulni_intel,aesni_intel,ablk_helper
lpc_ich                17061  0 
lp                     17759  0 
parport                46345  3 lp,ppdev,parport_pc
------------------------------------
network ipp14
network http
network ipp
network https
direct hp
network smb
network beh
network lpd
network ipps
network socket
serial serial:/dev/ttyS0?baud=115200
direct hpfax
direct usb://Unknown/Printer
------------------------------------
root@monsterbox:/# lpinfo -v
network ipp14
network http
network ipp
network https
direct hp
network smb
network beh
network lpd
network ipps
network socket
serial serial:/dev/ttyS0?baud=115200
direct hpfax
direct usb://Unknown/Printer
------------------------------------
root@monsterbox:/# ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189,   0 Jun 11 00:05 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189,   1 Jun 11 00:05 /dev/bus/usb/001/002
crw-rw-r-- 1 root lp   189,   4 Jun 11 00:33 /dev/bus/usb/001/005
crw-rw-r-- 1 root root 189, 128 Jun 11 00:05 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Jun 11 00:05 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 130 Jun 11 00:05 /dev/bus/usb/002/003
crw-rw-r-- 1 root root 189, 256 Jun 11 00:05 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 Jun 11 00:05 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 258 Jun 11 00:05 /dev/bus/usb/003/003
crw-rw-r-- 1 root root 189, 384 Jun 11 00:05 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 Jun 11 00:05 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 Jun 11 00:05 /dev/bus/usb/006/001
------------------------------------
root@monsterbox:/# ls -l /dev/usb/lp*
crw-rw---- 1 root lp 180, 2 Jun 11 00:33 /dev/usb/lp2
------------------------------------
root@monsterbox:/# sudo /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: libusb_get_device_list=12
DEBUG2: Printer found with device ID:  Device URI: usb://Unknown/Printer
direct usb://Unknown/Printer "Unknown" "Unknown" "" ""
------------------------------------
root@monsterbox:/# ldd /usr/lib/cups/backend/usb | grep usb
        libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 
(0x00007f56a93a9000)
------------------------------------
root@monsterbox:/# sudo modprobe usblp

root@monsterbox:/# lsmod | grep usb
usblp                  18111  0 
usb_storage            57204  1 
usbhid                 47074  0 
hid                   101002  2 hid_generic,usbhid

root@monsterbox:/# sudo usb_printerid /dev/usb/lp2
GET_DEVICE_ID string:
��E��mg���dg��<WE����        
��TE���,�%��+�%�mg����g����g����E��mg�����g����g��(`��g��@+�%�0+�%����|
 UЍ����<WE����������     ���dg�� <�dg��-�%�M�����%� 
��E��P-�%�&�beJ�E��&���`��%��`��%���E���-�%�.N=���E��.8��  ��
        ��.�%��-�%� �       ����g����g��jg���dg���@��  
��p@h�g���.�%�`.�%�jg����g��h�g����E��jg���h�g�����%���g����g���-�%��-�%�.N=�v��@����
     �      ���dg��v0/�%�����=
                                                                              @�

root@monsterbox:/# sudo rmmod usblp
------------------------------------

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to