FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 03-15-2012, 06:17 PM
Greg KH
 
Default /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 <gregkh@gentoo.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...

greg k-h
 

Thread Tools




All times are GMT. The time now is 12:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org