From: Jeroen Akershoek <jeroena@sara.nl>
To: linux-hotplug@vger.kernel.org
Subject: Skipping ttyS2??
Date: Tue, 14 Jun 2005 10:27:03 +0000 [thread overview]
Message-ID: <42AEB0F7.6070402@sara.nl> (raw)
Hello,
I've got a system with one serial port on the motherboard and four other
ports on two PCI slots (2 each)
The kernel detects these as ttyS0 (onboard), ttyS14/S15 (1st PCI card)
and ttyS47/S48 (2nd PCI card).
We've got some pretty old proprietary software that insists on using
ttyS0-3, so I thought I'd just symlink
the higher ports.
I've made a rules file with the following:
KERNEL="ttyS14", SYMLINK="ttyS1"
KERNEL="ttyS15", SYMLINK="ttyS2"
KERNEL="ttyS47", SYMLINK="ttyS3"
KERNEL="ttyS48", SYMLINK="ttyS4"
This works fine with one exception: ttyS2 isn't symlinked
crw-rw---- 1 root dialout 4, 64 Jun 14 10:07 /dev/ttyS0
lrwxrwxrwx 1 root root 6 Jun 14 12:15 /dev/ttyS1 -> ttyS14
crw-rw---- 1 root dialout 4, 66 Jun 14 12:15 /dev/ttyS2
lrwxrwxrwx 1 root root 6 Jun 14 12:15 /dev/ttyS3 -> ttyS47
lrwxrwxrwx 1 root root 6 Jun 14 12:15 /dev/ttyS4 -> ttyS48
udevtest says that the rule matches and that it's creating the link.
Changing the order, changing the symlink, changing SYMLINK to NAME or
removing
the other rules have no effect either. It just seems that this device is
skipped or maybe
later overridden by the original 4,66 device (udevtest doesn't say
anything about it
though).
Anybody got ideas on this?
Regards,
Jeroen
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2005-06-14 10:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 10:27 Jeroen Akershoek [this message]
2005-06-14 12:20 ` Skipping ttyS2?? Kay Sievers
2005-06-14 12:37 ` Jeroen Akershoek
2005-06-14 12:41 ` Jeroen Akershoek
2005-06-14 12:46 ` Kay Sievers
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=42AEB0F7.6070402@sara.nl \
--to=jeroena@sara.nl \
--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).