From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] udev and multiple usb-serial devices
Date: Thu, 17 Aug 2006 14:25:23 +0100 [thread overview]
Message-ID: <20060817142523.217c32af@krikkit.digimed.co.uk> (raw)
In-Reply-To: <87ejvfpli4.fsf@newton.gmurray.org.uk>
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
On Thu, 17 Aug 2006 13:58:11 +0100, Graham Murray wrote:
> Is there any way to write udev rules which will map the usb-serial
> device connected to a particular socket on either the PC or a hub to a
> known name? So that if the usb connector is removed and replaced (in
> the same socket) or the system is rebooted that programs will be able
> to open the correct device connected to each usb serial adaptor?
Use a pattern match for ID, e.g. ID=="2-*". the first number of the ID
refers to the physical port used. Alternatively, if the devices are
different, match on SYSFS{product}, SYSFS{manufacturer} or even DRIVER.
--
Neil Bothwick
Life is a sexually transmitted disease and the mortality rate is 100%.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-08-17 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 12:58 [gentoo-user] udev and multiple usb-serial devices Graham Murray
2006-08-17 13:25 ` Neil Bothwick [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=20060817142523.217c32af@krikkit.digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.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