From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Fri, 04 May 2001 20:52:02 +0000 Subject: Re: [Linux-usb-users] Getting 2 usb printers to appear on same ports Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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, ...? =20 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=3Dlinux-usb-devel&m=98639571912668&w=3D2 Regardless of how/whether scanners converge towards a single driver, you'll have such a problem. - Dave ----- Original Message -----=20 From: "Miles Lane" To: "Karl Heinz Kremer" Cc: ; Sent: Thursday, May 03, 2001 1:10 PM Subject: Re: [Linux-usb-users] Getting 2 usb printers to appear on same por= ts on each boot... >=20 > Karl Heinz Kremer wrote: > >=20 > > 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]. > >=20 > > 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. > >=20 > > Would the hot-plugging support be the right place to look for a > > solution? >=20 > Yes, such issues should be discussed on > linux-hotplug-devel@lists.sourceforge.net > as well. I am CCing the list on this reply. >=20 > Miles >=20 > > Dan Gray said: > >=20 > > > 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 w= hich > > > is found first on the USB bus and which therefore is assigned /dev/us= b/lp0 > > > and which gets /dev/usb/lp1. Obviously this is making setting up my p= rint > > > 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 >=20 > _______________________________________________ > 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