Gentoo Archives: gentoo-dev

From: Greg KH <gregkh@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] /dev/serial/ (was "Let's redesign the entire filesystem!")
Date: Thu, 15 Mar 2012 19:18:19
Message-Id: 20120315191730.GA15436@kroah.com
In Reply to: Re: [gentoo-dev] Re: Let's redesign the entire filesystem! by Rich Freeman
1 On Thu, Mar 15, 2012 at 03:04:36PM -0400, Rich Freeman wrote:
2 > On Thu, Mar 15, 2012 at 10:42 AM, Greg KH <gregkh@g.o> wrote:
3 > >
4 > > Why not use the links in /dev/serial/ which are there for this specific
5 > > reason?
6 > >
7 >
8 > # ls -l /dev/serial
9 > ls: cannot access /dev/serial: No such file or directory
10
11 Do you have your serial device plugged in? If not, it will not show up.
12
13 > Something in a newer version of udev perhaps?
14
15 It went into udev version 136, way back in 2008, so odds are, you have
16 it on your system...
17
18 > Or would my defining my
19 > own symlinks end up overriding some rule elsewhere. I just added
20 > these lines to /etc/udev/rules.d:
21 > SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="4-1:1.0",
22 > KERNEL=="ttyUSB*", SYMLINK="mythser/rca1"
23 > SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="3-3:1.0",
24 > KERNEL=="ttyUSB*", SYMLINK="mythser/rca2"
25
26 You do know that USB buses can be dynamically renumbered depending on
27 the phase of the moon, right? Be careful here...
28
29 greg k-h

Replies