* Re: [Linux-usb-users] Getting 2 usb printers to appear on same ports on
@ 2001-05-03 20:10 Miles Lane
2001-05-04 20:52 ` [Linux-usb-users] Getting 2 usb printers to appear on same ports David Brownell
0 siblings, 1 reply; 2+ messages in thread
From: Miles Lane @ 2001-05-03 20:10 UTC (permalink / raw)
To: linux-hotplug
Karl Heinz Kremer wrote:
>
> This is not just a printer problem. I have multiple USB scanners (up
> to three) connected to my machine. Depending on the order in which
> I power them on they are assigned /dev/usb/scanner[012].
>
> I have to admit that the print queue problem is much worse than what
> Sane does with these, but I would still like to assign one physical
> device to a specific device file.
>
> Would the hot-plugging support be the right place to look for a
> solution?
Yes, such issues should be discussed on
linux-hotplug-devel@lists.sourceforge.net
as well. I am CCing the list on this reply.
Miles
> Dan Gray <dan@dangray.org> said:
>
> > I have two usb printers, a Brother HL-1250 and a HP 840C and have a large
> > problem with them, when I boot up it seems to be a matter of chance which
> > is found first on the USB bus and which therefore is assigned /dev/usb/lp0
> > and which gets /dev/usb/lp1. Obviously this is making setting up my print
> > queues a nightmare as I have to keep changing them whenever I reboot and
> > the printers get re-assigned. So, how (if at all) do I get the kernel to
> > always assign a particular printer to a given port?
> >
> > Thanks
> > Dan
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Linux-usb-users] Getting 2 usb printers to appear on same ports
2001-05-03 20:10 [Linux-usb-users] Getting 2 usb printers to appear on same ports on Miles Lane
@ 2001-05-04 20:52 ` David Brownell
0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2001-05-04 20:52 UTC (permalink / raw)
To: linux-hotplug
Oh my ... the naming problem surfaces again!
The one whereby names assigned by the kernel
can't generally be "user meaningful names".
What naming policy is it that you want to provide?
Is it based on printer connection (port N on that hub),
or device type, both, something else, ...?
You could probably arrange to have hotplugging
set up device links to obey such a policy, if you
could rely on a patch like this one (as updated to
apply to scanner drivers, not printers).
http://marc.theaimsgroup.com/?l=linux-usb-devel&m˜639571912668&w=2
Regardless of how/whether scanners converge towards
a single driver, you'll have such a problem.
- Dave
----- Original Message -----
From: "Miles Lane" <miles@megapathdsl.net>
To: "Karl Heinz Kremer" <khk@khk.net>
Cc: <linux-usb-users@lists.sourceforge.net>; <linux-hotplug-devel@lists.sourceforge.net>
Sent: Thursday, May 03, 2001 1:10 PM
Subject: Re: [Linux-usb-users] Getting 2 usb printers to appear on same ports on each boot...
>
> Karl Heinz Kremer wrote:
> >
> > This is not just a printer problem. I have multiple USB scanners (up
> > to three) connected to my machine. Depending on the order in which
> > I power them on they are assigned /dev/usb/scanner[012].
> >
> > I have to admit that the print queue problem is much worse than what
> > Sane does with these, but I would still like to assign one physical
> > device to a specific device file.
> >
> > Would the hot-plugging support be the right place to look for a
> > solution?
>
> Yes, such issues should be discussed on
> linux-hotplug-devel@lists.sourceforge.net
> as well. I am CCing the list on this reply.
>
> Miles
>
> > Dan Gray <dan@dangray.org> said:
> >
> > > I have two usb printers, a Brother HL-1250 and a HP 840C and have a large
> > > problem with them, when I boot up it seems to be a matter of chance which
> > > is found first on the USB bus and which therefore is assigned /dev/usb/lp0
> > > and which gets /dev/usb/lp1. Obviously this is making setting up my print
> > > queues a nightmare as I have to keep changing them whenever I reboot and
> > > the printers get re-assigned. So, how (if at all) do I get the kernel to
> > > always assign a particular printer to a given port?
> > >
> > > Thanks
> > > Dan
>
> _______________________________________________
> Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-04 20:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-03 20:10 [Linux-usb-users] Getting 2 usb printers to appear on same ports on Miles Lane
2001-05-04 20:52 ` [Linux-usb-users] Getting 2 usb printers to appear on same ports David Brownell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).