Just read serial from  /sys/bus/usb-serial/devices/ttyUSB0/../../serial

Cheers,
Matthias

Am Tue, 10 Jun 2014 14:19:23 +0000
schrieb "Axelrod, Ben" <[email protected]>:

> I see a number of functions to open the ftdi interface based on various
> things.  How would I go about opening the ftdi interface based on a user input
> string such as "/dev/ttyUSB0" or similar alias?  I only need to do this on
> Linux, specifically Ubuntu.
> 
> If I can't do this directly through the ftdi interface, what is the easiest 
> way
> to use other tools to convert "/dev/ttyUSB0" into "0403:6001" through code?
> 
> Thanks,
> Ben
> 
> Ben Axelrod
> Sr. Robotics Software Engineer
> iRobot Corporation
> 8 Crosby Drive, M/S 8-1
> Bedford, MA 01730
> (781) 430-3315
> [email protected]<mailto:[email protected]>
> 
> 
> 
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to [email protected]   
> 


-- 
---------------------------------------------------------------------
 Dipl.-Phys. Matthias Janke

 Physikalisches Institut der Universität Heidelberg
 Im Neunheimer Feld 226
 69120 Heidelberg
 Deutschland

 Tel:    +49 (6221) 54 19 45 6
 Fax:    +49 (6221) 54 19 54 0
 E-Mail: [email protected]

 Büro: 02.209
---------------------------------------------------------------------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]

Reply via email to