RE: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-12-05 Thread UsedBits
Why not just replace the whole shoot and cabang with what worked in
version 8?

> Date: Wed, 5 Dec 2012 20:39:07 +
> From: 910...@bugs.launchpad.net
> To: s_prin...@msn.com
> Subject: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI 
> andCUPS "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 
>   parport40930  4 parport_pc,ppdev,uss720,lp
> 
>   w8@w8-FJ463AAR-ABA-a6528p:~$ lsmod | grep ppdev
>   ppdev  12849  0 
>   parport40930  4 parport_pc,ppdev,uss720,lp
> 
>   w8@w8-FJ463AAR-ABA-a6528p:~$ lsmod | grep parport_pc
>   parport_pc 32114  0 
>   parport40930  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.00] Booting paravirtualized kernel on bare hardware
>   [0.00] vt handoff: transparent VT on vt#7
>   [0.210399] hpet0: 3 comparators, 32-bit 25.00 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-se

Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-22 Thread nvsoar
On 1/21/2012 16:44, nvsoar wrote:
> On 1/21/2012 2:20, Till Kamppeter wrote:
>> Can you also please test the version from -proposed on all your three
>> machines? Thanks.
>>
>> Files are on
>>
>> https://launchpad.net/ubuntu/+source/cups/1.5.0-8ubuntu7/+build/3098798
>>
>> Section "Built files".
>>
> Are the files indicated in the link above the same as the proposed
> update through the Update Manager?  If not then a retest is in order.
>
> 21Jan2012 report.
> SysA  - Synaptic showed Ubuntu7 version installed.  Id string appeared
> in the data collected and print test was successful after deleting and
> reinstalling the printer.  "Unknown" showed up in the choices.
> Shutdown.  Revisited SysA after testing other systems - No id string in
> the data, no printing.  (/dev/usb did not exist.)
>
> SysB - Synaptic showed Ubuntu7 version installed.  Id string appeard in
> the data.  Deleted the printer.  Attempted to reinstall - no "Unknown"
> in the list.  "Unknown" choice appear after a few minutes.  Installed
> printer; printed successfully.  Shutdown.  Revisited SysB after testing
> SysC.  Same result as SysA revisit.
>
> SysC - Synaptic showed Ubuntu7 version installed.  No id string in the
> data.  Deleted the printer.  Reinstalled using URI =
> "usb://Unknown/Printer".  Printing not successful.  Cups reported
> "Processing -"Waiting for printer to become available.""
>
>
> ** Attachment added: "SysA_21Jan12Data_prop.txt"
> 
> https://bugs.launchpad.net/bugs/910272/+attachment/2686641/+files/SysA_21Jan12Data_prop.txt
>
> ** Attachment added: "SysB_21Jan12Data_prop.txt"
> 
> https://bugs.launchpad.net/bugs/910272/+attachment/2686642/+files/SysB_21Jan12Data_prop.txt
>
> ** Attachment added: "SysC_21Jan12Data_prop.txt"
> 
> https://bugs.launchpad.net/bugs/910272/+attachment/2686643/+files/SysC_21Jan12Data_prop.txt
>
> ** Attachment added: "SysB_21Jan12_121200PrntrInstall.png"
> 
> https://bugs.launchpad.net/bugs/910272/+attachment/2686644/+files/SysB_21Jan12_121200PrntrInstall.png
>
> ** Attachment added: "SysB_21Jan12_122021PrntrInstall.png"
> 
> https://bugs.launchpad.net/bugs/910272/+attachment/2686645/+files/SysB_21Jan12_122021PrntrInstall.png
>
> ** Attachment added: "SysC_21Jan12_131509cups.png"
> 
> https://bugs.launchpad.net/bugs/910272/+attachment/2686646/+files/SysC_21Jan12_131509cups.png
>
Followup - 22Jan2012

