From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: [Linux-usb-users] Getting 2 usb printers to appear on same ports
Date: Fri, 04 May 2001 20:52:02 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-98900984527072@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-98892408201341@msgid-missing>
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
prev parent reply other threads:[~2001-05-04 20:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-98900984527072@msgid-missing \
--to=david-b@pacbell.net \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).