Re: [SLUG] USB Serial port devices

From: Possum (vegetableblood@gmail.com)
Date: Wed Jun 07 2006 - 01:55:55 EDT


Ohh, sorry, I got my apps mixed up...

I (personally) use autofs in conjunction with udev-rules (ala
http://reactivated.net/writing_udev_rules.html ), which contributed to a mix
up in my thinking... But yes, unfortunately that does require 2.6 kernel
IIRC.

Sorry again :(

On 6/6/06, Chuck Hast <wchast@gmail.com> wrote:
>
> On 6/6/06, Possum <vegetableblood@gmail.com> wrote:
> > I'm surprised nobody has mentioned autofs
> >
> > http://freshmeat.net/projects/autofs/
> >
> > And here's a how-to for the faint-hearted:
> >
> > http://www.linux-consulting.com/Amd_AutoFS/autofs.html
> >
> > Personally, I have autofs configured to identify the device by the
> > name/description it sends to the computer (the name you can see with
> dmesg,
> > like "USB Mass Storage"). It will automatically create a symlink to
> > whatever the device is and call them, i.e., /dev/usb0, /dev/psp,
> > /dev/camera, etc. Furthermore, I have it set to automatically mount
> said
> > device every time I try to access whatever directory it is to be mounted
> on.
> >
> > It's a useful little tool so you don't have to deal with your usb
> devices
> > being mapped to /dev/sdr or w/e.
> >
>
> Ahh, hmmm how can I make a serial device into a file system... I do not
> think that will work.
>
> I need something similar for serial ports though. It is looking like I may
> have to move a bunch of machines from 2.4 to 2.6 in order to do it though.
>
> It is just sort of incredable that this has not come up, with the old
> serial ports
> ttyS0 was always the same physical port, but with USB serial ports if you
> have
> multiple devices they come up any old way they feel like it. Todays
> ttyUSB0
> maybe tomorrows ttyUSB3.... B-b
>
> Lord help you if you plug another usb serial port into your machine, it is
> like
> a instantanious card reshuffle.... Last time I did that, the new
> port became
> ttyUSB0 and the device on ttyUSB0 got moved to ttyUSB2...
>
>
>
> --
> Chuck Hast -- KP4DJT --
> To paraphrase my flight instructor;
> "the only dumb question is the one you DID NOT ask resulting in my going
> out and having to identify your bits and pieces in the midst of torn
> and twisted metal."
> -----------------------------------------------------------------------
> This list is provided as an unmoderated internet service by Networked
> Knowledge Systems (NKS). Views and opinions expressed in messages
> posted are those of the author and do not necessarily reflect the
> official policy or position of NKS or any of its employees.
>

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:04:55 EDT