Gentoo Archives: gentoo-dev

From: Rich Freeman <rich0@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] call for testers: udev predictable network interface names
Date: Thu, 17 Jan 2013 02:55:11
Message-Id: CAGfcS_=zhsck4ACW-yH7XG23nEpDJbOgkKTrnm0RhkPiUsGiaQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] call for testers: udev predictable network interface names by Greg KH
1 On Wed, Jan 16, 2013 at 9:49 PM, Greg KH <gregkh@g.o> wrote:
2 > On Wed, Jan 16, 2013 at 06:36:59AM -0500, Rich Freeman wrote:
3 >> On Tue, Jan 15, 2013 at 10:42 PM, Peter Stuge <peter@×××××.se> wrote:
4 >> > Rich Freeman wrote:
5 >> >> Not that anybody is taking requests, but it would be really handy
6 >> >> if serial ports were deterministically labeled.
7 >> >
8 >> > Does /dev/serial/* solve the problem?
9 >>
10 >> I don't see this directory at all on my system.
11 >
12 > Do you have a usb-serial device plugged in? You need a serial device
13 > for it to show up, and you need to be using udev.
14
15 Yes, I have two plugged in and they're working fine. However, perhaps
16 my custom rules are preventing them from showing up:
17 SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="4-1:1.0",
18 KERNEL=="ttyUSB*", SYMLINK="mythser/rca1"
19 SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="3-3:1.0",
20 KERNEL=="ttyUSB*", SYMLINK="mythser/rca2"
21
22 I'm not sure if rules are additive - if these symlinks would show up
23 in addition to whatever other ones are created by other rules, or if
24 these would be exclusive. I hard-coded them to specific physical USB
25 ports so that they would be persistent. If I plug them in elsewhere
26 they still get ttyUSBn devices, but no symlinks.
27
28 Rich

Replies