Systems A and B (both 32 bit Ubuntu 11.10) are loaded on external 
drives, and are run almost entirely on the HP6600f; a 64 bit computer.  
Tested SysA on 2 old (~10 years) and two newer (3 to six year) 32 bit 
computers.  Cups prop version worked without a hitch on the two newer 32 
bit computers.  Cups ppa version works on the  two older 32 bit 
computers; prop version doesn't work.  Cups prop version works sometimes 
on the 64 bit computer.  Seems to me there could be an intermittently 
appearing quirk in using the 64 bit computer with 32 bit version of 
Ubuntu 11.10 for printing via usb-parallel cable.  For info _ the Epson 
Stylus Color 880 ink jet(usb-usb cable) is identified, installed and 
works without a problem on the same system configuration (32 bit Ubuntu; 
64 bit machine).
nvsoar

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-21 Thread nvsoar
On 1/21/2012 2:20, Till Kamppeter wrote:
> Can you also please test the version from -proposed on all your three
> machines? Thanks.
>
> Files are on
>
> https://launchpad.net/ubuntu/+source/cups/1.5.0-8ubuntu7/+build/3098798
>
> Section "Built files".
>
Are the files indicated in the link above the same as the proposed 
update through the Update Manager?  If not then a retest is in order.

21Jan2012 report.
SysA  - Synaptic showed Ubuntu7 version installed.  Id string appeared 
in the data collected and print test was successful after deleting and 
reinstalling the printer.  "Unknown" showed up in the choices.  
Shutdown.  Revisited SysA after testing other systems - No id string in 
the data, no printing.  (/dev/usb did not exist.)

SysB - Synaptic showed Ubuntu7 version installed.  Id string appeard in 
the data.  Deleted the printer.  Attempted to reinstall - no "Unknown" 
in the list.  "Unknown" choice appear after a few minutes.  Installed 
printer; printed successfully.  Shutdown.  Revisited SysB after testing 
SysC.  Same result as SysA revisit.

SysC - Synaptic showed Ubuntu7 version installed.  No id string in the 
data.  Deleted the printer.  Reinstalled using URI = 
"usb://Unknown/Printer".  Printing not successful.  Cups reported 
"Processing -"Waiting for printer to become available.""


** Attachment added: "SysA_21Jan12Data_prop.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2686641/+files/SysA_21Jan12Data_prop.txt

** Attachment added: "SysB_21Jan12Data_prop.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2686642/+files/SysB_21Jan12Data_prop.txt

** Attachment added: "SysC_21Jan12Data_prop.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2686643/+files/SysC_21Jan12Data_prop.txt

** Attachment added: "SysB_21Jan12_121200PrntrInstall.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2686644/+files/SysB_21Jan12_121200PrntrInstall.png

** Attachment added: "SysB_21Jan12_122021PrntrInstall.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2686645/+files/SysB_21Jan12_122021PrntrInstall.png

** Attachment added: "SysC_21Jan12_131509cups.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2686646/+files/SysC_21Jan12_131509cups.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-21 Thread nvsoar
On 1/21/2012 2:21, Till Kamppeter wrote:
> The ID reported uunder Windows really looks like Windows' workaround ID
> for a device not reporting a proper device ID.
>
FWIW - In order to print successfully, Windows insists that the 
usb-parallel cable be plugged into the same connection as when the 
printer was installed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-20 Thread nvsoar
On 1/20/2012 13:29, Till Kamppeter wrote:
> Yes, you are right, the files relevant for you are all i386.deb plus all
> all.deb files. The other files are for other architectures or the source
> package and can therefore get ignored. So download all i386.deb plus all
> all.deb files into one new directory and install them all with the one
> given command line.
>
20Jan12 Testing
1.  SysB - Installed cups ppa version
2.  SysA - Reinstalled cups ppa version
3.  SysC - Installed cups ppa version; Installed printer; printed 
successfully.
4.  SysA - Tested printed; printed successfully
5.  SysB - Installed printer; printed successfully.

Data files attached.
Re query pair below
w8@w8-Aspire-5000:~$ ls -l /dev/usb/lp*
ls: cannot access /dev/usb/lp*: No such file or directory
w8@w8-Aspire-5000:~$
w8@w8-Aspire-5000:~$ for d in `ls -1 /dev/usb/lp*`; do sudo 
usb_printerid $d; done
ls: cannot access /dev/usb/lp*: No such file or directory
w8@w8-Aspire-5000:~$

It doesn't seem to matter whether these two queries are successful or 
not.  The printer worked in either case.  SysA and SysB showed 
successful query responses as well as the above outcome.  Some of these 
are shown in the SysA data.

(FWIW - Windows XP reports the Belkin usb-parallel cable as "USB 
Printing Support" with  a device instance id of  
USB\VID_050D&PID_0002\5&6CCA500&0&2)


** Attachment added: "SysA_20Jan12Data_ppa.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2685119/+files/SysA_20Jan12Data_ppa.txt

** Attachment added: "SysB_20Jan12Data_ppa,txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2685120/+files/SysB_20Jan12Data_ppa%2Ctxt

** Attachment added: "SysC_20Jan12Data_ppa.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2685121/+files/SysC_20Jan12Data_ppa.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-20 Thread nvsoar
On 1/20/2012 7:40, Till Kamppeter wrote:
> The trick is the following: You must have ALL binary packages in ONE
> separate directory, neither an incomplete set of binary packages, nor
> packages of different versions in one directory. Go into the directory
> with the desired version and install all packages with ONE command line:
>
> sudo dpkg -i --force-depends *.deb
>
> Then the package should get installed and after the installation there
> will be no dependency mismatches any more.
>
Please be specific about what packages I should download from where.  I 
am now looking at
https://launchpad.net/~till-kamppeter/+archive/ppa/+packages
In the section labeled "Package Files" I see about 40 files, some of 
which are .deb files.
I'm guessing that all of the i386.deb plus the all.deb files is the 
answer.  Will go with that in the absence of confirmation.  Is there a 
way to download these files as a group?
(FWIW - I thought that the idea of a package was to contain all that 
would be needed to make the install.)
Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-19 Thread nvsoar
On 1/19/2012 3:56, Till Kamppeter wrote:
> This looks like a strange special case, as now even the usblp kernel
> module does not recognize the printer any more. So we need a much more
> systematic investigation now. Perhaps we have a very bad interference of
> instabilities of the adapter, the kernel and libusb. Now I need all
> combinations of systems and CUPS versions. You have two systems
> (internal and external driver) and two CUPS versions (PPA and proposed).
> This gives four combinations. Please test all four combinations, running
> this set of commands, naturally with the printer powered on and
> connected:
>
> sudo rmmod usblp
> lsusb
> ls -l /dev/bus/usb/*/*
> ls -l /dev/usb/lp*
> sudo /usr/lib/cups/backend/usb
> ldd /usr/lib/cups/backend/usb | grep usb
> lpinfo -v
> sudo modprobe usblp
> lsmod | grep usb
> ls -l /dev/usb/lp*
> for d in `ls -1 /dev/usb/lp*`; do sudo usb_printerid $d; done
> sudo rmmod usblp
>
> Post all the output (or attach as uncompressed text files).
>
> To do downgrades download all *.deb files of each package from
>
> https://launchpad.net/ubuntu/+source/cups
>
> and
>
> https://launchpad.net/~till-kamppeter/+archive/ppa/+packages
>
> into separate directories (one per version) and do
>
> sudo dpkg -i *.deb
>
> in the appropriate directory to install the desired version.
>
Clarification - There are three Ubuntu 11.10 systems involved in the 
testing.

System A - (w8-FJ463AAR-ABA-a6528p); installed on an external hard 
drive; running on an HP6600 machine; first to be involved, and the only 
system to have the cups ppa version installed prior to the proposed version.
System B - (w8u-iomega); installed on a second external hard drive; also 
running on the same HP6600 machine as System A.
System C - (w8-Aspire-5000; a laptop); installed on the internal hard 
drive along with XP and Linux Mint.

Testing 19Jan2012
1.  System B (cups proposed installed); requested info collected in file 
named "SysB_cups1.5.0-8ub7_prop.txt".
2.  Attempted to revert System B to cups ppa version without success; 
documented in file 91072_SysB_Revert.txt.
3.  System C (cups proposed installed); requested info collected in file 
named "SysC_cups1.5.0-8ub7_prop.txt".
4.  Attempted to revert System C without to cups ppa version success; 
documented in file 91072_SysC_Revert.txt.
5.  System A (cups ppa version) printing tested; printed successfully.  
Requested info collected in file named "SysA_cups1.5.0-8ub7_ppa.txt".  
Installed cups proposed version through Update Manager.  Attempted to 
print test file without success.  Requested info collected in file named 
"SysA_cups1.5.0-8ub7_prop.txt".
6.  Some screen shots collect along the way are attached.

Comment - If I can determine how to get the ppa version installed on 
Systems B and C I will collect and submit the requested data.  These 
installations are not currently involved in critical operations so can 
tolerate some abuse by a mostly novice.


** Attachment added: "SysA_cups1.5.0-8ub7_ppa.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683576/+files/SysA_cups1.5.0-8ub7_ppa.txt

** Attachment added: "SysA_cups1.5.0-8ub7_prop.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683577/+files/SysA_cups1.5.0-8ub7_prop.txt

** Attachment added: "SysB_cups1.5.0-8ub7_prop.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683578/+files/SysB_cups1.5.0-8ub7_prop.txt

** Attachment added: "SysC_cups1.5.0-8ub7_prop.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683579/+files/SysC_cups1.5.0-8ub7_prop.txt

** Attachment added: "91072_SysB_Revert.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683580/+files/91072_SysB_Revert.txt

** Attachment added: "91072_SysC_Revert.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683581/+files/91072_SysC_Revert.txt

** Attachment added: "19Jan12SysA125155.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683582/+files/19Jan12SysA125155.png

** Attachment added: "19Jan12SysA151837.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683583/+files/19Jan12SysA151837.png

** Attachment added: "19Jan12SysA152725.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683584/+files/19Jan12SysA152725.png

** Attachment added: "19Jan12SysB113155.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683585/+files/19Jan12SysB113155.png

** Attachment added: "19Jan12SysC132142.png"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2683586/+files/19Jan12SysC132142.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/l

Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-18 Thread nvsoar
On 1/17/2012 23:27, Till Kamppeter wrote:
> Note that the URI has changed with my new patch. It must be something
> like
>
> usb://Unknown/Printer
>
> or
>
> usb://Unknown/Printer?serial=...
>
> Printer setup tools should show the model simply as "Unknown". At least
> system-config-printer does so. http://localhost:631/  (CUPS web
> interface) should do so, too.
>
> Please have the printer connected and turned on, preferably connect the
> parallel port at the printer before connecting the USB port at the
> computer. Have the printer turned on when connecting the USB. Then run
> the following commands in a terminal window:
>
> sudo rmmod usblp
> lsusb
> ls -l /dev/bus/usb/*/*
> ls -l /dev/usb/lp*
> sudo /usr/lib/cups/backend/usb
> ldd /usr/lib/cups/backend/usb | grep usb
> lpinfo -v
> sudo modprobe usblp
> lsmod | grep usb
> sudo usb_printerid /dev/usb/lp0
> sudo rmmod usblp
>
> Post the output here.
For info - the printer is powered, connected, and ready to go prior to 
system boot.
Attached is the response to the above set of queries from the Ubuntu 
11.10 system with the ~ppa CUPS version.
The responses below are from the proposed Ubuntu7 CUPS version; also 
Ubuntu 11.10 on a different external drive; same HP 6600f computer.
---
w8@w8u-iomega:~$ sudo rmmod usblp
ERROR: Module usblp does not exist in /proc/modules

