[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB peripherals are plugged in across time: how are /dev/ttyUSBx assignations done?



On Sun, 04 Jul 2010 14:06:51 +0200
Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> wrote:

> Hi,
> 
> Let's say that you progressively plug in USB peripherals in(to) USB
> ports of one computer running Debian. How are the /dev/ttyUSB0,
> /dev/ttyUSB1, etc., assignations achieved? Is /dev/ttyUSB0 the first
> plugged device, or is it one in a specific port? Thanks.

Not sure what kind of peripherals you have in mind, but they generally
won't get ttyUSBn addresses, unless they're USB-serial converters,
which contain chips meant to provide a serial / TTY interface to the
system.

In any event, I'm pretty sure that the system will assign an available
address, generally independent of the port, unless you have a udev rule
telling it otherwise.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: