/dev/serial/ (was "Let's redesign the entire filesystem!")
On Thu, Mar 15, 2012 at 03:04:36PM -0400, Rich Freeman wrote:
> On Thu, Mar 15, 2012 at 10:42 AM, Greg KH <firstname.lastname@example.org> wrote:
> > Why not use the links in /dev/serial/ which are there for this specific
> > reason?
> # ls -l /dev/serial
> ls: cannot access /dev/serial: No such file or directory
Do you have your serial device plugged in? If not, it will not show up.
> Something in a newer version of udev perhaps?
It went into udev version 136, way back in 2008, so odds are, you have
it on your system...
> Or would my defining my
> own symlinks end up overriding some rule elsewhere. I just added
> these lines to /etc/udev/rules.d:
> SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="4-1:1.0",
> KERNEL=="ttyUSB*", SYMLINK="mythser/rca1"
> SUBSYSTEM=="tty", DRIVERS=="pl2303", KERNELS=="3-3:1.0",
> KERNEL=="ttyUSB*", SYMLINK="mythser/rca2"
You do know that USB buses can be dynamically renumbered depending on
the phase of the moon, right? Be careful here...