public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Changing the device between usb printers
       [not found] <3E878F0A.8090709@augenopticos.com>
@ 2003-04-04 18:50 ` Antonio Hernandez
  2003-04-06  5:20   ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Hernandez @ 2003-04-04 18:50 UTC (permalink / raw)
  To: linux-kernel

Changing the device between usb printers.

I have several usb printers, each have a device to work 
/dev/usb/lp0.../dev/usb/lp1/...etc. an example for the problem. If I 
turn off 2 printers, printer #1 (/dev/usb/lp0)and printer #2 
(/dev/usb/lp1)  if i turn on first printer#2 and later printer #1 I got 
for printer#2 to /dev/usb/lp0 and printer #1 (/dev/usb/lp1), if the 
printers are the same is not a problem but if the printers aren't the 
same then exist a problem  when I send to print. I put a dmesg in 
console and I got messages from "hub.c" that it put the number of 
bus3/3/1 for a printer and bus3/3/2 to another but "printer.c" put 
always usblp0 for the first printer detected and usblp1 to another. I 
think that "printer.c" must to follow the same idea that hub.c to use 
like /dev/usb/bus/3/3/2/lp or something like that

I have a Mandrake 9.0 distribution, I try with the kernel 2.4.20 and 
2.4.21-pre6 too, all have the same problem

Thank you


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Changing the device between usb printers
  2003-04-04 18:50 ` Changing the device between usb printers Antonio Hernandez
@ 2003-04-06  5:20   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-04-06  5:20 UTC (permalink / raw)
  To: Antonio Hernandez; +Cc: linux-kernel

On Fri, Apr 04, 2003 at 10:50:59AM -0800, Antonio Hernandez wrote:
> Changing the device between usb printers.
> 
> I have several usb printers, each have a device to work 
> /dev/usb/lp0.../dev/usb/lp1/...etc. an example for the problem. If I 
> turn off 2 printers, printer #1 (/dev/usb/lp0)and printer #2 
> (/dev/usb/lp1)  if i turn on first printer#2 and later printer #1 I got 
> for printer#2 to /dev/usb/lp0 and printer #1 (/dev/usb/lp1), if the 
> printers are the same is not a problem but if the printers aren't the 
> same then exist a problem  when I send to print. I put a dmesg in 
> console and I got messages from "hub.c" that it put the number of 
> bus3/3/1 for a printer and bus3/3/2 to another but "printer.c" put 
> always usblp0 for the first printer detected and usblp1 to another. I 
> think that "printer.c" must to follow the same idea that hub.c to use 
> like /dev/usb/bus/3/3/2/lp or something like that

Yes, this is a problem.  People are working on solutions to this issue
for 2.5, so it will hopefully be solved some day :)

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-06  5:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3E878F0A.8090709@augenopticos.com>
2003-04-04 18:50 ` Changing the device between usb printers Antonio Hernandez
2003-04-06  5:20   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox