libftdi Archives

Subject: Re: open from device string

From: "E.S. Rosenberg" <es.rosenberg+libftdi.i2net@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 10 Jun 2014 17:39:48 +0300
// My experience with libusb/libftdi is limited so I may be sending you on a wild goose chase.

What I would think you would end up doing is opening that device node not using libftdi, extracting its' serial number and then opening it using libftdi.


2014-06-10 17:19 GMT+03:00 Axelrod, Ben <baxelrod@xxxxxxxxxx>:

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

baxelrod@xxxxxxxxxx

 



libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx





libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread