Pages: [1]   Go Down
Author Topic: Finding out an FTDI device ID/key?  (Read 463 times)
0 Members and 1 Guest are viewing this topic.
Manchester, UK
Offline Offline
Sr. Member
****
Karma: 0
Posts: 293
Rodrigo Constanzo is a performer and composer living in Manchester, England. He is an avid improviser and performs regularly using home made electro acoustic, and modified electronic instruments. He is currently working towards a PhD in Composition at th
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to try editing my FTDI device's 'latency timer' and 'read buffer size' by going into the .plist but there's dozens (if not hundreds) of devices in there.

Each entry is formatted like this:

Code:
<key>485USBTB-4W</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.FTDI.driver.FTDIUSBSerialDriver</string>
<key>IOClass</key>
<string>FTDIUSBSerialDriver</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>44084</integer>
<key>idVendor</key>
<integer>2134</integer>
</dict>

I want to add the following:

Code:
<key>ConfigData</key> <dict>
<key>LatencyTimer</key>
<integer>2</integer>
</dict>

and

Code:
<key>ConfigData</key> <dict>
<key>InBufferSize</key>
<integer>256</integer>
</dict>

to my device's entry (a sparkfun USB explorer (https://www.sparkfun.com/products/8687)), but I don't know how to find out which entry is my device. I searched for sparkfun, USB explorer, USB, etc.. but all the <key> entres appear to be a serial number type entry.

(the above info is pulled from here http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_105%20Adding%20Support%20for%20New%20FTDI%20Devices%20to%20Mac%20Driver.pdf and is my attempt to reduce latency and buffer overflow (http://arduino.cc/forum/index.php/topic,118731.0.html))
Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You probably have more success if you ask that question on a Mac forum because it's not directly related to Arduino.

If you have access to a Linux machine it's simple to get the IDs: the command "lsusb" lists all currently connected USB devices together with their IDs.
Logged

Manchester, UK
Offline Offline
Sr. Member
****
Karma: 0
Posts: 293
Rodrigo Constanzo is a performer and composer living in Manchester, England. He is an avid improviser and performs regularly using home made electro acoustic, and modified electronic instruments. He is currently working towards a PhD in Composition at th
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That sent me on a google for an "lsusb" mac equivalent and then I remembered the hardware profiler built in.

I pulled that up with the device plugged in and got the following:



Unfortunately none of the following appear to be in the .plist : "FT232R", "A40084aV", "0x6001", "0X0403"
"FTDI" is in there but over a thousand times. Not sure where else to look for whatever the key would be.

Logged

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

0x6001 is a hex number, the decimal reads 24577, 0x0403 is then 1027. Your plist seems to just have integer values which probably are in decimal format. So search for a idVendor of 1027 and a idProduct of 24577.
Logged

Manchester, UK
Offline Offline
Sr. Member
****
Karma: 0
Posts: 293
Rodrigo Constanzo is a performer and composer living in Manchester, England. He is an avid improviser and performs regularly using home made electro acoustic, and modified electronic instruments. He is currently working towards a PhD in Composition at th
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Aha!

Code:
<key>FTDI R Chip</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.FTDI.driver.FTDIUSBSerialDriver</string>
<key>IOClass</key>
<string>FTDIUSBSerialDriver</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>bcdDevice</key>
<integer>1536</integer>
<key>idProduct</key>
<integer>24577</integer>
<key>idVendor</key>
<integer>1027</integer>
</dict>
Logged

Pages: [1]   Go Up
Jump to: