Re: Question about usb-serial port registration

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
> > > It seems to me that if we cannot guarantee that
> > > the devices are identical, we must make sure they
> > > have different numbers.

That means the numbers "x" in ttyUSBx will almost never
be re-used.  To me that sounds like something that will
break lots of userspace code.


> > What about devices that have serial numbers?
> > Wouldn't it at least
> > be a good idea to make their file usage persistant?
> 
> I am not sure what you mean as
> "devices that have serial numbers?"

Consider any FT 232R device, which is assigned
one from the factory... e.g. lsusb output:

  iManufacturer           1 FTDI
  iProduct                2 FT232R USB UART
  iSerial                 3 A1000q4h


> Currently devices are assigned serial numbers
> ttyUSB%d on first come, first assigned basis
> (see get_free_serial function).

Those aren't serial numbers in the USB sense.
 
- Dave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.