w8@w8u-iomega:~$ 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 04b4:6830 Cypress Semiconductor Corp. CY7C68300A 
EZ-USB AT2 USB 2.0 to ATA/ATAPI
Bus 001 Device 003: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 002: ID 050d:0002 Belkin Components

w8@w8u-iomega:~$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189,   0 2012-01-18 10:09 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189,   1 2012-01-18 10:09 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189,   2 2012-01-18 10:09 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 128 2012-01-18 10:09 /dev/bus/usb/002/001
crw-rw-r-- 1 root lp   189, 129 2012-01-18 10:09 /dev/bus/usb/002/002

w8@w8u-iomega:~$ ls -l /dev/usb/lp*
ls: cannot access /dev/usb/lp*: No such file or directory

w8@w8u-iomega:~$ sudo /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=2
DEBUG: usb_find_devices=5

w8@w8u-iomega:~$ ldd /usr/lib/cups/backend/usb | grep usb
 libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x006d6000)

w8@w8u-iomega:~$ lpinfo -v
network http
network beh
network socket
direct scsi
network ipp
network lpd
network smb

w8@w8u-iomega:~$ sudo modprobe usblp

w8@w8u-iomega:~$ lsmod | grep usb
usblp  17833  0
usb_storage44173  8 ums_cypress

w8@w8u-iomega:~$ sudo usb_printerid /dev/usb/lp0
Error: No such file or directory: can't open '/dev/usb/lp0'

w8@w8u-iomega:~$ sudo rmmod usblp
---



** Attachment added: "910272_18Jan2012c.txt"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2682096/+files/910272_18Jan2012c.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-17 Thread nvsoar
On 1/17/2012 3:44, Martin Pitt wrote:
> Hello nvsoar, or anyone else affected,
>
> Accepted cups into oneiric-proposed, the package will build now and be
> available in a few hours. Please test and give feedback here. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> enable and use -proposed. Thank you in advance!
>
> ** Tags added: verification-needed
>
Using CUPS version 1.5.0-8Ubuntu7 (reported as installed by Synaptic) - 
Connection was not successful.

Testing performed on two Ubuntu 11.10 installations without a printer 
configuration installed.  Opened the printers window manually, after 
turning on the printer, and inserting the usb plug of the Belkin cable.  
The query "lsusb" reported the presence of the cable.  Printer 
connection choices were "URI" or several types of Network connections; 
in one instance there was also an "LPT#1" choice.  The "/Model" choice 
that worked (and still does), offered with the "ppa" CUPS version, did 
not exist.  Entered the URI that resulted using the ppa CUPS version; 
result - the printer state on attempting to print a test page was 
"Processing - Waiting for printer to become available.";or something 
close to that.
nvsoar 17Jan2012 ~0100GMT

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 910272] Re: USB->Parallel adapter produces crappy device URI and CUPS "usb" backend cannot cope with it

2012-01-16 Thread nvsoar
On 1/16/2012 2:59, Till Kamppeter wrote:
> nvsoar, note that the "Fix Released" is only for Ubuntu Precise (12.04).
> Please update your Oneiric system now to get my updated PPA package and
> test it. Depending on your result I will propose my fix for an official
> update for Oneiric.
>
Well done Till.  It took seven whole minutes to download and install; 
shorter than it took to print the test page.  Manually opened printers 
window, selected "/Model" (default), next window selected the driver 
module, next Printer Properties settings looked correct and policies 
showed "enabled"; Print Test Page selected, Ubuntu test page printed 
successfully.  Five gold stars!  Images attached.

All the best from the Carson Valley,
nvsoar


** Attachment added: "16Jan2012_153146.jpg"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2678254/+files/16Jan2012_153146.jpg

** Attachment added: "16Jan2012_153449.jpg"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2678255/+files/16Jan2012_153449.jpg

** Attachment added: "16Jan2012_154239.jpg"
   
https://bugs.launchpad.net/bugs/910272/+attachment/2678256/+files/16Jan2012_154239.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910272

Title:
  USB->Parallel adapter produces crappy device URI and CUPS "usb"
  backend cannot cope with it

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs