Re: Changing the device between usb printers

Greg KH (greg@kroah.com)
Sat, 5 Apr 2003 21:20:49 -0800


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/